refactor from PostCSS to SASS
This commit is contained in:
parent
56791937ff
commit
7f097d7700
28 changed files with 139 additions and 179 deletions
30
assets/css/form.scss
Normal file
30
assets/css/form.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
input, textarea, select {
|
||||
background: transparent;
|
||||
color: $accent;
|
||||
border: 1px solid $accent;
|
||||
border-radius: 0;
|
||||
padding: 10px;
|
||||
font: inherit;
|
||||
appearance: none;
|
||||
|
||||
&:focus, :active {
|
||||
border-color: $color;
|
||||
outline: 1px solid $color;
|
||||
}
|
||||
|
||||
&:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
background: $background;
|
||||
|
||||
option {
|
||||
background: $background;
|
||||
}
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
color: color-mod($accent) a(50%);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue