CSS classnames now in CamelCase.

This commit is contained in:
Marcus Scholz 2020-09-06 12:32:25 +02:00
parent 9012d465d6
commit ce43085167
3 changed files with 215 additions and 211 deletions

View File

@ -1,4 +1,4 @@
// Define easily accessible color-defalts for the footer. // Define easily accessible color-defaults for the footer.
$-primary-link-color: $-beige; $-primary-link-color: $-beige;
$-primary-line-color: $-almost-white; $-primary-line-color: $-almost-white;
@ -21,7 +21,7 @@ $-primary-line-color: $-almost-white;
text-decoration: none; text-decoration: none;
} }
&__generic-anchor { &__GenericAnchor {
color: $-primary-link-color; color: $-primary-link-color;
&:hover { &:hover {
@ -30,31 +30,31 @@ $-primary-line-color: $-almost-white;
} }
// Use flexbox // Use flexbox
&__flex { &__Flex {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
} }
&__list-top { &__ListTop {
width: 33.333%; width: 33.333%;
} }
&__list-top > li { &__ListTop > li {
text-align: center; text-align: center;
padding-bottom: 10px; padding-bottom: 10px;
} }
&__list-header { &__ListHeader {
padding: 10px 0 5px 0; padding: 10px 0 5px 0;
color: $-almost-white; color: $-almost-white;
font-size: 2.3vw; font-size: 2.3vw;
} }
&__list-anchor { &__ListAnchor {
font-size: 1.3em; font-size: 1.3em;
} }
&__social-section { &__SocialSection {
width: 100%; width: 100%;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
@ -62,7 +62,7 @@ $-primary-line-color: $-almost-white;
margin-top: 5px; margin-top: 5px;
} }
&__social-section::after { &__SocialSection::after {
content: ""; content: "";
position: absolute; position: absolute;
z-index: 1; z-index: 1;
@ -133,7 +133,7 @@ $-primary-line-color: $-almost-white;
} }
// Big letters of "EXPLORE WITH US" // Big letters of "EXPLORE WITH US"
&__social-explore { &__SocialExplore {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 3.5em; font-size: 3.5em;
@ -141,128 +141,128 @@ $-primary-line-color: $-almost-white;
} }
// Small letters of "EXPLORE WITH US" // Small letters of "EXPLORE WITH US"
&__social-small { &__SocialSmall {
font-size: 0.6em; font-size: 0.6em;
padding: 0px 20px; padding: 0px 20px;
} }
&__social-overlap { &__SocialOverlap {
position: relative; position: relative;
z-index: 2; z-index: 2;
background: $-grey; background: $-grey;
padding: 0 10px; padding: 0 10px;
} }
&__social-overlap > a { &__SocialOverlap > a {
font-size: 3em; font-size: 3em;
padding-right: 50px; padding-right: 50px;
} }
&__bottom-section { &__BottomSection {
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;
} }
&__bottom-section > div:first-child { &__BottomSection > div:first-child {
margin-right: auto; margin-right: auto;
} }
&__bottom-wrapper { &__BottomWrapper {
font-size: 1.5em; font-size: 1.5em;
color: $-almost-white; color: $-almost-white;
} }
}
// Media queries using global widths. // Media queries using global widths.
@media(max-width: $-viewport-normal) { @media(max-width: $-viewport-normal) {
.LP-Footer__list-header { .LP-Footer__ListHeader {
font-size: 2em; font-size: 2em;
}
.LP-Footer__list-anchor {
font-size: 1.1em;
}
.LP-Footer__social-connect {
font-size: 2.5em;
}
.LP-Footer__social-overlap > a {
font-size: 2.24em;
height: 50px;
}
.LP-Footer__bottom-wrapper {
font-size: 1.3em;
}
} }
.LP-Footer__ListAnchor {
font-size: 1.1em;
}
.LP-Footer__SocialConnect {
font-size: 2.5em;
}
.LP-Footer__SocialOverlap > a {
font-size: 2.24em;
height: 50px;
}
.LP-Footer__BottomWrapper {
font-size: 1.3em;
}
}
@media(max-width: $-viewport-medium) { @media(max-width: $-viewport-medium) {
.LP-Footer__list-top { .LP-Footer__ListTop {
width: 100%; width: 100%;
}
.LP-Footer__list-header {
font-size: 3em;
}
.LP-Footer__list-anchor {
font-size: 1.5em;
}
.LP-Footer__social-section {
justify-content: center
}
.LP-Footer__social-section::after {
top: 25%;
}
.LP-Footer__social-connect {
margin-bottom: 10px;
padding: 0 10px;
}
.LP-Footer__social-overlap {
display: flex;
justify-content: center;
height: 50px;
}
.LP-Footer__social-icons-wrapper {
width: 100%;
padding: 0;
}
.LP-Footer__social-overlap {
margin-left: 0px;
}
.LP-Footer__bottom-section {
padding: 0 5px 10px 5px;
}
.LP-Footer__bottom-wrapper {
text-align: center;
width: 100%;
margin-top: 10px;
}
} }
.LP-Footer__ListHeader {
font-size: 3em;
}
.LP-Footer__ListAnchor {
font-size: 1.5em;
}
.LP-Footer__SocialSection {
justify-content: center
}
.LP-Footer__SocialSection::after {
top: 25%;
}
.LP-Footer__SocialConnect {
margin-bottom: 10px;
padding: 0 10px;
}
.LP-Footer__SocialOverlap {
display: flex;
justify-content: center;
height: 50px;
}
.LP-Footer__SocialIconsWrapper {
width: 100%;
padding: 0;
}
.LP-Footer__SocialOverlap {
margin-left: 0px;
}
.LP-Footer__BottomSection {
padding: 0 5px 10px 5px;
}
.LP-Footer__BottomWrapper {
text-align: center;
width: 100%;
margin-top: 10px;
}
}
@media(max-width: $-viewport-small) { @media(max-width: $-viewport-small) {
.LP-Footer__social-overlap > a { .LP-Footer__SocialOverlap > a {
margin: auto; margin: auto;
}
.LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0;
}
.LP-Footer__bottom-rights {
display: block;
}
} }
.LP-Footer__SocialOverlap > a:not(:first-child) {
margin-left: 0;
}
.LP-Footer__BottomRights {
display: block;
}
}
@media(max-width: $-viewport-extra-small) { @media(max-width: $-viewport-extra-small) {
.LP-Footer__list-header { .LP-Footer__ListHeader {
font-size: 2.2em; font-size: 2.2em;
}
.LP-Footer__list-anchor {
font-size: 1.2em;
}
.LP-Footer__social-connect {
font-size: 2.4em;
}
.LP-Footer__social-overlap > a {
font-size: 2.24em;
}
.LP-Footer__bottom-wrapper {
font-size: 1.3em;
}
} }
} .LP-Footer__ListAnchor {
font-size: 1.2em;
}
.LP-Footer__SocialConnect {
font-size: 2.4em;
}
.LP-Footer__SocialOverlap > a {
font-size: 2.24em;
}
.LP-Footer__BottomWrapper {
font-size: 1.3em;
}
}

