wt.css 20 KB

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