Skip to content

Commit

Permalink
[FIX] delete unneeded selector in footer, edit according to stylint (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vhusaruk92 authored and dmh committed Apr 25, 2017
1 parent 72d2cd7 commit a4c4abc
Showing 1 changed file with 45 additions and 32 deletions.
77 changes: 45 additions & 32 deletions felayout_t3kit/dev/styles/main/footer/footer.less
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
// =========================================================
// === Footer ==============================================
// =========================================================
.footer{
.footer {
background: @footer-background;
// border-top: 15px solid lighten(@footer-background, 20%);
border-top: 15px solid @footer-background;
}
.footer p{

.footer p {
color: @footer-color;
font-weight: 400;
}
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6{

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
color: @footer-color;
font-weight: 400;
letter-spacing: 0.2px;
padding-top: 20px;
}
.footer h4{

.footer h4 {
border-bottom: 1px solid lighten(@footer-background, 20%);
padding-bottom: 4px;
// text-transform: uppercase;
}
.no-touch .footer a:hover{

.no-touch .footer a:hover {
color: @footer-link-hover-color;
}

// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------


// =================================
// === Footer Contact ==============
// =================================
Expand All @@ -50,39 +58,40 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------


// =================================
// === Footer Quick Links===========
// =================================
.footer__quick-links{
}

.footer__quick-links .ce-menu{
.footer__quick-links ul {
list-style: none;
margin: 0;
padding: 0;
padding-bottom: 10px;
}
.footer__quick-links .ce-menu > li{

.footer__quick-links ul > li {
padding: 8px 0;
}
.footer__quick-links .ce-menu > li > a{
transition: color .2s ease;

.footer__quick-links ul > li > a {
transition: color 0.2s ease;
color: @footer-link-color;
padding-left: 0;
padding-bottom: 2px;
font-weight: 400;
// text-transform: uppercase;
}
.footer__quick-links .ce-menu > li > a:hover{

.footer__quick-links ul > li > a:hover {
background-color: transparent;
color: @footer-link-hover-color;
}

@media (max-width: 460px) {
.footer__quick-links{
.footer__quick-links {
text-align: center;
}

.footer__quick-links h4 {
border: none;
}
Expand All @@ -91,7 +100,6 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------


// =================================
// === Footer Logo + contacts=======
// =================================
Expand All @@ -103,7 +111,6 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------


// =================================
// === Footer Social-icons==========
// =================================
Expand All @@ -112,13 +119,11 @@
padding: 0;
text-align: right;
}

}

// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------


// =================================
// === Footer Bottom ===============
// =================================
Expand All @@ -129,27 +134,31 @@
background: @footer-background;
padding-bottom: 10px;
}
.footer__bottom .row{

.footer__bottom .row {
margin-right: 0;
margin-left: 0;
}
.footer__bottom-copyright{

.footer__bottom-copyright {
padding-top: 12px;
border-top: 1px solid lighten(@footer-background, 20%);
}

.footer__bottom-nav .ce-menu{
.footer__bottom-nav ul {
padding: 0;
text-align: center;
}
.footer__bottom-nav .ce-menu > li{

.footer__bottom-nav ul > li {
display: inline-block;
}
.footer__bottom-nav .ce-menu > li > a{

.footer__bottom-nav ul > li > a {
// color: darken(@footer-color, 25%);
font-weight: 400;
text-transform: uppercase;
transition: color .2s ease;
transition: color 0.2s ease;
padding: 0 10px;
font-size: 14px;
color: @footer-link-color;
Expand All @@ -159,39 +168,43 @@
.footer__bottom {
text-align: left;
}

.footer__bottom-copyright {
padding-left: 0;
}
.footer__bottom-copyright > p{

.footer__bottom-copyright > p {
margin: 0;
}
.footer__bottom-nav{

.footer__bottom-nav {
padding-top: 12px;
border-top: 1px solid lighten(@footer-background, 20%);
padding-right: 0;
}
.footer__bottom-nav .ce-menu{

.footer__bottom-nav ul {
text-align: right;
}

.footer__map-icon{
.footer__map-icon {
margin-left: 0;
}

}

@media (max-width: 991px) {
.footer__logo-contacts {
text-align: center;
}
.footer__logo-contacts .ce-textpic .ce-gallery{
float: none;

.footer__logo-contacts .ce-textpic .ce-gallery {
float: none;
}

.footer__logo-contacts .ce-gallery .ce-column {
float: none;
}

.footer__logo-contacts .ce-gallery .ce-column img {
margin: 0 auto;
}
Expand Down

0 comments on commit a4c4abc

Please sign in to comment.