Generateurv2/frontend/styles/exos/ModelInput.module.scss
Kilton937342 035af2a3b7 modifs
2022-06-11 23:39:03 +02:00

130 lines
2.1 KiB
SCSS

@import "../variables";
.open-btn {
height: max-content;
}
.button-lang {
//height: 3.5vh;
width: 5%;
min-width: max-content;
border: none;
border-radius: 5px;
color: white;
font-weight: bolder;
margin: 2%;
margin-left: 0;
display: flex;
align-items: center;
padding: 10px;
margin-right: 0;
gap: 5px;
& > svg {
height: 120%;
}
}
.button-lang-python {
background-color: $bleu;
transition:.3s;
border: 1px solid $bleu;
box-shadow: 0px 0px 10px 1px rgba(11, 2, 72, 0.72);
&:hover {
background-color: darken($color: $bleu, $amount: 15);
box-shadow: 0px 0px 10px 1px rgba(11, 2, 65, 0.72);
border: 1px solid darken($color: $bleu, $amount: 15);
}
}
.btn-disabled {
background-color: grey;
&:hover {
background-color: grey;
}
}
.input-container {
display: flex;
align-items: center;
& > svg {
height: 100%;
width: 5%;
}
& > p {
margin: 1%;
font-weight: 600;
}
}
.inputfile {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
& + label {
font-size: 1;
font-weight: 700;
color: black;
background-color: $primary;
display: inline-block;
padding: 10px;
border-radius: 5px;
white-space: nowrap;
transition:.3s;
&:hover {
background-color: $primary-dark;
}
}
}
.fileinput-container {
display: flex;
border: $primary 1px solid;
border-radius: 5px;
align-items: center;
}
.filename {
max-width: 200px;
text-align: center;
min-width: 100px;
color: $primary;
font-weight: 700;
text-overflow: ellipsis;
overflow: hidden;
padding: 10px;
white-space: nowrap;
cursor: default;
display: flex;
align-items: center;
justify-content: center;
gap: 5%;
& svg {
cursor: pointer;
}
}
.inputfile + label {
cursor: pointer; /* "hand" cursor */
}
/* .inputfile:focus + label,
.inputfile + label:hover {
background-color: $primary-dark;
}
*/
.inputfile + label svg {
width: 1em;
height: 1em;
vertical-align: middle;
fill: currentColor;
margin-top: -0.25em;
/* 4px */
margin-right: 0.25em;
/* 4px */
}