mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-23 00:14:10 -05:00
23 lines
492 B
SCSS
Vendored
23 lines
492 B
SCSS
Vendored
.subscription-form-section-component {
|
|
$trans-speed: 100ms;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0px;
|
|
left: 0px;
|
|
transform: translateY(-50%);
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
width: 200px;
|
|
|
|
input {
|
|
margin: 5px;
|
|
width: calc(100% - 10px);
|
|
padding: 3px;
|
|
border: 1px solid lighten($c-accent, 50%);
|
|
transition: border-color $trans-speed;
|
|
|
|
&.error {
|
|
border-color: $c-error;
|
|
}
|
|
}
|
|
}
|