This commit is contained in:
rayelliott 2020-06-06 18:52:10 +00:00
parent f17caf7154
commit 97d7c668a3
4 changed files with 58 additions and 24 deletions

View File

@ -8,6 +8,7 @@
window.addEventListener('DOMContentLoaded', event => { window.addEventListener('DOMContentLoaded', event => {
// TODO this selector needs to be robuts // TODO this selector needs to be robuts
const enquiryForm = document.querySelector('#wpcf7-f1041-o1 > form'); const enquiryForm = document.querySelector('#wpcf7-f1041-o1 > form');
const cookieShow = document.getElementById('js-cookie-show');
const intersectionSupport = !!window.IntersectionObserver; const intersectionSupport = !!window.IntersectionObserver;
function updateObservedCount() { function updateObservedCount() {
@ -45,5 +46,17 @@
} }
updateObservedCount(); updateObservedCount();
}); });
if (cookieShow) {
document.body.classList.add('hide-cookie-hdr-showagain');
cookieShow.addEventListener('click', () => {
CLI.showagain_elm.slideUp(CLI.settings.animate_speed_hide, () => {
CLI.bar_elm.slideDown(CLI.settings.animate_speed_show);
if (CLI_COOKIEBAR_AS_POPUP) {
CLI.showPopupOverlay();
}
});
});
}
}); });
})(); })();

View File

@ -21,6 +21,13 @@ body.rwavw-custom {
margin-bottom: 22px; margin-bottom: 22px;
} }
.col-details {
font-size: 22px;
font-weight: 600;
opacity: 0.5;
line-height: 1.4;
}
p { p {
font-size:19px; font-size:19px;
margin-bottom: 22px; margin-bottom: 22px;
@ -87,26 +94,8 @@ body.rwavw-custom {
} }
} }
.pure-g > div:first-child { .col-details {
position: relative; text-transform: none;
&::after {
content: '';
display: block;
position: absolute;
height: 100%;
top: 0;
left: 15px;
right: 15px;
$bg-color: $neutral-900;
background-color: rgba($bg-color, 0.2);
box-shadow: 0 0 66px 0 rgba($bg-color, 0.4) inset;
@media (min-width: 64em) {
right: 44px;
}
}
} }
img { img {

View File

@ -14,11 +14,11 @@ body.rwavw-custom {
background-color: inherit; background-color: inherit;
} }
a { a,
button{
padding-top: 9px; padding-top: 9px;
padding-bottom: 9px; padding-bottom: 9px;
margin-top: -9px; margin: -9px -6px;
margin-bottom: -9px;
color: $accent-500; color: $accent-500;
font-family: "Open Sans", Helvetica, Arial, sans-serif; font-family: "Open Sans", Helvetica, Arial, sans-serif;
@ -41,6 +41,10 @@ body.rwavw-custom {
} }
} }
.button--link {
border: 0;
}
.heading, .heading,
.heading-col-title { .heading-col-title {
color: inherit; color: inherit;

View File

@ -16,6 +16,23 @@
} }
body.rwavw-custom { body.rwavw-custom {
&.hide-cookie-hdr-showagain {
#cookie-law-info-again {
display: none !important;
}
}
.responsive-nav span,
.responsive-nav span::before,
.responsive-nav span::after {
background-color: $neutral-900;
}
.wrapper[class*=" off-canvas"] li > a {
font-size: 18px;
padding: 9px 0;
}
#top-nav { #top-nav {
.nav, .nav,
.logo { .logo {
@ -53,7 +70,7 @@ body.rwavw-custom {
} }
} }
.wrapper-site > .wrapper-content > .widget { &.home .wrapper-site > .wrapper-content > .widget {
margin-bottom: 44px; margin-bottom: 44px;
&.rwavw-feature-details { &.rwavw-feature-details {
@ -203,11 +220,22 @@ body.rwavw-custom {
opacity: 1; opacity: 1;
} }
&.link-social:link,
&.link-social:visited {
font-weight: 600;
font-size: 15px;
}
&:hover, &:hover,
&:active { &:active {
opacity: 0.7; opacity: 0.7;
} }
&.link-social:hover,
&.link-social:active {
// opacity: 0.4;
}
svg { svg {
position: relative; position: relative;
width: auto; width: auto;