[gtk/gtk-4-2: 57/91] theme: fix solid-csd style
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-2: 57/91] theme: fix solid-csd style
- Date: Tue, 4 May 2021 02:05:41 +0000 (UTC)
commit be65bab5f6193a082cf9129c88be388b0a191d2e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Apr 20 22:02:10 2021 +0300
theme: fix solid-csd style
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
gtk/theme/Adwaita/_common.scss | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 9d02478c1d..60e3c57dcb 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4067,16 +4067,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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]