Reformat code
This commit is contained in:
parent
6e27539eca
commit
420cd788c4
1 changed files with 10630 additions and 2646 deletions
54
src/library/forms.scss
Normal file
54
src/library/forms.scss
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
@import 'text';
|
||||
@import 'animations';
|
||||
|
||||
textarea {
|
||||
@include normal-text();
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
resize: none;
|
||||
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
}
|
||||
|
||||
input[type='text'] {
|
||||
@include sub-title-text();
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
|
||||
display: block;
|
||||
border: 0;
|
||||
|
||||
&::placeholder {
|
||||
color: inherit;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 1px $text-color;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
-webkit-appearance: none;
|
||||
|
||||
margin: 8px auto 0 auto;
|
||||
user-select: none;
|
||||
|
||||
background: transparent;
|
||||
border: 0;
|
||||
text-decoration: underline;
|
||||
|
||||
@include medium-text();
|
||||
@include jump();
|
||||
}
|
||||
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
Loading…
Reference in a new issue