408 lines
5.6 KiB
SCSS
408 lines
5.6 KiB
SCSS
$breakpoints: (phone: 480px,
|
|
tablet: 768px,
|
|
desktop: 1024px) !default;
|
|
|
|
[hidden],
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
* {
|
|
outline: none;
|
|
}
|
|
|
|
:root {
|
|
font-size: 10px;
|
|
font-family: Open Sans, sans-serif;
|
|
--sib-notifications-theme: #{$color-46-100-50};
|
|
|
|
body {
|
|
background-color: $color-210-25-95;
|
|
color: $color-213-4-50;
|
|
font-size: 1.6rem;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
html {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: $color-216-4-22;
|
|
font-weight: 600;
|
|
padding: 0;
|
|
|
|
/*span {
|
|
font-weight: 400;
|
|
padding-left: 0.85rem;
|
|
|
|
&:before {
|
|
content: '// ';
|
|
}
|
|
}*/
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.7rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
%padding-main {
|
|
padding: 5rem;
|
|
}
|
|
|
|
%padding-block {
|
|
padding: 3.2rem;
|
|
}
|
|
|
|
.content-box {
|
|
@include window-style-modal();
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
margin: 2rem 1rem 5rem 2rem;
|
|
|
|
&.full-width {
|
|
background: $color-0-0-100;
|
|
flex: 1;
|
|
font-size: 1.6rem;
|
|
margin: 0 auto;
|
|
min-height: calc(100vh - 84px);
|
|
}
|
|
|
|
&.with-padding {
|
|
@extend %padding-main;
|
|
}
|
|
}
|
|
|
|
.content-box__header {
|
|
padding: 1.9rem 3rem;
|
|
|
|
div {
|
|
color: $color-233-18-29;
|
|
display: flex;
|
|
font-size: 2rem;
|
|
|
|
&>* {
|
|
align-self: center;
|
|
}
|
|
|
|
.name {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
margin: 1.1rem 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.drive {
|
|
width: 100%;
|
|
border: 0;
|
|
}
|
|
|
|
.content-box__header.with-description {
|
|
border-bottom: 1px solid $color-221-51-90;
|
|
|
|
div {
|
|
|
|
.name {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.description {
|
|
color: $color-215-6-63;
|
|
font-size: 1.8rem;
|
|
|
|
&:not(:empty)::before {
|
|
color: $color-216-4-22;
|
|
content: '- ';
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
margin-left: 0.60rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.backlink {
|
|
@include icon('arrow-left-circle');
|
|
color: $color-233-18-29;
|
|
font-size: 1.5rem;
|
|
margin: 2rem 0 0 2rem;
|
|
text-decoration: underline;
|
|
|
|
&::before {
|
|
font-size: 2rem;
|
|
margin-right: 1rem;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.name {
|
|
color: $color-216-4-22;
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.username {
|
|
|
|
&::before {
|
|
content: '@';
|
|
}
|
|
}
|
|
|
|
.space-between {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding-bottom: 1.4rem;
|
|
}
|
|
|
|
.section {
|
|
border-bottom: 1px solid $color-221-51-90;
|
|
padding: 4.5rem;
|
|
}
|
|
|
|
// Compatibility layer for non-updated components
|
|
@import 'compat';
|
|
// Other base components
|
|
@import 'form';
|
|
@import 'header';
|
|
@import 'menu-left';
|
|
@import 'user-avatar';
|
|
|
|
// 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%;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
&.button-link {
|
|
border-radius: 100em;
|
|
|
|
*,
|
|
& {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
&.with-icon::before {
|
|
font-size: 1.6rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
&.button-yellow {
|
|
background-color: white;
|
|
|
|
*,
|
|
& {
|
|
color: $color-43-100-50;
|
|
}
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-43-100-50;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $color-43-100-50;
|
|
|
|
*,
|
|
& {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.button-blue {
|
|
background-color: white;
|
|
|
|
*,
|
|
& {
|
|
color: $color-244-73-62;
|
|
}
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-244-73-62;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $color-244-73-62;
|
|
|
|
*,
|
|
& {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.button-dark {
|
|
color: $color-233-18-29;
|
|
background-color: white;
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-233-18-29;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $color-233-18-29;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
&.test {
|
|
display: flex;
|
|
}
|
|
|
|
&.reversed {
|
|
&.button-yellow {
|
|
background-color: $color-43-100-50;
|
|
|
|
*,
|
|
& {
|
|
color: white;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
color: $color-43-100-50;
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-43-100-50;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.button-blue {
|
|
background-color: $color-244-73-62;
|
|
|
|
*,
|
|
& {
|
|
color: white;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
|
|
*,
|
|
& {
|
|
color: $color-244-73-62;
|
|
}
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-244-73-62;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.button-dark {
|
|
background-color: $color-233-18-29;
|
|
|
|
*,
|
|
& {
|
|
color: white;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
|
|
*,
|
|
& {
|
|
color: $color-233-18-29;
|
|
}
|
|
|
|
&.bordered {
|
|
border: 1px solid $color-233-18-29;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|