123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509 |
- body {
- &.body-sidebar {
- @media (min-width: 993px) {
- padding-left: @sidebar-expanded-width;
- }
- &.collapsed {
- padding-left: @sidebar-collapsed-width;
- }
- &.hasNewNav {
- padding-left: @sidebar-semi-collapsed-width;
- }
- }
- &.scroll-lock {
- overflow: hidden;
- position: fixed;
- width: 100%;
- }
- }
- #blk_router {
- min-height: 100vh;
- }
- #login_as {
- z-index: 1000000;
- }
- /**
- * body.auth
- * ============================================================================
- */
- body.narrow {
- padding: 0;
- background: #fff;
- &.body-sidebar {
- padding-left: @sidebar-expanded-width;
- &.collapsed {
- padding-left: @sidebar-collapsed-width;
- }
- &.hasNewNav {
- padding-left: @sidebar-semi-collapsed-width;
- }
- }
- &.dialog {
- padding-top: 0;
- }
- h3,
- h4 {
- line-height: 1.2;
- }
- .app > .container {
- padding-top: 40px;
- max-width: 860px;
- .box-header {
- padding: 15px 30px 12px;
- .logo-with-action {
- display: flex;
- align-items: center;
- }
- a {
- font-size: 20px;
- &:hover {
- color: @gray-dark;
- }
- }
- }
- .with-padding {
- padding: 20px 30px 0;
- .form-actions {
- margin: 20px 0 0;
- padding: 20px 0;
- a.pull-right {
- font-size: 15px;
- color: @50;
- &:hover {
- color: @80;
- }
- }
- }
- }
- }
- }
- /* Integration templates use body.auth! */
- body.auth {
- .app > .container {
- padding-top: 5vh;
- max-width: 740px;
- }
- .box {
- border: 0;
- box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
- border-radius: 4px;
- display: flex;
- width: 100%;
- }
- .box-modal {
- display: flex;
- flex-direction: column;
- }
- .auth-sidebar {
- padding-top: 20px;
- width: 60px;
- background: #564f64;
- background-image: linear-gradient(
- -180deg,
- rgba(52, 44, 62, 0) 0%,
- rgba(52, 44, 62, 0.5) 100%
- );
- box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
- border-radius: 4px 0 0 4px;
- margin-top: -1px;
- margin-bottom: -1px;
- text-align: center;
- a {
- color: #fff;
- font-size: 22px;
- line-height: 1.5;
- }
- }
- .org-login {
- flex: 1;
- }
- .auth-container {
- padding-left: 40px;
- padding-right: 40px;
- &.border-bottom {
- border-bottom: 1px solid @trim;
- }
- ul,
- ol,
- p,
- blockquote {
- &:last-child {
- margin-bottom: 0;
- }
- }
- .help-center-link {
- color: #6c5fc7;
- }
- }
- .tab-content .auth-container {
- padding-top: 30px;
- padding-bottom: 40px;
- display: flex;
- }
- .auth-form-column {
- flex: 1;
- }
- .auth-provider-column {
- width: 46%;
- padding-left: 30px;
- margin-left: 30px;
- border-left: 1px solid @trim;
- p {
- margin-bottom: 15px;
- &:first-child {
- margin-top: 28px;
- }
- }
- .btn-default {
- display: block;
- text-align: left;
- padding: 8px 8px;
- .provider-logo {
- top: 0;
- }
- }
- }
- .auth-footer {
- display: flex;
- align-items: center;
- margin-top: 20px;
- > .btn {
- margin-right: 6px;
- }
- .secondary {
- flex: 1;
- text-align: right;
- color: @gray-light;
- &:hover {
- color: @gray-dark;
- }
- }
- }
- .auth-toggle {
- display: flex;
- }
- .join-request {
- margin-left: auto;
- margin-right: 0;
- > a {
- display: flex;
- align-items: center;
- > svg {
- height: 17px;
- width: 20px;
- margin-right: 5px;
- }
- }
- }
- }
- /**
- * Container / Content
- * ============================================================================
- */
- .app {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- // Necessary for the correct positioning of dropdown menus/overlays
- position: relative;
- }
- .container {
- position: relative;
- padding-left: 30px;
- padding-right: 30px;
- width: 100% !important;
- flex: 1;
- }
- .content-with-margin {
- margin-top: 20px;
- }
- // So loader can take up full height so that footer is fixed to bottom of screen
- .loading-full-layout {
- flex: 1;
- display: flex;
- align-items: center;
- }
- /**
- * Content sidebar
- * ============================================================================
- */
- .content .sidebar {
- float: right;
- }
- /**
- * Windowed
- * ============================================================================
- */
- .windowed-small {
- .app > .container {
- padding-top: 60px !important;
- max-width: 600px !important;
- margin: 0 auto;
- .box-header h3 {
- max-width: 100%;
- font-size: 16px;
- }
- }
- footer {
- display: none;
- }
- }
- /**
- * Pattern background / backdrop
- * ============================================================================
- */
- .pattern-bg {
- background: #f2f1f3 url(../images/pattern/sentry-pattern.png);
- background-size: 340px;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: -1;
- opacity: 0.4;
- }
- /**
- * Print
- * ============================================================================
- */
- @media print {
- body {
- color: @gray-darkest;
- }
- header {
- display: none;
- }
- .toolbar {
- display: none;
- }
- .content {
- padding: 0 !important;
- }
- footer {
- display: none;
- }
- }
- /**
- * Responsive Desktop
- * ============================================================================
- */
- @media (max-width: 1200px) {
- .container {
- width: 100% !important;
- }
- }
- @media (max-width: 992px) {
- body {
- &.body-sidebar {
- padding-left: 0;
- padding-top: @sidebar-mobile-height;
- &.collapsed {
- padding-left: 0;
- }
- }
- }
- .messages-container {
- margin-top: 0;
- margin-bottom: 0;
- }
- }
- /**
- * Responsive small screens
- * ============================================================================
- */
- @media (max-width: 767px) {
- body {
- padding-top: 0;
- // Hide fake sidebar on mobile
- background: none;
- }
- .app {
- overflow-x: hidden;
- overflow-y: hidden;
- }
- .container {
- padding: 0 14px;
- }
- .narrow .app > .container,
- .narrow.windowed-small .app > .container {
- padding-top: 30px !important;
- }
- .narrow.dialog .app > .container,
- .narrow.dialog.windowed-small .app > .container {
- padding-top: 10px !important;
- }
- .nav-tabs {
- > li {
- text-transform: capitalize;
- margin-right: 11px;
- &:last-child {
- margin: 0;
- }
- a {
- font-size: 14px;
- margin-right: 0;
- .badge {
- padding: 0;
- min-width: 15px;
- height: 15px;
- line-height: 17px;
- }
- }
- }
- }
- body.auth {
- .brand-flag {
- left: 0;
- right: 0;
- top: 0;
- font-size: 20px;
- background: @sidebar-bg-color;
- padding-left: 30px;
- }
- .app > .container {
- .box-content.with-padding {
- padding: 20px 20px 10px;
- }
- }
- .box {
- flex-direction: column;
- }
- .auth-sidebar {
- width: 100%;
- text-align: left;
- padding: 20px;
- border-radius: 4px 4px 0 0;
- a {
- line-height: 1;
- position: relative;
- top: 3px;
- }
- }
- .auth-container {
- flex-wrap: wrap;
- padding-left: 20px;
- padding-right: 20px;
- > div {
- width: 100%;
- padding: 0;
- margin: 0;
- border: 0;
- &.auth-provider-column {
- border-top: 1px solid @trim;
- padding-top: 20px;
- margin-top: 20px;
- p {
- margin-top: 0;
- }
- }
- }
- }
- .join-request {
- margin-left: auto;
- > a > svg {
- height: 16px;
- width: 19px;
- margin-right: 4px;
- }
- }
- .tab-pane {
- .auth-container {
- padding: 20px;
- }
- }
- }
- }
|