[gnome-themes-standard/wip/jimmac/updated-gtk2: 39/106] Main rc cleanthrough.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/jimmac/updated-gtk2: 39/106] Main rc cleanthrough.
- Date: Thu, 3 Mar 2016 22:20:34 +0000 (UTC)
commit ddab20abb3382a1e6e2e253d937eac3d76688faa
Author: Juraj Fiala <doctorjellyface riseup net>
Date: Sun Jan 24 14:35:07 2016 +0100
Main rc cleanthrough.
themes/Adwaita/gtk-2.0/main.rc | 101 +++++++---------------------------------
1 files changed, 17 insertions(+), 84 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index 4b6b897..856e398 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -86,11 +86,15 @@ style "default" {
bg[INSENSITIVE] = mix (0.6, @bg_color, @base_color)
bg[ACTIVE] = "red" #shade (0.9, @bg_color) # I just can't find out where this is used
- fg[NORMAL] = @fg_color
- fg[PRELIGHT] = @fg_color
+ #fg[NORMAL] = @fg_color
+ #fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = mix (0.5, @fg_color, @bg_color)
- fg[ACTIVE] = @fg_color
+ #fg[ACTIVE] = @fg_color
+
+ fg[NORMAL] = @focus_color
+ fg[PRELIGHT] = @focus_color
+ fg[ACTIVE] = @focus_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
@@ -557,6 +561,14 @@ style "default" {
}
}
+style "label" {
+
+ fg[NORMAL] = @fg_color
+ fg[PRELIGHT] = @fg_color
+ fg[ACTIVE] = @fg_color
+
+}
+
style "scrollbar" {
engine "pixmap" {
@@ -949,10 +961,6 @@ style "button" {
xthickness = 3
ythickness = 3
- fg[NORMAL] = @focus_color
- fg[PRELIGHT] = @focus_color
- fg[ACTIVE] = @focus_color
-
engine "pixmap" {
image {
@@ -1041,7 +1049,7 @@ style "entry" {
xthickness = 3
ythickness = 4
- base[NORMAL] = @base_color
+ # This is needed otherwise the background is drawn with fg
base[INSENSITIVE] = @insensitive_bg_color
engine "pixmap" {
@@ -1097,67 +1105,6 @@ style "entry" {
}
-style "notebook_entry" {
-
- xthickness = 3
- ythickness = 4
-
- base[NORMAL] = @base_color
- base[INSENSITIVE] = @insensitive_bg_color
-
- engine "pixmap" {
-
- image {
- function = SHADOW
- detail = "entry"
- state = NORMAL
- shadow = IN
- file = "Entry/notebook-entry-border-bg.png"
- border = {4, 4, 4, 4}
- stretch = TRUE
- }
-
- image {
- function = SHADOW
- detail = "entry"
- state = INSENSITIVE
- shadow = IN
- file = "Entry/notebook-entry-border-disabled-bg.png"
- border = {4, 4, 4, 4}
- stretch = TRUE
- }
-
- image {
- function = SHADOW
- detail = "entry"
- state = ACTIVE
- file = "Entry/notebook-entry-border-active-bg.png"
- border = {4, 4, 4, 4}
- stretch = TRUE
- }
-
- image {
- function = FLAT_BOX
- detail = "entry_bg"
- state = NORMAL
- file = "Others/null.png"
- border = {0, 0, 0, 0}
- stretch = TRUE
- }
-
- image {
- function = FLAT_BOX
- detail = "entry_bg"
- state = ACTIVE
- file = "Others/null.png"
- border = {0, 0, 0, 0}
- stretch = TRUE
- }
-
- }
-
-}
-
style "notebook_tab_label" {
#fg[ACTIVE] = @text_color
}
@@ -1337,8 +1284,6 @@ style "combobox_entry_button" {
style "spinbutton" {
- bg[NORMAL] = @bg_color
-
xthickness = 4
ythickness = 4
@@ -1610,10 +1555,6 @@ style "notebook" {
xthickness = 5
ythickness = 2
- fg[NORMAL] = @focus_color
- fg[PRELIGHT] = @focus_color
- fg[ACTIVE] = @focus_color
-
engine "pixmap" {
image {
@@ -1842,10 +1783,6 @@ style "combobox_arrows" {
style "range" {
- fg[NORMAL] = @focus_color
- fg[PRELIGHT] = @focus_color
- fg[ACTIVE] = @focus_color
-
engine "pixmap" {
image {
@@ -2276,6 +2213,7 @@ style "null" {
}
class "GtkWidget" style "default"
+class "GtkLabel" style "label"
class "GtkScrollbar" style "scrollbar"
class "GtkButton" style "button"
class "GtkEntry" style "entry"
@@ -2310,11 +2248,6 @@ widget_class "*<GtkComboBoxEntry>*<GtkButton>" style "combobox
widget_class "*<GtkInfoBar>*<GtkButton>" style "button_infobar"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport"
-# Entries in notebooks draw with notebook's base color, but not if there's
-# something else in the middle that draws gray again
-widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
-widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "entry"
-
# We need the prelight colour inside notebooks to be white so it won't change on hover
widget_class "*<GtkNotebook>*" style "notebook_prelight"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]