2017-11-21 23:12:31 -05:00
|
|
|
.contact-page-component {
|
|
|
|
$trans-speed: 100ms;
|
2018-04-26 20:09:00 -04:00
|
|
|
padding-top: 35px;
|
|
|
|
padding-bottom: 0px;
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
input, textarea {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px 10px;
|
2018-04-26 00:02:56 -04:00
|
|
|
border: 2px solid fade-out($c-base, 0.75);
|
2017-11-21 23:12:31 -05:00
|
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
|
|
font-size: 14px;
|
|
|
|
transition: border $trans-speed;
|
2018-04-26 00:02:56 -04:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 2px solid fade-out($c-accent, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
border: 2px solid $c-error;
|
|
|
|
}
|
2017-11-21 23:12:31 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
textarea {
|
|
|
|
resize: none;
|
|
|
|
height: 150px;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
.submit {
|
2018-04-26 00:02:56 -04:00
|
|
|
@include font-sans-bold;
|
|
|
|
background-color: lighten($c-accent, 5%);
|
2017-11-21 23:12:31 -05:00
|
|
|
color: $c-text-light;
|
|
|
|
text-align: center;
|
|
|
|
transition: background-color $trans-speed;
|
2018-04-26 00:02:56 -04:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $c-accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
background-color: $c-base;
|
|
|
|
}
|
2017-11-21 23:12:31 -05:00
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
.notification {
|
|
|
|
margin: 0px auto 15px auto;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background-color: lighten($c-error, 15%);
|
|
|
|
color: $c-text-light;
|
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity $trans-speed;
|
2018-04-26 00:02:56 -04:00
|
|
|
|
|
|
|
&.visible {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
&.success {
|
2018-04-26 00:02:56 -04:00
|
|
|
@include font-sans-bold;
|
2017-11-21 23:12:31 -05:00
|
|
|
background-color: transparent;
|
|
|
|
color: $c-text;
|
2018-04-26 00:02:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
@include font-sans-bold;
|
2016-01-26 23:20:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|