40 lines
528 B
SCSS
40 lines
528 B
SCSS
@charset "UTF-8";
|
|
|
|
// form inputs
|
|
.funky-box {
|
|
// background: $light;
|
|
padding: 1em;
|
|
border-radius: 0.25em;
|
|
border-bottom: 3px solid $primary_color;
|
|
|
|
&:focus {
|
|
color: $primary_color;
|
|
}
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
@extend .funky-box;
|
|
}
|
|
|
|
textarea {
|
|
margin-top: 1em;
|
|
border-left: 3px solid $primary_color;
|
|
}
|
|
|
|
label {
|
|
&[for] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:not([for]) {
|
|
color: $dusty-orange;
|
|
|
|
&:before {
|
|
content: "ce label n'a pas d'attribut for, c'est mal.";
|
|
color: $violet;
|
|
}
|
|
}
|
|
}
|