Skip to content

Commit

Permalink
[BUGFIX] use CSS color variable for social icons in footer (#433)
Browse files Browse the repository at this point in the history
* [BUGFIX] Changing colors of social icons in constants doesn't work in footer

* update less/css
  • Loading branch information
vhusaruk92 authored and dmh committed Jun 22, 2018
1 parent fdda947 commit bcd686f
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 26 deletions.
15 changes: 9 additions & 6 deletions Resources/Public/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 16 additions & 10 deletions Resources/Public/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -3790,6 +3790,22 @@
}
}

.footer .social-icons {
.social-icons__item {
color: @social-icons-bg-color;
}
}

.no-touch .footer .social-icons__item {
&:hover {
color: @social-icons-hover-color;

& > .icons:after {
border-color: fade(@social-icons-hover-color, 50%);
}
}
}

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

Expand Down Expand Up @@ -7063,16 +7079,6 @@ div.awesomplete li[aria-selected="true"] mark {
}
}

.no-touch .footer .social-icons__item {
&:hover {
color: @social-icons-hover-color;

& > .icons:after {
border-color: fade(@social-icons-hover-color, 50%);
}
}
}

@media (min-width: @screen-sm-min) {
.social-icons__item {
margin: 0 8px 0 0;
Expand Down
10 changes: 0 additions & 10 deletions felayout_t3kit/dev/styles/main/contentElements/socialIcons.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@
}
}

.no-touch .footer .social-icons__item {
&:hover {
color: @social-icons-hover-color;

& > .icons:after {
border-color: fade(@social-icons-hover-color, 50%);
}
}
}

@media (min-width: @screen-sm-min) {
.social-icons__item {
margin: 0 8px 0 0;
Expand Down
16 changes: 16 additions & 0 deletions felayout_t3kit/dev/styles/main/footer/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,22 @@
}
}

.footer .social-icons {
.social-icons__item {
color: @social-icons-bg-color;
}
}

.no-touch .footer .social-icons__item {
&:hover {
color: @social-icons-hover-color;

& > .icons:after {
border-color: fade(@social-icons-hover-color, 50%);
}
}
}

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

Expand Down

0 comments on commit bcd686f

Please sign in to comment.