Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7ad9ad6

Browse files
committed
Merge pull request #513 from appirio-tech/feature/hover-button
Add hover state as well
2 parents e4f85df + d865613 commit 7ad9ad6

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

assets/css/my-dashboard/my-challenges.scss

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@
2828
font-size: 11px;
2929
line-height: 16px;
3030
text-transform: uppercase;
31-
color: #A3A3AE;
31+
color: $accent-gray;
3232
cursor: pointer;
33+
transition: none;
34+
35+
&:hover {
36+
color: $black;
37+
transition: none;
38+
}
3339

3440
&.disabled {
3541
color: $black;
@@ -52,11 +58,24 @@
5258
@include background-image-size(12px, 12px);
5359
}
5460

55-
&.tile:before {
56-
background: url(/images/grid-off.svg);
61+
&.tile {
62+
&:before {
63+
background: url(/images/grid-off.svg);
64+
}
65+
66+
&:hover:before {
67+
background: url(/images/grid-on.svg);
68+
}
5769
}
58-
&.list:before {
59-
background: url(/images/list-off.svg);
70+
71+
&.list {
72+
&:before {
73+
background: url(/images/list-off.svg);
74+
}
75+
76+
&:hover:before {
77+
background: url(/images/list-on.svg);
78+
}
6079
}
6180
}
6281
}
@@ -94,7 +113,7 @@
94113
padding-right: 15px;
95114
padding-bottom: 15px;
96115
@include sofia-pro-regular;
97-
color: #7F7F7F;
116+
color: $gray-darker;
98117
font-size: 12px;
99118
text-transform: uppercase;
100119
@media only screen and (min-width: 1000px) {

0 commit comments

Comments
 (0)