From 82f7430c47d6a878e71f5cba2b916acf08f8507d Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 21 Aug 2020 20:14:19 +0800 Subject: [PATCH] Fixed Lollypop border radius issues --- src/main/gtk-3.0/gtk-dark-solid.css | 8 ++++++++ src/main/gtk-3.0/gtk-dark.css | 8 ++++++++ src/main/gtk-3.0/gtk-light-solid.css | 8 ++++++++ src/main/gtk-3.0/gtk-light.css | 8 ++++++++ src/sass/gtk/_applications.scss | 17 +++++++++++++++++ 5 files changed, 49 insertions(+) diff --git a/src/main/gtk-3.0/gtk-dark-solid.css b/src/main/gtk-3.0/gtk-dark-solid.css index 57b5a36..e9a98ee 100644 --- a/src/main/gtk-3.0/gtk-dark-solid.css +++ b/src/main/gtk-3.0/gtk-dark-solid.css @@ -7474,6 +7474,14 @@ window.background.csd > box.horizontal > stack > box.vertical > notebook > stack border-bottom-right-radius: 14px; } +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > .sidebar { + border-bottom-left-radius: 14px; +} + +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > paned.horizontal > stack { + border-bottom-right-radius: 14px; +} + toolbar#SubToolBox { min-height: 36px; } diff --git a/src/main/gtk-3.0/gtk-dark.css b/src/main/gtk-3.0/gtk-dark.css index 4bae813..ad1dcb2 100644 --- a/src/main/gtk-3.0/gtk-dark.css +++ b/src/main/gtk-3.0/gtk-dark.css @@ -7470,6 +7470,14 @@ window.background.csd > box.horizontal > stack > box.vertical > notebook > stack border-bottom-right-radius: 14px; } +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > .sidebar { + border-bottom-left-radius: 14px; +} + +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > paned.horizontal > stack { + border-bottom-right-radius: 14px; +} + toolbar#SubToolBox { min-height: 36px; } diff --git a/src/main/gtk-3.0/gtk-light-solid.css b/src/main/gtk-3.0/gtk-light-solid.css index 7208d73..facd009 100644 --- a/src/main/gtk-3.0/gtk-light-solid.css +++ b/src/main/gtk-3.0/gtk-light-solid.css @@ -7501,6 +7501,14 @@ window.background.csd > box.horizontal > stack > box.vertical > notebook > stack border-bottom-right-radius: 14px; } +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > .sidebar { + border-bottom-left-radius: 14px; +} + +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > paned.horizontal > stack { + border-bottom-right-radius: 14px; +} + toolbar#SubToolBox { min-height: 36px; } diff --git a/src/main/gtk-3.0/gtk-light.css b/src/main/gtk-3.0/gtk-light.css index c7934a2..c796b77 100644 --- a/src/main/gtk-3.0/gtk-light.css +++ b/src/main/gtk-3.0/gtk-light.css @@ -7497,6 +7497,14 @@ window.background.csd > box.horizontal > stack > box.vertical > notebook > stack border-bottom-right-radius: 14px; } +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > .sidebar { + border-bottom-left-radius: 14px; +} + +window.background.csd > grid.vertical > overlay > grid.vertical > grid.horizontal > paned.horizontal > stack { + border-bottom-right-radius: 14px; +} + toolbar#SubToolBox { min-height: 36px; } diff --git a/src/sass/gtk/_applications.scss b/src/sass/gtk/_applications.scss index 75b8acc..d93351e 100644 --- a/src/sass/gtk/_applications.scss +++ b/src/sass/gtk/_applications.scss @@ -3119,6 +3119,23 @@ window.background.csd { } } +// +// Lollypop +// +window.background.csd { + > grid.vertical > overlay > grid.vertical { + > grid.horizontal { + > .sidebar { + border-bottom-left-radius: $wm_radius; + } + + > paned.horizontal > stack { + border-bottom-right-radius: $wm_radius; + } + } + } +} + // // Inkscape //