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

40 lines
906 B
SCSS
Raw Normal View History

.subscription-form-section-component {
$trans-speed: 100ms;
width: pxrem(200);
border: pxrem(2) solid fade-out($c-base, 0.75);
border-radius: pxrem(3);
background-color: lighten($c-base, 75%);
.notification {
padding: pxrem(2);
text-align: center;
}
input {
margin: pxrem(5);
width: calc(100% - #{pxrem(10)});
padding: pxrem(3);
border: pxrem(2) solid fade-out($c-base, 0.75);
font-size: pxrem(14);
2018-04-25 23:47:09 -04:00
text-align: center;
transition: border-color $trans-speed;
&:not(:last-child) {
margin-bottom: 0px;
}
&.error {
border-color: $c-error;
}
2018-04-25 23:47:09 -04:00
&::placeholder, &[type="submit"] {
text-transform: uppercase;
}
&[type="submit"] {
@include font-sans-bold;
cursor: pointer;
}
}
}