@import "./variables"; @import "./global_components"; html, body { padding: 0; margin: 0; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; overflow: hidden; background-color: $background; color: darken($color: white, $amount: 15); background: linear-gradient(to bottom left, $background-dark 30%, $background-light); width: 100vw; height: 100vh; } :root { --container-padding: 20px; --container-width: calc(100vw - var(--container-padding) * 2); --navbar-height: 0px; } @media only screen and (min-width: 900px) { :root { --container-padding: 32px; } } @media only screen and (min-width: 1370px) { :root { --container-padding: 20px; --container-width: 1330px; } } *{ scrollbar-width: thin!important; scrollbar-color: $contrast transparent; } %container, .container { box-sizing: border-box; width: 100%; padding-left: calc(50% - var(--container-width) / 2); padding-right: calc(50% - var(--container-width) / 2); height: calc(100vh - var(--navbar-height) - 10px); // - navbar margin overflow: auto; } %container-margin { margin-left: auto; margin-right: auto; width: var(--container-width); } *::-webkit-scrollbar{ z-index: 100000; } a { color: inherit; text-decoration: none; } * { box-sizing: border-box; } .small-text { color: grey; font-size: 0.95rem; font-weight: normal; } @for $i from 0 through 100 { .margin-#{$i}{ margin: 1% * $i !important; } .marginl-p#{$i} { margin-left: 1% * $i !important; } .marginr-p#{$i} { margin-right: 1% * $i !important; } .marginb-p#{$i} { margin-bottom: 1% * $i !important; } .margint-p#{$i} { margin-top: 1% * $i !important; } .vh-#{$i} { height: 1vh * $i !important; } .vw-#{$i} { width: 1vw * $i !important; } } @for $f from 0 through 9 { .fontw-#{$f * 100} { font-weight: 100 * $f; } } .primary { color: $primary; } .secondary { color: $secondary; } p { margin-bottom: 1%; } .overlay { position: absolute; top: 50%; z-index: 1000; left: 50%; transform: translate(-50%, -50%); height: 100vh; width: 100vw; background-color: black; opacity: 0.8; transition: opacity 0.4s; z-index: 10; } .invisible { opacity: 0 !important; z-index: -1 !important; transition: 0.5s; } .icon { width: 20px; height: 20px; transition: 0.3s; &:hover { transform: scale(1.1); } color: blue; } .loader { width: 30px; height:30px; border: 3px solid grey; border-bottom-color: transparent; border-radius: 50%; animation: rotation 1s infinite linear; display: inline-block; box-sizing: border-box; } @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .pointer{ cursor: pointer; } .loader-big{ border: 14px solid $background-light; /* Light grey */ border-top: 16px solid $contrast; /* Blue */ border-radius: 50%; width: 120px; height: 120px; animation: spin 1.5s linear infinite; position: absolute; top: 50%; right: 50%; transform: translate(50%, -50%); z-index: 20; } @keyframes spin { 0% { transform:translate(50%, -50%) rotate(0deg); } 100% { transform:translate(50%, -50%) rotate(360deg); } } .error-msg{ color: $red; font-weight: 800; font-size: .9em; width: 100%; &:hover{ color:$red!important; } } .exo-input-error{ border-bottom: 1px solid $red; margin-bottom: 1.5%; &:focus { border-bottom: 1px solid $red !important; } } .flex-column{ display: flex; flex-direction: column; } ul{ list-style: none; }