wt.less 17 KB

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