Skip to content

Commit

Permalink
Styles: add highlight to windows (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Mar 20, 2024
1 parent b6414c6 commit cc80a99
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/Styles/Granite/Dialog.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
window.csd.dialog {
box-shadow:
highlight(),
0 0 0 1px $toplevel-border-color,
shadow(3);

&:backdrop {
box-shadow:
highlight(),
0 0 0 1px $toplevel-border-color,
shadow(2);
}

.dialog-content-area {
margin: rem(12px);
margin-top: rem(18px);
Expand Down
2 changes: 2 additions & 0 deletions lib/Styles/Gtk/Window.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ window {
&.csd {
border-radius: rem($window_radius);
box-shadow:
highlight(),
0 0 0 1px $toplevel-border-color,
shadow(4);

&:backdrop {
box-shadow:
highlight(),
0 0 0 1px $toplevel-border-color,
shadow(2);
}
Expand Down

0 comments on commit cc80a99

Please sign in to comment.