~ufurmix-maintainers/ufurmix/lucid

« back to all changes in this revision

Viewing changes to GDM/Source/ufurmix-gdm-theme_0.3.2/FurryLogin/gtk-2.0/gtkrc

  • Committer: shnatsel
  • Date: 2011-01-17 23:05:42 UTC
  • Revision ID: shnatsel@gmail.com-20110117230542-zhaaar0hrdmimxsl
Added Lucid GDM theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
gtk-color-scheme = "bg_color: #191313\nfg_color: #938888\nbase_color: #000\ntext_color: #fff\nselected_bg_color: #fff\nselected_fg_color: #030303\ntooltip_bg_color: #000\ntooltip_fg_color: #fff"
2
 
 
3
 
style "industrial-default"
4
 
{
5
 
  xthickness = 1
6
 
  ythickness = 1
7
 
 
8
 
 
9
 
  GtkWidget::interior_focus = 1
10
 
  GtkButton::default_inside_border = { 3, 3, 3, 3 }
11
 
  GtkRange::trough_border = 0
12
 
 
13
 
  GtkWidget::focus_padding = 1
14
 
 
15
 
  GtkPaned::handle_size = 7
16
 
  
17
 
  GtkRange::slider_width = 15
18
 
  GtkRange::stepper_size = 15
19
 
  GtkScrollbar::min_slider_length = 30
20
 
  GtkCheckButton::indicator_size = 13
21
 
  GtkRadioButton::indicator_size = 13
22
 
  GtkMenuBar::internal-padding = 0
23
 
  GtkMenuBar::shadow-type = GTK_SHADOW_NONE
24
 
 
25
 
  WnckTasklist::fade-opacity = 1
26
 
  WnckTasklist::fade-overlay-rect = 0
27
 
  WnckTasklist::fade-loop-time = 2
28
 
 
29
 
  GtkButton::child_displacement_x = 0
30
 
  GtkButton::child_displacement_y = 1
31
 
 
32
 
  GtkEntry::progress-border = { 0, 0, 0, 0 }
33
 
 
34
 
  GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
35
 
 
36
 
  GtkRange::activate-slider = 1
37
 
 
38
 
  # The following line hints to gecko (and possibly other appliations)  
39
 
  # that the entry should be drawn transparently on the canvas.
40
 
  # Without this, gecko will fill in the background of the entry.           
41
 
  GtkEntry::honors-transparent-bg-hint = 1
42
 
 
43
 
 
44
 
  # color definitions
45
 
  bg[NORMAL]            = @bg_color
46
 
  bg[PRELIGHT]          = shade (1.1, @bg_color)
47
 
  bg[ACTIVE]            = shade (0.85, @bg_color)
48
 
  bg[SELECTED]          = mix (0.65, @selected_bg_color, @bg_color)
49
 
  bg[INSENSITIVE]       = shade (0.85, @bg_color)
50
 
 
51
 
  fg[NORMAL]            = @fg_color
52
 
  fg[PRELIGHT]          = @fg_color
53
 
  fg[ACTIVE]            = @fg_color
54
 
  fg[SELECTED]          = @selected_fg_color
55
 
  fg[INSENSITIVE]       = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
56
 
 
57
 
  base[NORMAL]          = @base_color
58
 
  base[PRELIGHT]        = @base_color #XXX
59
 
  base[ACTIVE]          = mix (0.45, @selected_bg_color, @base_color) #b6c9cf
60
 
  base[SELECTED]        = @selected_bg_color
61
 
  base[INSENSITIVE]     = mix (0.95, @base_color, @text_color)
62
 
 
63
 
  text[NORMAL]          = @text_color
64
 
  text[PRELIGHT]        = @text_color #XXX
65
 
  text[ACTIVE]          = @selected_fg_color
66
 
  text[SELECTED]        = @selected_fg_color
67
 
  text[INSENSITIVE]     = @selected_fg_color
68
 
 
69
 
#  text[INSENSITIVE]    = mix (0.5, @text_color, @base_color)
70
 
 
71
 
#  bg[NORMAL]        = "#f6f6f6"
72
 
#  bg[PRELIGHT]     = "#ffffff"
73
 
#  fg[PRELIGHT]      = "#202020"
74
 
#  bg[ACTIVE]       = "#d9d9d9"
75
 
#  bg[INSENSITIVE]   = "#d9d9d9"
76
 
#  bg[SELECTED]      = "#99a6bf"
77
 
#
78
 
#  base[SELECTED]    = "#6484a4"
79
 
#  text[SELECTED]    = "#ffffff"
80
 
#       #this is selected item without focus:
81
 
#  base[ACTIVE]      = "#b6c9cf"
82
 
#  text[INSENSITIVE] = "#757575"
83
 
#       
84
 
#       #defaults 
85
 
#  #base[NORMAL]  = "#b6c9cf"
86
 
#  #text[NORMAL]  = "#000000"
87
 
#
88
 
  engine "industrial"
89
 
  {
90
 
    # Set a hint to disable backward compatibility fallbacks.
91
 
    hint = "use-hints"
92
 
  }
93
 
}
94
 
 
95
 
