generateur_v3/frontend/src/app.scss

144 lines
2.0 KiB
SCSS
Raw Normal View History

2022-12-27 23:39:58 +01:00
/* Write your global styles here, in SCSS syntax. Variables and mixins from the src/variables.scss file are available here without importing */
2023-01-27 21:41:08 +01:00
* {
2023-02-26 16:29:05 +01:00
box-sizing: border-box;
margin: 0;
2023-01-27 21:41:08 +01:00
}
2023-02-26 16:29:05 +01:00
2023-02-22 12:43:39 +01:00
.spinner {
width: 30px;
2023-02-26 16:29:05 +01:00
height: 30px;
2023-02-22 12:43:39 +01:00
border: 3px solid $contrast;
border-bottom-color: transparent;
border-radius: 50%;
animation: rotation 1s infinite linear;
display: inline-block;
box-sizing: border-box;
2023-02-26 16:29:05 +01:00
2023-02-22 12:43:39 +01:00
}
.italic {
2023-02-26 16:29:05 +01:00
font-style: italic;
2023-02-22 12:43:39 +01:00
}
2023-02-26 16:29:05 +01:00
2023-02-22 12:43:39 +01:00
.underline {
2023-02-26 16:29:05 +01:00
text-decoration: underline;
2023-02-22 12:43:39 +01:00
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.container {
2023-02-26 16:29:05 +01:00
height: calc(100vh - 100px); // 100% - nav
2023-02-22 12:43:39 +01:00
}
2023-02-26 16:29:05 +01:00
* {
scrollbar-width: auto !important;
2023-02-22 12:43:39 +01:00
scrollbar-color: $contrast transparent;
}
2023-01-27 21:41:08 +01:00
.btn {
2023-02-26 16:29:05 +01:00
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
}
2023-01-27 21:41:08 +01:00
}
.primary-btn {
2023-02-26 16:29:05 +01:00
@extend .btn;
background-color: #fcbf49;
&:hover {
background-color: #ac7b19;
}
2023-01-27 21:41:08 +01:00
}
.danger-btn {
2023-02-26 16:29:05 +01:00
@extend .btn;
background-color: #fc5e49;
&:hover {
background-color: #ac1919;
}
2023-01-27 21:41:08 +01:00
}
.border-primary-btn {
2023-02-26 16:29:05 +01:00
@extend .btn;
background-color: transparent;
border: 1px solid #fcbf49;
color: #fcbf49;
&:hover {
background-color: #fcbf49;
color: black;
}
2023-01-27 21:41:08 +01:00
}
.input {
2023-02-26 16:29:05 +01:00
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;
}
2023-01-27 21:41:08 +01:00
}
.flex-row-center {
2023-02-26 16:29:05 +01:00
display: flex;
justify-content: center;
2023-01-27 21:41:08 +01:00
}
2023-02-26 16:29:05 +01:00
2023-01-27 21:41:08 +01:00
@for $f from 0 through 100 {
2023-02-26 16:29:05 +01:00
.wp-#{$f} {
width: 1% * $f;
}
2023-01-27 21:41:08 +01:00
}
2023-02-26 16:29:05 +01:00
.sv-dropdown {
z-index: 10 !important;
2023-02-22 12:43:39 +01:00
}
2023-02-26 16:29:05 +01:00
.strong {
font-weight: 900;
2023-02-22 12:43:39 +01:00
}
2023-02-26 16:29:05 +01:00
.contrast {
color: $contrast;
}
.loading {
cursor: progress;
}