Skip to content

Commit

Permalink
refactor(statistic): add inverted background to global variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed Mar 8, 2022
1 parent 653eb32 commit ea25dfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/themes/eea/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
@thumbHoverBackground: rgba(128, 135, 139, 0.8);

/* Inverted */
@statisticInvertedBackground: @metallicBlue;
@trackInvertedBackground: rgba(255, 255, 255, 0.1);
@thumbInvertedBackground: rgba(255, 255, 255, 0.25);
@thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
Expand Down
5 changes: 5 additions & 0 deletions theme/themes/eea/views/statistic.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Theme Overrides
*******************************/

.ui.inverted.statistics,
.ui.inverted.statistic {
background: @statisticInvertedBackground;
}

/* Full width statistics for mobile */
.ui.statistic {
width: @mobileStatisticWidth;
Expand Down

0 comments on commit ea25dfa

Please sign in to comment.