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

Commit e695708

Browse files
author
vikasrohit
committed
Merge pull request #377 from appirio-tech/feature/style-fixes-p1
SUP-1798, Icon should be gray same as text if user has selected the a…
2 parents 61706a7 + 8dd2383 commit e695708

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@
161161
&.disabled {
162162
color: $black;
163163
cursor: default;
164+
165+
&.tile:before {
166+
background: url(/images/grid-on.svg);
167+
}
168+
&.list:before {
169+
background: url(/images/list-on.svg);
170+
}
164171
}
165172

166173
&:before {
@@ -169,14 +176,14 @@
169176
margin-bottom: 2px;
170177
margin-right: 4px;
171178
vertical-align: middle;
172-
@include background-image-size(16px, 16px);
179+
@include background-image-size(12px, 12px);
173180
}
174181

175182
&.tile:before {
176-
background: url(/images/ico-grid.svg);
183+
background: url(/images/grid-off.svg);
177184
}
178185
&.list:before {
179-
background: url(/images/ico-list.svg);
186+
background: url(/images/list-off.svg);
180187
}
181188

182189
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
line-height: 16px;
3333
text-transform: uppercase;
3434
color: #A3A3AE;
35+
cursor: pointer;
3536

3637
&.disabled {
3738
color: $black;
39+
cursor: default;
3840

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

assets/css/my-srms/my-srms.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@
126126
&.disabled {
127127
color: $black;
128128
cursor: default;
129+
130+
&.tile:before {
131+
background: url(/images/grid-on.svg);
132+
}
133+
&.list:before {
134+
background: url(/images/list-on.svg);
135+
}
129136
}
130137

131138
&:before {
@@ -134,14 +141,14 @@
134141
margin-bottom: 2px;
135142
margin-right: 4px;
136143
vertical-align: middle;
137-
@include background-image-size(16px, 16px);
144+
@include background-image-size(12px, 12px);
138145
}
139146

140147
&.tile:before {
141-
background: url(/images/ico-grid.svg);
148+
background: url(/images/grid-off.svg);
142149
}
143150
&.list:before {
144-
background: url(/images/ico-list.svg);
151+
background: url(/images/list-off.svg);
145152
}
146153

147154
}

0 commit comments

Comments
 (0)