summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-07-05 11:03:36 +0200
committerTimm Bäder <mail@baedert.org>2020-07-17 05:49:11 +0200
commit4e4207457f63d593b5565665fb87acbb34743bfb (patch)
treea0fd5b14685c84ea891124f4704b3db9c903c217
parent46bb3e3046969173f7edd3ed5085791fc18f0d11 (diff)
downloadgtk+-4e4207457f63d593b5565665fb87acbb34743bfb.tar.gz
adwaita: Remove header bar border radius
We get this from the window node these days.
-rw-r--r--gtk/theme/Adwaita/_common.scss24
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index a7646eade7..104f09d707 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1465,30 +1465,6 @@ headerbar {
}
}
-.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar,
-.background:not(.tiled-top):not(.maximized):not(.solid-csd) .titlebar,
-.background:not(.tiled-left):not(.maximized):not(.solid-csd) .titlebar,
-.background:not(.tiled-right):not(.maximized):not(.solid-csd) .titlebar,
-.background:not(.tiled-bottom):not(.maximized):not(.solid-csd) .titlebar {
- &:backdrop, & {
- border-top-left-radius: 7px;
- border-top-right-radius: 7px;
- }
-}
-
-headerbar { // headerbar border rounding
- window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) separator:first-child + &, // tackles the paned container case
- window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) &:first-child { &:backdrop, & { border-top-left-radius: 7px; }}
- window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) &:last-child { &:backdrop, & { border-top-right-radius: 7px; }}
- window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) stack & { // tackles the stacked headerbars case
- &:first-child, &:last-child {
- &:backdrop, & {
- border-top-left-radius: 7px;
- border-top-right-radius: 7px;
- }
- }
- }
-}
.titlebar:not(headerbar) {
window.csd > & {