| @import "../compex_legacy/icons/fontello.scss"; |
| |
| .compexsidebar { |
| //background: $os-light-contrast; |
| @include valo-gradient($os-light-contrast, $os-gradient-amount, $os-light-contrast); |
| } |
| |
| .compexsidebar .branding .v-label { |
| font-weight: bold; |
| span { |
| font-weight: initial; |
| display: block; |
| } |
| } |
| |
| .compexsidebar .branding { |
| position: relative; |
| width: 100%; |
| |
| .v-label { |
| position: relative; |
| z-index: 2; |
| //background: $os-base-color; |
| @include valo-gradient($os-base-color, $os-gradient-amount, $os-base-color); |
| white-space: normal; |
| //line-height: 1.1; |
| color: #fff; |
| |
| /* WTH? Why is inline-block forced as an inline style? */ |
| display: block !important; |
| padding: $os-unit-size/2; |
| |
| |
| font-weight: bold; |
| span { |
| font-weight: initial; |
| display: block; |
| } |
| |
| } |
| } |
| |
| .v-csslayout.v-layout.v-widget.v-has-height.menu.v-csslayout-menu { |
| display: block; |
| } |
| |
| .compexsidebar .menu .v-nativebutton { |
| // TODO mixin |
| -webkit-appearance: none; |
| |
| width: 100%; |
| padding: $os-unit-size/6; |
| border: none; |
| margin: 0; |
| position: relative; |
| border-bottom: $os-border; |
| //background: transparent; |
| @include valo-gradient($os-light-contrast, $os-gradient-amount, $os-light-contrast); |
| color: inherit; |
| font-weight: normal; |
| text-align: center; |
| |
| // TODO mixin |
| // -webkit-transition: color ease-in-out 100ms, background-color linear 60ms; |
| // -moz-transition: color ease-in-out 100ms, background-color linear 60ms; |
| // transition: color ease-in-out 100ms, background-color linear 60ms; |
| } |
| |
| .compexsidebar .menu .v-nativebutton{ |
| cursor: pointer; |
| |
| &:active { |
| background: rgba(0,0,0,.1); |
| } |
| &:focus, &:hover { |
| outline:0; |
| border-bottom-color: $os-highlight-color; |
| } |
| |
| } |
| |
| .badge, |
| .notifications .v-button-caption { |
| display: inline-block; |
| font-size: $os-font-size * 0.9; |
| line-height: 1; |
| color: #fff; |
| //text-shadow: 0 1px 1px rgba(0,0,0,.3); |
| padding: .1em .4em .2em; |
| |
| background: $os-highlight-color; |
| |
| //TODO mixin |
| //background: -moz-linear-gradient(top, #faa290 0%, #f77b62 14%, #ec3120 87%, #ce2314 100%); |
| //background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#faa290), color-stop(14%,#f77b62), color-stop(87%,#ec3120), color-stop(100%,#ce2314)); |
| //background: -webkit-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| //background: -o-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| //background: -ms-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| // Sass compiler chokes on this |
| // background: linear-gradient(to bottom, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| |
| //@include border-radius(2px); |
| //border-radius: 2px; |
| |
| //@include box-shadow(0 1px 1px rgba(0,0,0,.3)); |
| } |
| |
| |
| .menu .v-nativebutton .badge { |
| position: absolute; |
| top: 6px; |
| right: 8px; |
| } |
| |
| |
| .compexsidebar .user { |
| $os-user-height: 34px; |
| display: block; |
| //padding-bottom: $os-unit-size *0.85 ; |
| |
| border-top: $os-border; |
| //background: $os-dark-contrast; |
| @include valo-gradient($os-dark-contrast, $os-gradient-amount, $os-dark-contrast); |
| |
| color: #fff; |
| |
| line-height: initial; |
| |
| > .v-slot { |
| height: $os-user-height; |
| display: inline-block; |
| } |
| :nth-child(4) { float:right;} |
| |
| .v-image { |
| width: $os-user-height; |
| height: $os-user-height; |
| } |
| .v-label { |
| font-weight:bold; |
| padding-left: $os-unit-size * 0.4; |
| padding-top: $os-unit-size * 0.4; |
| } |
| .v-menubar, .v-nativebutton { |
| -webkit-appearance: none; |
| border: none; |
| //padding-left: $os-unit-size * 0.2; |
| background: transparent; |
| color: inherit; |
| } |
| .v-menubar { |
| color: #fff; |
| font-size: $os-font-size * 2; |
| width: 15%; |
| padding: $os-unit-size * 0.25; |
| } |
| span.v-menubar-menuitem.v-menubar-menuitem-icon-cog { |
| height: $os-user-height; |
| } |
| .v-nativebutton { |
| font-size: $os-font-size * 1.3; |
| width: 15%; |
| //padding-right: $os-unit-size * 0.25; |
| } |
| .icon-cancel.v-nativebutton:before, .icon-cancel > .v-button-wrap:before, .icon-cancel.v-label:before, .v-menubar-menuitem-icon-cancel:before { |
| font-weight: 600; |
| vertical-align: sub; //text-top; chrome |
| } |
| |
| .v-nativebutton-caption { |
| display: none; |
| } |
| } |
| |
| |
| /* |
| .compexsidebar .user > .v-slot { |
| display: inline-block; |
| width: 50%; |
| } |
| |
| .compexsidebar .user > .v-slot:first-child { |
| width: 34px; |
| } |
| |
| .compexsidebar .user .v-image { |
| width: 34px; |
| height: 34px; |
| border-right: 1px solid #313132; |
| } |
| |
| .compexsidebar .user .v-label { |
| white-space: normal; |
| font-size: 12px; |
| line-height: 14px; |
| font-weight: 600; |
| max-width: 50px; |
| overflow: visible; |
| padding: 2px 8px; |
| height: 34px; |
| color: inherit; |
| -webkit-font-smoothing: antialiased; |
| } |
| |
| .compexsidebar .user .v-nativebutton, |
| .compexsidebar .user .v-menubar { |
| //TODO mixin |
| -webkit-appearance: none; |
| |
| border: none; |
| border-top: 1px solid #303132; |
| background: transparent; |
| width: 100%; |
| padding: 0; |
| |
| color: inherit; |
| } |
| |
| .compexsidebar .user .v-nativebutton:focus { |
| outline: none; |
| } |
| |
| .compexsidebar .user .v-nativebutton:hover, |
| .compexsidebar .user .v-menubar-menuitem:hover { |
| color: #e1e1e1; |
| } |
| |
| .compexsidebar .user .v-nativebutton-caption { |
| display: none; |
| } |
| |
| .compexsidebar .user .v-nativebutton:before, |
| .compexsidebar .user .v-menubar-menuitem:before { |
| font-size: 16px; |
| margin: 0; |
| display: block; |
| border-top: 1px solid #434445; |
| padding: .3em 0 .4em; |
| } |
| |
| .compexsidebar .user .v-menubar-menuitem { |
| border-right: 1px solid #434445; |
| display: block !important; |
| cursor: pointer; |
| } |
| |
| .compexsidebar .user .icon-cancel { |
| border-left: 1px solid #303132; |
| } |
| |
| */ |
| |
| |
| /* |
| .compexsidebar .branding .v-label span { |
| font-size: 13px; |
| color: #d0d1d3; |
| display: block; |
| } |
| |
| .compexsidebar .branding .v-image { |
| position: absolute; |
| z-index: 1; |
| top: 0; |
| left: 0; |
| width: 100%; |
| } |
| |
| .compexsidebar .menu { |
| overflow: auto; |
| height: 100%; |
| width: 100%; |
| } |
| |
| .compexsidebar .menu .v-ddwrapper { |
| padding: 2px; |
| } |
| |
| .compexsidebar .menu .v-ddwrapper .v-nativebutton { |
| margin: -2px -2px; |
| } |
| |
| .compexsidebar .menu .v-ddwrapper-over { |
| padding: 0; |
| border: 2px solid #2d90f3; |
| background: transparent; |
| //@include border-radius(4px); |
| border-radius: 4px; |
| } |
| |
| .compexsidebar .menu:after { |
| content: ""; |
| display: block; |
| border-top: 1px solid #4b4c4d; |
| border-top-color: rgba(255,255,255,.05); |
| height: 0; |
| |
| } |
| |
| .compexsidebar .menu .v-nativebutton-caption { |
| font-size: 12px; |
| font-weight: 600; |
| text-transform: uppercase; |
| display: block; |
| margin: .2em 0 0 0; |
| } |
| |
| .compexsidebar .menu .v-nativebutton:focus { |
| //outline: none; |
| } |
| |
| .compexsidebar .menu .v-nativebutton:hover, |
| .compexsidebar .menu .v-nativebutton:focus { |
| //color: #e1e1e1; |
| } |
| |
| .compexsidebar .menu .v-nativebutton:before { |
| font-size: 24px; |
| line-height: 1; |
| margin: 0; |
| } |
| |
| //.v-webkit & .menu .v-nativebutton:before { |
| .v-webkit .menu .v-nativebutton:before { |
| // TODO mixin |
| background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e8e8), color-stop(100%,#d3d3d3)); |
| background: -webkit-linear-gradient(top, #fff 0%,#777 100%); |
| // background: linear-gradient(to bottom, #e8e8e8 0%,#d3d3d3 100%); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| text-shadow: 0 1px 1px rgba(0,0,0,.2); |
| opacity: .5; |
| |
| // TODO mixin |
| -webkit-transition: opacity ease-in-out 200ms; |
| -moz-transition: opacity ease-in-out 200ms; |
| -ms-transition: opacity ease-in-out 200ms; |
| -o-transition: opacity ease-in-out 200ms; |
| transition: opacity ease-in-out 200ms; |
| } |
| |
| //.v-webkit & .menu .v-nativebutton:hover:before, |
| //.v-webkit & .menu .v-nativebutton:focus:before { |
| .v-webkit .menu .v-nativebutton:hover:before, |
| .v-webkit .menu .v-nativebutton:focus:before { |
| opacity: 1; |
| } |
| |
| .compexsidebar .menu .v-nativebutton:active { |
| background: rgba(0,0,0,.1); |
| } |
| |
| .compexsidebar .menu .v-nativebutton.selected { |
| color: #e1e1e1; |
| text-shadow: 0 2px 2px rgba(0,0,0,.5); |
| |
| border-top-color: #262729; |
| border-bottom-color: #2b2c2e; |
| |
| background: #333537; |
| |
| // TODO mixin |
| background: -moz-linear-gradient(top, #2d2f30 0%, #333537 10%, #333537 90%, #2d2f30 100%); |
| background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2d2f30), color-stop(10%,#333537), color-stop(90%,#333537), color-stop(100%,#2d2f30)); |
| background: -webkit-linear-gradient(top, #2d2f30 0%,#333537 10%,#333537 90%,#2d2f30 100%); |
| background: -o-linear-gradient(top, #2d2f30 0%,#333537 10%,#333537 90%,#2d2f30 100%); |
| background: -ms-linear-gradient(top, #2d2f30 0%,#333537 10%,#333537 90%,#2d2f30 100%); |
| //background: linear-gradient(to bottom, #2d2f30 0%,#333537 10%,#333537 90%,#2d2f30 100%); |
| |
| -webkit-transition: none; |
| } |
| |
| //.v-webkit & .menu .v-nativebutton.selected:before { |
| .v-webkit .menu .v-nativebutton.selected:before { |
| text-shadow: none; |
| opacity: 1; |
| } |
| |
| .badge, |
| .notifications .v-button-caption { |
| display: inline-block; |
| font-size: 11px; |
| line-height: 1; |
| color: #fff; |
| text-shadow: 0 1px 1px rgba(0,0,0,.3); |
| padding: .1em .4em .2em; |
| |
| background: #f16433; |
| |
| //TODO mixin |
| background: -moz-linear-gradient(top, #faa290 0%, #f77b62 14%, #ec3120 87%, #ce2314 100%); |
| background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#faa290), color-stop(14%,#f77b62), color-stop(87%,#ec3120), color-stop(100%,#ce2314)); |
| background: -webkit-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| background: -o-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| background: -ms-linear-gradient(top, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| // Sass compiler chokes on this |
| // background: linear-gradient(to bottom, #faa290 0%,#f77b62 14%,#ec3120 87%,#ce2314 100%); |
| |
| //@include border-radius(2px); |
| border-radius: 2px; |
| |
| @include box-shadow(0 1px 1px rgba(0,0,0,.3)); |
| } |
| |
| |
| .menu .v-nativebutton .badge { |
| position: absolute; |
| top: 6px; |
| right: 8px; |
| } |
| |
| |
| */ |