Scoped footer under LP-Footer.

This commit is contained in:
Marcus Scholz 2020-09-06 00:12:55 +02:00
parent fb13f466d0
commit 80bd9bdb13
4 changed files with 241 additions and 261 deletions

View File

@ -2,171 +2,171 @@
$primary-link-color: $-beige; $primary-link-color: $-beige;
$primary-line-color: $-almost-white; $primary-line-color: $-almost-white;
* { .LP-Footer {
box-sizing: border-box
}
ul {
list-style: none
}
a {
text-decoration: none
}
.generic-anchor {
color: $primary-link-color;
&:hover {
color: $primary-line-color
}
}
.flex-rw {
display: flex;
flex-flow: row wrap;
}
footer {
margin: auto; margin: auto;
background: $-grey; background: $-grey;
width: 100%; width: 100%;
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
font-size: 0.75rem; font-size: 0.75rem;
}
.footer-list-top { * {
width: 33.333% box-sizing: border-box
} }
.footer-list-top > li { ul {
text-align: center; list-style: none
padding-bottom: 10px }
}
.footer-list-header { a {
padding: 10px 0 5px 0; text-decoration: none
color: $-almost-white; }
font-size: 2.3vw;
}
.footer-list-anchor { &__generic-anchor {
font-size: 1.3em; color: $primary-link-color;
} &:hover {
color: $primary-line-color
}
}
.footer-social-section { &__flex {
width: 100%; display: flex;
align-items: center; flex-flow: row wrap;
justify-content: space-around; }
position: relative;
margin-top: 5px;
}
.footer-social-section::after { &__list-top {
content: ""; width: 33.333%
position: absolute; }
z-index: 1;
top: 50%;
left: 10px;
border-top: 1px solid $primary-line-color;
width: calc(100% - 20px)
}
.footer-social-overlap { &__list-top > li {
position: relative; text-align: center;
z-index: 2; padding-bottom: 10px
background: $-grey; }
padding: 0 20px;
}
.footer-social-explore { &__list-header {
display: flex; padding: 10px 0 5px 0;
align-items: center; color: $-almost-white;
font-size: 3.5em; font-size: 2.3vw;
color: $-almost-white }
}
.footer-social-small { &__list-anchor {
font-size: 0.6em; font-size: 1.3em;
padding: 0px 20px }
}
.footer-social-overlap > a { &__social-section {
font-size: 3em width: 100%;
} align-items: center;
justify-content: space-around;
position: relative;
margin-top: 5px;
}
.footer-social-overlap > a:not(:first-child) { &__social-section::after {
margin-left: 0.38em content: "";
} position: absolute;
z-index: 1;
top: 50%;
left: 10px;
border-top: 1px solid $primary-line-color;
width: calc(100% - 20px)
}
.footer-bottom-section { &__social-overlap {
width: 100%; position: relative;
padding: 10px; z-index: 2;
border-top: 1px solid $primary-line-color; background: $-grey;
margin-top: 10px padding: 0 20px;
} }
.footer-bottom-section > div:first-child { &__social-explore {
margin-right: auto display: flex;
} align-items: center;
font-size: 3.5em;
color: $-almost-white
}
.footer-bottom-wrapper { &__social-small {
font-size: 1.5em; font-size: 0.6em;
color: $-almost-white padding: 0px 20px
}
&__social-overlap > a {
font-size: 3em
}
&__social-overlap > a:not(:first-child) {
margin-left: 0.38em
}
&__bottom-section {
width: 100%;
padding: 10px;
border-top: 1px solid $primary-line-color;
margin-top: 10px
}
&__bottom-section > div:first-child {
margin-right: auto
}
&__bottom-wrapper {
font-size: 1.5em;
color: $-almost-white
}
} }
@media(max-width: $-viewport-normal) { @media(max-width: $-viewport-normal) {
.footer-list-header { .LP-Footer__list-header {
font-size: 2em font-size: 2em
} }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.1em font-size: 1.1em
} }
.footer-social-connect { .LP-Footer__social-connect {
font-size: 2.5em font-size: 2.5em
} }
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
font-size: 2.24em font-size: 2.24em
} }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em font-size: 1.3em
} }
} }
@media(max-width: $-viewport-medium) { @media(max-width: $-viewport-medium) {
.footer-list-top { .LP-Footer__list-top {
width: 100% width: 100%
} }
.footer-list-header { .LP-Footer__list-header {
font-size: 3em; font-size: 3em;
} }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.5em font-size: 1.5em
} }
.footer-social-section { .LP-Footer__social-section {
justify-content: center justify-content: center
} }
.footer-social-section::after { .LP-Footer__social-section::after {
top: 25% top: 25%
} }
.footer-social-connect { .LP-Footer__social-connect {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0 10px padding: 0 10px
} }
.footer-social-overlap { .LP-Footer__social-overlap {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.footer-social-icons-wrapper { .LP-Footer__social-icons-wrapper {
width: 100%; width: 100%;
padding: 0 padding: 0
} }
.footer-social-overlap > a:not(:first-child) { .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 20px; margin-left: 20px;
} }
.footer-bottom-section { .LP-Footer__bottom-section {
padding: 0 5px 10px 5px padding: 0 5px 10px 5px
} }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
text-align: center; text-align: center;
width: 100%; width: 100%;
margin-top: 10px margin-top: 10px
@ -174,31 +174,31 @@ footer {
} }
@media(max-width: $-viewport-small) { @media(max-width: $-viewport-small) {
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
margin: auto margin: auto
} }
.footer-social-overlap > a:not(:first-child) { .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0; margin-left: 0;
} }
.footer-bottom-rights { .LP-Footer__bottom-rights {
display: block display: block
} }
} }
@media(max-width: $-viewport-extra-small) { @media(max-width: $-viewport-extra-small) {
.footer-list-header { .LP-Footer__list-header {
font-size: 2.2em font-size: 2.2em
} }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.2em font-size: 1.2em
} }
.footer-social-connect { .LP-Footer__social-connect {
font-size: 2.4em font-size: 2.4em
} }
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
font-size: 2.24em font-size: 2.24em
} }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em font-size: 1.3em
} }
} }

