Skip to content

Commit 0107480

Browse files
committed
Make unpublished resource icons outlined for visual distinction
- Updated tree icon styles: - Published resources use the standard dark icon color - Unpublished and deleted resources use an outlined icon style - Helps further distinguish resource states at a glance in the tree
1 parent dec0491 commit 0107480

File tree

3 files changed

+24
-29333
lines changed

3 files changed

+24
-29333
lines changed

_build/templates/default/sass/_tree.scss

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,16 @@
211211
vertical-align: 0;
212212
}
213213
}
214-
214+
.published,
215+
.published a span{
216+
i.icon,
217+
i.icon-large {
218+
color: $treeColor !important;
219+
&::before {
220+
color: $treeColor !important;
221+
}
222+
}
223+
}
215224
.unpublished,
216225
.unpublished a span {
217226
color: $unpublished;
@@ -221,6 +230,10 @@
221230
i.icon-large {
222231
font-style: normal;
223232
color: $treeColor;
233+
234+
&::before {
235+
font-weight: 400;
236+
}
224237
}
225238
}
226239

@@ -232,12 +245,16 @@
232245
&.unpublished,
233246
&.unpublished a span {
234247
font-style: $unpubText;
235-
}
236248

249+
i.icon,
250+
i.icon-large {
251+
color: $hidden;
252+
}
253+
}
237254
i.icon,
238255
i.icon-large {
239-
color: $hidden;
240256
font-style: normal;
257+
color: $treeColor;
241258
}
242259
}
243260

@@ -247,6 +264,10 @@
247264
i.icon,
248265
i.icon-large {
249266
color: $delTextColor; // font-style: normal;
267+
268+
&::before {
269+
font-weight: 400;
270+
}
250271
}
251272

252273
a span {

0 commit comments

Comments
 (0)