[gnome-themes-standard] Widget: Focused entry tweakings.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget: Focused entry tweakings.
- Date: Wed, 18 Jan 2012 22:20:05 +0000 (UTC)
commit 8817dffe1283167aa8495ee61aa084ce3a9732ab
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Jan 18 23:19:20 2012 +0100
Widget: Focused entry tweakings.
themes/Adwaita/gtk-3.0/gnome-applications.css | 10 +++++++++-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index a9294cd..3f1f9f8 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -489,6 +489,12 @@ EphyToolbar .entry:backdrop {
padding-right: 4;
}
+EphyToolbar .entry:focus {
+ box-shadow: 1 2 inset alpha(@theme_selected_bg_color, 0.1),
+ 1 1 inset alpha(@theme_selected_bg_color, 0.1),
+ 0 -1 inset alpha(@theme_selected_bg_color, 0.2);
+}
+
EphyToolbar .location-entry .button {
color: @internal_element_color;
-GtkButton-child-displacement-y: 0;
@@ -520,7 +526,9 @@ EphyToolbar .location-entry .button:active:hover {
left top, left bottom,
from(shade(@entry_background_a, 0.9)),
to(@entry_background_b));
- box-shadow: 0 1 inset @entry_inset, 0 2 inset alpha(@entry_inset, 0.4), 1 0 inset @inset_dark_color;
+ box-shadow: 0 1 inset @entry_inset,
+ 0 2 inset alpha(@entry_inset, 0.4),
+ 1 0 inset @inset_dark_color;
}
EphyToolbar .location-entry .button:hover,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7a23451..c103186 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -208,7 +208,7 @@ GtkTreeView .separator:backdrop,
}
.entry:focus {
- box-shadow: 1 1 inset alpha(@theme_selected_bg_color, 0.2), -1 -1 inset alpha(@theme_selected_bg_color, 0.2);
+ box-shadow: 1 2 inset alpha(@theme_selected_bg_color, 0.1), 1 1 inset alpha(@theme_selected_bg_color, 0.1), -1 -1 inset alpha(@theme_selected_bg_color, 0.2);
}
.entry.progressbar {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]