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

56 lines
887 B
SCSS
Raw Normal View History

@charset "UTF-8";
2019-08-12 21:54:40 +02:00
input,
select,
textarea {
padding: 1rem;
border-top: none;
border-right: none;
border-bottom: 3px solid $primary_color;
2019-08-12 21:54:40 +02:00
border-left: none;
}
input,
2019-08-12 21:54:40 +02:00
select {
display: inline-block;
}
textarea {
2019-08-12 21:54:40 +02:00
width: 100%;
border-left: 3px solid $primary_color;
}
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;
}
}
}