View File

@ -1,52 +1,52 @@
<footer class="LP-Footer LP-Footer__flex"> <footer class="LP-Footer LP-Footer__Flex">
<ul class="LP-Footer__list-top"> <ul class="LP-Footer__ListTop">
<li><h4 class="LP-Footer__list-header">About Pavilion</h4></li> <li><h4 class="LP-Footer__ListHeader">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="LP-Footer__GenericAnchor LP-Footer__ListAnchor" 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="LP-Footer__GenericAnchor LP-Footer__ListAnchor" 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="LP-Footer__GenericAnchor LP-Footer__ListAnchor" 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="LP-Footer__GenericAnchor LP-Footer__ListAnchor">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="LP-Footer__GenericAnchor LP-Footer__ListAnchor" itemprop="significantLink">EVENTS</a></li>
</ul> </ul>
<ul class="LP-Footer__list-top"> <ul class="LP-Footer__ListTop">
<li><h4 class="LP-Footer__list-header">The Gift Selection</h4></li> <li><h4 class="LP-Footer__ListHeader">The Gift Selection</h4></li>
<li><a href='/Angels/cat/id/70' class="LP-Footer__generic-anchor LP-Footer__list-anchor">ANGEL FIGURINES</a></li> <li><a href='/Angels/cat/id/70' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">ANGEL FIGURINES</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='/Home-Decor/cat/id/64' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">HOME DECOR</a></li>
<li><a href='/Mugs/cat/id/32' class="LP-Footer__generic-anchor LP-Footer__list-anchor">MUGS</a></li> <li><a href='/Mugs/cat/id/32' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">MUGS</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='/Pet-Lover/cat/id/108' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">PET LOVER</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> <li><a href='/Ladies-Accessories/cat/id/117' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor" target="_blank">HANDBAGS & JEWELRY</a></li>
</ul> </ul>
<ul class="LP-Footer__list-top"> <ul class="LP-Footer__ListTop">
<li id='help'><h4 class="LP-Footer__list-header">Please Help Me</h4></li> <li id='help'><h4 class="LP-Footer__ListHeader">Please Help Me</h4></li>
<li><a href='/shop/about-contact' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">CONTACT</a></li> <li><a href='/shop/about-contact' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor" itemprop="significantLink">CONTACT</a></li>
<li><a href='/faq.html' class="LP-Footer__generic-anchor LP-Footer__list-anchor" itemprop="significantLink">FAQ</a></li> <li><a href='/faq.html' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor" itemprop="significantLink">FAQ</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='find-a-store'><a href='/shop/store-locator' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor" itemprop="significantLink">STORE LOCATOR</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='user-registration'><a href='/shop/user-registration?URL=' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor" itemprop="significantLink">NEW USERS</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> <li id='order-tracking'><a href='/shop/order-status' itemprop="significantLink" class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">ORDER STATUS</a></li>
</ul> </ul>
<!-- Explore with us / social media bar --> <!-- Explore with us / social media bar -->
<section class="LP-Footer__social-section LP-Footer__flex"> <section class="LP-Footer__SocialSection LP-Footer__Flex">
<span class="LP-Footer__social-overlap LP-Footer__social-explore"> <span class="LP-Footer__SocialOverlap LP-Footer__SocialExplore">
EXPLORE <span class="LP-Footer__social-small">with</span> US EXPLORE <span class="LP-Footer__SocialSmall">with</span> US
</span> </span>
<span class="LP-Footer__social-overlap LP-Footer__social-icons-wrapper"> <span class="LP-Footer__SocialOverlap LP-Footer__SocialIconsWrapper">
<a href="https://mastodon.social/@urbanexploration" class="LP-Footer__Social-Mastodon LP-Footer__generic-anchor" <a href="https://mastodon.social/@urbanexploration" class="LP-Footer__Social-Mastodon LP-Footer__GenericAnchor"
target="_blank" title="Mastodon" itemprop="significantLink"> target="_blank" title="Mastodon" itemprop="significantLink">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://twitter.com/urbanexploration" class="LP-Footer__Social-Twitter LP-Footer__generic-anchor" <a href="https://twitter.com/urbanexploration" class="LP-Footer__Social-Twitter LP-Footer__GenericAnchor"
target="_blank" title="Twitter" itemprop="significantLink"> target="_blank" title="Twitter" itemprop="significantLink">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://www.youtube.com/channel/urbanexploration" class="LP-Footer__Social-Youtube LP-Footer__generic-anchor" <a href="https://www.youtube.com/channel/urbanexploration" class="LP-Footer__Social-Youtube LP-Footer__GenericAnchor"
target="_blank" title="Youtube" itemprop="significantLink"> target="_blank" title="Youtube" itemprop="significantLink">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://blog.urbanexploration.com" class="LP-Footer__Social-Wordpress LP-Footer__generic-anchor" <a href="https://blog.urbanexploration.com" class="LP-Footer__Social-Wordpress LP-Footer__GenericAnchor"
target="_blank" title="Wordpress" itemprop="significantLink"> target="_blank" title="Wordpress" itemprop="significantLink">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://www.instagram.com/urbanexploration" class="LP-Footer__Social-Instagram LP-Footer__generic-anchor" <a href="https://www.instagram.com/urbanexploration" class="LP-Footer__Social-Instagram LP-Footer__GenericAnchor"
target="_blank" title="Instagram" itemprop="significantLink"> target="_blank" title="Instagram" itemprop="significantLink">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
@ -54,12 +54,12 @@
</section> </section>
<!-- Bottom section with last line of text and links. --> <!-- Bottom section with last line of text and links. -->
<section class="LP-Footer__bottom-section LP-Footer__flex"> <section class="LP-Footer__BottomSection LP-Footer__Flex">
<div class="LP-Footer__bottom-wrapper"> <div class="LP-Footer__BottomWrapper">
Proudly made by reverend and Commander1024</span> Proudly made by reverend and Commander1024</span>
</div> </div>
<div class="LP-Footer__bottom-wrapper"> <div class="LP-Footer__BottomWrapper">
<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> <a href="/terms-of-use.html" class="LP-Footer__GenericAnchor">Terms</a> | <a href="/privacy-policy.html" class="LP-Footer__GenericAnchor">Privacy Policy</a>
</div> </div>
</section> </section>
</footer> </footer>

