grav-theme-libretic/scss/template/modular/_contact.scss

70 lines
1.6 KiB
SCSS
Raw Normal View History

2015-01-27 09:27:42 +01:00
// Modular Contact styling
2015-01-26 12:25:21 +01:00
.contact {
h4 {
text-align: left;
}
2015-01-26 13:08:50 +01:00
input {
width: 50%;
line-height: 2rem;
@include breakpoint(mobile-only) {
min-width: 80%;
}
@include breakpoint(tablet-range) {
min-width: 70%;
}
}
textarea {
min-width: 80%;
min-height: 25rem;
@include breakpoint(mobile-only) {
min-width: 100%;
}
@include breakpoint(tablet-range) {
min-width: 90%;
}
}
.dropzone {
width: 80%;
@include breakpoint(mobile-only) {
min-width: 100%;
}
@include breakpoint(tablet-range) {
min-width: 90%;
}
}
.dropzone .dz-preview .dz-error-message {
top: 160px;
}
2015-01-26 13:08:50 +01:00
input, textarea {
2015-01-26 17:25:37 +01:00
@extend .default-animation;
2015-01-26 13:08:50 +01:00
border: 0 none;
background: transparentize($core-text, 0.8);
box-shadow: none;
2015-01-26 17:25:37 +01:00
&:focus {
border-radius: 0 !important;
box-shadow: none;
background: transparentize($core-text, 0.89);
}
2015-01-26 13:08:50 +01:00
}
label {
@extend h4;
font-size: 1rem;
}
button {
@extend .button;
@extend .default-animation;
font-family: $font-family-header;
text-transform: uppercase;
display: block;
2015-01-26 13:08:50 +01:00
}
2015-01-26 17:25:37 +01:00
#simple_form-success, #simple_form-submit {
display: inline-block;
strong {
margin-left: 1rem;
}
.close {
display: none;
}
}
}