* { outline: none; } :root { font-size: 10px; font-family: Open Sans, sans-serif; --sib-notifications-theme: var(--color-primary); body { background-color: var(--color-main-background); color: var(--color-main-text); font-size: 1.6rem; min-height: 100vh; overflow-wrap: break-word; overflow-x: hidden; /* To stop getting horizontal scrolling if anything overflows the width */ } main { display: flex; z-index: 0; overflow: hidden; height: calc(100vh - 83px); /* 83px = height of the header */ position: relative; width: 100%; backface-visibility: hidden; /*will-change: overflow;*/ } .notLoggedIn { visibility: hidden; } } /* Add scrollbar to the left and right menu, and to the content */ nav, .views-container { overflow: auto; height: auto; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; } /* Custom scrollbar of the left-menu */ nav { scrollbar-width: thin; scrollbar-color: var(--color-scrollbar-left-track) var(--color-scrollbar-left-background); &::-webkit-scrollbar-track { background: var(--color-scrollbar-left-background); } &::-webkit-scrollbar-thumb { background-color: var(--color-scrollbar-left-track); border-radius: 6px; border: 3px solid var(--color-scrollbar-left-background); } &::-webkit-scrollbar { width: 11px; } } /* Custom scrollbar of the content */ .views-container { scrollbar-width: thin; scrollbar-color: var(--color-scrollbar-right-track) var(--color-scrollbar-right-background); &::-webkit-scrollbar-track { background: var(--color-scrollbar-right-background); } &::-webkit-scrollbar-thumb { background-color: var(--color-scrollbar-right-track); border-radius: 6px; border: 3px solid var(--color-scrollbar-right-background); } &::-webkit-scrollbar { width: 11px; } } /* Quick fix. Will be removed later */ #admin-circles, #admin-projects, #admin-users { display: contents; } [hidden], .hidden { display: none !important; } img { max-height: 100%; max-width: 100%; } h1, .h1-like, h2, .h2-like, h3, h4, h5, h6 { font-weight: bold; /*span { font-weight: 400; padding-left: 0.85rem; &:before { content: '// '; } }*/ } h1, .h1-like { color: var(--color-h1); font-size: 2rem; text-transform: uppercase; &.without-margin { margin: 0; } } h2, .h2-like { color: var(--color-h2); font-size: 1.8rem; text-transform: uppercase; } .h2-like { display: block; margin: 14.94px 0; width: 100%; } h3 { color: var(--color-title); font-size: 1.7rem; margin: 0; } h4 { font-size: 1.2rem; } h5 { font-size: 2rem; } <<<<<<< HEAD %padding-main { padding: 1.3rem; } %padding-block { padding: 3.2rem; } ======= >>>>>>> d9b2c89... update: flex class added in other files + %padding removed .avatar { align-items: center; background-color: var(--color-avatar-background); border-radius: 50%; display: flex; justify-content: center; overflow: hidden; position: relative; img { background-color: white; height: 100%; left: 0; object-fit: cover; object-position: center; position: absolute; top: 0; width: 100%; } object { height: 45%; width: 45%; } } .customer-logo { box-sizing: border-box; display: flex; height: 8.5vh; justify-content: flex-end; margin-top: 20px; text-align: end; width: 15vw; } .content-box { @include window-style-modal(); flex-direction: column; flex-grow: 1; margin: 2rem 1rem 5rem 2rem; &.full-width { background: var(--color-white); flex: 1; font-size: 1.6rem; margin: 0 auto; min-height: 100%; } } /* Header inside circle, project view */ .content-box__header { border-bottom: 1px solid var(--color-content-header); padding: 3rem; @include breakpoint(sm) { background: var(--color-grey-10); } sib-display { @include breakpoint(sm) { float: left; } } .mobile-sidebar-button { @include breakpoint(sm) { float: right; color: var(--color-secondary); font-size: 1.8rem; font-weight: bold!important; &::before { font-size: 2.2rem; font-weight: normal; margin-right: 1.2rem; } } @include breakpoint($min: 1025px, $max: 0) { display: none; } } div { .h1-aside { font-size: 1.8rem; &:not(:empty)::before { color: var(--color-grey-4); content: ' - '; font-size: 2rem; font-weight: bold; } } .description { color: var(--color-grey-4); } .name { color: var(--color-grey-4); font-weight: normal; } } } .content-box__info { flex-direction: column; padding: 3.2rem; } /*.modal { color: var(--color-white); margin: 75px; padding: 40px; max-height: 85vh; text-align: center; img { max-width: 75%; } sib-link { font-size: 2.7rem; position: absolute; right: 32px; top: 32px; button { color: var(--color-secondary); } } }*/ .admin-header { align-items: center; justify-content: space-between; margin-bottom: 5rem; } .backlink { @include icon('arrow-left-circle'); color: var(--color-backlink); font-size: 1.5rem; margin: 2rem 0 0 2rem; text-decoration: underline; &::before { font-size: 2rem; margin-right: 1rem; text-decoration: none; } &.right { display: block; text-align: right; } } .centered { text-align: center; } .flex { display: flex; } .button-end { justify-content: flex-end; } .space-between { justify-content: space-between; padding-bottom: 1.4rem; } .section { border-bottom: 1px solid var(--color-grey-10); padding: 4.5rem; } .word-spacing-left { margin-left: 0.60rem; } .word-spacing-right { margin-right: 0.60rem; } // Compatibility layer for non-updated components @import 'compat'; // Other base components @import 'form'; @import 'table'; @import 'header'; @import 'menu-left'; @import 'user-thumb'; // Button global CSS sib-delete, sib-route, sib-link, button, input[type='submit'], a, .button { background: none; border: none; cursor: pointer; display: inline-block; padding: 0; &.button { padding: 0.55rem 2.5rem; border-radius: 100em; *, & { font-size: 1.4rem; } &.btn-margin-left { margin-left: 2.2rem; } &.small { *, & { font-size: 1rem; } } &.text-bold { *, & { font-weight: bold; } } &.text-uppercase { *, & { text-transform: uppercase; } } &.rounded { border-radius: 50%; font-size: 1.8rem; padding: 1rem; } &.button-link { border-radius: 100em; *, & { text-decoration: underline; } &:hover { text-decoration: none; } } &.with-icon::before { font-size: 1.6rem; margin-right: 1rem; } &.button-primary{ background-color: var(--color-white); *, & { color: var(--color-primary); } &.bordered { border: 1px solid var(--color-primary); } &:hover { background-color: var(--color-primary); *, & { color: var(--color-white); } } } &.button-secondary { background-color: var(--color-white); *, & { color: var(--color-secondary); } &.bordered { border: 1px solid var(--color-secondary); } &:hover { background-color: var(--color-secondary); *, & { color: var(--color-white); } } } &.button-complementary { color: var(--color-complementary); background-color: var(--color-white); &.bordered { border: 1px solid var(--color-complementary); } &:hover { background-color: var(--color-complementary); color: var(--color-white); } } &.flex { display: flex; } &.reversed { &.button-primary { background-color: var(--color-primary); *, & { color: var(--color-white); } &:hover { background-color: var(--color-white); color: var(--color-primary); *, & { color: var(--color-primary); } &.bordered { border: 1px solid var(--color-primary); } } } &.button-secondary { background-color: var(--color-secondary); *, & { color: var(--color-white); } &:hover { background-color: var(--color-white); *, & { color: var(--color-secondary); } &.bordered { border: 1px solid var(--color-secondary); } } } &.button-complementary { background-color: var(--color-complementary); *, & { color: var(--color-white); } &:hover { background-color: var(--color-white); *, & { color: var(--color-complementary); } &.bordered { border: 1px solid var(--color-complementary); } } } } } }