[gtk+] Adwaita: hide separator on button.font and button.file
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: hide separator on button.font and button.file
- Date: Thu, 12 May 2016 09:43:31 +0000 (UTC)
commit b5146317bb0ce7c403352825133883696c1e2cbc
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu May 12 11:40:28 2016 +0200
Adwaita: hide separator on button.font and button.file
we used to do that, got missed at some point during 3.20 cycle.
gtk/theme/Adwaita/_common.scss | 5 ++++-
gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++
gtk/theme/Adwaita/gtk-contained.css | 3 +++
3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 4a8d335..f931f9b 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -763,8 +763,11 @@ button {
}
}
}
+ // hide separators
+ &.font,
+ &.file { separator { background-color: transparent; }}
- //inline-toolbar buttons
+ // inline-toolbar buttons
.inline-toolbar &, .inline-toolbar &:backdrop {
border-radius: 2px;
border-width: 1px;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 99e612b..eb40c69 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1181,6 +1181,9 @@ button {
button.needs-attention:checked > image {
animation: none;
background-image: none; }
+button.font separator,
+button.file separator {
+ background-color: transparent; }
.inline-toolbar
button, .inline-toolbar
button:backdrop {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 4b8c8e6..2840a0a 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1184,6 +1184,9 @@ button {
button.needs-attention:checked > image {
animation: none;
background-image: none; }
+button.font separator,
+button.file separator {
+ background-color: transparent; }
.inline-toolbar
button, .inline-toolbar
button:backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]