Skip to content

Commit dd211aa

Browse files
drakkar1969jnsh
authored andcommitted
gnome-shell: Style screen shield notifications
Ensure screen shield notifications use default notification styling, with symbolic icons. #72
1 parent 023fdea commit dd211aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

common/gnome-shell/3.36/sass/_common.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,12 +2642,11 @@ StScrollBar {
26422642
.notification,
26432643
.unlock-dialog-notification-source {
26442644
padding: 12px 6px;
2645-
border: 1px solid $_bubble_borders_color;
2646-
background-color: transparentize($osd_bg_color,0.5);
2647-
color: $_bubble_fg_color;
2648-
border-radius: 4px;
2645+
@extend %popup_menu;
26492646

2650-
&.critical { background-color: transparentize($osd_bg_color,0.1) }
2647+
StIcon { -st-icon-style: symbolic; }
2648+
2649+
// &.critical { background-color: transparentize($osd_bg_color,0.1) } // FIXME
26512650
}
26522651
}
26532652

@@ -2658,8 +2657,9 @@ StScrollBar {
26582657
.unlock-dialog-notification-count-text {
26592658
font-weight: bold;
26602659
padding: 0 6px;
2661-
color: $osd_bg_color;
2662-
background-color: transparentize($osd_fg_color, 0.7);
2660+
color: $fg_color;
2661+
border: 1px solid if($variant != 'lighter', transparentize(white, 0.9), transparentize(black, 0.9));
2662+
background-color: if($variant != 'lighter', transparentize(white, 0.8), transparentize(black, 0.8));
26632663
border-radius: 99px;
26642664
margin-right: 12px;
26652665
}

0 commit comments

Comments
 (0)