@import "theme.less"; /* Theme Adjustments */ @boxed-layout-bg-image-path: "../images/boxed-bg.png"; @yellow: #bf7e16; @footer-height: 51px; body { background-color: @gray; .img-retina(@boxed-layout-bg-image-path, "../images/boxed-bg-2x.png", auto, auto); } body, .main-header .logo, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; } .box-body > .table-responsive { > .table { margin-bottom: 0; } @media screen and (max-width: @screen-xs-max) { border: none; margin-bottom: 0; } } .sidebar-menu li.header { padding-right: 15px; } .sidebar-menu li a { padding-left: 12px; } .sidebar-form .form-group { margin-bottom: 0; input[type="text"], .form-control-feedback { color: #999; } } .sidebar { color: #bbbbbb; a.btn { color: @btn-default-color; } .subsection { padding: 10px; text-align: center; ul { text-align: left; } } } .sidebar-collapse { .sidebar .list-inline li { padding-right: 0; } .hidden-collapsed { display: none; } } .control-sidebar { height: ~"calc(100% - @{footer-height})"; position: absolute; @media (max-width: @screen-sm) { padding-top: @navbar-height; } @media (max-width: @screen-xs-max) { padding-top: @navbar-height + 50px; } } .control-sidebar-heading { padding: 0; margin: 10px 0 10px 0; } .control-sidebar-menu { li a { padding-top: 5px; padding-bottom: 5px; } li.active a { background-color: @component-active-bg; } } .control-sidebar-open { @media (min-width: @screen-sm) { .main-footer { margin-right: 0; } } } .control-sidebar-show { display: none !important; } .using-control-sidebar { .control-sidebar-show { display: block !important; } .control-sidebar-hidden { display: none !important; } } .control-sidebar-bg { height: 100%; position: absolute; } .main-footer { height: @footer-height; } form div.validation-errors ul { margin-bottom: 0; padding-left: 20px; li { margin-left: 0; } } .login-page, .register-page { background-color: @gray; background-repeat: repeat; background-attachment: fixed; .img-retina(@boxed-layout-bg-image-path, "../images/boxed-bg-2x.png", auto, auto); } .login-box-body, .register-box-body { .boxShadow(0 0 8px rgba(0, 0, 0, 0.5)); } .login-box, .register-box { .checkbox { margin-top: 0; } ul { margin-bottom: 0; padding-left: 20px; } } .password-options { float: right; i { margin: 0 5px; cursor: pointer; } } @media screen and (min-width: @screen-sm-min) { .settings-photo { text-align: center; img { margin: 0 auto; } } } /* Buttons */ .btn-table { padding: 1px 5px; line-height: 1; } .box-tools { .btn-group.open .dropdown-toggle { .boxShadow(none); } .btn-box-tool { font-size: 14px; } } form .btn .loading-icon { margin-right: 8px; } .dropdown-menu { border-color: @table-border-color; > li > a { color: @text-color; > .fa { margin-right: 0; margin-left: -5px; } } } /* Forms */ .form-control { border-radius: 0 !important; } .has-feedback { &.form-group-sm { input { padding-right: (@input-height-small * 1.25); } } } .has-feedback.has-feedback-left { input { padding-left: (@input-height-base * 1.25); padding-right: 0; } &.form-group-sm { input { padding-left: (@input-height-small * 1.25); padding-right: 0; } } .form-control-feedback { right: initial; left: 0; } } .radio.radio-block { &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0; label { border-bottom: 0; } } label { display: block; border-bottom: 1px solid @box-border-color; border-radius: 3px; padding: 10px 10px 10px 30px; font-weight: bold; input[type=radio] { margin-left: -20px; } > span { display: block; color: @text-muted; font-size: 90%; font-weight: normal; &.bottom-line { font-size: 100%; color: @text-color; margin-top: 5px; } } } } /* Modals */ .modal-footer { text-align: left; } /* Tables */ .table-selectable { td:not(.actions) { cursor: pointer; span { cursor: text; } } } .table-vmiddle td { vertical-align: middle !important; } .table td .label { font-size: 85%; font-weight: normal; } .box-header.with-border + .box-body .table > tbody > tr:first-child > td { border-top: 0; } /* Callouts */ .callout.callout-default { background-color: #fff; border-color: darken(@gray, 10%); a { color: @link-color; } a:hover, a:active, a:focus { color: @link-hover-color; } } .modal .callout.callout-default, .box .callout.callout-default, .register-box-body .callout.callout-default, .login-box-body .callout.callout-default { &:extend(.bg-gray-light); .btn-default:not(:hover) { background-color: #ffffff; } } .callout a.btn { text-decoration: none; &.btn-default { color: @btn-default-color; } } /* Boxes */ .box > .list-group { margin-bottom: 0; } .box > .list-group .list-group-item { border-width: 1px 0; border-radius: 0; border-color: @box-border-color; } .box > .list-group:last-child .list-group-item:last-child { border-bottom: 0; border-bottom-right-radius: @box-border-radius; border-bottom-left-radius: @box-border-radius; } .list-group + .box-footer, .box-header + .list-group .list-group-item:first-child { border-top-width: 0; } .box-header .box-filters { position: absolute; left: 10px; top: 5px; } .box-body p:last-child { margin-bottom: 0; } .box-apps { font-size: 20px; ul.fa-ul { li { margin-bottom: 10px; } } a .fa { color: @sidebar-dark-submenu-bg; } } .box-breach { img { max-height: 200px; margin-bottom: 20px; margin-left: auto; margin-right: auto; @media (min-width: @screen-sm) { margin-top: 10px; } } } /* Toastr */ #toast-container { position: absolute; &.toast-top-right { top: 65px; right: 15px; @media (max-width: @screen-xs-max) { top: initial; bottom: 0; right: 0; width: 100%; } } .toast { .border-radius(0); .boxShadow(0 0 8px rgba(0, 0, 0, 0.5)); @media (max-width: @screen-xs-max) { width: 100%; } &.toast-danger, &.toast-error { background-image: none !important; &:extend(.bg-red); &:before { content: "\f0e7"; } } &.toast-warning { background-image: none !important; &:extend(.bg-yellow); &:before { content: "\f071"; } } &.toast-info { background-image: none !important; &:extend(.bg-aqua); &:before { content: "\f005"; } } &.toast-success { background-image: none !important; &:extend(.bg-green); &:before { content: "\f00C"; } } &:before { position: absolute; font-family: FontAwesome; font-size: 24px; line-height: 24px; float: left; color: #ffffff; padding-right: 0.5em; margin: auto 0.5em auto -1.5em; } } } /* Typography */ h1, h2, h3, h4, h5, h6 { margin-top: 0; } /* Misc */ .strike { text-decoration: line-through; color: @text-muted; } .tooltip-wrapper { display: inline-block; } .cc { display: inline-block; background: url('../images/cards.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; width: 73px; height: 44px; &.amex { background-position: 0 0; } &.diners { background-position: -73px 0; } &.discover { background-position: 0 -44px; } &.jcb { background-position: -73px -44px; } &.mastercard, &.maestro { background-position: 0 -88px; } &.visa { background-position: -73px -88px; } }