[gtk+] Adwaita: no rounded corners for solid-csd.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: no rounded corners for solid-csd.
- Date: Sat, 29 Oct 2016 15:20:24 +0000 (UTC)
commit da1348edb4efd936af5a893097cac3626b4bb9ac
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sat Oct 29 17:18:58 2016 +0200
Adwaita: no rounded corners for solid-csd.
gtk/theme/Adwaita/_common.scss | 8 ++++----
gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++---
gtk/theme/Adwaita/gtk-contained.css | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 6be2d48..60afcfb 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1562,7 +1562,7 @@ headerbar {
}
}
-.background:not(.tiled):not(.maximized) .titlebar {
+.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar {
&:backdrop, & {
border-top-left-radius: 7px;
border-top-right-radius: 7px;
@@ -1570,10 +1570,10 @@ headerbar {
}
headerbar {
- window:not(.tiled):not(.maximized) separator:first-child + &, // tackles the paned container case
- window:not(.tiled):not(.maximized) &:first-child { &:backdrop, & { border-top-left-radius: 7px; }}
+ window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + &, // tackles the paned
container case
+ window:not(.tiled):not(.maximized):not(.solid-csd) &:first-child { &:backdrop, & { border-top-left-radius:
7px; }}
- window:not(.tiled):not(.maximized) &:last-child { &:backdrop, & { border-top-right-radius: 7px; }}
+ window:not(.tiled):not(.maximized):not(.solid-csd) &:last-child { &:backdrop, & { border-top-right-radius:
7px; }}
}
.titlebar:not(headerbar) {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 7537c68..23df62b 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2014,13 +2014,13 @@ headerbar switch {
margin-top: 9px;
margin-bottom: 9px; }
-.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized)
.titlebar {
+.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar:backdrop,
.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar {
border-top-left-radius: 7px;
border-top-right-radius: 7px; }
-window:not(.tiled):not(.maximized) separator:first-child + headerbar:backdrop,
window:not(.tiled):not(.maximized) separator:first-child + headerbar, window:not(.tiled):not(.maximized)
headerbar:first-child:backdrop, window:not(.tiled):not(.maximized) headerbar:first-child {
+window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + headerbar:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + headerbar,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:first-child:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:first-child {
border-top-left-radius: 7px; }
-window:not(.tiled):not(.maximized) headerbar:last-child:backdrop, window:not(.tiled):not(.maximized)
headerbar:last-child {
+window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:last-child:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:last-child {
border-top-right-radius: 7px; }
window.csd > .titlebar:not(headerbar) {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 6247757..28290c2 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2023,13 +2023,13 @@ headerbar switch {
margin-top: 9px;
margin-bottom: 9px; }
-.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized)
.titlebar {
+.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar:backdrop,
.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar {
border-top-left-radius: 7px;
border-top-right-radius: 7px; }
-window:not(.tiled):not(.maximized) separator:first-child + headerbar:backdrop,
window:not(.tiled):not(.maximized) separator:first-child + headerbar, window:not(.tiled):not(.maximized)
headerbar:first-child:backdrop, window:not(.tiled):not(.maximized) headerbar:first-child {
+window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + headerbar:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + headerbar,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:first-child:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:first-child {
border-top-left-radius: 7px; }
-window:not(.tiled):not(.maximized) headerbar:last-child:backdrop, window:not(.tiled):not(.maximized)
headerbar:last-child {
+window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:last-child:backdrop,
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:last-child {
border-top-right-radius: 7px; }
window.csd > .titlebar:not(headerbar) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]