View File

@ -1,47 +1,46 @@
<footer class="flex-rw"> <footer class="LP-Footer LP-Footer__flex">
<ul class="LP-Footer__list-top">
<ul class="footer-list-top"> <li><h4 class="LP-Footer__list-header">About Pavilion</h4></li>
<li><h4 class="footer-list-header">About Pavilion</h4></li> <li><a href='/shop/about-mission' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">GET TO KNOW US</a></li>
<li><a href='/shop/about-mission' class="generic-anchor footer-list-anchor" itemprop="significantLink">GET TO KNOW US</a></li> <li><a href='/promos.html' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">PROMOS</a></li>
<li><a href='/promos.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">PROMOS</a></li> <li><a href='/retailers/new-retailers.html' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">BECOME A RETAILER</a></li>
<li><a href='/retailers/new-retailers.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">BECOME A RETAILER</a></li> <li><a href='/job-openings.html' itemprop="significantLink" class="LP-Footer__generic-anchor LP-Footer__list-anchor">JOB OPENINGS</a></li>
<li><a href='/job-openings.html' itemprop="significantLink" class="generic-anchor footer-list-anchor">JOB OPENINGS</a></li> <li><a href='/shop/about-show-schedule' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">EVENTS</a></li>
<li><a href='/shop/about-show-schedule' class="generic-anchor footer-list-anchor" itemprop="significantLink">EVENTS</a></li>
</ul> </ul>
<ul class="footer-list-top"> <ul class="LP-Footer__list-top">
<li><h4 class="footer-list-header">The Gift Selection</h4></li> <li><h4 class="LP-Footer__list-header">The Gift Selection</h4></li>
<li><a href='/Angels/cat/id/70' class="generic-anchor footer-list-anchor">ANGEL FIGURINES</a></li> <li><a href='/Angels/cat/id/70' class="LP-Footer__generic-anchor LP-Footer__list-anchor">ANGEL FIGURINES</a></li>
<li><a href='/Home-Decor/cat/id/64' class="generic-anchor footer-list-anchor">HOME DECOR</a></li> <li><a href='/Home-Decor/cat/id/64' class="LP-Footer__generic-anchor LP-Footer__list-anchor">HOME DECOR</a></li>
<li><a href='/Mugs/cat/id/32' class="generic-anchor footer-list-anchor">MUGS</a></li> <li><a href='/Mugs/cat/id/32' class="LP-Footer__generic-anchor LP-Footer__list-anchor">MUGS</a></li>
<li><a href='/Pet-Lover/cat/id/108' class="generic-anchor footer-list-anchor">PET LOVER</a></li> <li><a href='/Pet-Lover/cat/id/108' class="LP-Footer__generic-anchor LP-Footer__list-anchor">PET LOVER</a></li>
<li><a href='/Ladies-Accessories/cat/id/117' class="generic-anchor footer-list-anchor" target="_blank">HANDBAGS & JEWELRY</a></li> <li><a href='/Ladies-Accessories/cat/id/117' class="LP-Footer__generic-anchor LP-Footer__list-anchor" target="_blank">HANDBAGS & JEWELRY</a></li>
</ul> </ul>
<ul class="footer-list-top"> <ul class="LP-Footer__list-top">
<li id='help'><h4 class="footer-list-header">Please Help Me</h4></li> <li id='help'><h4 class="LP-Footer__list-header">Please Help Me</h4></li>
<li><a href='/shop/about-contact' class="generic-anchor footer-list-anchor" itemprop="significantLink">CONTACT</a></li> <li><a href='/shop/about-contact' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">CONTACT</a></li>
<li><a href='/faq.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">FAQ</a></li> <li><a href='/faq.html' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">FAQ</a></li>
<li id='find-a-store'><a href='/shop/store-locator' class="generic-anchor footer-list-anchor" itemprop="significantLink">STORE LOCATOR</a></li> <li id='find-a-store'><a href='/shop/store-locator' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">STORE LOCATOR</a></li>
<li id='user-registration'><a href='/shop/user-registration?URL=' class="generic-anchor footer-list-anchor" itemprop="significantLink">NEW USERS</a></li> <li id='user-registration'><a href='/shop/user-registration?URL=' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">NEW USERS</a></li>
<li id='order-tracking'><a href='/shop/order-status' itemprop="significantLink" class="generic-anchor footer-list-anchor">ORDER STATUS</a></li> <li id='order-tracking'><a href='/shop/order-status' itemprop="significantLink" class="LP-Footer__generic-anchor LP-Footer__list-anchor">ORDER STATUS</a></li>
</ul> </ul>
<section class="footer-social-section flex-rw"> <section class="LP-Footer__social-section LP-Footer__flex">
<span class="footer-social-overlap footer-social-explore"> <span class="LP-Footer__social-overlap LP-Footer__social-explore">
EXPLORE <span class="footer-social-small">with</span> US EXPLORE <span class="LP-Footer__social-small">with</span> US
</span> </span>
<span class="footer-social-overlap footer-social-icons-wrapper"> <span class="LP-Footer__social-overlap LP-Footer__social-icons-wrapper">
<a href="https://twitter.com/urbanexploration" class="generic-anchor" target="_blank" title="Twitter" itemprop="significantLink"><i class="fa fa-twitter"></i></a> <a href="https://twitter.com/urbanexploration" class="LP-Footer__generic-anchor" target="_blank" title="Twitter" itemprop="significantLink"><i class="fa fa-twitter"></i></a>
<a href="https://www.facebook.com/urbanexploration" class="generic-anchor" target="_blank" title="Facebook" itemprop="significantLink"><i class="fa fa-facebook"></i></a> <a href="https://www.facebook.com/urbanexploration" class="LP-Footer__generic-anchor" target="_blank" title="Facebook" itemprop="significantLink"><i class="fa fa-facebook"></i></a>
<a href="https://www.youtube.com/channel/urbanexploration" class="generic-anchor" target="_blank" title="Youtube" itemprop="significantLink"><i class="fa fa-youtube"></i></a> <a href="https://www.youtube.com/channel/urbanexploration" class="LP-Footer__generic-anchor" target="_blank" title="Youtube" itemprop="significantLink"><i class="fa fa-youtube"></i></a>
<a href="http://instagram.com/urbanexploration" class="generic-anchor" target="_blank" title="Instagram" itemprop="significantLink"><i class="fa fa-instagram"></i></a> <a href="http://instagram.com/urbanexploration" class="LP-Footer__generic-anchor" target="_blank" title="Instagram" itemprop="significantLink"><i class="fa fa-instagram"></i></a>
</span> </span>
</section> </section>
<section class="footer-bottom-section flex-rw"> <section class="LP-Footer__bottom-section LP-Footer__flex">
<div class="footer-bottom-wrapper"> <div class="LP-Footer__bottom-wrapper">
Proudly made by reverend and Commander1024</span> Proudly made by reverend and Commander1024</span>
</div> </div>
<div class="footer-bottom-wrapper"> <div class="LP-Footer__bottom-wrapper">
<a href="/terms-of-use.html" class="generic-anchor">Terms</a> | <a href="/privacy-policy.html" class="generic-anchor">Privacy Policy</a> <a href="/terms-of-use.html" class="LP-Footer__generic-anchor">Terms</a> | <a href="/privacy-policy.html" class="LP-Footer__generic-anchor">Privacy Policy</a>
</div> </div>
</section> </section>
</footer> </footer>

