[gtk/wip/baedert/filechooser2: 1/10] Adwaita: Bring filechooserbutton spacing back
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/filechooser2: 1/10] Adwaita: Bring filechooserbutton spacing back
- Date: Sun, 28 Apr 2019 10:34:27 +0000 (UTC)
commit dcc55e3a73eadf02a3b682da0103b17faadc5265
Author: Timm Bäder <mail baedert org>
Date: Sun Apr 28 10:34:47 2019 +0200
Adwaita: Bring filechooserbutton spacing back
Add some space between the icons and the text, like there was in gtk3.
gtk/theme/Adwaita/_common.scss | 4 ++++
gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 8 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index a8fef92a96..44c9ace476 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3875,6 +3875,10 @@ filechooser {
#pathbarbox { border-bottom: 1px solid $bg_color; }
}
+
+filechooserbutton>button>box {
+ border-spacing: 6px;
+}
filechooserbutton:drop(active) {
box-shadow: none;
border-color: transparent;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index fb21424acf..1167687e5d 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1695,6 +1695,8 @@ filechooser .dialog-action-box:backdrop { border-top-color: #202020; }
filechooser #pathbarbox { border-bottom: 1px solid #353535; }
+filechooserbutton > button > box { border-spacing: 6px; }
+
filechooserbutton:drop(active) { box-shadow: none; border-color: transparent; }
/*********** Sidebar * */
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 4a99724c8a..c2b800497f 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1711,6 +1711,8 @@ filechooser .dialog-action-box:backdrop { border-top-color: #d5d0cc; }
filechooser #pathbarbox { border-bottom: 1px solid #f6f5f4; }
+filechooserbutton > button > box { border-spacing: 6px; }
+
filechooserbutton:drop(active) { box-shadow: none; border-color: transparent; }
/*********** Sidebar * */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]