Reformat code

This commit is contained in:
schmelczerandras 2019-08-24 15:25:43 +02:00
commit 420cd788c4

54
src/library/forms.scss Normal file
View 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;
}