hypothetical/resources/assets/sass/sections/_subscription-form.scss

23 lines
489 B
SCSS
Raw Normal View History

.subscription-form-section-component {
$trans-speed: 100ms;
width: 200px;
input {
margin: 5px;
width: calc(100% - 10px);
padding: 3px;
border: 1px solid lighten($c-accent, 50%);
2018-04-25 23:47:09 -04:00
font-size: 14px;
text-align: center;
transition: border-color $trans-speed;
&.error {
border-color: $c-error;
}
2018-04-25 23:47:09 -04:00
&::placeholder, &[type="submit"] {
text-transform: uppercase;
}
}
}