View File

@ -1252,31 +1252,31 @@ body {
list-style: none; } list-style: none; }
.LP-Footer a { .LP-Footer a {
text-decoration: none; } text-decoration: none; }
.LP-Footer__generic-anchor { .LP-Footer__GenericAnchor {
color: #D7CEC7; } color: #D7CEC7; }
.LP-Footer__generic-anchor:hover { .LP-Footer__GenericAnchor:hover {
color: #f9f9f9; } color: #f9f9f9; }
.LP-Footer__flex { .LP-Footer__Flex {
display: flex; display: flex;
flex-flow: row wrap; } flex-flow: row wrap; }
.LP-Footer__list-top { .LP-Footer__ListTop {
width: 33.333%; } width: 33.333%; }
.LP-Footer__list-top > li { .LP-Footer__ListTop > li {
text-align: center; text-align: center;
padding-bottom: 10px; } padding-bottom: 10px; }
.LP-Footer__list-header { .LP-Footer__ListHeader {
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 { .LP-Footer__ListAnchor {
font-size: 1.3em; } font-size: 1.3em; }
.LP-Footer__social-section { .LP-Footer__SocialSection {
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 { .LP-Footer__SocialSection::after {
content: ""; content: "";
position: absolute; position: absolute;
z-index: 1; z-index: 1;
@ -1308,91 +1308,95 @@ body {
position: absolute; position: absolute;
height: 50px; height: 50px;
width: 50px; } width: 50px; }
.LP-Footer__social-explore { .LP-Footer__SocialExplore {
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 { .LP-Footer__SocialSmall {
font-size: 0.6em; font-size: 0.6em;
padding: 0px 20px; } padding: 0px 20px; }
.LP-Footer__social-overlap { .LP-Footer__SocialOverlap {
position: relative; position: relative;
z-index: 2; z-index: 2;
background: #565656; background: #565656;
padding: 0 10px; } padding: 0 10px; }
.LP-Footer__social-overlap > a { .LP-Footer__SocialOverlap > a {
font-size: 3em; font-size: 3em;
padding-right: 50px; } padding-right: 50px; }
.LP-Footer__bottom-section { .LP-Footer__BottomSection {
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 { .LP-Footer__BottomSection > div:first-child {
margin-right: auto; } margin-right: auto; }
.LP-Footer__bottom-wrapper { .LP-Footer__BottomWrapper {
font-size: 1.5em; font-size: 1.5em;
color: #f9f9f9; } color: #f9f9f9; }
@media (max-width: 1000px) {
.LP-Footer .LP-Footer__list-header { @media (max-width: 1000px) {
font-size: 2em; } .LP-Footer__ListHeader {
.LP-Footer .LP-Footer__list-anchor { font-size: 2em; }
font-size: 1.1em; } .LP-Footer__ListAnchor {
.LP-Footer .LP-Footer__social-connect { font-size: 1.1em; }
font-size: 2.5em; } .LP-Footer__SocialConnect {
.LP-Footer .LP-Footer__social-overlap > a { font-size: 2.5em; }
font-size: 2.24em; .LP-Footer__SocialOverlap > a {
height: 50px; } font-size: 2.24em;
.LP-Footer .LP-Footer__bottom-wrapper { height: 50px; }
font-size: 1.3em; } } .LP-Footer__BottomWrapper {
@media (max-width: 750px) { font-size: 1.3em; } }
.LP-Footer .LP-Footer__list-top {
width: 100%; } @media (max-width: 750px) {
.LP-Footer .LP-Footer__list-header { .LP-Footer__ListTop {
font-size: 3em; } width: 100%; }
.LP-Footer .LP-Footer__list-anchor { .LP-Footer__ListHeader {
font-size: 1.5em; } font-size: 3em; }
.LP-Footer .LP-Footer__social-section { .LP-Footer__ListAnchor {
justify-content: center; } font-size: 1.5em; }
.LP-Footer .LP-Footer__social-section::after { .LP-Footer__SocialSection {
top: 25%; } justify-content: center; }
.LP-Footer .LP-Footer__social-connect { .LP-Footer__SocialSection::after {
margin-bottom: 10px; top: 25%; }
padding: 0 10px; } .LP-Footer__SocialConnect {
.LP-Footer .LP-Footer__social-overlap { margin-bottom: 10px;
display: flex; padding: 0 10px; }
justify-content: center; .LP-Footer__SocialOverlap {
height: 50px; } display: flex;
.LP-Footer .LP-Footer__social-icons-wrapper { justify-content: center;
width: 100%; height: 50px; }
padding: 0; } .LP-Footer__SocialIconsWrapper {
.LP-Footer .LP-Footer__social-overlap { width: 100%;
margin-left: 0px; } padding: 0; }
.LP-Footer .LP-Footer__bottom-section { .LP-Footer__SocialOverlap {
padding: 0 5px 10px 5px; } margin-left: 0px; }
.LP-Footer .LP-Footer__bottom-wrapper { .LP-Footer__BottomSection {
text-align: center; padding: 0 5px 10px 5px; }
width: 100%; .LP-Footer__BottomWrapper {
margin-top: 10px; } } text-align: center;
@media (max-width: 650px) { width: 100%;
.LP-Footer .LP-Footer__social-overlap > a { margin-top: 10px; } }
margin: auto; }
.LP-Footer .LP-Footer__social-overlap > a:not(:first-child) { @media (max-width: 650px) {
margin-left: 0; } .LP-Footer__SocialOverlap > a {
.LP-Footer .LP-Footer__bottom-rights { margin: auto; }
display: block; } } .LP-Footer__SocialOverlap > a:not(:first-child) {
@media (max-width: 450px) { margin-left: 0; }
.LP-Footer .LP-Footer__list-header { .LP-Footer__BottomRights {
font-size: 2.2em; } display: block; } }
.LP-Footer .LP-Footer__list-anchor {
font-size: 1.2em; } @media (max-width: 450px) {
.LP-Footer .LP-Footer__social-connect { .LP-Footer__ListHeader {
font-size: 2.4em; } font-size: 2.2em; }
.LP-Footer .LP-Footer__social-overlap > a { .LP-Footer__ListAnchor {
font-size: 2.24em; } font-size: 1.2em; }
.LP-Footer .LP-Footer__bottom-wrapper { .LP-Footer__SocialConnect {
font-size: 1.3em; } } font-size: 2.4em; }
.LP-Footer__SocialOverlap > a {
font-size: 2.24em; }
.LP-Footer__BottomWrapper {
font-size: 1.3em; } }
.LP-Form--tagging { .LP-Form--tagging {
margin-top: 25px; } margin-top: 25px; }