* { outline: none; } :root { font-size: 14px; font-family: Open Sans, sans-serif; --sib-notifications-theme: var(--color-primary); body { background-color: var(--color-main-background); box-sizing: border-box; color: var(--color-grey) !important; /* Fix for viewport height bug in webkit for mobile */ height: -webkit-fill-available; min-height: -webkit-fill-available; } main { width: calc(100% - 256px); } .notLoggedIn { visibility: hidden; } } .segment { /*background: white;*/ position: relative; .align-middle { transform: translateY(50%); } .box-border { box-sizing: border-box; } &.lg-{ &hidden { display: none; } &quarter { width: 25%; } &third { width: 33.333%; } &half { width: 50%; } &two-third { width: 66.666%; } &three-quarter { width: 75%; } &full { width: 100%; } &auto { width: auto; } } &.float-left { float: left; } &.float-right { float: right; } &.clearfix::after { content: ""; clear: both; display: block; height: 0; width: 100%; } &.margin-top-small { margin-top: 10px; } &.margin-left { margin-left: 20px; } &.margin-right-xsmall { margin-right: 15px; } &.margin-bottom { margin-bottom: 20px; } &.margin-bottom-xlarge { margin-bottom: 30px; } &.margin-bottom-xxlarge { margin-bottom: 35px; } &.margin-top-xxlarge { margin-top: 35px; } &.margin-left-small { margin-left: 15px; } &.margin-right-xsmall { margin-right: 6px; } &.margin-right-small { margin-right: 15px; } &.margin-right { margin-right: 20px; } &.margin-bottom { margin-bottom: 20px; } &.padding-small { padding: 10px; } &.padding-y-small { padding-top: 10px; padding-bottom: 10px; } &.padding { padding: 14px; } &.padding-large { padding: 20px; } &.padding-xlarge { padding: 25px; } &.padding-left-large { padding-left: 25px } } .avatar { border-radius: 50%; object-fit: cover; height: 50px; width: 50px; &.xsmall { height: 31px; width: 31px; } &.small { height: 44px; width: 44px; } &.large { height: 180px; width: 180px; } &.xlarge { height: 241px; width: 241px; } &.margin-right-small { margin-right: 16px; } } .border-bottom { border-bottom: 1px solid #D6CECE; } .shadow { box-shadow: 0 0 5px 0 rgba(133, 140, 148, 0.09); } .bg-color-third { background: var(--color-third); } .bg-color-heading { background: var(--color-heading); } .bg-color-white { background: white; } .icon { &::before { font-size: 20px; } &.icon-magnify { background-image: url(); } &.icon-arrow-down { background-image: url(); } &.rounded{ border-radius: 50%; display: flex; align-items: center; justify-content: center; &-small { height: 35px; width: 35px; } &-large { height: 70px; width: 70px; } } &.xxsmall::before { font-size: 12px; } &.xsmall::before { font-size: 15px; } &.small::before { font-size: 18px; } &.large::before { font-size: 30px; } &.xlarge::before { font-size: 40px; } &.centered { margin: 0 auto; } &.icon-margin-right::before { margin-right: 15px; } &.icon-margin-right-xxsmall::before { margin-right: 5px; } } .icon-color-primary::before { color: var(--color-primary); } .icon-color-secondary::before { color: var(--color-secondary); } .icon-color-third::before { color: var(--color-third); } .icon-color-heading::before { color: var(--color-heading); } .text-bold { font-weight: 600; } .text-bolder { font-weight: 700; } .text-normal { font-weight: normal; } .text-uppercase { text-transform: uppercase; } .text-underline { text-decoration: underline; } .text-xsmall { font-size: 12px; } .text-small { font-size: 14px; } .text-large { font-size: 16px; } .text-xlarge { font-size: 18px; } .text-color-primary { color: var(--color-primary); } .text-color-secondary { color: var(--color-secondary); } .text-color-third { color: var(--color-third); } .text-color-heading { color: var(--color-heading); } .text-color-white { color: white; } .text-letter-spacing-wide {} .text-letter-spacing-wider {} .text-letter-spacing-widest {} .text-letter-spacing-large { letter-spacing: 0.2px; } .text-letter-spacing-larger { letter-spacing: 0.38px; } .text-center { text-align: center; } .text-right { text-align: right; } .logo { height: 34px; width: 220px; display: inline-block; >solid-link { >img { max-height: 100%; max-width: 100%; } } } .tag { height: 17px; font-size: 12px; letter-spacing: 0.24px; line-height: 17px; border: 1px solid var(--color-primary); border-radius: 3px; padding: 4px 11px; &.beta { font-size: 14px; font-weight: 600; } &.color-primary { background: white; border: 1px solid var(--color-primary); color: var(--color-primary); } &.color-secondary { background: white; border: 1px solid var(--color-secondary); color: var(--color-secondary); } &.color-third { background: white; border: 1px solid var(--color-third); color: var(--color-third); } &.reversed { &.color-primary { background: var(--color-primary); border: 1px solid var(--color-primary); color: white; } &.color-secondary { background: var(--color-secondary); border: 1px solid var(--color-secondary); color: white; } &.color-third { background: var(--color-third); border: 1px solid var(--color-third); color: white; } } } input:not([type='file']):not([type='search']):not([type='submit']), textarea { border: none; background: #F6F6F6; color: var(--color-grey); padding: 12px 14px; margin-top: 6px; line-height: 1; width: 100%; box-sizing: border-box; -webkit-tap-highlight-color: var(--color-secondary); &:required:invalid { border-color: 1px solid var(--color-primary); } } textarea { height: 100px; resize: vertical; } /* General styles for pagination */ nav#main__menu solid-display.nosub>nav { display: grid; grid-template-areas: "left middle right"; grid-template-rows: auto; text-align: center; overflow: hidden; >[data-id="prev"] { grid-area: left; line-height: 1; } >[data-id="next"] { grid-area: right; line-height: 1; } >span { grid-area: middle; } button { color: transparent; &[disabled] { opacity: 0.5; } } } /* Styles for pagination in the left menu */ nav#main__menu solid-display.nosub>nav { grid-template-columns: auto 30% auto; >span { font-size: 18px; } button { font-size: 15px; color: white; } } /* Fix for solid-dashboard fixture */ solid-dashboard section { padding: 1rem !important; @include breakpoint(lg) { padding: 4.2rem !important; } .icon { display: inline-block; } } /*.wrapper { display: grid; grid-template-areas: "header" "content"; @include breakpoint(lg) { grid-template-columns: 265px auto; grid-template-areas: "header header" "leftmenu content"; } }*/ /*.header { grid-area: header; }*/ .left-menu { /*grid-area: leftmenu;*/ @include breakpoint(lg) { height: calc(100vh - 72px); /* 72px = nav height */ /*position: sticky; top: 0;*/ overflow-x: hidden; overflow-y: scroll; } &.jsLeftMenu { display: none; @include breakpoint(lg) { display: block; } } &.jsLeftMenu[open] { display: block; bottom: 0; box-shadow: 0 2px 8px 0 rgba(65, 69, 73, 0.5); width: 80vw; position: fixed; right: 0; top: 0; z-index: 1000; @include breakpoint(lg) { display: none; } } } .content { /*grid-area: content;*/ @include breakpoint(lg) { /*position: sticky; top: 0;*/ /*overflow-y: auto;*/ height: calc(100vh - 72px); /*overflow-x: hidden;*/ } } /* Add scrollbar to the left and right menu, and to the content */ nav, .views-container, .table-wrapper { 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-grey) var(--color-heading); &::-webkit-scrollbar-track { background: var(--color-heading); } &::-webkit-scrollbar-thumb { background-color: var(--color-grey); border-radius: 6px; border: 3px solid var(--color-heading); } &::-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; } } /* Custom scrollbar of the table */ .table-wrapper { scrollbar-width: thin; scrollbar-color: var(--color-heading) var(--color-grey); &::-webkit-scrollbar-track { background-color: var(--color-grey); border-radius: 10px; } &::-webkit-scrollbar { height: 5px; } &::-webkit-scrollbar-thumb { background-color: var(--color-heading); border-radius: 10px; } } /* 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, h2, h3, h4, h5, h6 { color: var(--color-heading); margin: 0; } .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; } .project-edit-logo { display: flex; height: 8.5vh; margin-top: 20px; margin-bottom: 30px; form { display: flex; } hubl-user-avatar { width: 104px; } input[type='submit'] { @extend .button; @extend .text-bold; @extend .text-uppercase; @extend .button-primary; @extend .bordered; align-self: center; } } .form-picture { form { display: block; text-align: center; margin-bottom: 2.6rem; padding-top: 1.8rem; @include breakpoint(lg) { display: flex; width: 100%; } hubl-user-avatar { display: inline-block; max-width: 100%; max-height: 16.5vh; @include breakpoint(lg) { margin-left: 20px; max-height: 8.5vh; max-width: none; width: calc(35vw - 20px); } >object, >img { display: block; max-height: 16.5vh !important; @include breakpoint(lg) { max-height: 8.5vh !important; } } } input { @extend .button; @extend .text-bold; @extend .text-uppercase; @extend .button-primary; @extend .bordered; margin: 10px 0; width: 100%; @include breakpoint(lg) { margin: auto 0 auto 2.2rem; width: auto; } } } } .p_relative { position: relative; } .flex_column { flex-direction: column; } .flex_vertical-center { align-items: center; } .w90 { @include breakpoint(sm) { width: 90%; } } .w100 { @include breakpoint(sm) { width: 100%; } } .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: 1.8rem 0 1.4rem; margin: 0 1.6rem; @include breakpoint(lg) { padding: 2rem; margin: 0; } .mobile-sidebar-button { 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(lg) { display: none; } } solid-display { @include breakpoint(sm) { float: left; } } /* For solid-display on project, circle, or private message view */ solid-display { width: calc(100% - 94px); /* 94px = width of .mobile-sidebar-button */ div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: calc(100% - 20px); .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__height { min-height: calc(100vh - 50px); /* Heights of main header and sub-header */ @include breakpoint(lg) { min-height: calc(100vh - 72px); } } .content-box__info { flex-direction: column; padding: 1rem; @include breakpoint(lg) { padding: 3.2rem; } * { box-sizing: border-box; } } /*.modal { color: var(--color-white); margin: 75px; padding: 40px; max-height: 85vh; text-align: center; img { max-width: 75%; } solid-link { font-size: 2.7rem; position: absolute; right: 32px; top: 32px; button { color: var(--color-secondary); } } }*/ .admin-header { /* Quick fix for alignment on mobile before admin content rework */ flex-direction: column; align-items: flex-start; margin-bottom: 20px; /*end */ @include breakpoint(lg) { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 5rem; } h3 { /* Quick fix for alignment on mobile before admin content rework */ margin-bottom: 20px; /* end */ /*@include breakpoint(lg) { margin-top: 0; }*/ } solid-ac-checker, solid-link { width: 100%; @include breakpoint(lg) { width: auto; } } } .centered { text-align: center; } .block { display: block; } .flex { display: flex; } .desktop-button__end { display: block; @include breakpoint(lg) { display: flex; justify-content: flex-end; } } .space-between { justify-content: space-between; &.with-padding { padding-bottom: 1.4rem; } } .mobile-vertical-align { flex-direction: column; @include breakpoint(lg) { flex-direction: row; } } .word-spacing-left { margin-left: 0.60rem; } .word-spacing-right { margin-right: 0.60rem; } .mobile-margin__bottom { margin-bottom: 1rem; @include breakpoint(lg) { margin-bottom: 0; } } // Other base components @import 'buttons'; @import 'form'; @import 'table'; @import 'header'; @import 'menu-left'; @import 'user-thumb';