7127431565384b3728b1a3df7f1bf76dd31af425.svn-base 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. /*
  2. * Ext JS Library 2.0
  3. * Copyright(c) 2006-2007, Ext JS, LLC.
  4. * licensing@extjs.com
  5. *
  6. * http://extjs.com/license
  7. */
  8. /* Grid3 styles */
  9. .x-grid3 {
  10. position:relative;
  11. overflow:hidden;
  12. background-color:#fff;
  13. }
  14. .x-grid-panel .x-panel-body {
  15. overflow:hidden !important;
  16. }
  17. .x-grid-panel .x-panel-mc .x-panel-body {
  18. border:1px solid #99bbe8;
  19. }
  20. .ext-ie .x-grid3 table,.ext-safari .x-grid3 table {
  21. table-layout:fixed;
  22. }
  23. .x-grid3-viewport{
  24. overflow:hidden;
  25. }
  26. .x-grid3-hd-row td, .x-grid3-row td, .x-grid3-summary-row td{
  27. font:normal 11px arial, tahoma, helvetica, sans-serif;
  28. -moz-outline: none;
  29. -moz-user-focus: normal;
  30. }
  31. .x-grid3-row td, .x-grid3-summary-row td {
  32. line-height:13px;
  33. vertical-align: top;
  34. padding-left:1px;
  35. padding-right:1px;
  36. -moz-user-select: none;
  37. }
  38. .x-grid3-hd-row td {
  39. line-height:15px;
  40. vertical-align:middle;
  41. border-left:1px solid #eee;
  42. border-right:1px solid #d0d0d0;
  43. }
  44. .x-grid3-hd-row .x-grid3-marker-hd {
  45. padding:3px;
  46. }
  47. .x-grid3-row .x-grid3-marker {
  48. padding:3px;
  49. }
  50. .x-grid3-cell-inner, .x-grid3-hd-inner{
  51. overflow:hidden;
  52. -o-text-overflow: ellipsis;
  53. text-overflow: ellipsis;
  54. padding:3px 3px 3px 5px;
  55. white-space: nowrap;
  56. }
  57. .x-grid3-hd-inner {
  58. position:relative;
  59. cursor:inherit;
  60. padding:4px 3px 4px 5px;
  61. }
  62. .x-grid3-row-body {
  63. white-space:normal;
  64. }
  65. .x-grid3-body-cell {
  66. -moz-outline:0 none;
  67. outline:0 none;
  68. }
  69. /* IE Quirks to clip */
  70. .ext-ie .x-grid3-cell-inner, .ext-ie .x-grid3-hd-inner{
  71. width:100%;
  72. }
  73. /* reverse above in strict mode */
  74. .ext-strict .x-grid3-cell-inner, .ext-strict .x-grid3-hd-inner{
  75. width:auto;
  76. }
  77. .x-grid3-col {
  78. }
  79. .x-grid-row-loading {
  80. background: #fff url(../images/default/shared/loading-balls.gif) no-repeat center center;
  81. }
  82. .x-grid-page {
  83. overflow:hidden;
  84. }
  85. .x-grid3-row {
  86. cursor: default;
  87. border:1px solid #ededed;
  88. border-top-color:#fff;
  89. /*border-bottom: 1px solid #ededed;*/
  90. width:100%;
  91. }
  92. .x-grid3-row-alt{
  93. background-color:#fafafa;
  94. }
  95. .x-grid3-row-over {
  96. border:1px solid #dddddd;
  97. background: #efefef url(../images/default/grid/row-over.gif) repeat-x left top;
  98. }
  99. .x-grid3-resize-proxy {
  100. width:1px;
  101. left:0;
  102. background-color:#777;
  103. cursor: e-resize;
  104. cursor: col-resize;
  105. position:absolute;
  106. top:0;
  107. height:100px;
  108. overflow:hidden;
  109. visibility:hidden;
  110. border:0 none;
  111. z-index:7;
  112. }
  113. .x-grid3-resize-marker {
  114. width:1px;
  115. left:0;
  116. background-color:#777;
  117. position:absolute;
  118. top:0;
  119. height:100px;
  120. overflow:hidden;
  121. visibility:hidden;
  122. border:0 none;
  123. z-index:7;
  124. }
  125. .x-grid3-focus {
  126. position:absolute;
  127. top:0;
  128. -moz-outline:0 none;
  129. outline:0 none;
  130. -moz-user-select: normal;
  131. -khtml-user-select: normal;
  132. }
  133. /* header styles */
  134. .x-grid3-header{
  135. background: #f9f9f9 url(../images/default/grid/grid3-hrow.gif) repeat-x 0 bottom;
  136. cursor:default;
  137. zoom:1;
  138. padding:1px 0 0 0;
  139. }
  140. .x-grid3-header-pop {
  141. border-left:1px solid #d0d0d0;
  142. float:right;
  143. clear:none;
  144. }
  145. .x-grid3-header-pop-inner {
  146. border-left:1px solid #eee;
  147. width:14px;
  148. height:19px;
  149. background: transparent url(../images/default/grid/hd-pop.gif) no-repeat center center;
  150. }
  151. .ext-ie .x-grid3-header-pop-inner {
  152. width:15px;
  153. }
  154. .ext-strict .x-grid3-header-pop-inner {
  155. width:14px;
  156. }
  157. .x-grid3-header-inner {
  158. overflow:hidden;
  159. zoom:1;
  160. float:left;
  161. }
  162. .x-grid3-header-offset {
  163. padding-left:1px;
  164. width:10000px;
  165. }
  166. td.x-grid3-hd-over, td.sort-desc, td.sort-asc, td.x-grid3-hd-menu-open {
  167. border-left:1px solid #aaccf6;
  168. border-right:1px solid #aaccf6;
  169. }
  170. td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-asc .x-grid3-hd-inner, td.x-grid3-hd-menu-open .x-grid3-hd-inner {
  171. background: #ebf3fd url(../images/default/grid/grid3-hrow-over.gif) repeat-x left bottom;
  172. }
  173. .x-grid3-sort-icon{
  174. background-repeat: no-repeat;
  175. display: none;
  176. height: 4px;
  177. width: 13px;
  178. margin-left:3px;
  179. vertical-align: middle;
  180. }
  181. .sort-asc .x-grid3-sort-icon {
  182. background-image: url(../images/default/grid/sort_asc.gif);
  183. display: inline;
  184. }
  185. .sort-desc .x-grid3-sort-icon {
  186. background-image: url(../images/default/grid/sort_desc.gif);
  187. display: inline;
  188. }
  189. /* Header position fixes for IE strict mode */
  190. .ext-strict .ext-ie .x-grid3-header-inner{position:relative;}
  191. .ext-strict .ext-ie6 .x-grid3-hd{position:relative;}
  192. .ext-strict .ext-ie6 .x-grid3-hd-inner{position:static;}
  193. /* Body Styles */
  194. .x-grid3-body {
  195. zoom:1;
  196. }
  197. .x-grid3-scroller {
  198. overflow:auto;
  199. zoom:1;
  200. position:relative;
  201. }
  202. .x-grid3-cell-text, .x-grid3-hd-text {
  203. display: block;
  204. padding: 3px 5px 3px 5px;
  205. -moz-user-select: none;
  206. -khtml-user-select: none;
  207. color:black;
  208. }
  209. .x-grid3-split {
  210. background-image: url(../images/default/grid/grid-split.gif);
  211. background-position: center;
  212. background-repeat: no-repeat;
  213. cursor: e-resize;
  214. cursor: col-resize;
  215. display: block;
  216. font-size: 1px;
  217. height: 16px;
  218. overflow: hidden;
  219. position: absolute;
  220. top: 2px;
  221. width: 6px;
  222. z-index: 3;
  223. }
  224. .x-grid3-hd-text {
  225. color:#15428b;
  226. }
  227. /* Column Reorder DD */
  228. .x-dd-drag-proxy .x-grid3-hd-inner{
  229. background: #ebf3fd url(../images/default/grid/grid3-hrow-over.gif) repeat-x left bottom;
  230. width:120px;
  231. padding:3px;
  232. border:1px solid #aaccf6;
  233. overflow:hidden;
  234. }
  235. .col-move-top, .col-move-bottom{
  236. width:9px;
  237. height:9px;
  238. position:absolute;
  239. top:0;
  240. line-height:1px;
  241. font-size:1px;
  242. overflow:hidden;
  243. visibility:hidden;
  244. z-index:20000;
  245. }
  246. .col-move-top{
  247. background:transparent url(../images/default/grid/col-move-top.gif) no-repeat left top;
  248. }
  249. .col-move-bottom{
  250. background:transparent url(../images/default/grid/col-move-bottom.gif) no-repeat left top;
  251. }
  252. /* Selection Styles */
  253. .x-grid3-row-selected {
  254. background: #DFE8F6 !important;
  255. border:1px dotted #a3bae9;
  256. }
  257. .x-grid3-cell-selected{
  258. background-color: #B8CFEE !important;
  259. color: black;
  260. }
  261. .x-grid3-cell-selected span{
  262. color: black !important;
  263. }
  264. .x-grid3-cell-selected .x-grid3-cell-text{
  265. color: black;
  266. }
  267. .x-grid3-locked td.x-grid3-row-marker, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{
  268. background: #ebeadb url(../images/default/grid/grid-hrow.gif) repeat-x 0 bottom !important;
  269. vertical-align:middle !important;
  270. color:black;
  271. padding:0;
  272. border-top:1px solid white;
  273. border-bottom:none !important;
  274. border-right:1px solid #6fa0df !important;
  275. text-align:center;
  276. }
  277. .x-grid3-locked td.x-grid3-row-marker div, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{
  278. padding:0 4px;
  279. color:#15428b !important;
  280. text-align:center;
  281. }
  282. /* dirty cells */
  283. .x-grid3-dirty-cell {
  284. background: transparent url(../images/default/grid/dirty.gif) no-repeat 0 0;
  285. }
  286. /* Grid Toolbars */
  287. .x-grid3-topbar, .x-grid3-bottombar{
  288. font:normal 11px arial, tahoma, helvetica, sans-serif;
  289. overflow:hidden;
  290. display:none;
  291. zoom:1;
  292. position:relative;
  293. }
  294. .x-grid3-topbar .x-toolbar{
  295. border-right:0 none;
  296. }
  297. .x-grid3-bottombar .x-toolbar{
  298. border-right:0 none;
  299. border-bottom:0 none;
  300. border-top:1px solid #a9bfd3;
  301. }
  302. /* Props Grid Styles */
  303. .x-props-grid .x-grid3-cell{
  304. padding:1px;
  305. }
  306. .x-props-grid .x-grid3-td-name .x-grid3-cell-inner{
  307. background:transparent url(../images/default/grid/grid3-special-col-bg.gif) repeat-y -16px !important;
  308. padding-left:12px;
  309. color:black !important;
  310. }
  311. .x-props-grid .x-grid3-body .x-grid3-td-name{
  312. padding:1px;
  313. padding-right:0;
  314. background:white !important;
  315. border:0 none;
  316. border-right:1px solid #eeeeee;
  317. }
  318. /* header menu */
  319. .xg-hmenu-sort-asc .x-menu-item-icon{
  320. background-image: url(../images/default/grid/hmenu-asc.gif);
  321. }
  322. .xg-hmenu-sort-desc .x-menu-item-icon{
  323. background-image: url(../images/default/grid/hmenu-desc.gif);
  324. }
  325. .xg-hmenu-lock .x-menu-item-icon{
  326. background-image: url(../images/default/grid/hmenu-lock.gif);
  327. }
  328. .xg-hmenu-unlock .x-menu-item-icon{
  329. background-image: url(../images/default/grid/hmenu-unlock.gif);
  330. }
  331. /* dd */
  332. .x-grid3-col-dd {
  333. border:0 none;
  334. padding:0;
  335. background:transparent;
  336. }
  337. .x-dd-drag-ghost .x-grid3-dd-wrap {
  338. padding:1px 3px 3px 1px;
  339. }
  340. .x-grid3-hd {
  341. -moz-user-select:none;
  342. }
  343. .x-grid3-hd-btn {
  344. display:none;
  345. position:absolute;
  346. width:14px;
  347. background:#c3daf9 url(../images/default/grid/grid3-hd-btn.gif) no-repeat left center;
  348. right:0;
  349. top:0;
  350. z-index:2;
  351. cursor:pointer;
  352. }
  353. .x-grid3-hd-over .x-grid3-hd-btn, .x-grid3-hd-menu-open .x-grid3-hd-btn {
  354. display:block;
  355. }
  356. a.x-grid3-hd-btn:hover {
  357. background-position:-14px center;
  358. }
  359. /* Expanders */
  360. .x-grid3-body .x-grid3-td-expander {
  361. background:transparent url(../images/default/grid/grid3-special-col-bg.gif) repeat-y right;
  362. }
  363. .x-grid3-body .x-grid3-td-expander .x-grid3-cell-inner {
  364. padding:0 !important;
  365. height:100%;
  366. }
  367. .x-grid3-row-expander {
  368. width:100%;
  369. height:18px;
  370. background-position:4px 2px;
  371. background-repeat:no-repeat;
  372. background-color:transparent;
  373. background-image:url(../images/default/grid/row-expand-sprite.gif);
  374. }
  375. .x-grid3-row-collapsed .x-grid3-row-expander {
  376. background-position:4px 2px;
  377. }
  378. .x-grid3-row-expanded .x-grid3-row-expander {
  379. background-position:-21px 2px;
  380. }
  381. .x-grid3-row-collapsed .x-grid3-row-body {
  382. display:none !important;
  383. }
  384. .x-grid3-row-expanded .x-grid3-row-body {
  385. display:block !important;
  386. }
  387. /* Checkers */
  388. .x-grid3-body .x-grid3-td-checker {
  389. background:transparent url(../images/default/grid/grid3-special-col-bg.gif) repeat-y right;
  390. }
  391. .x-grid3-body .x-grid3-td-checker .x-grid3-cell-inner, .x-grid3-header .x-grid3-td-checker .x-grid3-hd-inner {
  392. padding:0 !important;
  393. height:100%;
  394. }
  395. .x-grid3-row-checker, .x-grid3-hd-checker {
  396. width:100%;
  397. height:18px;
  398. background-position:2px 2px;
  399. background-repeat:no-repeat;
  400. background-color:transparent;
  401. background-image:url(../images/default/grid/row-check-sprite.gif);
  402. }
  403. .x-grid3-row .x-grid3-row-checker {
  404. background-position:2px 2px;
  405. }
  406. .x-grid3-row-selected .x-grid3-row-checker, .x-grid3-hd-checker-on .x-grid3-hd-checker {
  407. background-position:-23px 2px;
  408. }
  409. .x-grid3-hd-checker {
  410. background-position:2px 3px;
  411. }
  412. .x-grid3-hd-checker-on .x-grid3-hd-checker {
  413. background-position:-23px 3px;
  414. }
  415. /* Numberer */
  416. .x-grid3-body .x-grid3-td-numberer {
  417. background:transparent url(../images/default/grid/grid3-special-col-bg.gif) repeat-y right;
  418. }
  419. .x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner {
  420. padding:3px 5px 0 0 !important;
  421. text-align:right;
  422. color:#444;
  423. }
  424. /* All specials */
  425. .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer,
  426. .x-grid3-body .x-grid3-row-selected .x-grid3-td-checker,
  427. .x-grid3-body .x-grid3-row-selected .x-grid3-td-expander {
  428. background:transparent url(../images/default/grid/grid3-special-col-sel-bg.gif) repeat-y right;
  429. }
  430. .x-grid3-body .x-grid3-check-col-td .x-grid3-cell-inner {
  431. padding: 1px 0 0 0 !important;
  432. }
  433. .x-grid3-check-col {
  434. width:100%;
  435. height:16px;
  436. background-position:center center;
  437. background-repeat:no-repeat;
  438. background-color:transparent;
  439. background-image:url(../images/default/menu/unchecked.gif);
  440. }
  441. .x-grid3-check-col-on {
  442. width:100%;
  443. height:16px;
  444. background-position:center center;
  445. background-repeat:no-repeat;
  446. background-color:transparent;
  447. background-image:url(../images/default/menu/checked.gif);
  448. }
  449. /* Grouping classes */
  450. .x-grid-group, .x-grid-group-body, .x-grid-group-hd {
  451. zoom:1;
  452. }
  453. .x-grid-group-hd {
  454. border-bottom: 2px solid #99bbe8;
  455. cursor:pointer;
  456. padding-top:6px;
  457. }
  458. .x-grid-group-hd div {
  459. background:transparent url(../images/default/grid/group-expand-sprite.gif) no-repeat 3px -47px;
  460. padding:4px 4px 4px 17px;
  461. color:#3764a0;
  462. font:bold 11px tahoma, arial, helvetica, sans-serif;
  463. }
  464. .x-grid-group-collapsed .x-grid-group-hd div {
  465. background-position: 3px 3px;
  466. }
  467. .x-grid-group-collapsed .x-grid-group-body {
  468. display:none;
  469. }
  470. .x-group-by-icon {
  471. background-image:url(../images/default/grid/group-by.gif);
  472. }
  473. .x-cols-icon {
  474. background-image:url(../images/default/grid/columns.gif);
  475. }
  476. .x-show-groups-icon {
  477. background-image:url(../images/default/grid/group-by.gif);
  478. }
  479. .ext-ie .x-grid3 .x-editor .x-form-text { /* ie bug */
  480. position:relative;
  481. top:-1px;
  482. }
  483. .x-grid-empty {
  484. padding:10px;
  485. color:gray;
  486. font:normal 11px tahoma, arial, helvetica, sans-serif;
  487. }