generateur_v3/frontend/src/app.scss

144 lines
2.0 KiB
SCSS

/* Write your global styles here, in SCSS syntax. Variables and mixins from the src/variables.scss file are available here without importing */
* {
box-sizing: border-box;
margin: 0;
}
.spinner {
width: 30px;
height: 30px;
border: 3px solid $contrast;
border-bottom-color: transparent;
border-radius: 50%;
animation: rotation 1s infinite linear;
display: inline-block;
box-sizing: border-box;
}
.italic {
font-style: italic;
}
.underline {
text-decoration: underline;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.container {
height: calc(100vh - 100px); // 100% - nav
}
* {
scrollbar-width: auto !important;
scrollbar-color: $contrast transparent;
}
.btn {
border: none;
border-radius: 5px;
height: 38px;
font-weight: 700;
transition: 0.3s;
margin-bottom: 10px;
margin-right: 7px;
padding: 0 50px;
width: max-content;
cursor: pointer;
&:disabled {
cursor: not-allowed
}
}
.primary-btn {
@extend .btn;
background-color: #fcbf49;
&:hover {
background-color: #ac7b19;
}
}
.danger-btn {
@extend .btn;
background-color: #fc5e49;
&:hover {
background-color: #ac1919;
}
}
.border-primary-btn {
@extend .btn;
background-color: transparent;
border: 1px solid #fcbf49;
color: #fcbf49;
&:hover {
background-color: #fcbf49;
color: black;
}
}
.input {
background-color: inherit;
color: inherit;
padding: 5px 10px;
width: 100%;
font-size: 16px;
font-weight: 450;
margin: 10px 0;
float: left;
border: none;
border-bottom: 1px solid #181553;
transition: 0.3s;
border-radius: 0;
margin: 0;
&:focus {
outline: none;
border-bottom-color: $contrast;
}
}
.flex-row-center {
display: flex;
justify-content: center;
}
@for $f from 0 through 100 {
.wp-#{$f} {
width: 1% * $f;
}
}
.sv-dropdown {
z-index: 10 !important;
}
.strong {
font-weight: 900;
}
.contrast {
color: $contrast;
}
.loading {
cursor: progress;
}