Generateurv2/frontend/styles/global_components.scss

131 lines
2.4 KiB
SCSS
Raw Normal View History

2022-05-18 10:15:54 +02:00
@import "./variables";
2022-06-24 13:42:16 +02:00
@import "./mixins";
2022-05-18 10:15:54 +02:00
.exo-input {
background-color: inherit;
2022-06-24 13:42:16 +02:00
color: inherit;
//height: 30px;
2022-05-18 10:15:54 +02:00
padding: 5px 10px;
2022-06-24 13:42:16 +02:00
width: 100%;
2022-05-18 10:15:54 +02:00
border-radius: 5px;
font-size: 16px;
font-weight: 450;
border: none;
margin: 10px 0;
float: left;
transition: 0.3s;
border-bottom: 1px solid $border;
border-radius: 0;
&:focus {
border: none;
outline: none;
border-radius: 0;
border-bottom: 1.5px solid $contrast;
transition: 0.3s;
//box-shadow: 0 0 0 3px lighten($color: $border, $amount: 20);
}
&::placeholder {
color: lighten($color: $border, $amount: 20);
font-size: 14px;
}
2022-06-24 13:42:16 +02:00
2022-05-18 10:15:54 +02:00
}
.exo-btn {
border: none;
border-radius: 5px;
//width: 25%;
height: 38px;
font-weight: 700;
background-color: $primary;
transition: 0.3s;
margin-bottom: 10px;
margin-right: 7px;
padding: 0 10%;
&:hover {
background-color: darken($color: $primary, $amount: 25);
}
2022-06-24 13:42:16 +02:00
&:disabled:hover{
background-color: $primary;
}
2022-05-18 10:15:54 +02:00
}
.cancel-btn {
@extend .exo-btn;
background-color: $red;
&:hover {
background-color: darken($color: $red, $amount: 25);
}
}
2022-06-24 13:42:16 +02:00
.search-container {
2022-05-18 10:15:54 +02:00
z-index: 10;
}
2022-06-24 13:42:16 +02:00
.search__control,
.card-select__control {
2022-05-18 10:15:54 +02:00
//background-color: $background-dark!important;
2022-06-24 13:42:16 +02:00
background-color: transparent !important;
border: none !important;
border-bottom: 1px solid $border !important;
border-radius: 0 !important;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.search__control--is-focused,
.card-select--is-focused {
border: none !important;
border-bottom: 1px solid $contrast !important;
box-shadow: none !important;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.search-container {
2022-05-18 10:15:54 +02:00
color: white;
2022-06-24 13:42:16 +02:00
width: 100%;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.search__menu,
.card-select__menu {
background-color: $background-light !important;
z-index: 100 !important;
2022-05-18 10:15:54 +02:00
scrollbar-color: $contrast $background;
}
2022-06-24 13:42:16 +02:00
.search__input-container {
color: white !important;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.card-select__menu-list {
z-index: 10000 !important;
max-height: 200px !important;
2022-05-18 10:15:54 +02:00
}
// editor
2022-06-24 13:42:16 +02:00
.model_input-code_input {
2022-05-18 10:15:54 +02:00
border-radius: 3px;
2022-06-24 13:42:16 +02:00
width: 100% !important;
height: 95% !important;
2022-05-18 10:15:54 +02:00
}
2022-06-24 13:42:16 +02:00
.red {
2022-05-18 10:15:54 +02:00
color: $red;
}
2022-06-24 13:42:16 +02:00
.italic {
font-style: italic;
}
.back-arrow {
width: 20px;
height: 20px;
position: relative;
left: -45px;
&:hover {
transform: scale(1.1);
}
@include down(1800){
left: 0;
}
}