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
|
|
|
|
|
|
|
/* .input-challenge {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
color: whitesmoke;
|
|
|
|
width: 50px;
|
|
|
|
padding: 5px;
|
|
|
|
&:focus {
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
background-color: rgba($background, 0.3);
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
.span {
|
|
|
|
border: 2px solid #666;
|
|
|
|
/* box-sizing: border-box; */
|
|
|
|
/* padding: 0.5em 1em; */
|
|
|
|
//padding: 0.5em 1em;
|
|
|
|
|
|
|
|
outline: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
color: whitesmoke;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
2022-06-24 13:42:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
min-height: 30px;
|
2022-05-18 10:15:54 +02:00
|
|
|
width: 6em;
|
|
|
|
//padding: 0.5em 1em;
|
|
|
|
font-size: 1em;
|
|
|
|
outline: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1.5px solid lighten($color: $border, $amount: 10);
|
|
|
|
color: whitesmoke;
|
|
|
|
min-width: 50px;
|
|
|
|
padding: 5px;
|
|
|
|
max-width: 200px;
|
|
|
|
&:focus {
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
background-color: rgba($background, 0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.span {
|
|
|
|
position: absolute;
|
|
|
|
left: -9999px;
|
|
|
|
display: inline-block;
|
|
|
|
// min-width: 6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.valid {
|
|
|
|
border-bottom: 2px solid $green;
|
|
|
|
color: $green;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invalid {
|
|
|
|
border-bottom: 2px solid $red;
|
|
|
|
color: $red;
|
|
|
|
font-weight: 900;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .disabled{
|
|
|
|
background: rgba($background, 0.2);
|
|
|
|
} */
|
|
|
|
|
|
|
|
.withoutCorrection {
|
|
|
|
border-bottom: 2px solid grey;
|
|
|
|
color: grey;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.correction-menu {
|
|
|
|
position: absolute;
|
2022-06-24 13:42:16 +02:00
|
|
|
|
|
|
|
bottom: calc(100% + 15px);
|
|
|
|
|
|
|
|
@include up(840) {
|
|
|
|
transform: translateX(-40%);
|
|
|
|
}
|
|
|
|
background-color: rgba($background, 0.9);
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
transition: 0.3s;
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
@include up(840) {
|
|
|
|
left: 42%;
|
|
|
|
}
|
|
|
|
top: 100%;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: 15px solid transparent;
|
|
|
|
border-right: 15px solid transparent;
|
|
|
|
border-top: 15px solid rgba($background, 0.9);
|
|
|
|
|
|
|
|
clear: both;
|
|
|
|
}
|
2022-05-18 10:15:54 +02:00
|
|
|
}
|
2022-06-24 13:42:16 +02:00
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
width: min-content;
|
|
|
|
& svg {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
transition: 0.2s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-valid {
|
|
|
|
&:hover {
|
|
|
|
fill: $green !important;
|
|
|
|
}
|
|
|
|
fill: $green;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-invalid {
|
|
|
|
&:hover {
|
|
|
|
fill: $red !important;
|
|
|
|
}
|
|
|
|
fill: $red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unactive {
|
|
|
|
fill: grey;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.correctionInput-main-container{
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
min-height: 30px;
|
|
|
|
}
|