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

56 lines
1.3 KiB
SCSS
Raw Normal View History

2015-01-26 12:25:21 +01:00
// Modular Showcase styling
.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%;
}
}
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;
}
2015-01-26 17:25:37 +01:00
#simple_form-success, #simple_form-submit {
display: inline-block;
strong {
margin-left: 1rem;
}
.close {
display: none;
}
}
2015-01-26 12:25:21 +01:00
}