View File

@ -1,6 +1,6 @@
.LP-TextSection{ .LP-TextSection {
.LP-UnorderedList{ .LP-UnorderedList {
font-family: $-primary-serif-font; font-family: $-primary-serif-font;
font-size: 1.4rem; font-size: 1.4rem;
li{ li{

View File

@ -1240,156 +1240,137 @@ body {
.LP-LinkAdd__Trigger:checked ~ .LP-LinkAdd { .LP-LinkAdd__Trigger:checked ~ .LP-LinkAdd {
display: block; } display: block; }
* { .LP-Footer {
box-sizing: border-box; }
ul {
list-style: none; }
a {
text-decoration: none; }
.generic-anchor {
color: #D7CEC7; }
.generic-anchor:hover {
color: #f9f9f9; }
.flex-rw {
display: flex;
flex-flow: row wrap; }
footer {
margin: auto; margin: auto;
background: #565656; background: #565656;
width: 100%; width: 100%;
font-family: "Montserrat", Helvetica, sans-serif; font-family: "Montserrat", Helvetica, sans-serif;
font-size: 0.75rem; } font-size: 0.75rem; }
.LP-Footer * {
.footer-list-top { box-sizing: border-box; }
width: 33.333%; } .LP-Footer ul {
list-style: none; }
.footer-list-top > li { .LP-Footer a {
text-align: center; text-decoration: none; }
padding-bottom: 10px; } .LP-Footer__generic-anchor {
color: #D7CEC7; }
.footer-list-header { .LP-Footer__generic-anchor:hover {
padding: 10px 0 5px 0; color: #f9f9f9; }
color: #f9f9f9; .LP-Footer__flex {
font-size: 2.3vw; } display: flex;
flex-flow: row wrap; }
.footer-list-anchor { .LP-Footer__list-top {
font-size: 1.3em; } width: 33.333%; }
.LP-Footer__list-top > li {
.footer-social-section { text-align: center;
width: 100%; padding-bottom: 10px; }
align-items: center; .LP-Footer__list-header {
justify-content: space-around; padding: 10px 0 5px 0;
position: relative; color: #f9f9f9;
margin-top: 5px; } font-size: 2.3vw; }
.LP-Footer__list-anchor {
.footer-social-section::after { font-size: 1.3em; }
content: ""; .LP-Footer__social-section {
position: absolute; width: 100%;
z-index: 1; align-items: center;
top: 50%; justify-content: space-around;
left: 10px; position: relative;
border-top: 1px solid #f9f9f9; margin-top: 5px; }
width: calc(100% - 20px); } .LP-Footer__social-section::after {
content: "";
.footer-social-overlap { position: absolute;
position: relative; z-index: 1;
z-index: 2; top: 50%;
background: #565656; left: 10px;
padding: 0 20px; } border-top: 1px solid #f9f9f9;
width: calc(100% - 20px); }
.footer-social-explore { .LP-Footer__social-overlap {
display: flex; position: relative;
align-items: center; z-index: 2;
font-size: 3.5em; background: #565656;
color: #f9f9f9; } padding: 0 20px; }
.LP-Footer__social-explore {
.footer-social-small { display: flex;
font-size: 0.6em; align-items: center;
padding: 0px 20px; } font-size: 3.5em;
color: #f9f9f9; }
.footer-social-overlap > a { .LP-Footer__social-small {
font-size: 3em; } font-size: 0.6em;
padding: 0px 20px; }
.footer-social-overlap > a:not(:first-child) { .LP-Footer__social-overlap > a {
margin-left: 0.38em; } font-size: 3em; }
.LP-Footer__social-overlap > a:not(:first-child) {
.footer-bottom-section { margin-left: 0.38em; }
width: 100%; .LP-Footer__bottom-section {
padding: 10px; width: 100%;
border-top: 1px solid #f9f9f9; padding: 10px;
margin-top: 10px; } border-top: 1px solid #f9f9f9;
margin-top: 10px; }
.footer-bottom-section > div:first-child { .LP-Footer__bottom-section > div:first-child {
margin-right: auto; } margin-right: auto; }
.LP-Footer__bottom-wrapper {
.footer-bottom-wrapper { font-size: 1.5em;
font-size: 1.5em; color: #f9f9f9; }
color: #f9f9f9; }
@media (max-width: 1000px) { @media (max-width: 1000px) {
.footer-list-header { .LP-Footer__list-header {
font-size: 2em; } font-size: 2em; }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.1em; } font-size: 1.1em; }
.footer-social-connect { .LP-Footer__social-connect {
font-size: 2.5em; } font-size: 2.5em; }
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
font-size: 2.24em; } font-size: 2.24em; }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em; } } font-size: 1.3em; } }
@media (max-width: 750px) { @media (max-width: 750px) {
.footer-list-top { .LP-Footer__list-top {
width: 100%; } width: 100%; }
.footer-list-header { .LP-Footer__list-header {
font-size: 3em; } font-size: 3em; }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.5em; } font-size: 1.5em; }
.footer-social-section { .LP-Footer__social-section {
justify-content: center; } justify-content: center; }
.footer-social-section::after { .LP-Footer__social-section::after {
top: 25%; } top: 25%; }
.footer-social-connect { .LP-Footer__social-connect {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0 10px; } padding: 0 10px; }
.footer-social-overlap { .LP-Footer__social-overlap {
display: flex; display: flex;
justify-content: center; } justify-content: center; }
.footer-social-icons-wrapper { .LP-Footer__social-icons-wrapper {
width: 100%; width: 100%;
padding: 0; } padding: 0; }
.footer-social-overlap > a:not(:first-child) { .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 20px; } margin-left: 20px; }
.footer-bottom-section { .LP-Footer__bottom-section {
padding: 0 5px 10px 5px; } padding: 0 5px 10px 5px; }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
text-align: center; text-align: center;
width: 100%; width: 100%;
margin-top: 10px; } } margin-top: 10px; } }
@media (max-width: 650px) { @media (max-width: 650px) {
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
margin: auto; } margin: auto; }
.footer-social-overlap > a:not(:first-child) { .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0; } margin-left: 0; }
.footer-bottom-rights { .LP-Footer__bottom-rights {
display: block; } } display: block; } }
@media (max-width: 450px) { @media (max-width: 450px) {
.footer-list-header { .LP-Footer__list-header {
font-size: 2.2em; } font-size: 2.2em; }
.footer-list-anchor { .LP-Footer__list-anchor {
font-size: 1.2em; } font-size: 1.2em; }
.footer-social-connect { .LP-Footer__social-connect {
font-size: 2.4em; } font-size: 2.4em; }
.footer-social-overlap > a { .LP-Footer__social-overlap > a {
font-size: 2.24em; } font-size: 2.24em; }
.footer-bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em; } } font-size: 1.3em; } }
.LP-Form--tagging { .LP-Form--tagging {