@import "../../../node_modules/bootstrap/less/bootstrap"; @import "../../../node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css"; @import "../../../node_modules/select2/dist/css/select2.min.css"; @import "../../../node_modules/select2-bootstrap-theme/src/select2-bootstrap.less"; @import "error"; body { padding-top: 50px; } .footer a { color: @text-muted; } .first { clear: both; margin-top: 30px; } .text-big { display: block; font-size: 30px; line-height: 30px; margin: 0; } .icon-icon_angel { background-color: @text-color; display: inline-block; width: 1em; height: 1em; -webkit-mask: url(../icons/angel.svg) no-repeat 50% 50%; mask: url(../icons/angel.svg) no-repeat 50% 50%; -webkit-mask-size: cover; mask-size: cover; } a .icon-icon_angel { background-color: @link-color; } .navbar .icon-icon_angel { background-color: @navbar-default-link-disabled-color; } .navbar-brand .icon-icon_angel { background-color: @navbar-default-brand-color; } table a > .icon-icon_angel { background-color: @text-color; } .table .form-group { margin-bottom: 0; } .stats { .make-md-column(3); .make-xs-column(6); font-size: 20px; height: 150px; text-align: center; .number { font-size: 80px; font-weight: 200; } @media (max-width: @screen-md) { font-size: inherit; .number { font-size: 40px; } } } .stats-danger { color: @brand-danger; } .stats-warning { color: @brand-warning; } .stats-success { color: @brand-success; } .dashboard-panel { position: relative; font-size: 20px; color: @headings-color; .panel-link { position: absolute; width: 100%; height: 100%; top: 0; left: 0; text-decoration: none; /* No underlines on the link */ z-index: 10; /* Places the link above everything else in the div */ background-color: @brand-primary; /* Fix to make div clickable in IE */ opacity: 0; /* Fix to make div clickable in IE */ filter: alpha(opacity=1); /* Fix to make div clickable in IE */ } .panel-link:hover { opacity: 0.3; } } .panel-primary .panel-heading a { color: @panel-primary-text; background-color: @panel-primary-heading-bg; } .panel-default .panel-heading a { color: @panel-default-text; background-color: @panel-default-heading-bg; } .panel-info .panel-heading a { color: @panel-info-text; background-color: @panel-info-heading-bg; } .panel-success .panel-heading a { color: @panel-success-text; background-color: @panel-success-heading-bg; } .panel-warning .panel-heading a { color: @panel-warning-text; background-color: @panel-warning-heading-bg; } .panel-danger .panel-heading a { color: @panel-danger-text; background-color: @panel-danger-heading-bg; } .select2-dropdown { background-color: @input-bg; } .selection .checkbox { display: block; } .shift-calendar { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; width: 100%; .lane { background: @table-bg-accent; flex-grow: 1; min-width: 280px; width: 280px; flex-shrink: 1; .header { background: @panel-bg; border-bottom: 1px solid @table-border-color; height: 30px; padding: 5px 5px 5px 16px; } .tick { height: 30px; border-top: 1px solid darken(@table-bg-accent, 2%); } .tick.hour { border-top: 2px solid @table-border-color; font-size: 0.9em; padding-left: 5px; } .tick.day { border-top: 2px solid @brand-primary; font-size: 0.9em; padding-left: 5px; } } .lane.time { border-right: 1px solid @table-border-color; flex-grow: 0; min-width: 50px; width: 50px; flex-shrink: 0; } .shift-card { z-index: 0; overflow: hidden; position: relative; margin: 0 5px 5px 0; &:hover { overflow: visible; z-index: 100; } .shift { min-height: 100%; } } } .space-top { margin-top: 15px; } .column_duration { text-align: right; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { code { background-color: inherit; } } .messages { &:focus { outline: none; } a:focus { outline: none; } } .messages span.text-danger { animation: pulse 1s infinite; -webkit-animation: pulse 1s infinite; -moz-animation: pulse 1s infinite; } .legend .label { white-space: pre-wrap; line-height: 2; } .shift-calendar.table-responsive { overflow-x: inherit; } .inline-form-spacing { margin-bottom: @form-group-margin-bottom; } .user-settings .settings-menu ul { margin-top: @line-height-computed; } span.ref-id[id] { padding-top: 50px; } .faq { .panel-heading h3 { margin: 0; small a.ref-link { display: none; } &:hover { small a.ref-link { display: inherit; } } } } @keyframes pulse { 0% { transform: rotate(0deg); } 10% { transform: rotate(5deg) translateY(-2px); } 20% { transform: rotate(-5deg); } 30% { transform: rotate(5deg) translateY(-2px);; } 40% { transform: rotate(-5deg); } 50% { transform: rotate(0deg) translateY(-2px); } 75% { transform: rotate(0deg) translateY(0px); } } @-webkit-keyframes pulse { 0% { transform: rotate(0deg); } 10% { transform: rotate(5deg) translateY(-2px); } 20% { transform: rotate(-5deg); } 30% { transform: rotate(5deg) translateY(-2px); } 40% { transform: rotate(-5deg); } 50% { transform: rotate(0deg) translateY(-2px); } 75% { transform: rotate(0deg) translateY(0px); } } @-moz-keyframes pulse { 0% { transform: rotate(0deg); } 10% { transform: rotate(5deg) translateY(-2px); } 20% { transform: rotate(-5deg); } 30% { transform: rotate(5deg) translateY(-2px); } 40% { transform: rotate(-5deg); } 50% { transform: rotate(0deg) translateY(-2px); } 75% { transform: rotate(0deg) translateY(0px); } } @media (max-width: 525px) { .col-xxs-12 { float: none; width: 100%; position: relative; left: 0; right: 0; min-height: 1px; padding-right: 15px; padding-left: 15px; } } @media print { a[href]:after { content: ""; } } .navbar-toggle { transform: scale(1.25, 0.96); padding: 2px 6px; margin-top: 6px; margin-bottom: 4px; max-height: @navbar-height; .icon { border-color: @brand-primary; font-weight: bold; color: @brand-primary; font-size: 25px; &-close { padding: 0 3px; display: none; } } &.is-open .icon { &-open { display: none; } &-close { display: block; } } } @media screen and (max-width: @grid-float-breakpoint-max) { #navbar-offcanvas { display: block; position: absolute; width: 90%; height: calc( 100vh - @navbar-height); max-height: unset; left: 101%; top: @navbar-height + 1; // extra padding because mobile Safari displays a bottom bar hiding parts of the menu padding-bottom: 75px; transition: left .3s ease-in-out; -webkit-transition: left .3s ease-in-out; background: @navbar-default-bg; margin: 0 !important; // Overridden in theme with high specifity: // .container > .navbar-header, // .container-fluid > .navbar-header, // .container > .navbar-collapse, // .container-fluid > .navbar-collapse // Is open &.collapse.in { left: 10%; display: block; overflow-y: auto; box-shadow: -5px 20px 20px 0 rgba(0, 0, 0, 0.5), 5px 0 5px -5px rgba(0, 0, 0, 0.5); } // Hide current page in nav. .nav > li.active { display: none; } .caret { float: right; margin-top: 7px; } } .navbar-toggle { align-items: center; font-size: 18px; display: flex; height: 38px; justify-content: center; padding: 0; transform: none; width: 38px; .icon-close { padding: 0; } } }