wt.css 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204
  1. /*
  2. * Reuse settings and mixins from Bootstrap
  3. */
  4. /*
  5. .size(@width; @height) {
  6. width: @width;
  7. height: @height;
  8. }
  9. .square(@size) {
  10. .size(@size; @size);
  11. }
  12. */
  13. /*
  14. * Extend menu support to include sub menus
  15. */
  16. .nav > li > .nav {
  17. display: none;
  18. margin-left: 2ex;
  19. }
  20. .nav > li.active .nav {
  21. display: block;
  22. }
  23. /*
  24. * More dropdown-menu support
  25. */
  26. .dropdown-menu .disabled a,
  27. .dropdown-menu .disabled a:hover {
  28. color: #999999;
  29. text-decoration: none;
  30. cursor: default;
  31. background-color: transparent;
  32. }
  33. .dropdown-menu .Wt-icon {
  34. display: inline-block;
  35. width: 16px;
  36. height: 14px;
  37. margin-right: 4px;
  38. line-height: 14px;
  39. vertical-align: text-top;
  40. background-position: center left;
  41. background-repeat: no-repeat;
  42. }
  43. .dropdown-menu .Wt-chkbox {
  44. margin-right: 6px;
  45. margin-left: 1px;
  46. }
  47. .dropdown-menu label.checkbox-inline {
  48. padding-left: 0;
  49. }
  50. .dropdown-menu .Wt-padded {
  51. padding-left: 39px;
  52. }
  53. .dropdown-menu li label {
  54. display: inline;
  55. }
  56. /*
  57. * Make label in any menu item inline
  58. */
  59. .nav li label {
  60. display: inline;
  61. }
  62. @media (min-width: 768px) {
  63. .navbar .navbar-collapse {
  64. display: block !important;
  65. }
  66. }
  67. @media (max-width: 768px) {
  68. .navbar-nav .open .dropdown-menu {
  69. position: static !important;
  70. }
  71. }
  72. .navbar .navbar-inner .container {
  73. margin-right: 0;
  74. margin-left: 0;
  75. }
  76. /*
  77. * Less odd drop down menu support in navbar
  78. */
  79. .navbar .nav > li.submenu > a:hover,
  80. .navbar .nav > li.submenu > a.active {
  81. color: #555555;
  82. text-decoration: none;
  83. background-color: #e7e7e7;
  84. -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
  85. box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
  86. }
  87. /*
  88. * Fix submens in popup menus in navbar
  89. */
  90. .navbar .nav > li > .dropdown-menu.submenu:before {
  91. display: none;
  92. }
  93. .navbar .nav > li > .dropdown-menu.submenu:after {
  94. display: none;
  95. }
  96. /*
  97. * Show pointer even if anchor has no href
  98. */
  99. .navbar .nav > li > a {
  100. cursor: pointer;
  101. }
  102. /*
  103. * Fix open drop down menu
  104. */
  105. .navbar .nav li > .dropdown-toggle.active {
  106. color: #555555;
  107. background-color: #e5e5e5;
  108. }
  109. /*
  110. * Dialog extensions
  111. */
  112. .modal-dialog {
  113. display: block;
  114. }
  115. .modal-dialog .movable .modal-header {
  116. cursor: move;
  117. }
  118. .modal-dialog .modal-header h3 {
  119. font-size: 18px;
  120. }
  121. .modal-dialog .modal-body .modal-footer {
  122. margin: 0 -15px -15px;
  123. }
  124. .modal-dialog .modal-body .Wt-msgbox-icon {
  125. display: block;
  126. float: left;
  127. width: 25px;
  128. height: 35px;
  129. margin: -5px 15px 0 0px;
  130. }
  131. .modal-dialog .modal-body .Wt-msgbox-text {
  132. overflow: auto;
  133. }
  134. /*
  135. * Non-bootstrap widgets
  136. */
  137. /*
  138. * Resize handles
  139. */
  140. .Wt-hrh2,
  141. .Wt-vsh2 {
  142. cursor: row-resize;
  143. }
  144. .Wt-vrh2,
  145. .Wt-hsh2 {
  146. cursor: col-resize;
  147. }
  148. .Wt-hrh2 {
  149. background: url(../splitter-v.png) no-repeat 50% 50% #eeeeee;
  150. }
  151. .Wt-vrh2 {
  152. background: url(../splitter-h.png) no-repeat 50% 50% #eeeeee;
  153. }
  154. .Wt-hsh2,
  155. .Wt-vsh2,
  156. .Wt-vrh2:hover,
  157. .Wt-hrh2:hover {
  158. background-color: #999999;
  159. }
  160. /*
  161. * WCalendar
  162. */
  163. .Wt-cal table.d1 {
  164. width: 170px;
  165. }
  166. .Wt-cal table.d3 {
  167. width: 277px;
  168. }
  169. .Wt-cal table.dlong {
  170. width: 560px;
  171. }
  172. .Wt-cal .Wt-cal-navbutton {
  173. display: block;
  174. }
  175. .Wt-cal .Wt-cal-now {
  176. background-color: lightgray;
  177. }
  178. .Wt-cal .days.d1 td {
  179. width: 20px;
  180. }
  181. .Wt-cal .days.d3 td {
  182. width: 35px;
  183. }
  184. .Wt-cal .days.dlong td {
  185. width: 80px;
  186. }
  187. .Wt-cal td,
  188. .Wt-cal th,
  189. .Wt-cal td > div {
  190. height: 28px;
  191. text-align: center;
  192. border-radius: 4px;
  193. }
  194. .Wt-cal th,
  195. .Wt-cal td > div {
  196. padding: 4px 5px;
  197. }
  198. .Wt-cal tr:first-child th {
  199. cursor: pointer;
  200. }
  201. .Wt-cal tr:first-child th:hover {
  202. background: #eeeeee;
  203. }
  204. .Wt-cal tr:first-child th select {
  205. width: 125px;
  206. margin: 0;
  207. }
  208. .Wt-cal tr:first-child th input {
  209. width: 60px;
  210. margin: 0;
  211. }
  212. .Wt-cal .days td:hover {
  213. cursor: pointer;
  214. background: #eeeeee;
  215. }
  216. .Wt-cal .days td .Wt-cal-oom {
  217. color: #999999;
  218. }
  219. .Wt-cal .days td .Wt-cal-oor {
  220. color: #999999;
  221. }
  222. .Wt-cal .days td .Wt-cal-sel,
  223. .Wt-cal .days td .Wt-cal-sel:hover {
  224. color: #fff;
  225. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  226. background-color: #006dcc;
  227. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  228. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  229. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  230. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  231. background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  232. background-repeat: repeat-x;
  233. border-color: #0044cc #0044cc #002a80;
  234. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  235. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  236. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  237. }
  238. /*
  239. * WDateEdit
  240. */
  241. .Wt-dateedit {
  242. padding-right: 40px;
  243. background-image: url('date-edit-button.png');
  244. background-position: right top;
  245. background-repeat: no-repeat;
  246. }
  247. .Wt-dateedit:hover {
  248. cursor: default;
  249. background-position: right -34px;
  250. }
  251. .Wt-dateedit:active {
  252. cursor: default;
  253. background-position: right -68px;
  254. }
  255. .Wt-dateedit::-ms-clear {
  256. display: none;
  257. }
  258. /*
  259. * WTimeEdit
  260. */
  261. .Wt-timeedit {
  262. padding-right: 40px;
  263. background-image: url('time-edit-button.png');
  264. background-position: right top;
  265. background-repeat: no-repeat;
  266. }
  267. .Wt-timeedit:hover {
  268. cursor: default;
  269. background-position: right -34px;
  270. }
  271. .Wt-timeedit:active {
  272. cursor: default;
  273. background-position: right -68px;
  274. }
  275. .Wt-timeedit::-ms-clear {
  276. display: none;
  277. }
  278. /*
  279. * WDatePicker
  280. */
  281. .Wt-datepicker input {
  282. display: inline;
  283. }
  284. /*
  285. * WProgressBar
  286. */
  287. .progress {
  288. position: relative;
  289. width: 200px;
  290. margin-bottom: 0;
  291. vertical-align: middle;
  292. }
  293. .progress .bar-label {
  294. position: absolute;
  295. top: 0.1em;
  296. left: 0;
  297. width: 100%;
  298. font-size: 0.8em;
  299. text-align: center;
  300. }
  301. /*
  302. * WPushButton
  303. */
  304. .btn.with-label img,
  305. .list-group-item.with-label img {
  306. padding-right: 10px;
  307. }
  308. /*
  309. * WGoogleMap
  310. */
  311. .Wt-googlemap img {
  312. max-width: none;
  313. }
  314. /*
  315. * WSpinBox
  316. */
  317. .Wt-spinbox {
  318. padding-right: 16px;
  319. background-image: url('spin-buttons.png');
  320. background-position: right top;
  321. background-repeat: no-repeat;
  322. }
  323. .Wt-spinbox.up {
  324. background-position: right -34px;
  325. }
  326. .Wt-spinbox.dn {
  327. background-position: right -68px;
  328. }
  329. .Wt-spinbox::-ms-clear {
  330. display: none;
  331. }
  332. /*
  333. * WSlider
  334. */
  335. .Wt-slider-h .Wt-slider-bg {
  336. margin: 0 5px;
  337. }
  338. .Wt-slider-h .Wt-w {
  339. position: absolute;
  340. top: 50%;
  341. left: -1px;
  342. width: 100%;
  343. height: 8px;
  344. margin-top: -5px;
  345. background: #eeeeee;
  346. border: 1px solid #dddddd;
  347. border-radius: 4px;
  348. }
  349. .Wt-slider-h .fill {
  350. top: 50%;
  351. height: 8px;
  352. margin-top: -5px;
  353. background: #428bca;
  354. border: 1px solid #428bca;
  355. border-radius: 4px;
  356. }
  357. .Wt-slider-h .handle {
  358. top: 50% !important;
  359. height: 18px !important;
  360. margin-top: -10px;
  361. color: #333333;
  362. background-color: #ffffff;
  363. border: 1px solid #cccccc;
  364. border-color: #cccccc;
  365. border-radius: 4px;
  366. }
  367. .Wt-slider-h .handle:hover,
  368. .Wt-slider-h .handle:focus,
  369. .Wt-slider-h .handle:active,
  370. .Wt-slider-h .handle.active,
  371. .open .dropdown-toggle.Wt-slider-h .handle {
  372. color: #333333;
  373. background-color: #ebebeb;
  374. border-color: #adadad;
  375. }
  376. .Wt-slider-h .handle:active,
  377. .Wt-slider-h .handle.active,
  378. .open .dropdown-toggle.Wt-slider-h .handle {
  379. background-image: none;
  380. }
  381. .Wt-slider-h .handle.disabled,
  382. .Wt-slider-h .handle[disabled],
  383. fieldset[disabled] .Wt-slider-h .handle,
  384. .Wt-slider-h .handle.disabled:hover,
  385. .Wt-slider-h .handle[disabled]:hover,
  386. fieldset[disabled] .Wt-slider-h .handle:hover,
  387. .Wt-slider-h .handle.disabled:focus,
  388. .Wt-slider-h .handle[disabled]:focus,
  389. fieldset[disabled] .Wt-slider-h .handle:focus,
  390. .Wt-slider-h .handle.disabled:active,
  391. .Wt-slider-h .handle[disabled]:active,
  392. fieldset[disabled] .Wt-slider-h .handle:active,
  393. .Wt-slider-h .handle.disabled.active,
  394. .Wt-slider-h .handle[disabled].active,
  395. fieldset[disabled] .Wt-slider-h .handle.active {
  396. background-color: #ffffff;
  397. border-color: #cccccc;
  398. }
  399. .Wt-slider-h .handle:hover {
  400. background-color: #e6e6e6;
  401. background-position: 0 -15px;
  402. }
  403. .Wt-slider-h .handle:active {
  404. background-color: #e6e6e6;
  405. background-color: #d9d9d9 \9;
  406. background-image: none;
  407. outline: 0;
  408. }
  409. .Wt-slider-v .Wt-slider-bg {
  410. margin: 5px 0;
  411. }
  412. .Wt-slider-v .Wt-w {
  413. position: absolute;
  414. left: 50%;
  415. width: 8px;
  416. height: 100%;
  417. margin-left: -5px;
  418. background: #eeeeee;
  419. border: 1px solid #dddddd;
  420. border-radius: 4px;
  421. }
  422. .Wt-slider-v .fill {
  423. bottom: 0;
  424. left: 50%;
  425. width: 8px;
  426. margin-left: -5px;
  427. background: #428bca;
  428. border: 1px solid #428bca;
  429. border-radius: 4px;
  430. }
  431. .Wt-slider-v .handle {
  432. left: 50% !important;
  433. width: 18px !important;
  434. margin-left: -10px;
  435. color: #333333;
  436. background-color: #ffffff;
  437. border: 1px solid #cccccc;
  438. border-color: #cccccc;
  439. border-radius: 4px;
  440. }
  441. .Wt-slider-v .handle:hover,
  442. .Wt-slider-v .handle:focus,
  443. .Wt-slider-v .handle:active,
  444. .Wt-slider-v .handle.active,
  445. .open .dropdown-toggle.Wt-slider-v .handle {
  446. color: #333333;
  447. background-color: #ebebeb;
  448. border-color: #adadad;
  449. }
  450. .Wt-slider-v .handle:active,
  451. .Wt-slider-v .handle.active,
  452. .open .dropdown-toggle.Wt-slider-v .handle {
  453. background-image: none;
  454. }
  455. .Wt-slider-v .handle.disabled,
  456. .Wt-slider-v .handle[disabled],
  457. fieldset[disabled] .Wt-slider-v .handle,
  458. .Wt-slider-v .handle.disabled:hover,
  459. .Wt-slider-v .handle[disabled]:hover,
  460. fieldset[disabled] .Wt-slider-v .handle:hover,
  461. .Wt-slider-v .handle.disabled:focus,
  462. .Wt-slider-v .handle[disabled]:focus,
  463. fieldset[disabled] .Wt-slider-v .handle:focus,
  464. .Wt-slider-v .handle.disabled:active,
  465. .Wt-slider-v .handle[disabled]:active,
  466. fieldset[disabled] .Wt-slider-v .handle:active,
  467. .Wt-slider-v .handle.disabled.active,
  468. .Wt-slider-v .handle[disabled].active,
  469. fieldset[disabled] .Wt-slider-v .handle.active {
  470. background-color: #ffffff;
  471. border-color: #cccccc;
  472. }
  473. .Wt-slider-v .handle:hover {
  474. background-color: #e6e6e6;
  475. background-position: 0 -15px;
  476. }
  477. .Wt-slider-v .handle:active {
  478. background-color: #e6e6e6;
  479. background-color: #d9d9d9 \9;
  480. background-image: none;
  481. outline: 0;
  482. }
  483. /*
  484. * WSuggestionPopup icon!
  485. */
  486. .Wt-suggest-dropdown {
  487. padding-right: 40px;
  488. background-image: url('suggest-dropdown.png');
  489. background-position: right top;
  490. background-repeat: no-repeat;
  491. }
  492. .Wt-suggest-dropdown:hover {
  493. cursor: default;
  494. background-position: right -34px;
  495. }
  496. .Wt-suggest-dropdown:active {
  497. cursor: default;
  498. background-position: right -68px;
  499. }
  500. .dropdown-submenu > a {
  501. background-image: url(../../../right-arrow.gif);
  502. background-position: right center;
  503. background-repeat: no-repeat;
  504. }
  505. .dropdown-menu.typeahead {
  506. cursor: pointer;
  507. }
  508. /*
  509. * WAbstractItemView (WTableView and WTreeView)
  510. */
  511. .Wt-itemview {
  512. white-space: nowrap;
  513. cursor: default;
  514. background: white;
  515. border: 1px solid #dddddd;
  516. }
  517. .Wt-itemview.Wt-itemview-paged {
  518. overflow: auto;
  519. }
  520. .Wt-itemview .Wt-spacer {
  521. background: url(../../../loading.png);
  522. }
  523. .Wt-itemview .Wt-headerdiv {
  524. width: 100%;
  525. overflow: hidden;
  526. -khtml-user-select: none;
  527. -moz-user-select: none;
  528. user-select: none;
  529. }
  530. .Wt-itemview .Wt-headerdiv,
  531. .Wt-itemview .Wt-headerdiv .Wt-tv-rowc,
  532. .Wt-itemview th {
  533. font-weight: bold;
  534. }
  535. .Wt-itemview th,
  536. .Wt-itemview th .Wt-tv-br {
  537. overflow: hidden;
  538. }
  539. .Wt-itemview .Wt-header .Wt-label {
  540. height: 100%;
  541. overflow: hidden;
  542. font-weight: bold;
  543. text-overflow: ellipsis;
  544. white-space: nowrap;
  545. }
  546. .Wt-itemview .Wt-header .Wt-wwrap .Wt-label {
  547. overflow: visible;
  548. white-space: normal;
  549. }
  550. .Wt-itemview .Wt-tv-rh {
  551. float: right;
  552. width: 4px;
  553. cursor: col-resize;
  554. }
  555. .Wt-itemview .Wt-tv-no-rh {
  556. width: 0;
  557. margin-left: 4px;
  558. cursor: default;
  559. }
  560. .Wt-itemview .Wt-tv-sh {
  561. float: right;
  562. width: 16px;
  563. height: 16px;
  564. padding-bottom: 6px;
  565. cursor: pointer;
  566. }
  567. .Wt-itemview .Wt-tv-rh:hover {
  568. background-color: #999999;
  569. }
  570. .Wt-itemview .Wt-tv-sh-none {
  571. background: url(../sort-arrow-none.gif) no-repeat 0 6px;
  572. }
  573. .Wt-itemview .Wt-tv-sh-up {
  574. background: url(../sort-arrow-up.gif) no-repeat 0 6px;
  575. }
  576. .Wt-itemview .Wt-tv-sh-down {
  577. background: url(../sort-arrow-down.gif) no-repeat 0 6px;
  578. }
  579. .Wt-itemview .active {
  580. color: #ffffff;
  581. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  582. cursor: default;
  583. background-color: #428bca;
  584. }
  585. .Wt-itemview .Wt-drop-site {
  586. background-color: #EEEEEE;
  587. outline: 1px dotted black;
  588. }
  589. body.Wt-rtl .Wt-itemview .Wt-tv-rh,
  590. body.Wt-rtl .Wt-itemview .Wt-tv-sh {
  591. float: left;
  592. }
  593. body.Wt-rtl .Wt-itemview .Wt-tv-no-rh {
  594. margin-right: 4px;
  595. margin-left: 0;
  596. }
  597. /*
  598. * WTableView
  599. */
  600. .Wt-tableview {
  601. white-space: nowrap;
  602. /* header */
  603. /* borders */
  604. }
  605. .Wt-tableview .Wt-header .Wt-tv-c {
  606. padding-left: 6px;
  607. margin-left: 6px;
  608. /*bootstrap 3 border box*/
  609. }
  610. .Wt-tableview .Wt-tv-contents {
  611. background-color: #fff;
  612. }
  613. .Wt-tableview .Wt-tv-contents.Wt-striped div.Wt-tv-c:nth-child(odd) {
  614. background-color: #f9f9f9;
  615. }
  616. .Wt-tableview .Wt-tv-contents.Wt-striped div.active:nth-child(odd) {
  617. background-color: #428bca;
  618. }
  619. .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  620. .Wt-tableview .Wt-plaintable td,
  621. .Wt-tableview .Wt-plaintable th {
  622. padding: 0 3px;
  623. overflow: hidden;
  624. text-overflow: ellipsis;
  625. }
  626. .Wt-tableview .Wt-tv-contents img.icon,
  627. .Wt-tableview .Wt-plaintable img.icon,
  628. .Wt-tableview .Wt-tv-contents input.icon,
  629. .Wt-tableview .Wt-plaintable input.icon {
  630. margin: 0 3px 2px 0px;
  631. vertical-align: middle;
  632. }
  633. .Wt-tableview .Wt-spacer {
  634. position: relative;
  635. overflow: hidden;
  636. }
  637. .Wt-tableview table {
  638. background-position: left bottom;
  639. }
  640. .Wt-tableview th {
  641. padding: 0;
  642. }
  643. .Wt-tableview .Wt-tv-br {
  644. border-right: 1px solid #dddddd;
  645. }
  646. .Wt-tableview .Wt-plaintable .Wt-tv-br {
  647. border-right: 0;
  648. }
  649. .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  650. .Wt-tableview .Wt-plaintable td,
  651. .Wt-tableview .Wt-plaintable th {
  652. border-right: 1px solid #dddddd;
  653. border-bottom: 1px solid #dddddd;
  654. }
  655. .Wt-tableview .Wt-header {
  656. border-bottom: 1px solid #dddddd;
  657. }
  658. body.Wt-rtl .Wt-tableview .Wt-header .Wt-tv-c {
  659. padding-right: 6px;
  660. padding-left: 0;
  661. margin-right: 6px;
  662. margin-left: 0;
  663. }
  664. body.Wt-rtl .Wt-tableview .Wt-tv-br {
  665. border-right: 0;
  666. border-left: 1px solid #dddddd;
  667. }
  668. body.Wt-rtl .Wt-tableview .Wt-tv-contents .Wt-tv-c,
  669. body.Wt-rtl .Wt-tableview .Wt-plaintable tbody .Wt-tv-c {
  670. border-right: 0;
  671. border-left: 1px solid #dddddd;
  672. }
  673. /*
  674. * WTree(node)
  675. */
  676. .Wt-tree {
  677. cursor: default;
  678. }
  679. .Wt-tree ul {
  680. padding-left: 20px;
  681. margin: 0;
  682. list-style: none;
  683. }
  684. .Wt-tree div.Wt-root {
  685. display: none;
  686. }
  687. .Wt-tree ul.Wt-root {
  688. padding-left: 0;
  689. }
  690. .Wt-tree.Wt-trunk,
  691. .Wt-tree .Wt-item.Wt-trunk {
  692. background-image: url(../../../line-trunk.gif);
  693. background-repeat: repeat-y;
  694. }
  695. .Wt-tree .Wt-item {
  696. *zoom: 1;
  697. }
  698. .Wt-tree .Wt-item.Wt-end {
  699. background-image: url(../../../line-last.gif);
  700. background-position: 0 0;
  701. background-repeat: no-repeat;
  702. }
  703. .Wt-tree .active {
  704. color: #ffffff;
  705. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  706. cursor: default;
  707. background-color: #428bca;
  708. }
  709. .Wt-tree .Wt-ctrl {
  710. display: block;
  711. float: left;
  712. width: 19px;
  713. height: 19px;
  714. }
  715. .Wt-tree .Wt-ctrl.Wt-noexpand {
  716. background: url(../../../line-middle.gif) no-repeat 0 0;
  717. }
  718. .Wt-tree .Wt-ctrl img {
  719. vertical-align: top;
  720. }
  721. .Wt-tree .cols-row {
  722. float: right;
  723. }
  724. .Wt-tree .Wt-label {
  725. padding: 0 2px;
  726. line-height: 150%;
  727. }
  728. body.Wt-rtl .Wt-tree ul {
  729. padding-right: 20px;
  730. padding-left: 0;
  731. margin: 0;
  732. }
  733. body.Wt-rtl .Wt-tree ul.Wt-root {
  734. padding-right: 0;
  735. }
  736. body.Wt-rtl .Wt-tree.Wt-trunk,
  737. body.Wt-rtl .Wt-tree .Wt-item.Wt-trunk {
  738. background-position: top right;
  739. }
  740. body.Wt-rtl .Wt-tree .Wt-item.Wt-end {
  741. background-image: url(../../../line-last-rtl.gif);
  742. background-position: top right;
  743. }
  744. body.Wt-rtl .Wt-tree .Wt-ctrl {
  745. float: right;
  746. }
  747. body.Wt-rtl .Wt-tree .Wt-ctrl.Wt-noexpand {
  748. background-image: url(../../../line-middle-rtl.gif);
  749. background-position: top right;
  750. }
  751. body.Wt-rtl .Wt-tree .cols-row {
  752. float: left;
  753. }
  754. .Wt-treetable {
  755. overflow: auto;
  756. }
  757. .Wt-treetable .Wt-header {
  758. font-weight: bold;
  759. line-height: 28px;
  760. border-bottom: 1px solid transparent;
  761. }
  762. .Wt-sbspacer {
  763. display: none;
  764. float: right;
  765. width: 16px;
  766. height: 1px;
  767. border: 0;
  768. }
  769. body.Wt-rtl .Wt-sbspacer {
  770. float: left;
  771. }
  772. /*
  773. * WTreeView
  774. */
  775. /* Layout styling */
  776. .Wt-treeview {
  777. /* nodes */
  778. }
  779. .Wt-treeview ul {
  780. padding-left: 20px;
  781. margin: 0;
  782. list-style: none;
  783. }
  784. .Wt-treeview ul.Wt-tv-root {
  785. padding-left: 0;
  786. }
  787. .Wt-treeview img.icon,
  788. .Wt-treeview input.icon {
  789. margin: 0 3px 2px 0px;
  790. }
  791. .Wt-treeview .Wt-header {
  792. border-bottom: 1px solid #dddddd;
  793. }
  794. .Wt-treeview .Wt-header .Wt-tv-c {
  795. padding: 0;
  796. margin-left: 7px;
  797. }
  798. .Wt-treeview .Wt-tv-br,
  799. .Wt-treeview ul .Wt-tv-c {
  800. /* data */
  801. margin-right: 0;
  802. border-right: 1px solid #dddddd;
  803. }
  804. .Wt-treeview button.Wt-tv-c {
  805. border-right-color: transparent;
  806. /* doesn't work */
  807. }
  808. .Wt-treeview .Wt-tv-c {
  809. padding: 0 3px;
  810. -webkit-box-sizing: content-box;
  811. -moz-box-sizing: content-box;
  812. box-sizing: content-box;
  813. }
  814. .Wt-treeview .Wt-tv-row {
  815. float: right;
  816. overflow: hidden;
  817. }
  818. .Wt-treeview .Wt-tv-row .Wt-tv-c {
  819. display: block;
  820. float: left;
  821. overflow: hidden;
  822. text-overflow: ellipsis;
  823. white-space: nowrap;
  824. }
  825. .Wt-treeview img.icon,
  826. .Wt-treeview input.icon {
  827. vertical-align: middle;
  828. }
  829. .Wt-treeview .Wt-scroll {
  830. height: 22px;
  831. overflow: auto;
  832. }
  833. .Wt-treeview .Wt-scroll div {
  834. height: 1px;
  835. }
  836. .Wt-treeview .Wt-item {
  837. *zoom: 1;
  838. }
  839. .Wt-treeview .Wt-trunk {
  840. background-image: url(../../../line-trunk.gif);
  841. background-repeat: repeat-y;
  842. }
  843. .Wt-treeview .Wt-end {
  844. background-image: url(../../../tv-line-last.gif);
  845. background-position: 0 center;
  846. background-repeat: no-repeat;
  847. }
  848. .Wt-treeview .Wt-ctrl {
  849. float: left;
  850. width: 19px;
  851. }
  852. .Wt-treeview .Wt-ctrl.expand {
  853. background: url(../nav-plus.gif) no-repeat 0 center;
  854. }
  855. .Wt-treeview .Wt-ctrl.collapse {
  856. display: block;
  857. background: url(../nav-minus.gif) no-repeat 0 center;
  858. }
  859. .Wt-treeview .Wt-ctrl.noexpand {
  860. background: url(../../../line-middle.gif) no-repeat 0 center;
  861. }
  862. body.Wt-rtl .Wt-treeview ul {
  863. padding-right: 20px;
  864. padding-left: 0;
  865. }
  866. body.Wt-rtl .Wt-treeview ul.Wt-tv-root {
  867. padding-right: 0;
  868. }
  869. body.Wt-rtl .Wt-treeview img.icon,
  870. body.Wt-rtl .Wt-treeview input.icon {
  871. margin: 0 0px 2px 3px;
  872. }
  873. body.Wt-rtl .Wt-treeview .Wt-header .Wt-tv-c {
  874. margin-right: 7px;
  875. margin-left: 0;
  876. }
  877. body.Wt-rtl .Wt-treeview .Wt-tv-br,
  878. body.Wt-rtl .Wt-treeview ul .Wt-tv-c {
  879. margin-left: 0;
  880. border-right: 0;
  881. border-left: 1px solid #dddddd;
  882. }
  883. body.Wt-rtl .Wt-treeview .Wt-tv-row {
  884. float: left;
  885. }
  886. body.Wt-rtl .Wt-treeview .Wt-tv-row .Wt-tv-c {
  887. float: right;
  888. }
  889. body.Wt-rtl .Wt-treeview .Wt-trunk {
  890. background-position: top right;
  891. }
  892. body.Wt-rtl .Wt-treeview .Wt-end {
  893. background-image: url(../../../tv-line-last-rtl.gif);
  894. background-position: right center;
  895. }
  896. body.Wt-rtl .Wt-treeview .Wt-ctrl {
  897. float: right;
  898. }
  899. body.Wt-rtl .Wt-treeview .Wt-ctrl.expand {
  900. background-image: url(../nav-plus-rtl.gif);
  901. }
  902. body.Wt-rtl .Wt-treeview .Wt-ctrl.collapse {
  903. background-image: url(../nav-minus-rtl.gif);
  904. }
  905. body.Wt-rtl .Wt-treeview .Wt-ctrl.noexpand {
  906. background-image: url(../../../line-middle-rtl.gif);
  907. }
  908. /*
  909. * WTreeView and WTableView default paging bar
  910. */
  911. .Wt-pagingbar {
  912. height: 35px;
  913. padding: 2px;
  914. line-height: 35px;
  915. text-align: center;
  916. }
  917. .Wt-pagingbar span {
  918. margin: 0 4px;
  919. }
  920. .Wt-pagingbar button {
  921. margin: 0 4px;
  922. }
  923. .Wt-in-place-edit span:hover {
  924. color: #ffffff;
  925. background-color: #428bca;
  926. }
  927. /*
  928. * WStackedWidget
  929. */
  930. .Wt-stack.Wt-animated {
  931. position: relative;
  932. overflow: hidden;
  933. }
  934. /*
  935. * WToolBar
  936. */
  937. .btn-toolbar * {
  938. font-size: 14px;
  939. }
  940. /*
  941. * WCalendar
  942. */
  943. .Wt-calendar .form-control {
  944. display: initial;
  945. }
  946. /*
  947. * WResizable
  948. */
  949. .modal-dialog.Wt-resizable .modal-content {
  950. background-attachment: scroll;
  951. background-image: url(../../../resizable.png);
  952. background-position: right bottom;
  953. background-repeat: no-repeat;
  954. }
  955. .close {
  956. position: relative;
  957. z-index: 1050;
  958. }
  959. /*
  960. * WFileDropWidget
  961. */
  962. .Wt-filedropzone {
  963. width: 200px;
  964. height: 200px;
  965. background-color: lightgrey;
  966. border: thick dashed grey;
  967. }
  968. .Wt-filedropzone-hover {
  969. border-color: green;
  970. }
  971. .Wt-filedropzone-hover * {
  972. pointer-events: none;
  973. }