funky-framadate-front/src/assets/scss/atoms/_forms.scss

54 lines
822 B
SCSS
Raw Normal View History

@charset "UTF-8";
2019-08-12 21:54:40 +02:00
input,
select,
textarea {
padding: 1rem;
2019-09-06 10:41:48 +02:00
border: 1px solid $secondary_color;
border-bottom: 3px solid $primary_color;
2019-09-06 10:41:48 +02:00
}
input,
2019-08-12 21:54:40 +02:00
select {
display: inline-block;
}
textarea {
2019-08-12 21:54:40 +02:00
width: 100%;
}
2019-08-11 17:06:07 +02:00
2019-08-12 21:54:40 +02:00
select,
option {
// delete default display
-webkit-appearance : none;
-moz-appearance : none;
background: none;
border-radius: 0;
2019-08-15 20:44:42 +02:00
background-color: transparent;
background-image: url("./assets/img/fleche_bas.png");
background-repeat: no-repeat;
background-size: 9px 8px;
background-position: right center;
background-clip: border-box;
// TODO -> check what angular can do
2019-08-12 21:54:40 +02:00
}
2019-08-11 17:06:07 +02:00
label {
&[for] {
cursor: pointer;
}
&:not([for]) {
color: $dusty-orange;
&:before {
content: "ce label n'a pas d'attribut for, c'est mal.";
color: $violet;
}
}
}