[gnome-themes-standard] inline-toolbars: support nth-child for buttons packed into boxes too
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] inline-toolbars: support nth-child for buttons packed into boxes too
- Date: Wed, 13 Jul 2011 20:10:53 +0000 (UTC)
commit aa68c51d09305e8dd630478e9f1b261833164be3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jul 13 16:08:24 2011 -0400
inline-toolbars: support nth-child for buttons packed into boxes too
This allows theming for groups of buttons packed into boxes into
inline-toolbars.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index cd91bc6..c7ccfe6 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1027,11 +1027,13 @@ GtkTreeMenu .menuitem * {
}
/* nth-child for inline toolbar button groups */
+.inline-toolbar.toolbar .button:nth-child(first),
.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button {
border-radius: 3 0 0 3;
box-shadow: none;
}
+.inline-toolbar.toolbar .button:nth-child(last),
.inline-toolbar.toolbar GtkToolButton:nth-child(last) .button {
border-radius: 0 3 3 0;
border-width: 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]