1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-29 07:16:17 +01:00
site/_src/_assets/styles/_sections/_section-newsletter.scss

76 lines
1.2 KiB
SCSS
Raw Normal View History

2018-05-09 12:32:44 +02:00
.section--newsletter {
background: $brand-primary;
align-items: flex-start;
.form-group,
.grid { margin-bottom: 0; }
.form-control {
border-color: $gray-dark;
&:focus {
border-color: #000;
}
2018-06-13 12:37:11 +02:00
&.parsley-error {
border-color: $brand-danger !important; // stylelint-disable-line
}
2018-05-09 12:32:44 +02:00
}
.btn {
background: $brand-main-blue;
}
.form-label,
.form-control,
.form-control:focus ~ .form-label {
color: $gray-dark;
}
.form-control-feedback {
@extend .bold;
margin-top: $spacer / 2;
}
.form--newsletter {
margin-top: $spacer * 2;
}
2018-06-13 12:37:11 +02:00
.parsley-errors-list {
right: auto;
left: 0;
bottom: -.25rem;
}
2018-05-09 12:32:44 +02:00
}
.newsletter__title {
@extend .h5;
margin-top: 0;
margin-bottom: $spacer / 4;
}
.newsletter__title,
.newsletter__text,
.newsletter__gdpr {
color: $gray-dark;
}
.newsletter__gdpr {
2018-05-09 13:37:28 +02:00
opacity: .8;
2018-05-09 12:32:44 +02:00
.icon {
stroke: $brand-main-blue;
color: $brand-main-blue;
}
a {
box-shadow: inset 0 -1px 0 $brand-main-blue;
&:hover,
&:focus {
background: $brand-main-blue;
}
}
}