summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-04-20 22:02:10 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-04-20 22:02:10 +0300
commitf89bad7f3373c846e8083bbec05bf767773265b8 (patch)
tree1fbb1c08ad376b70e7da21b6070938a7001fe296
parent119d0b666c94fc99c218f7b65157baf8ae3f1a3a (diff)
downloadgtk+-f89bad7f3373c846e8083bbec05bf767773265b8.tar.gz
theme: fix solid-csd stylewip/muktupavels/solid-csd
Move .solid-csd style out of .csd parent and adjust it so windows look similar / same to GTK 3 windows: - 4px padding. - extra shadow. https://gitlab.gnome.org/GNOME/gtk/-/issues/3879#note_1086351 https://gitlab.gnome.org/GNOME/gtk/-/issues/3879#note_1086377
-rw-r--r--gtk/theme/Default/_common.scss16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index 83692f5e97..709a9bd61c 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -4068,16 +4068,16 @@ window {
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border, 0.1);
}
+ }
- &.solid-csd {
- margin: 0;
- padding: 0;
- border: solid 1px $borders_color;
- border-radius: 0;
- box-shadow: inset 0 0 0 3px $headerbar_bg_color, inset 0 1px $top_hilight;
+ &.solid-csd {
+ margin: 0;
+ padding: 4px;
+ border: solid 1px $borders_color;
+ border-radius: 0;
+ box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $headerbar_bg_color, inset 0 1px $top_hilight;
- &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
- }
+ &:backdrop { box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
}
&.maximized,