# Style to apply an exterior forcus to GtkEntry
96
 
style "industrial-exterior-focus"
97
 
{
98
 
        GtkWidget::interior-focus = 0
99
 
        GtkWidget::focus-line-width = 0
100
 
}
101
 
 
102
 
# Add trough side details to GtkScale
103
 
style "industrial-scale"
104
 
{
105
 
        GtkRange::trough-side-details = 1
106
 
}
107
 
 
108
 
# Style for the entry progress bar -- ie. change the colors
109
 
style "industrial-entry"
110
 
{
111
 
  xthickness = 2
112
 
  ythickness = 2
113
 
# KEN REMOVED
114
 
#  bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
115
 
#  fg[SELECTED] = @text_color
116
 
}
117
 
 
118
 
# generic squared buttons style, used for the tasklist (treeview is in the extra treeview style)
119
 
style "industrial-squared"
120
 
{
121
 
  engine "industrial" 
122
 
  {
123
 
    rounded_buttons = FALSE
124
 
  }
125
 
}
126
 
 
127
 
style "industrial-wide"
128
 
{
129
 
  xthickness = 2
130
 
  ythickness = 2
131
 
}
132
 
 
133
 
# style to remove the border around the progress bar
134
 
style "industrial-progress"
135
 
{
136
 
  xthickness = 0
137
 
  ythickness = 0
138
 
}
139
 
 
140
 
# make scrollbar arrows lighter
141
 
style "industrial-arrows"
142
 
{
143
 
  fg[NORMAL] = mix (0.8, @fg_color, @bg_color)
144
 
}
145
 
 
146
 
# menuitems
147
 
style "industrial-menuitem"
148
 
{
149
 
  xthickness = 3
150
 
  ythickness = 3
151
 
 
152
 
  bg[PRELIGHT]  = @selected_bg_color
153
 
  bg[SELECTED]  = @selected_bg_color
154
 
  fg[PRELIGHT]  = @selected_fg_color
155
 
  fg[SELECTED]  = @selected_fg_color
156
 
}
157
 
 
158
 
style "industrial-menubar"
159
 
{
160
 
  xthickness = 3
161
 
  ythickness = 3
162
 
}
163
 
 
164
 
style "industrial-tree-header"
165
 
{
166
 
  engine "industrial" 
167
 
  {
168
 
    hint = "treeview-header"
169
 
  }
170
 
  xthickness = 2
171
 
  ythickness = 2
172
 
}
173
 
 
174
 
style "industrial-tooltips"
175
 
{
176
 
  xthickness = 4
177
 
  ythickness = 4
178
 
  bg[NORMAL] = @tooltip_bg_color
179
 
  fg[NORMAL] = @tooltip_fg_color
180
 
}
181
 
 
182
 
style "industrial-druid"
183
 
{
184
 
  bg[SELECTED] = @selected_bg_color
185
 
}
186
 
 
187
 
style "metacity-frame"
188
 
{
189
 
 
190
 
        # Normal base color
191
 
        bg[NORMAL]      = @bg_color
192
 
 
193
 
        # Unfocused title background color
194
 
        bg[INSENSITIVE] = @bg_color
195
 
 
196
 
        # Unfocused title text color
197
 
        fg[INSENSITIVE] = mix (0.2, @fg_color, @bg_color) # "#808080"
198
 
 
199
 
        # Focused icon color
200
 
        fg[NORMAL]      = mix (0.8, @fg_color, @bg_color) # same as scrollbar arrow color
201
 
 
202
 
        # Focused title background color
203
 
        bg[SELECTED]    = @selected_bg_color
204
 
        
205
 
        # Focused title text color
206
 
        fg[SELECTED]    = @selected_fg_color
207
 
}
208
 
 
209
 
style "industrial-spinbutton"
210
 
{
211
 
        engine "industrial"
212
 
        {
213
 
                hint    = "spinbutton"
214
 
        }
215
 
}
216
 
 
217
 
style "industrial-comboboxentry"
218
 
