[gnome-themes-standard] entry: fix progressbars on entries
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] entry: fix progressbars on entries
- Date: Sat, 11 Jun 2011 17:45:09 +0000 (UTC)
commit 7f069f38b2fab1ed5f0dcdc0b8e9cf1382db7856
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jun 11 13:43:05 2011 -0400
entry: fix progressbars on entries
We have to use GtkEntry-internal-border and GtkEntry-progress-border for
now, as using padding doesn't allow the progressbar to extend inside all
the entry.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index c58bdf3..f5442c5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -36,9 +36,6 @@
-WnckTasklist-fade-overlay-rect: 0;
- -GtkEntry-inner-border: 2;
- -GtkEntry-progress-border: 0;
-
-GtkWidget-focus-padding: 2;
-GtkWidget-focus-line-width: 1;
-adwaita-focus-border-color: alpha (@theme_text_color, 0.4);
@@ -125,12 +122,17 @@ GtkStatusbar {
.entry {
background-color: @theme_base_color;
- padding: 3;
-
border-style: none;
border-width: 1;
border-radius: 2;
+ /* we use inner-border instead of padding because padding
+ * also applies to the progressbar.
+ */
+ padding: 0;
+ -GtkEntry-inner-border: 5;
+ -GtkEntry-progress-border: 0;
+
/* border-image defined in the -assets variants */
}
@@ -882,9 +884,11 @@ GtkTreeMenu .menuitem * {
from (@trough_bg_color_a),
to (@trough_bg_color_b));
- border-width: 0;
+ border-width: 1;
border-radius: 2;
- border-color: shade (@inactive_frame_color, 0.925);
+ border-style: solid;
+ border-color: shade(@internal_element_color, 1.10);
+ border-image: none;
color: @theme_text_color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]