Contact us final updates

This commit is contained in:
Karol Orzeł 2015-01-26 13:08:50 +01:00
parent 215251fa78
commit 8fe8cd8d97
4 changed files with 91 additions and 25 deletions

View file

@ -8,10 +8,10 @@
-o-transform: translateY(-50%); -o-transform: translateY(-50%);
transform: translateY(-50%); } transform: translateY(-50%); }
.button, .button-secondary { .button, .contact button, .button-secondary {
display: inline-block; display: inline-block;
padding: 7px 20px; } padding: 7px 20px; }
.button-small.button, .button-small.button-secondary { .button-small.button, .contact button.button-small, .button-small.button-secondary {
padding: 3px 10px; padding: 3px 10px;
font-size: 0.9rem; } font-size: 0.9rem; }
@ -68,7 +68,7 @@ b, strong, label, th {
src: url("./fonts/Novecentosanswide-Medium-webfont.eot?#iefix") format("embedded-opentype"), url("./fonts/Novecentosanswide-Medium-webfont.woff2") format("woff2"), url("./fonts/Novecentosanswide-Medium-webfont.woff") format("woff"), url("./fonts/Novecentosanswide-Medium-webfont.ttf") format("truetype"), url("./fonts/Novecentosanswide-Medium-webfont.svg#novecento_sans_widemedium") format("svg"); src: url("./fonts/Novecentosanswide-Medium-webfont.eot?#iefix") format("embedded-opentype"), url("./fonts/Novecentosanswide-Medium-webfont.woff2") format("woff2"), url("./fonts/Novecentosanswide-Medium-webfont.woff") format("woff"), url("./fonts/Novecentosanswide-Medium-webfont.ttf") format("truetype"), url("./fonts/Novecentosanswide-Medium-webfont.svg#novecento_sans_widemedium") format("svg");
font-weight: normal; font-weight: normal;
font-style: normal; } font-style: normal; }
.default-animation, #body, .modular .showcase .button, .modular .slideme_container .arrow, .modular .slideme_container .pagination .numbers li, .modular .bottom .button, .callout .notebook .screen .screen-content-hover, .logo h3, .logo ul.social-icons li, .logo ul.social-icons li a { .default-animation, #body, .modular .showcase .button, .modular .showcase .contact button, .contact .modular .showcase button, .modular .slideme_container .arrow, .modular .slideme_container .pagination .numbers li, .modular .bottom .button, .modular .bottom .contact button, .contact .modular .bottom button, .contact button, .callout .notebook .screen .screen-content-hover, .logo h3, .logo ul.social-icons li, .logo ul.social-icons li a {
-webkit-transition: all 0.5s ease; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease; -moz-transition: all 0.5s ease;
transition: all 0.5s ease; } transition: all 0.5s ease; }
@ -274,7 +274,7 @@ b, strong, label, th {
clear: both; } clear: both; }
.footer a { .footer a {
color: #9A9898; } color: #9A9898; }
.footer h4 { .footer h4, .footer .contact label, .contact .footer label {
line-height: 2rem; line-height: 2rem;
margin-top: 0; margin-top: 0;
text-align: left; text-align: left;
@ -409,7 +409,7 @@ body {
font-family: "Helvetica Neue", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, "Lucida Grande", sans-serif; font-family: "Helvetica Neue", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 400; } font-weight: 400; }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, .contact label, h5, h6 {
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility; } text-rendering: optimizeLegibility; }
@ -439,17 +439,17 @@ h2 {
h3 { h3 {
font-size: -1rem; } } font-size: -1rem; } }
h4 { h4, .contact label {
font-size: 1.2rem; font-size: 1.2rem;
font-weight: normal; font-weight: normal;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
color: #656161; } color: #656161; }
@media only all and (min-width: 48em) and (max-width: 59.938em) { @media only all and (min-width: 48em) and (max-width: 59.938em) {
h4 { h4, .contact label {
font-size: 1.35rem; } } font-size: 1.35rem; } }
@media only all and (max-width: 47.938em) { @media only all and (max-width: 47.938em) {
h4 { h4, .contact label {
font-size: 1.25rem; } } font-size: 1.25rem; } }
h1 { h1 {
@ -608,14 +608,14 @@ td {
padding: 0.5rem; padding: 0.5rem;
border: 1px solid #d8d8d8; } border: 1px solid #d8d8d8; }
.button { .button, .contact button {
background: #87b672; background: #87b672;
color: #fff; color: #fff;
border: 1px solid #87b672; } border: 1px solid #87b672; }
.button:hover { .button:hover, .contact button:hover {
background: #fff; background: #fff;
color: #87b672; } color: #87b672; }
.button:active { .button:active, .contact button:active {
box-shadow: 0 1px 0 #679b50; } box-shadow: 0 1px 0 #679b50; }
.button-secondary { .button-secondary {
@ -755,12 +755,12 @@ td {
border-bottom: 0; } border-bottom: 0; }
.list-item .list-blog-header { .list-item .list-blog-header {
position: relative; } position: relative; }
.list-item .list-blog-header h4 { .list-item .list-blog-header h4, .list-item .list-blog-header .contact label, .contact .list-item .list-blog-header label {
text-align: left; text-align: left;
margin-bottom: 1.5rem; } margin-bottom: 1.5rem; }
.list-item .list-blog-header h4 a { .list-item .list-blog-header h4 a, .list-item .list-blog-header .contact label a, .contact .list-item .list-blog-header label a {
color: #656161; } color: #656161; }
.list-item .list-blog-header h4 a:hover { .list-item .list-blog-header h4 a:hover, .list-item .list-blog-header .contact label a:hover, .contact .list-item .list-blog-header label a:hover {
color: #87b672; } color: #87b672; }
.list-item .list-blog-header img { .list-item .list-blog-header img {
display: block; display: block;
@ -858,7 +858,7 @@ div#breadcrumbs {
padding-left: 0; } } padding-left: 0; } }
#sidebar .sidebar-content { #sidebar .sidebar-content {
margin-bottom: 3rem; } margin-bottom: 3rem; }
#sidebar .sidebar-content h4 { #sidebar .sidebar-content h4, #sidebar .sidebar-content .contact label, .contact #sidebar .sidebar-content label {
margin-bottom: 1rem; margin-bottom: 1rem;
text-align: left; } text-align: left; }
#sidebar .sidebar-content p, #sidebar .sidebar-content ul { #sidebar .sidebar-content p, #sidebar .sidebar-content ul {
@ -976,7 +976,7 @@ ul.pagination {
padding-right: 0; padding-right: 0;
margin-left: 4rem; margin-left: 4rem;
margin-right: 4rem; } } margin-right: 4rem; } }
.modular .showcase .button { .modular .showcase .button, .modular .showcase .contact button, .contact .modular .showcase button {
color: #FFFFFF; color: #FFFFFF;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
padding: 0.3rem 1rem; padding: 0.3rem 1rem;
@ -985,7 +985,7 @@ ul.pagination {
border-radius: 0; border-radius: 0;
box-shadow: none; box-shadow: none;
font-size: 1rem; } font-size: 1rem; }
.modular .showcase .button:hover { .modular .showcase .button:hover, .modular .showcase .contact button:hover, .contact .modular .showcase button:hover {
background: rgba(255, 255, 255, 0.2); } background: rgba(255, 255, 255, 0.2); }
.modular .slideme_container .arrow { .modular .slideme_container .arrow {
position: absolute; position: absolute;
@ -1075,7 +1075,7 @@ ul.pagination {
@media only all and (max-width: 47.938em) { @media only all and (max-width: 47.938em) {
.modular .features p { .modular .features p {
font-size: 1rem; } } font-size: 1rem; } }
.modular .features .button { .modular .features .button, .modular .features .contact button, .contact .modular .features button {
background-color: #87b672; background-color: #87b672;
color: #FFFFFF; color: #FFFFFF;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
@ -1104,7 +1104,7 @@ ul.pagination {
width: 100%; } } width: 100%; } }
.modular .features .feature i.fa { .modular .features .feature i.fa {
font-size: 2rem; } font-size: 2rem; }
.modular .features .feature h4 { .modular .features .feature h4, .modular .features .feature .contact label, .contact .modular .features .feature label {
margin: 0; margin: 0;
font-size: 1.1rem; } font-size: 1.1rem; }
.modular .features .feature p { .modular .features .feature p {
@ -1126,7 +1126,7 @@ ul.pagination {
padding-right: 2rem; } padding-right: 2rem; }
.modular .features.big .feature-content.icon-offset { .modular .features.big .feature-content.icon-offset {
margin-left: 1rem; } margin-left: 1rem; }
.modular .features.big .feature-content h4 { .modular .features.big .feature-content h4, .modular .features.big .feature-content .contact label, .contact .modular .features.big .feature-content label {
font-size: 1.2rem; } font-size: 1.2rem; }
.modular .features.big .feature-content p { .modular .features.big .feature-content p {
padding: 0; } padding: 0; }
@ -1148,7 +1148,7 @@ ul.pagination {
@media only all and (max-width: 47.938em) { @media only all and (max-width: 47.938em) {
.modular .bottom p { .modular .bottom p {
font-size: 1rem; } } font-size: 1rem; } }
.modular .bottom .button { .modular .bottom .button, .modular .bottom .contact button, .contact .modular .bottom button {
background-color: #87b672; background-color: #87b672;
color: #FFFFFF; color: #FFFFFF;
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
@ -1156,15 +1156,42 @@ ul.pagination {
box-shadow: none; box-shadow: none;
font-size: 1rem; font-size: 1rem;
border: 0 none; } border: 0 none; }
.modular .bottom .button:hover { .modular .bottom .button:hover, .modular .bottom .contact button:hover, .contact .modular .bottom button:hover {
background-color: #558042; } background-color: #558042; }
.modular .bottom.borderbottom { .modular .bottom.borderbottom {
padding-bottom: 0; } padding-bottom: 0; }
.modular .bottom.borderbottom hr { .modular .bottom.borderbottom hr {
padding-top: 3rem; } padding-top: 3rem; }
.contact h4 { .contact h4, .contact label {
text-align: left; } text-align: left; }
.contact input {
width: 50%;
line-height: 2rem; }
@media only all and (max-width: 47.938em) {
.contact input {
min-width: 80%; } }
@media only all and (min-width: 48em) and (max-width: 59.938em) {
.contact input {
min-width: 70%; } }
.contact textarea {
min-width: 80%;
min-height: 25rem; }
@media only all and (max-width: 47.938em) {
.contact textarea {
min-width: 100%; } }
@media only all and (min-width: 48em) and (max-width: 59.938em) {
.contact textarea {
min-width: 90%; } }
.contact input, .contact textarea {
border: 0 none;
background: rgba(154, 152, 152, 0.2);
box-shadow: none; }
.contact label {
font-size: 1rem; }
.contact button {
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-transform: uppercase; }
.callout { .callout {
background: #EEEEEE; background: #EEEEEE;
@ -1290,7 +1317,7 @@ ul.pagination {
float: left; } float: left; }
.logo h3 a { .logo h3 a {
color: #9A9898; } color: #9A9898; }
.logo h4 { .logo h4, .logo .contact label, .contact .logo label {
text-align: left; } text-align: left; }
.logo ul { .logo ul {
margin: 0; margin: 0;

File diff suppressed because one or more lines are too long

View file

@ -3,4 +3,39 @@
h4 { h4 {
text-align: left; text-align: left;
} }
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 {
border: 0 none;
background: transparentize($core-text, 0.8);
box-shadow: none;
}
label {
@extend h4;
font-size: 1rem;
}
button {
@extend .button;
@extend .default-animation;
font-family: $font-family-header;
text-transform: uppercase;
}
} }

View file

@ -1,6 +1,10 @@
<div class="modular-row contact {{ page.header.class }}"> <div class="modular-row contact {{ page.header.class }}">
<div class="g-grid pure-g-r"> <div class="g-grid pure-g-r">
<div id="listing" class="g-block pure-u-2-3"> <div id="listing" class="g-block pure-u-2-3">
{% if config.plugins.simple_form.enabled %}
{% set simple_form_config = page.header.simple_form ?: config.themes.deliver.simple_form %}
{{ simple_form(simple_form_config) }}
{% endif %}
</div> </div>
<div id="sidebar" class="g-block size-1-3 pure-u-1-3"> <div id="sidebar" class="g-block size-1-3 pure-u-1-3">
{{ content }} {{ content }}