Skip to content

Commit

Permalink
gnome-shell: Fix looking glass buttons styling
Browse files Browse the repository at this point in the history
The looking glass dialog is dark on lighter variant, so %osd_button
should be used instead of regular %button.
  • Loading branch information
jnsh committed Aug 9, 2023
1 parent ccb9cf3 commit 47eed07
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions common/gnome-shell/44/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,7 @@ $_dash_bottom_margin: 20px;
.lg-toolbar-button {
padding: 5px 10px;
border-radius: 2px;
@extend %button;
@extend %osd_button;

& > StIcon { icon-size: 16px; }
}
Expand All @@ -2824,21 +2824,12 @@ $_dash_bottom_margin: 20px;
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
font-weight: bold;
color: $osd_fg_color;
transition-duration: 100ms;
padding-left: .3em;
padding-right: .3em;
border-radius: 2px;
@extend %osd_button;

&:hover {
color: $_panel_fg_color;
background-color: transparentize($_panel_fg_color, 0.95);
}
&:selected {
border-bottom-width: 0px;
color: $selected_fg_color;
background-color: $selected_bg_color;
}
&:selected { @include button(osd-active); }
}
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
StBoxLayout#ResultsArea { spacing: 4px; }
Expand Down

0 comments on commit 47eed07

Please sign in to comment.