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

Add hover state as well #513

Merged
merged 1 commit into from
Nov 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 25 additions & 6 deletions assets/css/my-dashboard/my-challenges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@
font-size: 11px;
line-height: 16px;
text-transform: uppercase;
color: #A3A3AE;
color: $accent-gray;
cursor: pointer;
transition: none;

&:hover {
color: $black;
transition: none;
}

&.disabled {
color: $black;
Expand All @@ -52,11 +58,24 @@
@include background-image-size(12px, 12px);
}

&.tile:before {
background: url(/images/grid-off.svg);
&.tile {
&:before {
background: url(/images/grid-off.svg);
}

&:hover:before {
background: url(/images/grid-on.svg);
}
}
&.list:before {
background: url(/images/list-off.svg);

&.list {
&:before {
background: url(/images/list-off.svg);
}

&:hover:before {
background: url(/images/list-on.svg);
}
}
}
}
Expand Down Expand Up @@ -94,7 +113,7 @@
padding-right: 15px;
padding-bottom: 15px;
@include sofia-pro-regular;
color: #7F7F7F;
color: $gray-darker;
font-size: 12px;
text-transform: uppercase;
@media only screen and (min-width: 1000px) {
Expand Down