You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

table.css 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. /* Table on blue background */
  2. .blue .v-table-header-wrap {
  3. border-color: #92a2aa;
  4. }
  5. .blue .v-table-body {
  6. border-color: #92a2aa;
  7. border-top-color: #c2c3c4;
  8. }
  9. /* Default & white style */
  10. .v-table-header-wrap,
  11. .white .v-table-header-wrap,
  12. .v-table-footer-wrap,
  13. .white .v-table-footer-wrap {
  14. border-color: #c2c3c4;
  15. background: transparent repeat-x;
  16. background-image: url(img/header-bg-light.png); /** sprite-ref: verticals; sprite-alignment: repeat */
  17. height: 20px;
  18. text-transform: uppercase;
  19. font-size: 10px;
  20. font-weight: bold;
  21. color: #222;
  22. text-shadow: #f3f5f8 0 1px 0;
  23. line-height: normal;
  24. }
  25. .v-ie6 .v-table-header-wrap,
  26. .v-ie6 .v-table-footer-wrap,
  27. .v-ie6 .v-table-column-selector{
  28. /* Fixes IE6 overflow bug #7314 which causes Table headers to overflow and cover the column selector. */
  29. position:relative;
  30. }
  31. .v-ie6 .v-table.v-disabled,
  32. .v-ie7 .v-table.v-disabled{
  33. /* Fixes ie issue #7324 where disabled shim does not cover table body */
  34. position:relative;
  35. }
  36. .v-table-footer-wrap,
  37. .white .v-table-footer-wrap {
  38. text-transform: none;
  39. font-size: 12px;
  40. font-weight: normal;
  41. }
  42. .v-table-footer td,
  43. .white .v-table-footer td {
  44. border-color: #c2c3c4;
  45. }
  46. .v-table-footer-container {
  47. padding-right: 7px;
  48. }
  49. .v-table-header,
  50. .v-table-footer,
  51. .v-table-footer table {
  52. height: 20px;
  53. }
  54. .v-table-caption-container {
  55. heigth: 16px;
  56. padding-top: 4px;
  57. padding-right: 4px;
  58. }
  59. .v-table-caption-container .v-icon {
  60. height: 16px;
  61. margin: -4px 3px 0 0;
  62. vertical-align: middle;
  63. }
  64. .v-ie .v-table-caption-container .v-icon {
  65. margin-top: -3px;
  66. }
  67. .v-table-footer-container {
  68. heigth: 16px;
  69. }
  70. .v-table-resizer {
  71. height: 20px;
  72. width: 2px;
  73. background: transparent;
  74. border-right: 1px solid #c2c3c4;
  75. }
  76. .v-table-sort-indicator {
  77. background: transparent;
  78. width: 0px;
  79. height: 20px;
  80. }
  81. .v-table-header-cell-asc .v-table-sort-indicator {
  82. background: transparent no-repeat right 7px;
  83. background-image: url(img/asc-light.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  84. width: 16px;
  85. }
  86. .v-table-header-cell-desc .v-table-sort-indicator {
  87. background: transparent no-repeat right 7px;
  88. background-image: url(img/desc-light.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  89. width: 16px;
  90. }
  91. .v-table-body,
  92. .white .v-table-body {
  93. border-color: #c2c3c4;
  94. background: #fff;
  95. }
  96. .v-table-cell-content {
  97. padding-top: 0;
  98. border-right-color: #d3d4d5;
  99. vertical-align: top;
  100. }
  101. .v-table-cell-wrapper {
  102. padding-top: 3px;
  103. padding-bottom: 3px;
  104. }
  105. .v-table-row-odd {
  106. background: #eff0f1;
  107. }
  108. .v-table-cell-content:last-child {
  109. border-right-color: transparent;
  110. }
  111. .v-table .v-selected,
  112. .black .v-table .v-selected {
  113. background: #4d749f url(../common/img/sel-bg.png) repeat-x; /* We can't include this in the sprite, since we don't know the row height */
  114. color: #fff;
  115. text-shadow: #3b5a7a 0 1px 0;
  116. }
  117. .v-table .v-selected .v-table-cell-content {
  118. border-right-color: #466c90;
  119. }
  120. .v-table-column-selector {
  121. width: 16px;
  122. height: 20px;
  123. margin-top: -20px;
  124. background: transparent no-repeat;
  125. background-image: url(img/col-sel-light.png); /** sprite-ref: verticals */
  126. }
  127. .v-table-column-selector:active {
  128. background-image: url(img/col-sel-light-pressed.png); /** sprite-ref: verticals */
  129. }
  130. .v-table-focus-slot-left {
  131. border-left-color: #222;
  132. margin-left: 0;
  133. }
  134. .v-table-focus-slot-right {
  135. border-right-color: #222;
  136. margin-right: 0;
  137. }
  138. .v-table-header-drag {
  139. font-family: arial, helvetica, verdana, sans-serif;
  140. background: transparent repeat-x;
  141. background-image: url(img/header-bg-light.png); /** sprite-ref: verticals; sprite-alignment: repeat */
  142. padding: 4px;
  143. text-transform: uppercase;
  144. font-size: 10px;
  145. font-weight: bold;
  146. color: #222;
  147. text-shadow: #fff 0 1px 0;
  148. line-height: normal;
  149. }
  150. .v-table-header-drag * {
  151. vertical-align: middle;
  152. }
  153. .v-table-header-drag img {
  154. height: 16px;
  155. margin: -3px 3px 0 0;
  156. }
  157. .v-table-scrollposition {
  158. width: auto;
  159. background: transparent;
  160. border: none;
  161. }
  162. .v-table-scrollposition span {
  163. background: transparent repeat-x;
  164. background-image: url(img/scroll-indic-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
  165. border: 1px solid #939494;
  166. border: none;
  167. border-radius-bottomleft: 4px;
  168. border-radius-bottomright: 4px;
  169. -moz-border-radius-bottomleft: 4px;
  170. -moz-border-radius-bottomright: 4px;
  171. -webkit-border-bottom-left-radius: 4px;
  172. -webkit-border-bottom-right-radius: 4px;
  173. height: 13px;
  174. padding: 4px 30px;
  175. white-space: nowrap;
  176. color: #222;
  177. text-shadow: #fff 0 1px 0;
  178. position: relative;
  179. top: 1px;
  180. -webkit-box-shadow: rgba(0,0,0,.5) 0 1px 2px;
  181. -moz-box-shadow: rgba(0,0,0,.5) 0 1px 2px;
  182. }
  183. .v-table-borderless .v-table-scrollposition span {
  184. top: 0;
  185. }
  186. /* row in column selector */
  187. .v-contextmenu .v-on,
  188. .v-contextmenu .v-off {
  189. display: inline-block;
  190. zoom: 1;
  191. background: transparent no-repeat 0 4px;
  192. background-image: url(../common/icons/bullet.png); /** sprite-ref: verticals; sprite-margin-top: 4px; sprite-margin-bottom: 4px */
  193. padding-left: 12px;
  194. padding-right: 4px;
  195. }
  196. .v-contextmenu .v-off {
  197. background-image: none;
  198. color: #666;
  199. }
  200. .v-contextmenu .gwt-MenuItem-selected .v-on {
  201. background-image: url(../common/icons/bullet-white.png); /** sprite-ref: verticals; sprite-margin-top: 4px; sprite-margin-bottom: 5px */
  202. }
  203. /* Strong style */
  204. .v-table-strong .v-table-header-wrap {
  205. border-color: #2b3033;
  206. border-top-color: #2b3033;
  207. background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
  208. color: #e7e9ea;
  209. text-shadow: #000 0 -1px 0;
  210. }
  211. .v-table-strong .v-table-body {
  212. border-top-color: #2b3033;
  213. }
  214. .v-table-strong .v-table-resizer {
  215. border-right-color: #1c1f21;
  216. }
  217. .v-table-strong .v-table-header-cell-asc .v-table-sort-indicator {
  218. background-image: url(img/asc.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  219. }
  220. .v-table-strong .v-table-header-cell-desc .v-table-sort-indicator {
  221. background-image: url(img/desc.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  222. }
  223. .v-table-strong .v-table-column-selector {
  224. background-image: url(img/col-sel.png); /** sprite-ref: verticals */
  225. }
  226. .v-table-strong .v-table-column-selector:active {
  227. background-image: url(img/col-sel-pressed.png); /** sprite-ref: verticals */
  228. }
  229. .v-table-strong .v-table-header-drag {
  230. background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
  231. color: #e7e9ea;
  232. text-shadow: #000 0 -1px 0;
  233. }
  234. .v-table-strong .v-table-focus-slot-left,
  235. .v-table-strong .v-table-focus-slot-right {
  236. border-color: #9ca1a5;
  237. }
  238. /* Table on black background (normal style) */
  239. .black .v-table-header-wrap {
  240. border-color: #252729;
  241. background-image: url(img/header-bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
  242. color: #e7eaee;
  243. text-shadow: #000 0 -1px 0;
  244. }
  245. .black .v-table-resizer {
  246. border-right-color: #252729;
  247. }
  248. .black .v-table-header-cell-asc .v-table-sort-indicator {
  249. background-image: url(img/asc.png); /** sprite-ref: black-verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  250. }
  251. .black .v-table-header-cell-desc .v-table-sort-indicator {
  252. background-image: url(img/desc.png); /** sprite-ref: black-verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
  253. }
  254. .black .v-table-column-selector {
  255. background-image: url(img/col-sel-black.png); /** sprite-ref: black-verticals */
  256. }
  257. .black .v-table-column-selector:active {
  258. background-image: url(img/col-sel-black-pressed.png); /** sprite-ref: black-verticals */
  259. }
  260. .black .v-table-header-drag {
  261. background-image: url(img/header-bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
  262. color: #e7eaee;
  263. text-shadow: #000 0 -1px 0;
  264. }
  265. .black .v-table-focus-slot-left,
  266. .black .v-table-focus-slot-right {
  267. border-color: #9ca1a5;
  268. }
  269. .black .v-table-body {
  270. border-color: #252729;
  271. background: transparent;
  272. }
  273. .black .v-table-cell-content {
  274. border-right-color: #252729;
  275. border-bottom: 1px solid #252729;
  276. }
  277. .black .v-table-cell-wrapper {
  278. padding-bottom: 2px;
  279. }
  280. .black .v-table-row-odd {
  281. background: transparent;
  282. }
  283. /* Selection background-color combined with default style selector, so we don't have to duplicate the sprite image in the final sprite collection */
  284. .black .v-table .v-selected .v-table-cell-content {
  285. border-bottom: 1px solid #4d749f;
  286. }
  287. /* Borderless style */
  288. .v-table-borderless .v-table-header-wrap,
  289. .v-table-borderless .v-table-body {
  290. border: none;
  291. }