wt.css 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222
  1. /*
  2. * Validators
  3. */
  4. .Wt-invalid {
  5. background-color: #f79a9a;
  6. }
  7. .Wt-valid {
  8. background-color: #9af79a
  9. }
  10. /*
  11. * Wt-disabled
  12. */
  13. span.Wt-disabled, fieldset.Wt-disabled legend {
  14. color: gray;
  15. }
  16. /*
  17. * Effects
  18. */
  19. .Wt-animated {
  20. -webkit-backface-visibility: hidden; /* avoids flicker on Chrome */
  21. }
  22. /*
  23. * Outset using a dropshadow
  24. */
  25. .Wt-outset {
  26. border: 1px solid white;
  27. border: 1px solid rgba(0, 0, 0, 0.2);
  28. *border-right-width: 2px;
  29. *border-bottom-width: 2px;
  30. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  31. -webkit-background-clip: padding-box;
  32. -moz-background-clip: padding;
  33. background-clip: padding-box;
  34. }
  35. /*
  36. * WStackedWidget
  37. */
  38. .Wt-stack.Wt-animated {
  39. overflow: hidden;
  40. position: relative;
  41. }
  42. /*
  43. * WFormWidget
  44. */
  45. .Wt-edit-emptyText {
  46. color: gray;
  47. }
  48. /*
  49. * Silk screen
  50. */
  51. .Wt-dialogcover {
  52. background: #CCCCCC;
  53. background: rgb(204, 204, 204);
  54. height: 100%; width: 100%;
  55. top: 0px; left: 0px;
  56. position: fixed;
  57. }
  58. .Wt-dialogcover.in {
  59. filter: alpha(opacity=50);
  60. opacity: 0.5;
  61. }
  62. /*
  63. * WCalendar
  64. */
  65. .Wt-cal {
  66. padding: 0px;
  67. }
  68. .Wt-cal table {
  69. border-left: 1px solid #727D9C;
  70. font: normal 13px/22px "Trebuchet MS", Verdana, Arial, Helvetica,
  71. sans-serif;
  72. color: #515B66;
  73. text-align: center;
  74. background-color: #fff;
  75. border-collapse: separate;
  76. }
  77. .Wt-cal table td {
  78. text-align: center;
  79. }
  80. .Wt-cal table.d1 {
  81. width: 155px;
  82. }
  83. .Wt-cal table.d1 td {
  84. width: 20px;
  85. }
  86. .Wt-cal table.d3 {
  87. width: 220px;
  88. }
  89. .Wt-cal table.d3 td {
  90. width: 30px;
  91. }
  92. .Wt-cal table.dlong {
  93. width: 490px;
  94. }
  95. .Wt-cal table.dlong td {
  96. width: 70px;
  97. }
  98. .Wt-cal th.caption {
  99. margin: 0;
  100. padding: 0;
  101. border: 0;
  102. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  103. color: #fff;
  104. font: bold 13px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  105. text-align: center;
  106. }
  107. .Wt-cal-navbutton {
  108. cursor: pointer; cursor: hand;
  109. font: bold 20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  110. vertical-align: middle;
  111. display: block;
  112. }
  113. .Wt-cal caption select {
  114. cursor: pointer; cursor: hand;
  115. font: 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  116. margin: 2px 0px;
  117. vertical-align: middle;
  118. }
  119. .Wt-cal-year {
  120. vertical-align: middle;
  121. }
  122. .Wt-cal-year span {
  123. padding: 1px 2px;
  124. }
  125. .Wt-cal-year span:hover {
  126. color: #6880A0;
  127. background-color: #F0F0F0;
  128. }
  129. .Wt-cal th {
  130. font: bold 12px/22px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  131. color: #515B66;
  132. background: #D9E2E1;
  133. border-right: 1px solid #6880A0;
  134. border-bottom: 1px solid #6880A0;
  135. border-top: 1px solid #6880A0;
  136. cursor: default;
  137. }
  138. .Wt-cal td {
  139. border-right: 1px solid #6880A0;
  140. border-bottom: 1px solid #6880A0;
  141. text-align: center;
  142. cursor: default;
  143. }
  144. .Wt-cal-oom {
  145. color: #CCCCCC;
  146. }
  147. .Wt-cal-oor {
  148. color: #CCCCCC;
  149. }
  150. .Wt-cal-sel {
  151. background-color:#FFF19F;
  152. }
  153. .Wt-cal-now {
  154. color: #F6F4DA;
  155. font-weight: bold;
  156. background: #AAAAAA;
  157. }
  158. /*
  159. * WDateEdit
  160. */
  161. .Wt-dateedit {
  162. background-image: url('../../calendar_edit.png');
  163. background-repeat: no-repeat;
  164. background-position: right top;
  165. padding-right: 40px;
  166. }
  167. /*
  168. * WDatePicker
  169. */
  170. .Wt-datepicker {
  171. background-color: white;
  172. }
  173. /*
  174. * Wt-dateedit
  175. */
  176. .Wt-dateedit::-ms-clear {
  177. display:none
  178. }
  179. /*
  180. * WDialog
  181. */
  182. .Wt-dialog {
  183. background-color: white;
  184. padding: 1px;
  185. }
  186. .Wt-dialog .titlebar {
  187. color: #FFFFFF;
  188. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  189. font: bold 12px Verdana;
  190. padding: 3px 6px;
  191. }
  192. .Wt-dialog .movable .titlebar {
  193. cursor: move;
  194. }
  195. .Wt-dialog .closeicon {
  196. background: transparent url(closeicons-dialog.png) no-repeat scroll right top;
  197. width: 13px;
  198. height: 13px;
  199. background-position: right 0px;
  200. cursor: default;
  201. vertical-align: center;
  202. position: absolute;
  203. right: 5px;
  204. top: 5px;
  205. }
  206. .Wt-dialog .closeicon:hover {
  207. background-position: right -13px;
  208. }
  209. .Wt-dialog .body, .Wt-dialog .footer {
  210. padding: 4px 6px;
  211. }
  212. .Wt-dialog .footer {
  213. text-align: right;
  214. }
  215. .Wt-dialog .footer button {
  216. padding: 1px 4px 1px;
  217. margin: 2px;
  218. }
  219. .Wt-dialog .titlebar h4 {
  220. margin: 0px 2px;
  221. font-size: 110%;
  222. }
  223. /*
  224. * WMessageBox
  225. */
  226. .Wt-dialog .Wt-msgbox-icon {
  227. display: block;
  228. float: left;
  229. margin: 0px 15px -15px;
  230. width: 25px;
  231. height: 35px;
  232. }
  233. .Wt-dialog .Wt-msgbox-body {
  234. padding: 10px;
  235. }
  236. .Wt-dialog .Wt-msgbox-text {
  237. overflow: auto;
  238. }
  239. /*
  240. * WGridLayout
  241. */
  242. .Wt-hrh2, .Wt-vsh2 {
  243. cursor: row-resize;
  244. }
  245. .Wt-vrh2, .Wt-hsh2 {
  246. cursor: col-resize;
  247. }
  248. .Wt-hrh2 {
  249. background: url(splitter-v.png) no-repeat 50% 50% #EEE;
  250. }
  251. .Wt-vrh2 {
  252. background: url(splitter-h.png) no-repeat 50% 50% #EEE;
  253. }
  254. .Wt-hsh2, .Wt-vsh2 {
  255. background-color: #8ea2bd;
  256. }
  257. .Wt-vrh2:hover, .Wt-hrh2:hover {
  258. background-color: #8ea2bd;
  259. }
  260. /*
  261. * WItemDelegate, when editable
  262. */
  263. .Wt-delegate-edit {
  264. line-height: 0px;
  265. }
  266. /*
  267. * WPanel
  268. */
  269. .Wt-panel {
  270. }
  271. .Wt-panel .titlebar {
  272. color: #FFFFFF;
  273. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  274. font: bold 12px Verdana;
  275. padding: 3px 6px;
  276. cursor: default;
  277. }
  278. .Wt-panel .body {
  279. clear: left;
  280. padding: 4px 6px;
  281. }
  282. /*
  283. * Icons, check-boxes in WMenuItem
  284. */
  285. .Wt-icon {
  286. display: inline-block;
  287. margin-right: 8px;
  288. background-repeat: no-repeat;
  289. background-position: center left;
  290. width: 16px;
  291. height: 16px;
  292. line-height: 16px;
  293. vertical-align: text-top;
  294. }
  295. .Wt-chkbox {
  296. margin-left: 2px;
  297. margin-right: 10px;
  298. display: inline-block;
  299. width: 12px;
  300. }
  301. /*
  302. * WPopupMenu
  303. */
  304. .Wt-popupmenu {
  305. position: absolute;
  306. display: none;
  307. background: #FAFAFA;
  308. font: normal 13px/22px "Trebuchet MS", Verdana, Arial, Helvetica,
  309. sans-serif;
  310. color: #515B66;
  311. z-index: 200;
  312. cursor: default;
  313. white-space: nowrap;
  314. list-style: none;
  315. padding: 0px;
  316. margin: 0;
  317. }
  318. .Wt-popupmenu li a {
  319. display: block;
  320. padding: 2px 10px;
  321. }
  322. .Wt-popupmenu .Wt-padded {
  323. margin-right: 3px;
  324. margin-left: 24px;
  325. padding-right: 24px;
  326. }
  327. .Wt-popupmenu .active {
  328. background: #6880A0;
  329. color: white;
  330. }
  331. .Wt-popupmenu .Wt-disabled, .Wt-popupmenu .Wt-disable.active {
  332. background: transparent;
  333. color: #888;
  334. }
  335. .Wt-popupmenu .submenu {
  336. background-image: url(../../right-arrow.gif);
  337. background-repeat: no-repeat;
  338. background-position: right center;
  339. }
  340. .Wt-popupmenu .Wt-separator {
  341. border-top: 1px solid #CCCCCC;
  342. border-bottom: 1px solid #DDDDDD;
  343. margin: 0px 3px;
  344. line-height: 0px;
  345. padding: 0;
  346. }
  347. .Wt-popupmenu .Wt-sectheader, .Wt-popupmenu .Wt-sectheader.active {
  348. background: transparent;
  349. color: #888;
  350. }
  351. /*
  352. * WProgressBar
  353. */
  354. .Wt-progressbar
  355. {
  356. font: normal 1em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  357. background: gray;
  358. border: 1px solid #555;
  359. position: relative;
  360. overflow: hidden;
  361. color: white;
  362. font-weight: bold;
  363. width: 200px;
  364. height: 1em;
  365. line-height: 1em;
  366. }
  367. .Wt-progressbar .Wt-pgb-bar
  368. {
  369. position: absolute;
  370. left: 0px;
  371. top: 0px;
  372. height: 100%;
  373. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  374. }
  375. .Wt-progressbar .Wt-pgb-label
  376. {
  377. font-size: 0.8em;
  378. position: absolute;
  379. left: 0px;
  380. width: 100%;
  381. text-align: center;
  382. }
  383. /*
  384. * WPushButton
  385. */
  386. .Wt-btn:hover {
  387. border-color:#9CF #69E #69E #7AF;
  388. }
  389. .Wt-btn {
  390. background: transparent url(gradient.png) repeat-x scroll 0 0;
  391. border: 1px outset #CCC;
  392. cursor: pointer; cursor: hand;
  393. font-size: small;
  394. margin: 0px 2px;
  395. padding: 2px 5px;
  396. text-decoration: none;
  397. }
  398. .Wt-btn img {
  399. vertical-align: middle;
  400. }
  401. .Wt-btn.with-label img {
  402. padding-right: 10px;
  403. }
  404. .Wt-btn:active {
  405. border: 1px inset #CCC;
  406. }
  407. .Wt-btn[disabled] {
  408. border: 1px outset #CCC;
  409. cursor: not-allowed;
  410. opacity: 0.75;
  411. }
  412. .Wt-btn-default {
  413. font-weight: bold;
  414. border: 1px outset #37E;
  415. }
  416. /*
  417. * WResizable
  418. */
  419. .Wt-resizable {
  420. background-image: url(../../resizable.png);
  421. background-repeat: no-repeat;
  422. background-attachment: scroll;
  423. background-position: right bottom;
  424. }
  425. /*
  426. * WSlider
  427. */
  428. .Wt-slider-h .Wt-slider-bg {
  429. background: url(sliderbg-h.png) repeat-x scroll left center;
  430. margin: 0px 5px;
  431. }
  432. .Wt-slider-v .Wt-slider-bg {
  433. background: url(sliderbg-v.png) repeat-y scroll center top;
  434. margin: 5px 0px;
  435. }
  436. .Wt-slider-h .Wt-w {
  437. position: absolute;
  438. left: 0px;
  439. width: 5px;
  440. top: 0px;
  441. bottom: 0px;
  442. background: url(sliderbg-hw.png) no-repeat scroll left center;
  443. }
  444. .Wt-slider-h .Wt-e {
  445. position: absolute;
  446. right: 0px;
  447. width: 5px;
  448. top: 0px;
  449. bottom: 0px;
  450. background: url(sliderbg-he.png) no-repeat scroll left center;
  451. }
  452. .Wt-slider-v .Wt-w {
  453. position: absolute;
  454. left: 0px;
  455. height: 5px;
  456. top: 0px;
  457. right: 0px;
  458. background: url(sliderbg-vw.png) no-repeat scroll center top;
  459. }
  460. .Wt-slider-v .Wt-e {
  461. position: absolute;
  462. left: 0px;
  463. height: 5px;
  464. right: 0px;
  465. bottom: 0px;
  466. background: url(sliderbg-ve.png) no-repeat scroll center top;
  467. }
  468. .Wt-slider-h .handle {
  469. cursor: pointer; cursor: hand;
  470. background: url(slider-thumb.png) no-repeat scroll center;
  471. }
  472. .Wt-slider-v .handle {
  473. cursor: pointer; cursor: hand;
  474. background: url(slider-thumb.png) no-repeat scroll center;
  475. }
  476. /*
  477. * WSlider - disabled
  478. */
  479. .Wt-slider-h.Wt-disabled .Wt-slider-bg {
  480. background: url(sliderbg-h-disabled.png) repeat-x scroll left center;
  481. margin: 0px 5px;
  482. }
  483. .Wt-slider-v.Wt-disabled .Wt-slider-bg {
  484. background: url(sliderbg-v-disabled.png) repeat-y scroll center top;
  485. margin: 5px 0px;
  486. }
  487. .Wt-slider-h.Wt-disabled .Wt-w {
  488. position: absolute;
  489. left: 0px;
  490. width: 5px;
  491. top: 0px;
  492. bottom: 0px;
  493. background: url(sliderbg-hw-disabled.png) no-repeat scroll left center;
  494. }
  495. .Wt-slider-h.Wt-disabled .Wt-e {
  496. position: absolute;
  497. right: 0px;
  498. width: 5px;
  499. top: 0px;
  500. bottom: 0px;
  501. background: url(sliderbg-he-disabled.png) no-repeat scroll left center;
  502. }
  503. .Wt-slider-v.Wt-disabled .Wt-w {
  504. position: absolute;
  505. left: 0px;
  506. height: 5px;
  507. top: 0px;
  508. right: 0px;
  509. background: url(sliderbg-vw-disabled.png) no-repeat scroll center top;
  510. }
  511. .Wt-slider-v.Wt-disabled .Wt-e {
  512. position: absolute;
  513. left: 0px;
  514. height: 5px;
  515. right: 0px;
  516. bottom: 0px;
  517. background: url(sliderbg-ve-disabled.png) no-repeat scroll center top;
  518. }
  519. .Wt-slider-h.Wt-disabled .handle {
  520. cursor: auto;
  521. background: url(slider-thumb-disabled.png) no-repeat scroll center;
  522. }
  523. .Wt-slider-v.Wt-disabled .handle {
  524. cursor: auto;
  525. background: url(slider-thumb-disabled.png) no-repeat scroll center;
  526. }
  527. /*
  528. * WSuggestionPopup
  529. */
  530. .Wt-suggest {
  531. background: #FAFAFA;
  532. font: normal 13px/22px "Trebuchet MS", Verdana, Arial, Helvetica,
  533. sans-serif;
  534. color: #515B66;
  535. cursor: default;
  536. overflow-y: auto;
  537. list-style: none;
  538. margin: 0;
  539. padding: 1px;
  540. }
  541. .Wt-suggest li {
  542. padding: 0px 3px;
  543. }
  544. .Wt-suggest .active {
  545. background: #6880A0;
  546. color: white;
  547. }
  548. .Wt-suggest-dropdown {
  549. background-image: url('suggest-dropdown.png');
  550. background-repeat: no-repeat;
  551. background-position: right center;
  552. }
  553. /*
  554. * WSpinBox -- todo: polish this
  555. */
  556. .Wt-spinbox {
  557. background-image: url('../default/spin-buttons.png');
  558. background-repeat: no-repeat;
  559. background-position: right center;
  560. padding-right: 16px;
  561. }
  562. .Wt-spinbox.up {
  563. background-image: url('../default/spin-buttons-up.png');
  564. }
  565. .Wt-spinbox.dn {
  566. background-image: url('../default/spin-buttons-dn.png');
  567. }
  568. .Wt-spinbox::-ms-clear {
  569. display: none
  570. }
  571. /*
  572. * WTabWidget
  573. */
  574. .Wt-tabs {
  575. border-bottom: 1px solid gray;
  576. padding: 3px 3px 0px;
  577. font: bold 12px Verdana;
  578. list-style-type: none;
  579. margin: 0px;
  580. }
  581. .Wt-tabs li {
  582. cursor: pointer; cursor: hand;
  583. display: block;
  584. white-space: nowrap;
  585. float: left;
  586. padding: 2px 6px 3px;
  587. margin: 0px 3px 0px;
  588. border: 1px solid gray;
  589. border-bottom: none;
  590. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  591. color: #FFFFFF;
  592. height: 16px;
  593. }
  594. body.Wt-rtl .Wt-tabs li {
  595. float: right;
  596. }
  597. .Wt-tabs li a, .Wt-tabs li button {
  598. text-decoration: none;
  599. color: inherit;
  600. }
  601. .Wt-tabs li button a {
  602. padding: 0;
  603. margin: 0;
  604. border: 0;
  605. color: inherit;
  606. background: transparent;
  607. }
  608. .Wt-tabs li:hover, .Wt-tabs .itemselected {
  609. background: white;
  610. color: black;
  611. border-bottom: 1px solid white;
  612. margin-bottom: -1px;
  613. }
  614. .Wt-tabs li.active a, .Wt-tabs li.active button {
  615. background: white;
  616. color: black;
  617. }
  618. .Wt-tabs .closeicon {
  619. background: transparent url(closeicons-tab.png) no-repeat scroll right top;
  620. height: 16px;
  621. float: right;
  622. background-position: right 3px;
  623. border-width: 3px 0px 0px 0px;
  624. padding: 0px 6px 0px 7px;
  625. cursor: default;
  626. margin-left: 3px;
  627. vertical-align: top;
  628. }
  629. .Wt-tabs .closeicon:hover {
  630. background-position: right -10px;
  631. }
  632. .Wt-tabs:after { content: ""; display: block; height: 0; clear: both; }
  633. .Wt-tabs { clear-after: both; }
  634. /*
  635. * XHTML Tooltips
  636. */
  637. .Wt-tooltip {
  638. position: absolute;
  639. max-width: 700px;
  640. background-color: #ffffcc;
  641. border: 1px solid black;
  642. padding: 1px 2px;
  643. font-family: sans-serif;
  644. font-size: smaller;
  645. z-index: 1000;
  646. }
  647. /*
  648. * WTree(node)
  649. */
  650. .Wt-tree {
  651. font-family: verdana,helvetica,tahoma,sans-serif;
  652. font-size: 9pt;
  653. cursor: default;
  654. white-space: nowrap;
  655. }
  656. .Wt-tree ul {
  657. margin: 0;
  658. padding-left: 20px;
  659. list-style: none;
  660. }
  661. body.Wt-rtl .Wt-tree ul {
  662. padding-right: 20px;
  663. padding-left: 0px;
  664. }
  665. /* nodes */
  666. .Wt-tree div.Wt-root {
  667. display: none;
  668. }
  669. .Wt-tree ul.Wt-root {
  670. padding-left: 0px;
  671. }
  672. body.Wt-rtl .Wt-tree ul.Wt-root {
  673. padding-right: 0px;
  674. }
  675. .Wt-tree .Wt-ctrl {
  676. float: left;
  677. display: block;
  678. width: 19px;
  679. height: 17px;
  680. }
  681. body.Wt-rtl .Wt-tree .Wt-ctrl {
  682. float: right;
  683. }
  684. .Wt-treetable {
  685. background: white;
  686. border: 1px solid #dcdfe8;
  687. }
  688. .Wt-treetable .Wt-header {
  689. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  690. font-family: verdana,helvetica,tahoma,sans-serif;
  691. font-size: 9pt;
  692. cursor: default;
  693. color: white;
  694. cursor: default;
  695. white-space: nowrap;
  696. text-overflow: ellipsis;
  697. padding: 3px 0px 3px 3px;
  698. }
  699. .Wt-sbspacer {
  700. float: right;
  701. width: 16px;
  702. height: 1px;
  703. border: 0px;
  704. display: none;
  705. }
  706. body.Wt-rtl .Wt-sbspacer {
  707. float: left;
  708. }
  709. .Wt-tree .cols-row {
  710. float: right;
  711. }
  712. body.Wt-rtl .Wt-tree .cols-row {
  713. float: left;
  714. }
  715. /* selection */
  716. .Wt-tree .Wt-selected {
  717. background-color: #999999;
  718. color: white;
  719. }
  720. /* label */
  721. .Wt-tree .Wt-label {
  722. padding: 0px 2px;
  723. line-height: 150%;
  724. }
  725. /*
  726. * WAbstractItemView (WTableView and WTreeView)
  727. */
  728. .Wt-itemview .Wt-headerdiv {
  729. -moz-user-select: none;
  730. -khtml-user-select: none;
  731. user-select: none;
  732. overflow: hidden;
  733. width: 100%;
  734. }
  735. .Wt-itemview .Wt-tv-rh {
  736. float: right;
  737. width: 4px;
  738. cursor: col-resize;
  739. }
  740. .Wt-itemview .Wt-disabled .Wt-tv-rh {
  741. cursor: default;
  742. }
  743. body.Wt-rtl .Wt-itemview .Wt-tv-rh {
  744. float: left;
  745. }
  746. .Wt-itemview .Wt-tv-no-rh {
  747. width: 0px;
  748. margin-left: 4px;
  749. cursor: default;
  750. }
  751. body.Wt-rtl .Wt-itemview .Wt-tv-no-rh {
  752. margin-left: 0px;
  753. margin-right: 4px;
  754. }
  755. /* sort handles */
  756. .Wt-itemview .Wt-tv-sh {
  757. float: right;
  758. width: 16px;
  759. height: 16px;
  760. padding-bottom: 6px;
  761. cursor: pointer; cursor: hand;
  762. }
  763. .Wt-itemview .Wt-disabled .Wt-tv-sh {
  764. background: url(sort-arrow-disabled.gif) no-repeat 0 6px;
  765. cursor: default;
  766. }
  767. body.Wt-rtl .Wt-itemview .Wt-tv-sh {
  768. float: left;
  769. }
  770. .Wt-itemview {
  771. font-family: verdana,helvetica,tahoma,sans-serif;
  772. font-size: 9pt;
  773. cursor: default;
  774. white-space: nowrap;
  775. background: white;
  776. border: 1px solid #dcdfe8;
  777. }
  778. .Wt-itemview .Wt-spacer {
  779. background: url(../../loading.png);
  780. }
  781. .Wt-itemview .Wt-headerdiv,
  782. .Wt-itemview .Wt-headerdiv .Wt-tv-rowc,
  783. .Wt-itemview th {
  784. background: #6880A0 url(title-gradient.png) repeat-x scroll 0 -20px;
  785. color: white;
  786. }
  787. .Wt-itemview th, .Wt-itemview th .Wt-tv-br {
  788. overflow: hidden;
  789. }
  790. .Wt-itemview .Wt-header .Wt-label {
  791. font-weight: bold;
  792. text-overflow: ellipsis;
  793. overflow: hidden; /* needed for IE only */
  794. white-space: nowrap;
  795. height: 100%;
  796. }
  797. .Wt-itemview .Wt-header .Wt-disabled .Wt-label {
  798. color: gray;
  799. }
  800. .Wt-itemview .Wt-header .Wt-wwrap .Wt-label {
  801. overflow: visible;
  802. white-space: normal;
  803. }
  804. .Wt-itemview .Wt-tv-rh:hover {
  805. background-color: #DDDDDD;
  806. }
  807. .Wt-itemview .Wt-disabled .Wt-tv-rh:hover {
  808. background-color: transparent;
  809. }
  810. .Wt-itemview .Wt-tv-sh-none {
  811. background: url(sort-arrow-none.gif) no-repeat 0 6px;
  812. }
  813. .Wt-itemview .Wt-tv-sh-up {
  814. background: url(sort-arrow-up.gif) no-repeat 0 6px;
  815. }
  816. .Wt-itemview .Wt-tv-sh-down {
  817. background: url(sort-arrow-down.gif) no-repeat 0 6px;
  818. }
  819. /* selection */
  820. .Wt-itemview .Wt-selected {
  821. background-color: #999999;
  822. color: white;
  823. }
  824. /* item drag & drop */
  825. .Wt-itemview .Wt-drop-site {
  826. background-color: #EEEEEE;
  827. outline: 1px dotted black;
  828. }
  829. /*
  830. * WTableView
  831. */
  832. body.Wt-ltr .Wt-tableview .Wt-header .Wt-tv-c {
  833. padding-left: 6px;
  834. }
  835. body.Wt-rtl .Wt-tableview .Wt-header .Wt-tv-c {
  836. padding-right: 6px;
  837. }
  838. .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  839. .Wt-plaintable .Wt-tv-c {
  840. padding: 0px 3px;
  841. overflow: hidden;
  842. text-overflow: ellipsis;
  843. }
  844. .Wt-tableview .Wt-tv-contents img.icon,
  845. .Wt-tableview .Wt-plaintable img.icon,
  846. .Wt-tableview .Wt-tv-contents input.icon,
  847. .Wt-tableview .Wt-plaintable input.icon {
  848. margin: 0px 3px 2px 0px;
  849. vertical-align: middle;
  850. }
  851. .Wt-tableview .Wt-spacer {
  852. position: relative;
  853. overflow: hidden;
  854. }
  855. /* header */
  856. .Wt-tableview {
  857. white-space: nowrap
  858. }
  859. .Wt-tableview th {
  860. padding: 0px;
  861. }
  862. .Wt-tableview table {
  863. background-position: left bottom;
  864. }
  865. /* borders */
  866. body.Wt-ltr .Wt-tableview .Wt-tv-br {
  867. border-right: 1px solid #dcdfe8;
  868. }
  869. body.Wt-rtl .Wt-tableview .Wt-tv-br {
  870. border-left: 1px solid #dcdfe8;
  871. }
  872. body.Wt-ltr .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  873. body.Wt-ltr .Wt-tableview .Wt-plaintable tbody .Wt-tv-c {
  874. border-right: 0px;
  875. margin-right: 1px;
  876. }
  877. body.Wt-rtl .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  878. body.Wt-rtl .Wt-tableview .Wt-plaintable tbody .Wt-tv-c {
  879. border-left: 0px;
  880. margin-left: 1px;
  881. }
  882. /*
  883. * WTreeView
  884. */
  885. /* Layout styling */
  886. .Wt-treeview ul {
  887. margin: 0px;
  888. padding-left: 20px;
  889. list-style: none;
  890. }
  891. body.Wt-rtl .Wt-treeview ul {
  892. padding-left: 0px;
  893. padding-right: 20px;
  894. }
  895. .Wt-treeview ul.Wt-tv-root {
  896. padding-left: 0px;
  897. }
  898. body.Wt-rtl .Wt-treeview ul.Wt-tv-root {
  899. padding-right: 0px;
  900. }
  901. .Wt-treeview .Wt-tv-row {
  902. float: right;
  903. overflow: hidden;
  904. }
  905. body.Wt-rtl .Wt-treeview .Wt-tv-row {
  906. float: left;
  907. }
  908. .Wt-treeview .Wt-tv-row .Wt-tv-c {
  909. display: block;
  910. float: left;
  911. padding: 0px 3px;
  912. text-overflow: ellipsis;
  913. overflow: hidden;
  914. }
  915. body.Wt-rtl .Wt-treeview .Wt-tv-row .Wt-tv-c {
  916. float: right;
  917. }
  918. .Wt-treeview img.icon, .Wt-treeview input.icon {
  919. vertical-align: middle;
  920. }
  921. body.Wt-ltr .Wt-treeview img.icon,
  922. body.Wt-ltr .Wt-treeview input.icon {
  923. margin: 0px 3px 2px 0px;
  924. }
  925. body.Wt-rtl .Wt-treeview img.icon,
  926. body.Wt-rtl .Wt-treeview input.icon {
  927. margin: 0px 0px 2px 3px;
  928. }
  929. body.Wt-ltr .Wt-treeview .Wt-header .Wt-tv-c {
  930. padding: 0px;
  931. margin-left: 7px;
  932. }
  933. body.Wt-rtl .Wt-treeview .Wt-header .Wt-tv-c {
  934. padding: 0px;
  935. margin-right: 7px;
  936. }
  937. .Wt-treeview .Wt-scroll {
  938. overflow: auto;
  939. height: 22px;
  940. }
  941. .Wt-treeview .Wt-scroll div {
  942. height: 1px;
  943. }
  944. /* header */
  945. .Wt-treeview .Wt-headerdiv .background {
  946. background-color: #FFFFFF;
  947. }
  948. /* nodes */
  949. .Wt-treeview .Wt-ctrl {
  950. width: 19px;
  951. height: 18px;
  952. float: left;
  953. }
  954. body.Wt-rtl .Wt-treeview .Wt-ctrl {
  955. float: right;
  956. }
  957. .Wt-treeview .Wt-ctrl.expand {
  958. background-image: url(nav-plus.png);
  959. background-repeat: no-repeat;
  960. background-position: 0 center;
  961. }
  962. body.Wt-rtl .Wt-treeview .Wt-ctrl.expand {
  963. background-image: url(nav-plus-rtl.png);
  964. }
  965. .Wt-treeview .Wt-ctrl.collapse {
  966. background-image: url(nav-minus.png);
  967. background-repeat: no-repeat;
  968. background-position: 0 center;
  969. }
  970. body.Wt-rtl .Wt-treeview .Wt-ctrl.collapse {
  971. background-image: url(nav-minus-rtl.png);
  972. }
  973. /* borders */
  974. body.Wt-ltr .Wt-treeview .Wt-tv-br {
  975. border-right: 1px solid #dcdfe8;
  976. }
  977. body.Wt-rtl .Wt-treeview .Wt-tv-br {
  978. border-left: 1px solid #dcdfe8;
  979. }
  980. body.Wt-ltr .Wt-treeview li .Wt-tv-row .Wt-tv-c {
  981. border-right: 0px;
  982. margin-right: 1px;
  983. }
  984. body.Wt-rtl .Wt-treeview li .Wt-tv-row .Wt-tv-c {
  985. border-left: 0px;
  986. margin-left: 1px;
  987. }
  988. /*
  989. * WTreeView and WTableView default paging bar
  990. */
  991. .Wt-pagingbar {
  992. text-align: center;
  993. height: 35px;
  994. line-height: 35px;
  995. }
  996. .Wt-pagingbar span {
  997. margin: 0px 4px;
  998. }
  999. .Wt-pagingbar button {
  1000. margin: 0px 4px;
  1001. padding: 0px 3px;
  1002. vertical-align: middle;
  1003. line-height: 20px;
  1004. }
  1005. /*
  1006. * For Ext::TableView
  1007. */
  1008. table.x-grid3-row-table {
  1009. table-layout: fixed;
  1010. }
  1011. .Wt-filedropzone {
  1012. width: 200px;
  1013. height: 200px;
  1014. border: thick dashed grey;
  1015. background-color: lightgrey;
  1016. }
  1017. .Wt-filedropzone-hover {
  1018. border-color: green;
  1019. }
  1020. .Wt-filedropzone-hover * {
  1021. pointer-events: none;
  1022. }