[gnome-themes-standard] Widgets: fixed linked button styling, some initial Ephy custom style.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widgets: fixed linked button styling, some initial Ephy custom style.
- Date: Mon, 16 Jan 2012 17:45:29 +0000 (UTC)
commit 7b2a9588971efb1db9242ddf0bd09aecb7b01d42
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Jan 16 18:44:52 2012 +0100
Widgets: fixed linked button styling, some initial Ephy custom style.
themes/Adwaita/gtk-3.0/gnome-applications.css | 32 +++++++++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 72 ++++++++++++------------
2 files changed, 68 insertions(+), 36 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 4a0de4b..195a114 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -465,3 +465,35 @@ GeditStatusbar {
color: shade(@documents_emblem_bg, 2.10);
}
+/* epiphany */
+
+/*
+EphyLocationEntry .entry,
+EphyLocationEntry .entry:focus {
+ border-image-width: 3 0 4 3;
+}
+*/
+EphyToolbar .entry,
+EphyToolbar .entry:focus,
+EphyToolbar .entry:backdrop {
+ border-image-width: 3 0 4 3;
+ border-width: 1 0 2 1;
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+}
+
+EphyToolbar .button:last-child,
+EphyToolbar .button:hover:last-child,
+EphyToolbar .button:active:last-child,
+EphyToolbar .button:focus:last-child {
+ border-image: url("borders/generic-border.svg") 3 3 4 3 / 3 3 4 0 stretch;
+ border-radius: 3;
+ border-width: 1 1 2 0;
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ background-image: -gtk-gradient(linear,
+ left top, left bottom,
+ from(@entry_background_a),
+ to(@entry_background_b));
+ box-shadow: 0 1 inset @entry_inset, 0 2 inset alpha(@entry_inset, 0.4);
+}
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index f354735..d74016a 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -750,18 +750,18 @@ GtkComboBox.combobox-entry .button {
/* Linked buttons on primary toolbars */
/* Middle button */
-.toolbar .button.raised.linked,
-.toolbar .button.raised.linked:active,
-.toolbar .button.raised.linked:focus,
-.toolbar .button.raised.linked:focus:active,
-.toolbar .button.raised.linked:insensitive,
-.toolbar .button.raised.linked:backdrop,
-.toolbar .raised.linked .button,
-.toolbar .raised.linked .button:active,
-.toolbar .raised.linked .button:focus,
-.toolbar .raised.linked .button:focus:active,
-.toolbar .raised.linked .button:insensitive,
-.toolbar .raised.linked .button:backdrop,
+.primary-toolbar .button.raised.linked,
+.primary-toolbar .button.raised.linked:active,
+.primary-toolbar .button.raised.linked:focus,
+.primary-toolbar .button.raised.linked:focus:active,
+.primary-toolbar .button.raised.linked:insensitive,
+.primary-toolbar .button.raised.linked:backdrop,
+.primary-toolbar .raised.linked .button,
+.primary-toolbar .raised.linked .button:active,
+.primary-toolbar .raised.linked .button:focus,
+.primary-toolbar .raised.linked .button:focus:active,
+.primary-toolbar .raised.linked .button:insensitive,
+.primary-toolbar .raised.linked .button:backdrop,
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar .button:active,
.inline-toolbar.toolbar .button:focus,
@@ -781,18 +781,18 @@ GtkComboBox.combobox-entry .button {
}
/* Leftmost button */
-.toolbar .button.raised.linked:first-child,
-.toolbar .button.raised.linked:active:first-child,
-.toolbar .button.raised.linked:focus:first-child,
-.toolbar .button.raised.linked:focus:active:first-child,
-.toolbar .button.raised.linked:insensitive:first-child,
-.toolbar .button.raised.linked:backdrop:first-child,
-.toolbar .raised.linked .button:first-child,
-.toolbar .raised.linked .button:active:first-child,
-.toolbar .raised.linked .button:focus:first-child,
-.toolbar .raised.linked .button:focus:active:first-child,
-.toolbar .raised.linked .button:insensitive:first-child,
-.toolbar .raised.linked .button:backdrop:first-child,
+.primary-toolbar .button.raised.linked:first-child,
+.primary-toolbar .button.raised.linked:active:first-child,
+.primary-toolbar .button.raised.linked:focus:first-child,
+.primary-toolbar .button.raised.linked:focus:active:first-child,
+.primary-toolbar .button.raised.linked:insensitive:first-child,
+.primary-toolbar .button.raised.linked:backdrop:first-child,
+.primary-toolbar .raised.linked .button:first-child,
+.primary-toolbar .raised.linked .button:active:first-child,
+.primary-toolbar .raised.linked .button:focus:first-child,
+.primary-toolbar .raised.linked .button:focus:active:first-child,
+.primary-toolbar .raised.linked .button:insensitive:first-child,
+.primary-toolbar .raised.linked .button:backdrop:first-child,
.inline-toolbar.toolbar .button:first-child,
.inline-toolbar.toolbar .button:active:first-child,
.inline-toolbar.toolbar .button:focus:first-child,
@@ -813,18 +813,18 @@ GtkComboBox.combobox-entry .button {
}
/* Rightmost button */
-.toolbar .button.raised.linked:last-child,
-.toolbar .button.raised.linked:active:last-child,
-.toolbar .button.raised.linked:focus:last-child,
-.toolbar .button.raised.linked:focus:active:last-child,
-.toolbar .button.raised.linked:insensitive:last-child,
-.toolbar .button.raised.linked:backdrop:last-child,
-.toolbar .raised.linked .button:last-child,
-.toolbar .raised.linked .button:active:last-child,
-.toolbar .raised.linked .button:focus:last-child,
-.toolbar .raised.linked .button:focus:active:last-child,
-.toolbar .raised.linked .button:insensitive:last-child,
-.toolbar .raised.linked .button:backdrop:last-child,
+.primary-toolbar .button.raised.linked:last-child,
+.primary-toolbar .button.raised.linked:active:last-child,
+.primary-toolbar .button.raised.linked:focus:last-child,
+.primary-toolbar .button.raised.linked:focus:active:last-child,
+.primary-toolbar .button.raised.linked:insensitive:last-child,
+.primary-toolbar .button.raised.linked:backdrop:last-child,
+.primary-toolbar .raised.linked .button:last-child,
+.primary-toolbar .raised.linked .button:active:last-child,
+.primary-toolbar .raised.linked .button:focus:last-child,
+.primary-toolbar .raised.linked .button:focus:active:last-child,
+.primary-toolbar .raised.linked .button:insensitive:last-child,
+.primary-toolbar .raised.linked .button:backdrop:last-child,
.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar .button:active:last-child,
.inline-toolbar.toolbar .button:focus:last-child,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]