@import "theme.less"; /* Theme Adjustments */ @boxed-layout-bg-image-path: "../images/boxed-bg.png"; @yellow: #e48c00; 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-form .form-group { margin-bottom: 0; input[type="text"], .form-control-feedback { color: #999; } } 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: #ccc; > li > a > .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; } } /* 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 { &:extend(.bg-gray-light); border-color: darken(@gray, 10%); a { color: @link-color; } a:hover, a:active, a:focus { color: @link-hover-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; } /* 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: fixed; 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; }