1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111 |
- /*
- * Reuse settings and mixins from Bootstrap
- */
- @import "variables.less";
- @import "mixins.less";
- /*
- * Extend menu support to include sub menus
- */
- .nav > li > .nav {
- display: none;
- margin-left: 2ex;
- }
- .nav > li.active .nav {
- display: block;
- }
- /*
- * More dropdown-menu support
- */
- .dropdown-menu {
- .disabled a,
- .disabled a:hover {
- text-decoration: none;
- color: #999999;
- cursor: default;
- background-color: transparent;
- }
- .Wt-icon {
- margin-right: 4px;
- background-repeat: no-repeat;
- background-position: center left;
- display: inline-block;
- width: 16px;
- height: 14px;
- line-height: 14px;
- vertical-align: text-top;
- }
- .Wt-chkbox {
- margin-left: 1px;
- margin-right: 7px;
- display: inline-block;
- width: 12px;
- vertical-align: text-top;
- }
- .Wt-padded {
- padding-left: 39px;
- }
- li label {
- display: inline;
- }
- }
- /*
- * Make label in any menu item inline
- */
- .nav li label {
- display: inline;
- }
- /*
- * Custom collapse nav support
- */
- .navbar .nav-collapse {
- display: block !important;
- }
- @media (max-width: 979px) {
- .nav-collapse .dropdown-menu {
- display: block !important;
- position: static !important;
- }
- .nav-collapse .dropdown-menu li > a:hover {
- color: @navbarLinkColorActive;
- background: #f2f2f2;
- }
- .nav-collapse .dropdown-menu .active >a {
- color: inherit;
- background: inherit;
- }
- }
- .navbar .navbar-inner .container {
- margin-left: 0px;
- margin-right: 0px;
- }
- /*
- * Less odd drop down menu support in navbar
- */
- .navbar .nav > li.submenu > a:hover,
- .navbar .nav > li.submenu > a.active {
- color: @navbarLinkColorActive;
- text-decoration: none;
- background-color: @navbarLinkBackgroundActive;
- .box-shadow(inset 0 3px 8px rgba(0,0,0,.125));
- }
- /*
- * Fix submens in popup menus in navbar
- */
- .navbar .nav > li > .dropdown-menu.submenu:before {
- display: none;
- }
- .navbar .nav > li > .dropdown-menu.submenu:after {
- display: none;
- }
- /*
- * Show pointer even if anchor has no href
- */
- .navbar .nav > li > a {
- cursor: pointer;
- }
- /*
- * Fix open drop down menu
- */
- .navbar .nav li > .dropdown-toggle.active {
- color: #555555;
- background-color: #e5e5e5;
- }
- /*
- * Dialog extensions
- */
- .modal {
- .movable .modal-header {
- cursor: move;
- }
- .modal-body .modal-footer {
- margin: 0px -15px -15px;
- }
- }
- /*
- * Message box
- */
- .modal .Wt-msgbox-icon {
- display: block;
- float: left;
- margin: -5px 15px 0px 0px;
- width: 25px;
- height: 35px;
- }
- .modal .Wt-msgbox-text {
- overflow: auto;
- }
- /*
- * Non-bootstrap widgets
- */
- /*
- * Resize handles
- */
- .Wt-hrh2, .Wt-vsh2 {
- cursor: row-resize;
- }
- .Wt-vrh2, .Wt-hsh2 {
- cursor: col-resize;
- }
- .Wt-hrh2 {
- background: url(../splitter-v.png) no-repeat 50% 50% #EEE;
- }
- .Wt-vrh2 {
- background: url(../splitter-h.png) no-repeat 50% 50% #EEE;
- }
- .Wt-hsh2, .Wt-vsh2,
- .Wt-vrh2:hover, .Wt-hrh2:hover {
- background-color: @grayLight;
- }
- /*
- * WCalendar
- */
- .Wt-cal {
- table {
- &.d1 {
- width: 170px;
- }
- &.d3 {
- width: 255px;
- }
- &.dlong {
- width: 560px;
- }
- }
- .Wt-cal-navbutton {
- display: block;
- }
- .Wt-cal-now {
- background-color: lightgray;
- }
- .days.d1 td {
- width: 20px;
- }
- .days.d3 td {
- width: 35px;
- }
- .days.dlong td {
- width: 80px;
- }
- td, th, td > div {
- text-align: center;
- height: 20px;
- .border-radius(4px);
- }
- th, td > div {
- padding: 4px 5px;
- }
- tr:first-child th {
- cursor: pointer;
- &:hover{
- background: @grayLighter;
- }
- select {
- width: 125px;
- margin: 0px;
- }
- input {
- width: 35px;
- margin: 0px;
- }
- }
- .days td {
- &:hover {
- background: @grayLighter;
- cursor: pointer;
- }
- .Wt-cal-oom {
- color: @grayLight;
- }
- .Wt-cal-oor {
- color: @grayLight;
- }
- .Wt-cal-sel, .Wt-cal-sel:hover {
- .buttonBackground(@btnPrimaryBackground,
- @btnPrimaryBackgroundHighlight);
- color: #fff;
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
- }
- }
- }
- /*
- * WTimeEdit
- */
- .Wt-timeedit {
- background-image: url('time-edit-button.png');
- background-repeat: no-repeat;
- background-position: right top;
- padding-right: 40px;
- &:hover {
- cursor: default;
- background-position: right -34px;
- }
- &:active {
- cursor: default;
- background-position: right -68px;
- }
- }
- .Wt-timeedit::-ms-clear {
- display:none
- }
- /*
- * WDateEdit
- */
- .Wt-dateedit {
- background-image: url('date-edit-button.png');
- background-repeat: no-repeat;
- background-position: right top;
- padding-right: 40px;
- &:hover {
- cursor: default;
- background-position: right -30px;
- }
- &:active {
- cursor: default;
- background-position: right -60px;
- }
- }
- .Wt-dateedit::-ms-clear {
- display:none
- }
- /*
- * WDatePicker
- */
- .Wt-datepicker {
- display: block;
- top: auto;
- left: auto;
- }
- /*
- * WProgressBar
- */
- .progress {
- width: 200px;
- vertical-align: middle;
- position: relative;
- margin-bottom: 0px;
- .bar-label {
- position: absolute;
- left: 0px;
- width: 100%;
- text-align: center;
- font-size: 0.8em;
- top:0.1em;
- }
- }
- /*
- * WPushButton
- */
- .btn.with-label img,
- .list-group-item.with-label img {
- padding-right: 10px;
- }
- /*
- * WGoogleMap
- */
- .Wt-googlemap img {
- max-width: none;
- }
- /*
- * WSpinBox
- */
- .Wt-spinbox {
- background-image: url('spin-buttons.png');
- background-repeat: no-repeat;
- background-position: right top;
- padding-right: 16px;
- &.up {
- background-position: right -30px;
- }
- &.dn {
- background-position: right -60px;
- }
- }
- .Wt-spinbox::-ms-clear {
- display: none
- }
- /*
- * WSlider
- */
- .Wt-slider-h {
- .Wt-slider-bg {
- margin: 0px 5px;
- }
- .Wt-w {
- position: absolute;
- width: 100%;
- top: 50%;
- left: -1px;
- margin-top: -5px;
- height: 8px;
- border: 1px solid @tableBorder;
- background: @grayLighter;
- .border-radius(@baseBorderRadius);
- }
- .fill {
- top: 50%;
- margin-top: -5px;
- height: 8px;
- border: 1px solid @btnPrimaryBackground;
- background: @btnPrimaryBackground;
- .border-radius(@baseBorderRadius);
- }
- .handle {
- top: 50% !important;
- margin-top: -10px;
- height: 18px !important;
- border: 1px solid @btnBorder;
- .buttonBackground(@btnBackground, @btnBackgroundHighlight,
- @grayDark, 0 1px 1px rgba(255,255,255,.75));
- .border-radius(@baseBorderRadius);
- &:hover {
- background-color: darken(@white, 10%);
- background-position: 0 -15px;
- }
- &:active {
- background-color: darken(@white, 10%);
- background-color: darken(@white, 15%) e("\9");
- background-image: none;
- outline: 0;
- }
- }
- }
- .Wt-slider-v {
- .Wt-slider-bg {
- margin: 5px 0px;
- }
- .Wt-w {
- position: absolute;
- height: 100%;
- left: 50%;
- margin-left: -5px;
- width: 8px;
- border: 1px solid @tableBorder;
- background: @grayLighter;
- .border-radius(@baseBorderRadius);
- }
- .fill {
- left: 50%;
- margin-left: -5px;
- bottom: -1px;
- width: 8px;
- border: 1px solid @btnPrimaryBackground;
- background: @btnPrimaryBackground;
- .border-radius(@baseBorderRadius);
- }
- .handle {
- left: 50% !important;
- margin-left: -10px;
- width: 18px !important;
- border: 1px solid @btnBorder;
- .buttonBackground(@btnBackground, @btnBackgroundHighlight,
- @grayDark, 0 1px 1px rgba(255,255,255,.75));
- .border-radius(@baseBorderRadius);
- &:hover {
- background-color: darken(@white, 10%);
- background-position: 0 -15px;
- }
- &:active {
- background-color: darken(@white, 10%);
- background-color: darken(@white, 15%) e("\9");
- background-image: none;
- outline: 0;
- }
- }
- }
- /*
- * WSuggestionPopup icon!
- */
- .Wt-suggest-dropdown {
- background-image: url('suggest-dropdown.png');
- background-repeat: no-repeat;
- background-position: right top;
- padding-right: 40px;
- &:hover {
- cursor: default;
- background-position: right -30px;
- }
- &:active {
- cursor: default;
- background-position: right -60px;
- }
- }
- .dropdown-menu.typeahead {
- cursor: pointer;
- li:not(.active) > a:hover {
- color: inherit;
- background: inherit;
- }
- }
- /*
- * WAbstractItemView (WTableView and WTreeView)
- */
- .Wt-itemview {
- cursor: default;
- white-space: nowrap;
- background: white;
- border: 1px solid @tableBorder;
- &.Wt-itemview-paged {
- overflow: auto;
- }
- .Wt-spacer {
- background: url(../../../loading.png);
- }
- /* header */
- .Wt-headerdiv {
- -moz-user-select: none;
- -khtml-user-select: none;
- user-select: none;
- overflow: hidden;
- width: 100%;
- }
- .Wt-headerdiv,
- .Wt-headerdiv .Wt-tv-rowc,
- th {
- font-weight: bold;
- }
- th,
- th .Wt-tv-br {
- overflow: hidden;
- }
- .Wt-header {
- .Wt-label {
- font-weight: bold;
- text-overflow: ellipsis;
- overflow: hidden; /* needed for IE only */
- white-space: nowrap;
- height: 100%;
- }
- .Wt-wwrap .Wt-label {
- overflow: visible;
- white-space: normal;
- }
- }
- /* resize handles */
- .Wt-tv-rh {
- float: right;
- width: 4px;
- cursor: col-resize;
- }
- .Wt-tv-no-rh {
- width: 0px;
- margin-left: 4px;
- cursor: default;
- }
- /* sort handles */
- .Wt-tv-sh {
- float: right;
- width: 16px;
- height: 16px;
- padding-bottom: 6px;
- cursor: pointer;
- }
- .Wt-tv-rh:hover {
- background-color: @grayLight; // LESS
- }
- .Wt-tv-sh-none {
- background: url(../sort-arrow-none.gif) no-repeat 0 6px;
- }
- .Wt-tv-sh-up {
- background: url(../sort-arrow-up.gif) no-repeat 0 6px;
- }
- .Wt-tv-sh-down {
- background: url(../sort-arrow-down.gif) no-repeat 0 6px;
- }
- .active {
- color: @white;
- text-shadow: 0 -1px 0 rgba(0,0,0,.2);
- background-color: @linkColor;
- cursor: default;
- }
- /* item drag & drop */
- .Wt-drop-site {
- background-color: #EEEEEE; // LESS
- outline: 1px dotted black; // LESS
- }
- }
- body.Wt-rtl {
- .Wt-itemview {
- .Wt-tv-rh, .Wt-tv-sh {
- float: left;
- }
- .Wt-tv-no-rh {
- margin-left: 0px;
- margin-right: 4px;
- }
- }
- }
- /*
- * WTableView
- */
- .Wt-tableview {
-
- select {
- width : 100%;
- }
- white-space: nowrap;
- .Wt-header .Wt-tv-c {
- padding-left: 6px;
- }
- .Wt-tv-contents {
- background-color: @white;
- }
- .Wt-tv-contents.Wt-striped div.Wt-tv-c:nth-child(odd) {
- background-color: @tableBackgroundAccent;
- }
- .Wt-tv-contents.Wt-striped div.active:nth-child(odd) {
- background-color: @linkColor;
- }
- .Wt-tv-contents .Wt-tv-c, .Wt-plaintable td, .Wt-plaintable th {
- padding: 0px 3px;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .Wt-tv-contents img.icon,
- .Wt-plaintable img.icon,
- .Wt-tv-contents input.icon,
- .Wt-plaintable input.icon {
- margin: 0px 3px 2px 0px;
- vertical-align: middle;
- }
- .Wt-spacer {
- position: relative;
- overflow: hidden;
- }
- table {
- background-position: left bottom;
- }
- /* header */
- th {
- padding: 0px;
- }
- /* borders */
- .Wt-tv-br {
- border-right: 1px solid @tableBorder;
- }
- .Wt-plaintable .Wt-tv-br {
- border-right: 0;
- }
- .Wt-tv-contents .Wt-tv-c, .Wt-plaintable td, .Wt-plaintable th {
- border-right: 1px solid @tableBorder;
- border-top: 1px solid @tableBorder;
- margin-top: -1px;
- }
- .Wt-spacer {
- border-bottom: 1px solid @tableBorder;
- }
- .Wt-header {
- border-bottom: 1px solid @tableBorder;
- }
- }
- body.Wt-rtl {
- .Wt-tableview {
- .Wt-header .Wt-tv-c {
- padding-left: 0px;
- padding-right: 6px;
- }
- .Wt-tv-contents img.icon,
- .Wt-plaintable img.icon,
- .Wt-tv-contents input.icon,
- .Wt-plaintable input.icon {
- margin: 0px 0px 2px 3px;
- }
- table {
- background-position: right bottom;
- }
- /* borders */
- .Wt-tv-br {
- border-right: 0;
- border-left: 1px solid @tableBorder;
- }
- .Wt-tv-contents .Wt-tv-c, .Wt-plaintable tbody .Wt-tv-c {
- border-right: 0;
- border-left: 1px solid @tableBorder;
- }
- }
- }
- /*
- * WTree(node)
- */
- .Wt-tree {
- cursor: default;
- ul {
- margin: 0;
- padding-left: 20px;
- list-style: none;
- }
- div.Wt-root {
- display: none;
- }
- ul.Wt-root {
- padding-left: 0px;
- }
- &.Wt-trunk, .Wt-item.Wt-trunk {
- background-image: url(../../../line-trunk.gif);
- background-repeat: repeat-y;
- }
- .Wt-item {
- *zoom: 1;
- }
- .Wt-item.Wt-end {
- background-image: url(../../../line-last.gif);
- background-repeat: no-repeat;
- }
- .active {
- color: @white;
- text-shadow: 0 -1px 0 rgba(0,0,0,.2);
- background-color: @linkColor;
- cursor: default;
- }
- .Wt-ctrl {
- float: left;
- display: block;
- width: 19px;
- height: 19px;
- &.Wt-noexpand {
- background-image: url(../../../line-middle.gif);
- background-repeat: no-repeat;
- }
- img {
- vertical-align: top;
- }
- }
- .cols-row {
- float: right;
- }
- .Wt-label {
- padding: 0px 2px;
- line-height: 150%;
- }
- }
- body.Wt-rtl {
- .Wt-tree {
- ul {
- margin: 0;
- padding-left: 0px;
- padding-right: 20px;
- }
- ul.Wt-root {
- padding-right: 0px;
- }
- &.Wt-trunk, .Wt-item.Wt-trunk {
- background-position: top right;
- }
- .Wt-item.Wt-end {
- background-image: url(../../../line-last-rtl.gif);
- background-position: top right;
- }
- .Wt-ctrl {
- float: right;
- &.Wt-noexpand {
- background-image: url(../../../line-middle-rtl.gif);
- background-position: top right;
- }
- }
- .cols-row {
- float: left;
- }
- }
- }
- .Wt-treetable {
- overflow: auto;
- .Wt-header {
- font-weight: bold;
- border-bottom: 1px solid @tableBorder;
- line-height: 28px;
- }
- }
- .Wt-sbspacer {
- float: right;
- width: 16px;
- height: 1px;
- border: 0px;
- display: none;
- }
- body.Wt-rtl .Wt-sbspacer {
- float: left;
- }
- /*
- * WTreeView
- */
- /* Layout styling */
- .Wt-treeview {
- ul {
- margin: 0px;
- padding-left: 20px;
- list-style: none;
- &.Wt-tv-root {
- padding-left: 0px;
- }
- }
- img.icon, input.icon {
- margin: 0px 3px 2px 0px;
- }
- .Wt-header {
- border-bottom: 1px solid @tableBorder;
- .Wt-tv-c {
- padding: 0px;
- margin-left: 7px;
- }
- }
- .Wt-tv-br, /* header */
- ul .Wt-tv-c { /* data */
- margin-right: 0px;
- border-right: 1px solid @tableBorder;
- }
- button.Wt-tv-c {
- border-right-color: transparent; /* doesn't work */
- }
- .Wt-tv-c {
- padding: 0px 3px;
- }
- .Wt-tv-row {
- float: right;
- overflow: hidden;
- .Wt-tv-c {
- float: left;
- display: block;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- }
- img.icon, input.icon {
- vertical-align: middle;
- }
- .Wt-scroll {
- overflow: auto;
- height: 22px;
- div {
- height: 1px;
- }
- }
- .Wt-item {
- *zoom: 1;
- }
- /* nodes */
- .Wt-trunk {
- background-image: url(../../../line-trunk.gif);
- background-repeat: repeat-y;
- }
- .Wt-end {
- background-image: url(../../../tv-line-last.gif);
- background-repeat: no-repeat;
- background-position: 0 center;
- }
- .Wt-ctrl {
- float: left;
- width: 19px;
- &.expand {
- background-image: url(../nav-plus.gif);
- background-repeat: no-repeat;
- background-position: 0 center;
- }
- &.collapse {
- background: url(../nav-minus.gif);
- background-repeat: no-repeat;
- background-position: 0 center;
- }
- &.noexpand {
- background: url(../../../line-middle.gif);
- background-repeat: no-repeat;
- background-position: 0 center;
- }
- }
- }
- body.Wt-rtl {
- .Wt-treeview {
- ul {
- padding-left: 0px;
- padding-right: 20px;
- &.Wt-tv-root {
- padding-right: 0px;
- }
- }
-
- img.icon, input.icon {
- margin: 0px 0px 2px 3px;
- }
- .Wt-header {
- .Wt-tv-c {
- margin-left: 0px;
- margin-right: 7px;
- }
- }
-
- .Wt-tv-br, /* header */
- ul .Wt-tv-c { /* data */
- border-right: 0px;
- margin-left: 0px;
- border-left: 1px solid @tableBorder;
- }
- .Wt-tv-row {
- float: left;
- .Wt-tv-c {
- float: right;
- }
- }
- .Wt-trunk {
- background-position: top right;
- }
- .Wt-end {
- background-image: url(../../../tv-line-last-rtl.gif);
- background-position: right center;
- }
- .Wt-ctrl {
- float: right;
- &.expand {
- background-image: url(../nav-plus-rtl.gif);
- }
- &.collapse {
- background-image: url(../nav-minus-rtl.gif);
- }
- &.noexpand {
- background-image: url(../../../line-middle-rtl.gif);
- }
- }
- }
- }
- /*
- * WTreeView and WTableView default paging bar
- */
- .Wt-pagingbar {
- text-align: center;
- padding: 2px;
- height: 35px;
- line-height: 35px;
- span {
- margin: 0px 4px;
- }
- button {
- margin: 0px 4px;
- }
- }
- .Wt-in-place-edit {
- span:hover {
- color: @white;
- background-color: @linkColor;
- }
- }
- /*
- * WStackedWidget
- */
- .Wt-stack.Wt-animated {
- overflow: hidden;
- position: relative;
- }
- /*
- * WResizable
- */
- .Wt-resizable, .Wt-resizable.modal .modal-footer {
- background-image: url(../../../resizable.png);
- background-repeat: no-repeat;
- background-attachment: scroll;
- background-position: right bottom;
- }
- /*
- * WFileDropWidget
- */
- .Wt-filedropzone {
- width: 200px;
- height: 200px;
- border: thick dashed grey;
- background-color: lightgrey;
- }
- .Wt-filedropzone-hover {
- border-color: green;
- }
- .Wt-filedropzone-hover * {
- pointer-events: none;
- }
|