mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-14 04:32:31 -05:00
23 lines
474 B
SCSS
Vendored
23 lines
474 B
SCSS
Vendored
#subscription-form {
|
|
$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;
|
|
}
|
|
}
|
|
}
|