summaryrefslogtreecommitdiffstats
path: root/src/gtk/styles/gray/gtkrc
blob: 3fb5d76e3aadd26f4cd21783841863ee78b35fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#C7D3DF\nselected_fg_color:#000\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1


style "ia_ora-default"
{

    color["gray0"]= @bg_color # "#EFF3F7"
    color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
    color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
    color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
    color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
    color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
    color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"

# pwp+
    color["blue0"]= mix(0.3, @selected_bg_color, "#E8ECF0") # gray1 #DFE7EF
    color["blue1"]= mix(0.5, @selected_bg_color, "#C8D8D0") # gray2 #CFD7DF
    color["blue2"]= @selected_bg_color # gray3 #C7D3DF
    color["blue3"]= mix(0.5, @selected_bg_color, "#8090A0") # gray5 #A6B2C7 
    color["blue4"]= mix(0.5, @selected_bg_color, "#405060") # gray6 #8692A6

    GtkButton::default-border         = {1, 1, 1, 1}
    GtkWidget::interior-focus         = 1
    GtkButton::default-spacing        = 6
    GtkCheckButton::indicator-size    = 13
    GtkPaned::handle-size             = 6
    GtkRange::trough-border           = 0
    GtkRange::slider-width            = 8
    GtkRange::stepper-size            = 15
    GtkRange::stepper-spacing         = 0
    GtkRange::trough-side-details     = 1
    GtkScrollbar::min-slider-length   = 20
    GtkScrollbar::slider-width        = 15
    GtkScrollbar::trough-side-details     = 0
    GtkTreeView::even-row-color       = @base_color
    GtkTreeView::odd-row-color        = @bg_color

    # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
    WnckTasklist   ::fade-overlay-rect    = 0


    fg[NORMAL]        = @fg_color
    fg[ACTIVE]        = @fg_color
    fg[INSENSITIVE]   = @gray4
    fg[PRELIGHT]      = @fg_color
    fg[SELECTED]      = @selected_fg_color

    bg[NORMAL]        = @bg_color
    bg[ACTIVE]        = @gray1
    bg[INSENSITIVE]   = @gray2
    bg[PRELIGHT]      = @gray1
    bg[SELECTED]      = @selected_bg_color

    base[NORMAL]      = @base_color
    base[ACTIVE]      = @blue1
    base[INSENSITIVE] = @bg_color
    base[PRELIGHT]    = @base_color
    base[SELECTED]    = @selected_bg_color

    text[NORMAL]      = @text_color
    text[ACTIVE]      = @selected_fg_color
    text[INSENSITIVE] = @gray4
    text[PRELIGHT]    = @fg_color
    text[SELECTED]    = @selected_fg_color

    engine "ia_ora" {
       black_check=TRUE
    }
}

style "ia_ora-button" = "ia_ora-default"
{
  xthickness = 2
  ythickness = 2
}

style "ia_ora-thin" = "ia_ora-default"
{
  xthickness = 1
  ythickness = 1
}

style "ia_ora-treeview-header" = "ia_ora-default"
{
  xthickness = 0
  ythickness = 0
}


style "ia_ora-menu" = "ia_ora-default"
{
  fg[PRELIGHT]=@selected_fg_color
  text[PRELIGHT]=@selected_fg_color
}

style "ia_ora-bar" = "ia_ora-menu"
{
  xthickness = 0
  ythickness = 0
}


style "ia_ora-tasklist" = "ia_ora-default"
{
  xthickness = 2
  ythickness = 2
  GtkWidget::focus-line-width = 0
  GtkWidget::focus-padding = 0
}

style "ia_ora-comboboxtext" = "ia_ora-default"
{
  text[PRELIGHT] = @fg_color
 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  text[NORMAL]       = @fg_color
}

style "ia_ora-tooltips" = "ia_ora-default"
{
  bg[NORMAL] = @tooltip_bg_color
  fg[NORMAL] = @tooltip_fg_color
  bg[SELECTED] = darker(@tooltip_bg_color)
  GtkWidget::new-tooltip-style = 1
  xthickness = 8
  ythickness = 4
}

style "ia_ora-tree" = "ia_ora-default"
{
  bg[ACTIVE] = @blue1
}

style "ia_ora-menubar" = "ia_ora-default"
{
  GtkWidget::window-dragging = 1
}

class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"

# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"

class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"