From 2a60e9eb179be2e06090eba35c5db6193ff6f4db Mon Sep 17 00:00:00 2001 From: Andy Tudhope Date: Sat, 29 Sep 2018 01:17:24 +0200 Subject: [PATCH] Style update --- themes/navy/source/css/_partial/main.styl | 155 ---------------------- 1 file changed, 155 deletions(-) diff --git a/themes/navy/source/css/_partial/main.styl b/themes/navy/source/css/_partial/main.styl index d3bad10..22d752d 100644 --- a/themes/navy/source/css/_partial/main.styl +++ b/themes/navy/source/css/_partial/main.styl @@ -664,161 +664,6 @@ select[multiple] { } } -.email-form { - width: 460px; - margin: 0 0 70px 0; - border-radius: 8px; -} - -.email-form .hbspt-form { - width: 460px; -} - -.email-form .hbspt-form form { - display: flex; - width: 460px; - position: relative; -} - -.email-form .hbspt-form .hs-error-msgs { - color: rgba(255, 255, 255, 0.5); - line-height: 14px; - position: absolute; - transform: translate3d(0, 10px, 0); - transition: transform .2s ease, opacity .2s ease; -} - -.email-form .hbspt-form .hs-error-msgs li { - text-align: left; -} - -.email-form .hbspt-form .hs-error-msgs li label { - font-size: 14px; - font-family: 'PostGrotesk-Book', sans-serif; -} - -.email-form .hbspt-form .hs_error_rollup { - display: none; -} - -.email-form .hbspt-form .submitted-message { - padding: 12px; - border-radius: 22px; - background-color: rgba(0, 0, 0, 0.2); - color: white; -} - -.email-form .hbspt-form .hs_email { - width: 300px; - box-sizing: border-box; -} - -.email-form .hbspt-form .hs_email > label { - display: none; -} - -.email-form .hbspt-form .hs_email input[type="email"]::-webkit-input-placeholder, .email-form .hbspt-form .hs_email input[type="email"]::-moz-placeholder, .email-form .hbspt-form .hs_email input[type="email"]:-ms-input-placeholder { - color: #8D99A4; -} - -.email-form .hbspt-form .hs_email input[type="email"]:-moz-placeholder { - color: #8D99A4; -} - -.email-form .hbspt-form .hs-input { - box-sizing: border-box; - height: 44px; - width: 100%; - text-align: left; - background-color: #F2F6F8; - color: #000000; - padding: 0 15px; - margin: 0; - font-family: "PostGrotesk-Book", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; - border-radius: 22px 0 0 22px; - transition: background-color .2s ease; - font-weight: 400; - font-size: 16px; -} - -.email-form .hbspt-form .hs_submit { - width: 160px; - box-sizing: border-box; - flex-shrink: 0; - flex-grow: 0; -} - -.email-form .hbspt-form .hs_submit input[type="submit"].hs-button { - height: 44px; - width: 100%; - box-sizing: border-box; - line-height: 45px; - padding: 0 20px; - font-family: "PostGrotesk-Medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; - font-size: 14px; - text-transform: uppercase; - text-align: center; - letter-spacing: 1px; - color: #262A39; - background-color: #D7D7E0; - border-radius: 0 22px 22px 0; - transform: translate3d(0, 0, 0) scale(1); - transition: transform .1s ease, box-shadow .2s ease, background-color .2s ease; - -webkit-appearance: none; - cursor: pointer; -} - -.email-form .hbspt-form .hs_submit input[type="submit"].hs-button:hover { - background-color: #C2C3D0; -} - -@media (max-width: 640px) { - .email-form { - width: 240px; - } - - .email-form .hbspt-form { - width: 100%; - } - - .email-form .hbspt-form form { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - margin: 0 auto; - width: 100%; - } - - .email-form .hbspt-form form .hs_email input[type="email"] { - width: 240px; - border-radius: 22px; - margin: 0 0 8px 0; - text-align: center; - padding-top: 3px; - } - - .email-form .hbspt-form form .hs_submit, - .email-form .hbspt-form form .hs_submit input[type="submit"].hs-button { - width: 240px; - border-radius: 22px; - } - - .email-form .hbspt-form .hs-error-msgs { - line-height: 20px; - margin-top: 44px; - width: 100%; - } - - .email-form .hbspt-form .hs-error-msgs li { - text-align: center; - } - - .email-form .hbspt-form .hs_email { - width: 240px; - } -} - .pre-footer { width: 100%; background-color: #262A39;