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