Files
pathfinder/sass/_main.scss
2015-08-11 19:05:19 +02:00

1591 lines
39 KiB
SCSS

html {
margin: 0;
padding: 0;
height: 100%;
position:relative;
}
body {
margin: 0;
padding: 0;
min-height: 100%;
direction:ltr;
}
/* when mobile menu is active */
body.mobile-view-activated.hidden-menu {
overflow-x:hidden;
}
body.modal-open {
overflow:hidden !important;
}
a:hover, a:active, a:focus, button, button:active, button:focus, object, embed, input::-moz-focus-inner {
outline: 0;
}
h1,h3,h4 {
margin:0;
font-family: $font-family-bold;
}
.page-title {
margin: 12px 0 28px;
span {
font-size: $font-size-base+3;
color: $gray-dark;
display: inline-block;
vertical-align: 1px;
}
}
label {
font-weight:normal;
}
*:focus {
outline: 0 !important;
}
/*
* IE FIX for tap delay
*/
a, input, button {
-ms-touch-action: none !important;
}
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
outline: 0;
outline: thin dotted \9;
/* IE6-9 */
//-webkit-box-shadow: none !important;
//-moz-box-shadow: none !important;
//box-shadow: none !important;
box-shadow: inset -1px 1px 5px 0 rgba(0, 0, 0, 0.8) !important;
}
.input-sm,
.input-lg,
.input-xs,
.form-control {
border-radius: 0px !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
}
.input-xs {
height: 24px;
padding: 2px 10px;
font-size: 11px;
line-height: 1.5;
}
.btn-xs {
padding: 0px 2px;
font-size: 10px;
line-height: 1.3;
}
.btn-sm {
padding: 5px 8px 4px;
}
.btn-lg {
padding: 10px 16px;
}
.no-space {
margin: 0;
> [class*="col-"] {
margin: 0 !important;
padding-right: 0;
padding-left: 0;
}
}
/*
* Headers
*/
h1 {
letter-spacing:-1px;
font-size:$font-size-h1;
margin:10px 0;
}h1 small {
font-size:$font-size-h4;
font-weight:300;
letter-spacing:-1px;
}
h2 {
font-size: $font-size-h2;
margin: 20px 0;
line-height: normal;
}
h3 {
display: block;
font-size: $font-size-h3;
font-weight: 400;
margin: 20px 0;
line-height:normal;
}
h4 {
line-height:normal;
margin: 20px 0 10px 0;
}
h5 {
font-size: $font-size-h5;
font-weight: 300;
margin-top: 0;
margin-bottom: 10px;
line-height:normal;
}
h6 {
font-size: $font-size-h6;
margin: 10px 0;
font-weight:bold;
line-height:normal;
}
.row-seperator-header {
margin:15px 14px 20px;
border-bottom:none;
display:block;
color: darken( $gray-light, 20.9%);
font-size:20px;
font-weight:400;
}
/*
* Footer
* see: component-page-footer.less
*/
/*
* Center Canvas
*/
.center-canvas, .center-child-canvas > canvas {
display:block !important;
margin:0 auto !important;
}
/*
* ***************************************************
* MAIN LAYOUT END
* ***************************************************
*/
/*
* ACCORDIONS
*/
.smart-accordion-default.panel-group {
margin-bottom:0px;
}
.smart-accordion-default.panel-group .panel+.panel {
margin-top:-1px;
}
.smart-accordion-default.panel-group .panel-heading {
padding:0px;
}
.smart-accordion-default.panel-group .panel-title a {
display: block;
padding: 10px 15px;
text-decoration: none !important;
}
.smart-accordion-default .panel-heading, .panel-group .panel {
border-radius: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
}
.smart-accordion-default .panel-default>.panel-heading {
background-color: lighten( $gray-lightest, 3.5%);
}
.smart-accordion-default .panel-default {
border-color:lighten( $gray-light, 16.5%);
}
.smart-accordion-default .panel-title > a >:first-child{
display:none;
}
.smart-accordion-default .panel-title > a.collapsed > .fa{
display:none;
}
.smart-accordion-default .panel-title > a.collapsed >:first-child{
display:inline-block;
}
.no-padding .smart-accordion-default > div {
border-left:none !important;
border-right:none !important;
}
.no-padding .smart-accordion-default > div:first-child {
border-top:none !important;
}
.no-padding .smart-accordion-default > div:last-child {
border-bottom:none !important;
}
/*
* ON OFF SWITCHES
*/
/* http://proto.io/freebies/onoff/ */
.onoffswitch-container {
margin-top:4px;
margin-left:7px;
display:inline-block;
}
.onoffswitch {
position: relative;
width: 50px;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select: none;
margin-top:3px;
margin-bottom:3px;
margin-left:5px;
display:inline-block;
vertical-align:middle;
}
.onoffswitch-checkbox {
display: none;
}
.onoffswitch-label {
display: block;
overflow: hidden;
cursor: pointer;
border: 1px solid lighten($gray, 5%);
border-radius: 50px;
border-color: lighten($gray-light, 8%) lighten($gray-light, 10%) lighten($gray-light, 2%);
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.onoffswitch-inner {
width: 200%;
margin-left: -100%;
display:block;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
float: left;
width: 50%;
height: 15px;
padding: 0;
line-height: 15px;
font-size: 10px;
color: $white;
font-family: Trebuchet, Arial, sans-serif;
font-weight: bold;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.onoffswitch-inner:before {
content: attr(data-swchon-text);
text-shadow: 0 -1px 0 $gray-dark;
padding-left: 7px;
background-color: $onOffSwitchBG;
color: $white;
box-shadow: inset 0 2px 6px rgba(red($black), green($black), blue($black), 0.5), 0 1px 2px rgba(red($black), green($black), blue($black), 0.05);
text-align:left;
}
.onoffswitch-inner:after {
content: attr(data-swchoff-text);
padding-right: 7px;
text-shadow: 0 -1px 0 $white;
background-color: $white;
color: $gray;
text-align: right;
box-shadow:inset 0 2px 4px rgba(red($black), green($black), blue($black),.15), 0 1px 2px rgba(red($black), green($black), blue($black),.05);
}
.onoffswitch-switch {
width: 19px;
height:19px;
margin: -2px;
background: white;
border: 1px solid lighten($gray-light, .5%);
border-radius: 50px;
position: absolute;
top: 0;
bottom: 0;
right: 32px;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
background-color: $gray-lightest;
background-image: -moz-linear-gradient(top, white, $gray-lighter);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to($gray-lighter));
background-image: -webkit-linear-gradient(top, white, $gray-lighter);
background-image: -o-linear-gradient(top, white, $gray-lighter);
background-image: linear-gradient(to bottom, white, $gray-lighter);
background-repeat: repeat-x;
-webkit-box-shadow: 1px 1px 4px 0px rgba(red($black), green($black), blue($black), .3);
box-shadow: 1px 1px 4px 0px rgba(red($black), green($black), blue($black), .3);
}
.onoffswitch-checkbox + .onoffswitch-label .onoffswitch-switch:before, .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch:before {
content: "\f00d";
color:$brand-danger;
display:block;
text-align:center;
line-height:19px;
font-size: 10px;
text-shadow: 0 -1px 0 $white;
font-weight:bold;
font-family:FontAwesome;
}
/* checked */
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch:before {
content: "\f00c";
color: $blue;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
display:block;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0px;
}
.onoffswitch-switch:hover {
background-color: $gray-lighter;
}
.onoffswitch-switch:active {
background-color: $gray-lighter;
box-shadow:inset 0 2px 4px rgba(red($black), green($black), blue($black),.15), 0 1px 2px rgba(red($black), green($black), blue($black),.05);
}
/*
* Disabled state
*/
.onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-inner:after, .onoffswitch-checkbox:checked:disabled + .onoffswitch-label .onoffswitch-inner:before {
text-shadow: 0 1px 0 $white;
background: $gray-mid-light;
color: $gray-dark;
}
.onoffswitch-checkbox:checked:disabled + .onoffswitch-label .onoffswitch-switch, .onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-switch {
background-color: $gray-lightest;
background-image: -moz-linear-gradient(top, $gray-mid-light, $gray-lightest);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($gray-mid-light), to($gray-lightest));
background-image: -webkit-linear-gradient(top, $gray-mid-light, $gray-lightest);
background-image: -o-linear-gradient(top, $gray-mid-light, $gray-lightest);
background-image: linear-gradient(to bottom, $gray-mid-light, $gray-lightest);
box-shadow: none !important;
}
.onoffswitch-checkbox:disabled + .onoffswitch-label,
.onoffswitch-checkbox:checked:disabled + .onoffswitch-label .onoffswitch-label {
border-color: lighten($gray-light, 7%) $gray-light darken($gray-light, 7%) !important;
}
.onoffswitch-checkbox:checked + .onoffswitch-label{
border-color: $onOffSwitchBG darken($onOffSwitchBG, 7%) darken($onOffSwitchBG, 12%);
}
.onoffswitch + span, .onoffswitch-title {
display: inline-block;
vertical-align: middle;
margin-top: -5px;
}
/*
* FORMS
*/
.form-control {
box-shadow:none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
}
.form hr {
margin-left:-13px;
margin-right:-13px;
border-color:rgba(red($black), green($black), blue($black), 0.1);
margin-top: 20px;
margin-bottom: 20px;
}
.form fieldset {
display: block;
border: none;
background: rgba(red($white), green($white), blue($white), 0.9);
position: relative;
}
fieldset {
position:relative;
}
.form-actions {
display: block;
padding: 13px 14px 15px;
border-top: 1px solid rgba(red($black), green($black), blue($black), 0.1);
background: rgba(red(lighten($gray-lightest, 2%)), green(lighten($gray-lightest, 2%)), blue(lighten($gray-lightest, 2%)), 0.9);
margin-top:25px;
margin-left: -13px;
margin-right: -13px;
margin-bottom: -13px;
text-align:right;
}.well .form-actions {
margin-left: -19px;
margin-right: -19px;
margin-bottom: -19px;
}.well.well-lg .form-actions {
margin-left: -24px;
margin-right: -24px;
margin-bottom: -24px;
}.well.well-sm .form-actions {
margin-left: -9px;
margin-right: -9px;
margin-bottom: -9px;
}
.popover-content .form-actions {
margin:0 -14px -9px;
border-radius:0 0 3px 3px;
padding:9px 14px
}
.no-padding .form .form-actions {
margin:0;
display: block;
padding: 13px 14px 15px;
border-top: 1px solid rgba(red($black), green($black), blue($black), 0.1);
background: rgba(248, 248, 248, 0.9);
text-align:right;
margin-top:25px;
}
.form header, legend {
display: block;
padding: 8px 0;
border-bottom: 1px dashed rgba(red($black), green($black), blue($black), 0.2);
background: $white;
font-size: 16px;
font-weight: 300;
color: $gray-darker;
margin: 25px 0px 20px;
} .no-padding .form header {
margin: 25px 14px 0;
}.form header:first-child {
margin-top:10px;
} legend {
font-weight:400;
margin-top:0px;
background:none;
}
.input-group-addon {
padding: 6px 10px;
will-change: all;
@include border-radius(0);
@include transition(all ease-out .15s);
}
.input-group-addon .fa {
font-size:14px;
}
.input-group-addon .fa-lg, .input-group-addon .fa-2x {
font-size: 2em;
}
.input-group-addon .fa-3x, .input-group-addon .fa-4x, .input-group-addon .fa-5x {
font-size: 30px;
}
input[type="text"],
input[type="password"],
input[type="email"]{
&:focus + .input-group-addon {
border-color: $teal-lighter;
//background-color: lighten($state-info-text, 23%);
color: $teal-lighter;
}
}
.has-warning input[type="text"], .has-warning input[type="text"] + .input-group-addon {
border-color: $state-warning-border;
}.has-warning input[type="text"] + .input-group-addon {
background-color: darken($state-warning-bg, 5%);
color:$state-warning-text;
}
.has-warning input[type="text"]:focus, .has-warning input[type="text"]:focus + .input-group-addon {
border-color: $state-warning-border;
}.has-warning input[type="text"]:focus + .input-group-addon {
background-color: darken($state-warning-bg, 45%);
color:$white;
}
.has-error .input-group-addon {
border-color: $red !important;
background:$red !important;
color:$state-danger-text !important;
}
.has-success .input-group-addon {
border-color: $state-success-border !important;
background-color:$state-success-text !important;
color: $state-success-border !important;
}
.form fieldset .form-group:last-child, .form fieldset .form-group:last-child .note,
.form .form-group:last-child, .form .form-group:last-child .note {
margin-bottom:0;
}
.note {
margin-top: 6px;
padding: 0 1px;
font-size: 11px;
line-height: 15px;
color: $gray-light;
}
/*
* WITH ICON
*/
.input-icon-right {
position:relative;
}
.input-icon-right > i, .input-icon-left > i {
position:absolute;
right:10px;
top:30%;
font-size:16px;
color:$gray-mid-light;
}
.input-icon-left > i {
right:auto;
left:24px;
}
.input-icon-right .form-control {
padding-right:27px;
}
.input-icon-left .form-control {
padding-left:29px;
}
input[type="text"].ui-autocomplete-loading,
input[type="password"].ui-autocomplete-loading,
input[type="datetime"].ui-autocomplete-loading,
input[type="datetime-local"].ui-autocomplete-loading,
input[type="date"].ui-autocomplete-loading,
input[type="month"].ui-autocomplete-loading,
input[type="time"].ui-autocomplete-loading,
input[type="week"].ui-autocomplete-loading,
input[type="number"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading,
input[type="url"].ui-autocomplete-loading,
input[type="search"].ui-autocomplete-loading,
input[type="tel"].ui-autocomplete-loading,
input[type="color"].ui-autocomplete-loading {
background-image: url("#{$base-url}/select2-spinner.gif") !important;
background-repeat: no-repeat;
background-position: 99% 50%;
padding-right:27px
}
.input-group-addon .checkbox, .input-group-addon .radio {
min-height: 0px;
margin-right:0px !important;
padding-top:0;
}
.input-group-addon label input[type="checkbox"].checkbox + span,
.input-group-addon label input[type="radio"].radiobox + span,
.input-group-addon label input[type="radio"].radiobox + span:before,
.input-group-addon label input[type="checkbox"].checkbox + span:before {
margin-right:0px;
}
.input-group-addon .onoffswitch , .input-group-addon .onoffswitch-label{
margin:0;
}
/*
* Alerts
*/
.alert {
margin-bottom: 10px;
margin-top: 0px;
padding: 5px 15px 5px 34px;
color:#675100;
border-width:0px;
border-left-width: 3px;
padding:10px;
.ui-pnotify-title{
line-height: 12px;
}
.ui-pnotify-text{
font-size: 10px;
}
.close {
top: 0px;
right: -5px;
line-height: 20px;
}
}
.alert-heading {
font-weight:600;
}
.alert-danger {
border-color: $state-danger-border;
color: $state-danger-text;
background: $state-danger-bg;
text-shadow:none;
.ui-pnotify-icon{
color: $state-danger-border;
}
}
.alert-warning {
border-color: $state-warning-border;
color: $state-warning-text;
background: $state-warning-bg;
.ui-pnotify-icon{
color: $state-warning-border;
}
}
.alert-success {
border-color: $state-success-border;
color: $state-success-text;
background: $state-success-bg;
.ui-pnotify-icon{
color: $state-success-border;
}
}
.alert-info {
border-color: $state-info-border;
color: $state-info-text;
background: $state-info-bg;
.ui-pnotify-icon{
color: $state-info-border;
}
}
/*
* PROGRESS BARS
*/
.progress-micro {
height: $progressbar-micro !important;
line-height:$progressbar-micro !important;
}
.progress-xs {
height: $progressbar-xs !important;
line-height:$progressbar-xs !important;
}
.progress-sm {
height: $progressbar-sm !important;
line-height:$progressbar-sm !important;
}
.progress-lg {
height: $progressbar-lg !important;
line-height:$progressbar-lg !important;
}
.progress .progress-bar {
position: absolute;
overflow: hidden;
line-height: 18px;
}
.progress .progressbar-back-text {
position: absolute;
width: 100%;
height: 100%;
font-size: 12px;
line-height: 20px;
text-align: center;
}
.progress .progressbar-front-text {
display: block;
width: 100%;
font-size: 12px;
line-height: 20px;
text-align: center;
}
.progress.right .progress-bar {
right: 0;
}
.progress.right .progressbar-front-text {
position: absolute;
right: 0;
}
.progress.vertical {
width: 25px;
height: 100%;
min-height:150px;
margin-right: 20px;
display:inline-block;
margin-bottom:0px;
}
.progress.wide-bar {
width: 40px;
}
.progress.vertical.bottom {
position: relative;
}
.progress.vertical.bottom .progressbar-front-text {
position: absolute;
bottom: 0;
}
.progress.vertical .progress-bar {
width: 100%;
height: 0;
-webkit-transition: height 0.6s ease;
transition: height 0.6s ease;
}
.progress.vertical.bottom .progress-bar {
position: absolute;
bottom: 0;
}
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
@-moz-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
@-o-keyframes progress-bar-stripes {
from {
background-position: 0 0;
}
to {
background-position: 40px 0;
}
}
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
.progress {
position: relative;
margin-bottom: 20px;
overflow: hidden;
height: 18px;
background: $gray-lighter;
box-shadow: 0 1px 0 transparent, 0 0 0 1px lighten( $gray-light, 29%) inset;
-webkit-box-shadow: 0 1px 0 transparent, 0 0 0 1px lighten( $gray-light, 29%) inset;
-moz-box-shadow: 0 1px 0 transparent, 0 0 0 1px lighten( $gray-light, 29%) inset;
border-radius:$progressbar-radius;
-moz-border-radius:$progressbar-radius;
-webkit-border-radius:$progressbar-radius;
}
.progress-bar {
float: left;
width: 0;
height: 100%;
font-size: 11px;
color: $white;
text-align: center;
background-color: $blue;
-webkit-box-shadow: inset 0 -1px 0 rgba(red($black), green($black), blue($black), 0.15);
box-shadow: inset 0 -1px 0 rgba(red($black), green($black), blue($black), 0.15);
font-weight:bold;
text-shadow: 0 -1px 0 rgba(red($black), green($black), blue($black), 0.25);
//background-image:url("#{$base-url}/overlay-pattern.png");
-webkit-transition: width 1.5s ease-in-out;
transition: width 1.5s ease-in-out;
}
.progress-striped .progress-bar {
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
.progress.active .progress-bar {
-webkit-animation: progress-bar-stripes 2s linear infinite;
-moz-animation: progress-bar-stripes 2s linear infinite;
-ms-animation: progress-bar-stripes 2s linear infinite;
-o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite;
}
.progress-bar-danger {
background-color: $brand-danger;
}
.progress-striped .progress-bar-danger {
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-success {
background-color: $brand-success;
}
.progress-striped .progress-bar-success {
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-warning {
background-color: $brand-warning;
}
.progress-striped .progress-bar-warning {
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-info {
background-color: $brand-info;
}
.progress-striped .progress-bar-info {
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, rgba(red($white), green($white), blue($white), 0.15)), color-stop(0.75, transparent), to(transparent));
background-image: -webkit-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(red($white), green($white), blue($white), 0.15) 25%, transparent 25%, transparent 50%, rgba(red($white), green($white), blue($white), 0.15) 50%, rgba(red($white), green($white), blue($white), 0.15) 75%, transparent 75%, transparent);
}
.progress-info .bar, .progress .bar-info {
background: $brand-info;
}
.vertical-bars {
padding:0;
margin:0;
}
.vertical-bars:after {
content: "";
display: block;
height: 0;
clear: both;
}
.vertical-bars li {
padding: 14px 0;
width: 25%;
display: block;
float: left;
text-align: center;
}
.vertical-bars li:first-child {
border-left: none;
}
.vertical-bars > li > .progress.vertical:first-child {
margin-left: auto;
}
.vertical-bars > li > .progress.vertical {
margin: 0 auto;
float: none;
}
/*
* TABS
*/
.nav-tabs{
border-bottom: none;
}
.nav-tabs>li > a .badge {
font-size: 11px;
padding: 3px 5px 3px 5px;
opacity: .5;
margin-left: 5px;
min-width: 17px;
font-weight: normal;
}
.tabs-left .nav-tabs>li > a .badge {
margin-right:5px;
margin-left:0px;
}
.nav-tabs>li > a .label {
display:inline-block;
font-size:11px;
margin-left:5px;
opacity: .5;
}
.nav-tabs>li>a {
color: $gray-lighter;
font-family: $font-family-bold;
&:hover{
color: $gray-darkest;
border-color: transparent transparent $gray-lighter transparent;
margin-top: 1px;
border-top-width: 0;
}
}
.nav-tabs > li.active > a {
background-color: $gray-lighter;
color: $gray-darker;
border-top-width: 0px !important;
margin-top: 1px !important;
font-weight:bold;
}
.tabs-left .nav-tabs > li.active > a {
-webkit-box-shadow: -2px 0 0 $blue;
-moz-box-shadow: -2px 0 0 $blue;
box-shadow: -2px 0 0 $blue;
border-top-width: 1px !important;
border-left: none !important;
margin-left: 1px !important;
}
.tabs-left .nav-pills > li.active > a {
border:none !important;
box-shadow:none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
}
.tabs-right .nav-tabs > li.active > a {
-webkit-box-shadow: 2px 0 0 $blue;
-moz-box-shadow: 2px 0 0 $blue;
box-shadow: 2px 0 0 $blue;
border-top-width: 1px !important;
border-right: none !important;
margin-right: 1px !important;
}
.tabs-below .nav-tabs > li.active > a {
-webkit-box-shadow: 0 2px 0 $blue;
-moz-box-shadow: 0 2px 0 $blue;
box-shadow: 0 2px 0 $blue;
border-bottom-width: 0px !important;
border-top: none !important;
margin-top: 0px !important;
}
.tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs {
border-bottom: 0;
}
.tab-content > .tab-pane, .pill-content > .pill-pane {
display: none;
}
.tab-content > .active, .pill-content > .active {
display: block;
}
.tabs-below > .nav-tabs {
border-top: 1px solid darken($gray-lighter, 7%);
}
.tabs-below > .nav-tabs > li {
margin-top: -1px;
margin-bottom: 0;
}
.tabs-left > .nav-tabs > li, .tabs-right > .nav-tabs > li,
.tabs-left > .nav-pills > li, .tabs-right > .nav-pills > li {
float: none;
}
.tabs-left > .nav-tabs > li > a, .tabs-right > .nav-tabs > li > a,
.tabs-left > .nav-pills > li > a, .tabs-right > .nav-pills > li > a {
min-width: 74px;
margin-right: 0;
margin-bottom: 3px;
}
.tabs-left > .nav-tabs, .tabs-left > .nav-pills {
float: left;
margin-right: 19px;
border-right: 1px solid darken($gray-lighter, 7%);
} .tabs-left > .nav-pills {
border-right:none;
}
.tabs-left > .nav-tabs > li > a {
margin-right: -1px;
}
.tabs-left > .nav-tabs > li > a:hover, .tabs-left > .nav-tabs > li > a:focus {
border-color: $gray-lighter darken($gray-lighter, 10%) $gray-lighter $gray-lighter;
}
.tabs-left > .nav-tabs .active > a, .tabs-left > .nav-tabs .active > a:hover, .tabs-left > .nav-tabs .active > a:focus {
border-color: darken($gray-lighter, 10%) transparent darken($gray-lighter, 10%) darken($gray-lighter, 7%);
*border-right-color: $white;
}
.tabs-left > .tab-content {
margin-left: 109px;
}
.tabs-right > .nav-tabs {
float: right;
margin-left: 19px;
border-left: 1px solid darken($gray-lighter, 7%); /* DDD */
}
.tabs-right > .nav-tabs > li > a {
margin-left: -1px;
}
.tabs-right > .nav-tabs > li > a:hover, .tabs-right > .nav-tabs > li > a:focus {
border-color: $gray-lighter $gray-lighter $gray-lighter darken($gray-lighter, 7%);
}
.tabs-right > .nav-tabs .active > a, .tabs-right > .nav-tabs .active > a:hover, .tabs-right > .nav-tabs .active > a:focus {
border-color: darken($gray-lighter, 7%) darken($gray-lighter, 7%) darken($gray-lighter, 7%) transparent;
*border-left-color: $white;
}
.tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs {
border-bottom: 0;
}
.tab-content > .tab-pane, .pill-content > .pill-pane {
display: none;
}
.tab-content > .active, .pill-content > .active {
display: block;
}
.tabs-below > .nav-tabs {
border-top: 1px solid darken($gray-lighter, 7%);
}
.tabs-below > .nav-tabs > li {
margin-top: -1px;
margin-bottom: 0;
}
.tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus {
border-top-color: darken($gray-lighter, 7%);
border-bottom-color: transparent;
}
.tabs-below > .nav-tabs > .active > a, .tabs-below > .nav-tabs > .active > a:hover, .tabs-below > .nav-tabs > .active > a:focus {
border-color: transparent darken($gray-lighter, 7%) darken($gray-lighter, 7%) darken($gray-lighter, 7%); /* tabs */
}
/* bordered tabs */
.nav-tabs.bordered {
background:$white;
border:1px solid darken($gray-lighter, 7%);
}
.nav-tabs.bordered >:first-child a{
border-left-width:0px !important;
}
.nav-tabs.bordered + .tab-content {
border:1px solid darken($gray-lighter, 7%);
border-top:none;
}
/* bordered tabs top right */
.tabs-pull-right.nav-tabs>li, .tabs-pull-right.nav-pills>li {
float:right;
}
.tabs-pull-right.nav-tabs>li:first-child > a, .tabs-pull-right.nav-pills>li:first-child > a {
margin-right:1px;
}
.tabs-pull-right.bordered.nav-tabs>li:first-child > a, .tabs-pull-right.bordered.nav-pills>li:first-child > a {
border-left-width:1px !important;
margin-right:0px;
border-right-width:0px;
}
/*
* DROPDOWN MENU
*/
.dropdown-menu-xs {
min-width:37px;
}
.dropdown-menu-xs>li>a {
padding: 3px 10px;
}.dropdown-menu-xs>li>a:hover i {
color:#fff !important;
}
/* Dropdown menu extended */
.dropdown-submenu {
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: $gray-darker;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: $gray-lighter;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
}
/*
* CUSTOM BUTTON
*/
.pagination > li > a, .pagination > li > span {
box-shadow: inset 0 -2px 0 rgba(red($black), green($black), blue($black), 0.05);
-moz-box-shadow: inset 0 -2px 0 rgba(red($black), green($black), blue($black), 0.05);
-webkit-box-shadow: inset 0 -2px 0 rgba(red($black), green($black), blue($black), 0.05);
}
.disabled {
color:$white;
}
.btn-default.disabled {
color: $gray-lighter;
}
.btn {
font-family: $font-family-bold;
will-change: all;
@include border-radius(2px);
//@include transition( all 0.06s linear );
@include transition( all 0.18s ease-in-out );
//@include box-shadow(0 1px 3px 0 rgba(red($black), green($black), blue($black), 0.12), 0 1px 2px 0 rgba(red($black), green($black), blue($black), 0.24));
}
.btn:active {
//position: relative; conflict with bootstrap-toggle plugin
//top:1px;
//left:1px;
}
.btn.btn-ribbon {
background-color: #707070;
background-image: -moz-linear-gradient(top, #777, #666);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#777), to(#666));
background-image: -webkit-linear-gradient(top, #777, #666);
background-image: -o-linear-gradient(top, #777, #666);
background-image: linear-gradient(to bottom, #777, #666);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff777777', endColorstr='#ff666666', GradientType=0);
color: white;
padding: 0 5px;
line-height: 20px;
vertical-align: middle;
height: 20px;
display: block;
border: none;
float: left;
margin: 0 8px 0 0;
cursor: pointer;
}
.btn.btn-ribbon > i {
font-size:111%;
}
.ribbon-button-alignment {
padding-top: 10px;
display: inline-block;
}
.ribbon-button-alignment.pull-right > .btn.btn-ribbon {
margin: 0 0 0 8px;
}
/*
* Panels
*/
.panel-purple {
border-color:$purple;
& > .panel-heading {
color: $white;
background-color: $purple;
border-color: $purple;
}
}
.panel-greenLight {
border-color:$greenLight;
& > .panel-heading {
color: $white;
background-color: $greenLight;
border-color: $greenLight;
}
}
.panel-greenDark {
border-color:$greenDark;
& > .panel-heading {
color: $white;
background-color: $greenDark;
border-color: $greenDark;
}
}
.panel-darken {
border-color:$gray-dark;
& > .panel-heading {
color: $white;
background-color: #404040;
border-color: #404040;
}
}
.panel-pink {
border-color:$pink;
& > .panel-heading {
color: $white;
background-color: $pink;
border-color: $pink;
}
}
.panel-green {
border-color:$green;
& > .panel-heading {
color: $white;
background-color: $green;
border-color: $green;
}
}
.panel-blueLight {
border-color: $blueLight;
& > .panel-heading {
color: $white;
background-color: $blueLight;
border-color: $blueLight;
}
}
.panel-pinkDark {
border-color:$pinkDark;
& > .panel-heading {
color: $white;
background-color: $pinkDark;
border-color: $pinkDark;
}
}
.panel-redLight {
border-color: $redLight;
& > .panel-heading {
color: $white;
background-color: $redLight;
border-color: $redLight;
}
}
.panel-red {
border-color: $red;
& > .panel-heading {
color: $white;
background-color: $red;
border-color: $red;
}
}
.panel-teal {
border-color: $teal-lighter;
& > .panel-heading {
color: $white;
background-color: $teal-lighter;
border-color: $teal-lighter;
}
}
.panel-orange {
border-color: $orange;
& > .panel-heading {
color: $white;
background-color: $orange;
border-color: $orange;
}
}
.panel-blueDark {
border-color: $blueDark;
& > .panel-heading {
color: $white;
background-color: $blueDark;
border-color: $blueDark;
}
}
.panel-magenta {
border-color:$magenta;
& > .panel-heading {
color: $white;
background-color: $magenta;
border-color: $magenta;
}
}
.panel-blue {
border-color: $blue;
& > .panel-heading {
color: $white;
background-color: $blue;
border-color: $blue;
}
}
.panel-footer > .btn-block {
border-radius:0px;
-moz-border-radius:0px;
-webkit-border-radius: 0px;
border-bottom:none;
border-left:none;
border-right:none;
}
/*
* Circle Buttons
*/
.btn-circle {
width: 30px;
height: 30px;
text-align: center;
padding: 6px 0;
font-size: 12px;
line-height: 18px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
@include box-shadow(0 1px 6px 0 rgba(0, 0, 0, 0.12),0 1px 6px 0 rgba(0, 0, 0, 0.12));
}
.btn-circle.btn-sm {
width: 22px;
height: 22px;
padding: 4px 0;
font-size: 12px;
line-height: 14px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.btn-circle.btn-lg {
width: 50px;
height: 50px;
padding: 10px 15px;
font-size: 18px;
line-height: 30px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.btn-circle.btn-xl {
width: 70px;
height: 70px;
padding: 10px 15px;
font-size: 24px;
line-height: 50px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
/*
* Big Metro Buttons
*/
.btn-metro {
margin:0 0 20px;
padding-top:15px;
padding-bottom:15px;
}
.btn-metro > span {
display:block;
vertical-align: bottom;
margin-top:10px;
text-transform:uppercase;
}
.btn-metro > span.label {
position: absolute;
top:0px;
right:0px;
}
/*
* buttons with labels
*/
.btn-label {
position: relative;
left: -8px;
display: inline-block;
padding: 5px 8px;
background: rgba(red($black), green($black), blue($black), 0.15);
border-radius: 3px 0 0 3px;
}
.btn-labeled {
padding-top: 0;
padding-bottom: 0;
}
.btn-link {
box-shadow: none;
-webkit-box-shadow: none;
font-size: $font-size-base + 1;
}
/*
* Morris Charts
*/
.morris-hover.morris-default-style {
border-radius: 5px;
padding: 5px;
color: #666;
background: rgba(red( $gray-darkest), green($gray-darkest), blue($gray-darkest), 0.9);
border: solid 2px $teal-dark;
font-family: 'Oxygen Bold';
font-size: 10px;
text-align: left;
@include box-shadow(0 6px 12px rgba(0,0,0,.4));
.morris-hover-row-label {
font-weight: bold;
// margin: 0.25em 0;
}
.morris-hover-point {
white-space: nowrap;
// margin: 0.1em 0;
}
}
.morris-hover {
position: absolute;
z-index: $morris-hover;
}
.fixed-page-footer .morris-hover {
z-index: $fixed-footer-zindex - 1;
}