wt.css 22 KB

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