mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-23 10:00:23 -05:00
34 lines
814 B
SCSS
Vendored
34 lines
814 B
SCSS
Vendored
.subscription-form-section-component {
|
|
$trans-speed: 100ms;
|
|
width: pxrem(200);
|
|
border: 2px solid fade-out($c-base, 0.75);
|
|
border-radius: pxrem(3);
|
|
background-color: lighten($c-base, 75%);
|
|
|
|
input {
|
|
margin: pxrem(5);
|
|
width: calc(100% - #{pxrem(10)});
|
|
padding: pxrem(3);
|
|
border: 2px solid fade-out($c-base, 0.75);
|
|
font-size: pxrem(14);
|
|
text-align: center;
|
|
transition: border-color $trans-speed;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
&.error {
|
|
border-color: $c-error;
|
|
}
|
|
|
|
&::placeholder, &[type="submit"] {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&[type="submit"] {
|
|
@include font-sans-bold;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|