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,6 +2,13 @@
$primary-link-color: $-beige; $primary-link-color: $-beige;
$primary-line-color: $-almost-white; $primary-line-color: $-almost-white;
.LP-Footer {
margin: auto;
background: $-grey;
width: 100%;
font-family: $-primary-sans-serif-font;
font-size: 0.75rem;
* { * {
box-sizing: border-box box-sizing: border-box
} }
@ -14,46 +21,38 @@ a {
text-decoration: none text-decoration: none
} }
.generic-anchor { &__generic-anchor {
color: $primary-link-color; color: $primary-link-color;
&:hover { &:hover {
color: $primary-line-color color: $primary-line-color
} }
} }
.flex-rw { &__flex {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
} }
footer { &__list-top {
margin: auto;
background: $-grey;
width: 100%;
font-family: $-primary-sans-serif-font;
font-size: 0.75rem;
}
.footer-list-top {
width: 33.333% width: 33.333%
} }
.footer-list-top > li { &__list-top > li {
text-align: center; text-align: center;
padding-bottom: 10px padding-bottom: 10px
} }
.footer-list-header { &__list-header {
padding: 10px 0 5px 0; padding: 10px 0 5px 0;
color: $-almost-white; color: $-almost-white;
font-size: 2.3vw; font-size: 2.3vw;
} }
.footer-list-anchor { &__list-anchor {
font-size: 1.3em; font-size: 1.3em;
} }
.footer-social-section { &__social-section {
width: 100%; width: 100%;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
@ -61,7 +60,7 @@ footer {
margin-top: 5px; margin-top: 5px;
} }
.footer-social-section::after { &__social-section::after {
content: ""; content: "";
position: absolute; position: absolute;
z-index: 1; z-index: 1;
@ -71,102 +70,103 @@ footer {
width: calc(100% - 20px) width: calc(100% - 20px)
} }
.footer-social-overlap { &__social-overlap {
position: relative; position: relative;
z-index: 2; z-index: 2;
background: $-grey; background: $-grey;
padding: 0 20px; padding: 0 20px;
} }
.footer-social-explore { &__social-explore {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 3.5em; font-size: 3.5em;
color: $-almost-white color: $-almost-white
} }
.footer-social-small { &__social-small {
font-size: 0.6em; font-size: 0.6em;
padding: 0px 20px padding: 0px 20px
} }
.footer-social-overlap > a { &__social-overlap > a {
font-size: 3em font-size: 3em
} }
.footer-social-overlap > a:not(:first-child) { &__social-overlap > a:not(:first-child) {
margin-left: 0.38em margin-left: 0.38em
} }
.footer-bottom-section { &__bottom-section {
width: 100%; width: 100%;
padding: 10px; padding: 10px;
border-top: 1px solid $primary-line-color; border-top: 1px solid $primary-line-color;
margin-top: 10px margin-top: 10px
} }
.footer-bottom-section > div:first-child { &__bottom-section > div:first-child {
margin-right: auto margin-right: auto
} }
.footer-bottom-wrapper { &__bottom-wrapper {
font-size: 1.5em; font-size: 1.5em;
color: $-almost-white 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

@ -1240,54 +1240,43 @@ 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; }
.LP-Footer ul {
list-style: none; }
.LP-Footer a {
text-decoration: none; }
.LP-Footer__generic-anchor {
color: #D7CEC7; }
.LP-Footer__generic-anchor:hover {
color: #f9f9f9; }
.LP-Footer__flex {
display: flex;
flex-flow: row wrap; }
.LP-Footer__list-top {
width: 33.333%; } width: 33.333%; }
.LP-Footer__list-top > li {
.footer-list-top > li {
text-align: center; text-align: center;
padding-bottom: 10px; } padding-bottom: 10px; }
.LP-Footer__list-header {
.footer-list-header {
padding: 10px 0 5px 0; padding: 10px 0 5px 0;
color: #f9f9f9; color: #f9f9f9;
font-size: 2.3vw; } font-size: 2.3vw; }
.LP-Footer__list-anchor {
.footer-list-anchor {
font-size: 1.3em; } font-size: 1.3em; }
.LP-Footer__social-section {
.footer-social-section {
width: 100%; width: 100%;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
position: relative; position: relative;
margin-top: 5px; } margin-top: 5px; }
.LP-Footer__social-section::after {
.footer-social-section::after {
content: ""; content: "";
position: absolute; position: absolute;
z-index: 1; z-index: 1;
@ -1295,101 +1284,93 @@ footer {
left: 10px; left: 10px;
border-top: 1px solid #f9f9f9; border-top: 1px solid #f9f9f9;
width: calc(100% - 20px); } width: calc(100% - 20px); }
.LP-Footer__social-overlap {
.footer-social-overlap {
position: relative; position: relative;
z-index: 2; z-index: 2;
background: #565656; background: #565656;
padding: 0 20px; } padding: 0 20px; }
.LP-Footer__social-explore {
.footer-social-explore {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 3.5em; font-size: 3.5em;
color: #f9f9f9; } color: #f9f9f9; }
.LP-Footer__social-small {
.footer-social-small {
font-size: 0.6em; font-size: 0.6em;
padding: 0px 20px; } padding: 0px 20px; }
.LP-Footer__social-overlap > a {
.footer-social-overlap > a {
font-size: 3em; } font-size: 3em; }
.LP-Footer__social-overlap > a:not(:first-child) {
.footer-social-overlap > a:not(:first-child) {
margin-left: 0.38em; } margin-left: 0.38em; }
.LP-Footer__bottom-section {
.footer-bottom-section {
width: 100%; width: 100%;
padding: 10px; padding: 10px;
border-top: 1px solid #f9f9f9; border-top: 1px solid #f9f9f9;
margin-top: 10px; } margin-top: 10px; }
.LP-Footer__bottom-section > div:first-child {
.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 {