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

SUP-1798, Icon should be gray same as text if user has selected the a… #377

Merged
merged 1 commit into from
Oct 15, 2015
Merged
Show file tree
Hide file tree
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
13 changes: 10 additions & 3 deletions assets/css/my-challenges/my-challenges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@
&.disabled {
color: $black;
cursor: default;

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

&:before {
Expand All @@ -169,14 +176,14 @@
margin-bottom: 2px;
margin-right: 4px;
vertical-align: middle;
@include background-image-size(16px, 16px);
@include background-image-size(12px, 12px);
}

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

}
Expand Down
2 changes: 2 additions & 0 deletions assets/css/my-dashboard/my-challenges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
line-height: 16px;
text-transform: uppercase;
color: #A3A3AE;
cursor: pointer;

&.disabled {
color: $black;
cursor: default;

&.tile:before {
background: url(/images/grid-on.svg);
Expand Down
13 changes: 10 additions & 3 deletions assets/css/my-srms/my-srms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
&.disabled {
color: $black;
cursor: default;

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

&:before {
Expand All @@ -134,14 +141,14 @@
margin-bottom: 2px;
margin-right: 4px;
vertical-align: middle;
@include background-image-size(16px, 16px);
@include background-image-size(12px, 12px);
}

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

}
Expand Down