{
219
 
        engine "industrial"
220
 
        {
221
 
                hint    = "comboboxentry"
222
 
        }
223
 
}
224
 
 
225
 
# default style
226
 
class "GtkWidget" style "industrial-default"
227
 
 
228
 
# wide
229
 
class "GtkNotebook"   style "industrial-wide"
230
 
class "GtkButton"     style "industrial-wide"
231
 
class "GtkRange"      style "industrial-wide"
232
 
class "GtkMenu"       style "industrial-wide"
233
 
class "GtkFrame"      style "industrial-wide"
234
 
class "GtkStatusbar"  style "industrial-wide"
235
 
class "GtkEntry"      style "industrial-entry"
236
 
 
237
 
class "GtkEntry"      style "industrial-exterior-focus"
238
 
class "GtkSpinButton" style "industrial-spinbutton"
239
 
class "GtkScale"      style "industrial-scale"
240
 
 
241
 
class "GtkVScrollbar" style "industrial-arrows"
242
 
class "GtkHScrollbar" style "industrial-arrows"
243
 
 
244
 
widget_class "*<GtkComboBoxEntry>.*" style "industrial-comboboxentry"
245
 
widget_class "*<GtkCombo>.*" style "industrial-comboboxentry"
246
 
 
247
 
# treeview
248
 
widget_class "*.<GtkTreeView>.GtkButton" style "industrial-tree-header"
249
 
widget_class "*.<GtkList>.GtkButton"     style "industrial-tree-header"
250
 
widget_class "*.<GtkCList>.GtkButton"    style "industrial-tree-header"
251
 
widget_class "*.<ETree>.*"               style "industrial-tree-header"
252
 
widget_class "*.<ETable>.*"              style "industrial-tree-header"
253
 
 
254
 
# menuitems and interior
255
 
widget_class "*<GtkMenuItem>*" style "industrial-menuitem"
256
 
 
257
 
widget_class "*.<GtkProgress>"   style "industrial-progress"
258
 
 
259
 
# druide
260
 
widget_class "*GnomeDruidPage*" style "industrial-druid"
261
 
 
262
 
widget "gtk-tooltip*" style "industrial-tooltips"
263
 
 
264
 
widget "*.tasklist-button" style "industrial-squared"
265
 
 
266
 
class "MetaFrames" style "metacity-frame"
267
 
 
268
 
 
269
 
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
270
 
# Note that the work around assumes that the combobox is _not_ in
271
 
# appears-as-list mode.
272
 
# This style does not affect GtkComboBoxEntry, it does have an effect
273
 
# on comboboxes in appears-as-list mode though.
274
 
style "industrial-text-is-fg-color-workaround"
275
 
{
276
 
        text[NORMAL]        = @fg_color
277
 
        text[PRELIGHT]      = @fg_color
278
 
        text[SELECTED]      = @selected_fg_color
279
 
        text[ACTIVE]        = @fg_color
280
 
        text[INSENSITIVE]   = darker (@bg_color)
281
 
}
282
 
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "industrial-text-is-fg-color-workaround"
283
 
 
284
 
style "industrial-menuitem-text-is-fg-color-workaround"
285
 
{
286
 
        text[NORMAL]        = @fg_color
287
 
        text[PRELIGHT]      = @selected_fg_color
288
 
        text[SELECTED]      = @selected_fg_color
289
 
        text[ACTIVE]        = @fg_color
290
 
        text[INSENSITIVE]   = darker (@bg_color)
291
 
}
292
 
widget "*.gtk-combobox-popup-menu.*"   style "industrial-menuitem-text-is-fg-color-workaround"
293
 
 
294
 
# Work around the usage of GtkLabel inside GtkListItems to display text.
295
 
# This breaks because the label is shown on a background that is based on the
296
 
# base color set.
297
 
style "industrial-fg-is-text-color-workaround"
298
 
{
299
 
        fg[NORMAL]      = @text_color
300
 
        fg[PRELIGHT]    = @text_color
301
 
        fg[ACTIVE]      = @selected_fg_color
302
 
        fg[SELECTED]    = @selected_fg_color
303
 
        fg[INSENSITIVE] = darker (@bg_color)
304
 
}
305
 
widget_class "*<GtkListItem>*" style "industrial-fg-is-text-color-workaround"
306
 
# The same problem also exists for GtkCList and GtkCTree
307
 
# Only match GtkCList and not the parent widgets, because that would also change the headers.
308
 
widget_class "*<GtkCList>" style "industrial-fg-is-text-color-workaround"
309
 
 
310