~andrewsomething/gnome-themes/new-wave-dark-menus

« back to all changes in this revision

Viewing changes to New Wave Dark Menus/gtk-2.0/gtkrc

  • Committer: Andrewsomething
  • Date: 2009-03-14 22:23:13 UTC
  • Revision ID: a.starr.b@gmail.com-20090314222313-gmht1t0e0xmkdm3g
* Add "New Wave Dark Menus" from lp:anton
 - gtk theme only, not "meta theme"
 - create link to images in "New Wave"
 - debian/copyright: Change "Files: NewWave/*"
   to "Files: NewWave*/*"

 -- Andrew Starr-Bochicchio <a.starr.b@gmail.com>Sat, 14 Mar 2009 17:43:57 -0400

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#================================================
 
3
#        New Wave Dark Menus Pixmap Theme
 
4
#================================================
 
5
#
 
6
 
7
# Based on: Ubuntu Human-Clearlooks
 
8
#
 
9
# Author:
 
10
# Anton Kerezov <ankere@gmail.com>
 
11
#
 
12
# Feel free to modify and share!
 
13
# Licensed under Creative Commons 3.0
 
14
#
 
15
# Major Version: 0.8
 
16
 
 
17
#=========================================================
 
18
# Include the normal New Wave file 
 
19
 
 
20
include "default-gtkrc"
 
21
 
 
22
#=========================================================
 
23
# Modify only the menus so that they become dark         |
 
24
#=========================================================
 
25
#
 
26
#=========================================================
 
27
# Menu system                                            |
 
28
#=========================================================
 
29
 
 
30
style "newwave-menubar-dark" = "newwave-menubar"
 
31
{       
 
32
 
 
33
        engine "pixmap"
 
34
        {
 
35
                image
 
36
                {
 
37
                        function        = BOX
 
38
                        recolorable     = TRUE
 
39
                        state           = PRELIGHT
 
40
                        file            = "Images/MenuMenubar/mb-item-dark.png"
 
41
                        border          = { 2, 2, 4, 2 }
 
42
                        stretch         = TRUE
 
43
                }
 
44
        }
 
45
}
 
46
 
 
47
style "newwave-dark-menu"
 
48
{
 
49
        xthickness = 1
 
50
        ythickness = 3 
 
51
        
 
52
        bg[NORMAL] = "#ffffff"
 
53
        base[NORMAL] = "#ffffff"
 
54
 
 
55
        #Dark scheme
 
56
        fg[NORMAL] = @bg_color
 
57
        fg[PRELIGHT] = @fg_color
 
58
        fg[ACTIVE] = lighter(@bg_color)
 
59
        fg[SELECTED] = lighter(@bg_color)
 
60
        fg[INSENSITIVE] = darker("#7a7878")
 
61
        
 
62
        bg[NORMAL] = "#7a7878"
 
63
        bg[PRELIGHT] = "#7a7878"
 
64
        bg[ACTIVE] = "#7a7878"
 
65
        bg[SELECTED] =  darker("#7a7878")
 
66
        
 
67
        engine "pixmap"
 
68
        {
 
69
          image
 
70
          {
 
71
                function        = BOX
 
72
                recolorable     = TRUE
 
73
                detail          = "menu"
 
74
                shadow          = OUT
 
75
                file            = "Images/MenuMenubar/menu.png"
 
76
                border          = { 1, 1, 2, 1 }
 
77
                stretch         = TRUE
 
78
           }
 
79
        }
 
80
}
 
81
 
 
82
style "newwave-dark-menu-item"
 
83
{
 
84
        xthickness = 0
 
85
        ythickness = 3
 
86
        
 
87
        #Dark scheme
 
88
        fg[NORMAL] = "#ffffff"
 
89
        fg[PRELIGHT] = @fg_color
 
90
        fg[INSENSITIVE] = darker("#696969")
 
91
        
 
92
        bg[NORMAL] = "#696969"
 
93
        bg[ACTIVE] =  shade(1.05,"#696969")
 
94
        bg[SELECTED] = shade(1.05,"#696969")
 
95
        bg[INSENSITIVE] = "#696969"
 
96
 
 
97
        
 
98
        engine "pixmap"
 
99
          {
 
100
            image
 
101
            {
 
102
              function                  = BOX
 
103
              recolorable               = TRUE
 
104
              file                      = "Images/MenuMenubar/menuitem-dark.png"
 
105
              border                    = { 4, 4, 4, 4 }
 
106
              stretch                   = TRUE
 
107
            }
 
108
            image
 
109
            {
 
110
              function                  = ARROW
 
111
              recolorable               = TRUE
 
112
              state                     = NORMAL
 
113
              overlay_file              = "Images/Arrows/arrow-right.png"
 
114
              overlay_stretch           = FALSE
 
115
              arrow_direction           = RIGHT
 
116
            }
 
117
            image
 
118
            {
 
119
              function                  = ARROW
 
120
              recolorable               = TRUE
 
121
              state                     = PRELIGHT
 
122
              overlay_file              = "Images/Arrows/arrow-right-prelight.png"
 
123
              overlay_stretch           = FALSE
 
124
              arrow_direction           = RIGHT
 
125
            }
 
126
            image
 
127
            {
 
128
              function                  = ARROW
 
129
              recolorable               = TRUE
 
130
              state                     = INSENSITIVE
 
131
              overlay_file              = "Images/Arrows/arrow-right-insens.png"
 
132
              overlay_stretch           = FALSE
 
133
              arrow_direction           = RIGHT
 
134
          }
 
135
          }
 
136
}
 
137
 
 
138
style "newwave-dark-tearoff-menu-item"  = "newwave-dark-menu-item"
 
139
{
 
140
  engine "pixmap"
 
141
  {
 
142
    image
 
143
    {
 
144
      function                          = ARROW
 
145
      file                              = "Images/Arrows/arrow-left.png"
 
146
      stretch                           = TRUE
 
147
      arrow_direction                   = LEFT
 
148
    }
 
149
  }
 
150
}
 
151
 
 
152
#=========================================================
 
153
# Main Menu
 
154
#=========================================================
 
155
 
 
156
 
 
157
# This had to make the main menu with white bg (not working yet but will in Ibex)
 
158
style "newwave-dark-panelmenu-item"
 
159
{
 
160
        base[NORMAL] = "#ffffff"
 
161
        
 
162
        fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color)
 
163
        fg[PRELIGHT] = @fg_color
 
164
        fg[INSENSITIVE] = darker("#696969")
 
165
        
 
166
        bg[NORMAL] = "#696969"
 
167
        bg[ACTIVE] =  shade(1.05,"#696969")
 
168
        bg[SELECTED] = shade(1.05,"#696969")
 
169
        bg[INSENSITIVE] = "#696969"
 
170
        
 
171
        text[NORMAL]        = @text_color
 
172
        text[PRELIGHT]      = @text_color
 
173
        text[ACTIVE]        = @text_color
 
174
        text[SELECTED]      = @text_color
 
175
        text[INSENSITIVE]   = "#696969"
 
176
        
 
177
         engine "pixmap"
 
178
         {
 
179
            image
 
180
            {
 
181
              function                  = BOX
 
182
              recolorable               = TRUE
 
183
              file                      = "Images/MenuMenubar/menuitem-dark.png"
 
184
              border                    = { 2, 2, 2, 2 }
 
185
              stretch                   = TRUE
 
186
            }
 
187
            image
 
188
            {
 
189
              function                  = ARROW
 
190
              recolorable               = TRUE
 
191
              state                     = NORMAL
 
192
              overlay_file              = "Images/Arrows/arrow-right.png"
 
193
              overlay_stretch           = FALSE
 
194
              arrow_direction           = RIGHT
 
195
            }
 
196
            image
 
197
            {
 
198
              function                  = ARROW
 
199
              recolorable               = TRUE
 
200
              state                     = PRELIGHT
 
201
              overlay_file              = "Images/Arrows/arrow-right-prelight.png"
 
202
              overlay_stretch           = FALSE
 
203
              arrow_direction           = RIGHT
 
204
            }
 
205
            image
 
206
            {
 
207
              function                  = ARROW
 
208
              recolorable               = TRUE
 
209
              state                     = INSENSITIVE
 
210
              overlay_file              = "Images/Arrows/arrow-right-insens.png"
 
211
              overlay_stretch           = FALSE
 
212
              arrow_direction           = RIGHT
 
213
            }
 
214
          }
 
215
        
 
216
}
 
217
widget "*.gnome-panel-main-menu.*"  style :highest "newwave-dark-panelmenu-item"
 
218
 
 
219
style "newwave-dark-panelmenu" = "newwave-dark-menu" 
 
220
{
 
221
        base[NORMAL] = "#F5F5F5"
 
222
 
 
223
     
 
224
        text[NORMAL]        = @text_color
 
225
        text[PRELIGHT]      = @text_color
 
226
        text[ACTIVE]        = @text_color
 
227
        text[SELECTED]      = @text_color
 
228
        text[INSENSITIVE]   = "#696969"
 
229
        
 
230
        fg[NORMAL] = @bg_color
 
231
        fg[PRELIGHT] = lighter(@bg_color)
 
232
        fg[ACTIVE] = lighter(@bg_color)
 
233
        fg[SELECTED] = lighter(@bg_color)
 
234
        fg[INSENSITIVE] = darker("#7a7878")
 
235
        
 
236
        bg[NORMAL] = "#706E6E"
 
237
        bg[PRELIGHT] = "#7a7878"
 
238
        bg[ACTIVE] = "#7a7878"
 
239
        bg[SELECTED] =  darker("#7a7878")
 
240
        
 
241
      
 
242
     engine "pixmap"
 
243
         {
 
244
            image
 
245
            {
 
246
              function                  = BOX
 
247
              recolorable               = TRUE
 
248
              file                      = "Images/MenuMenubar/menu.png"
 
249
              border                    = { 1, 1, 1, 1 }
 
250
              stretch                   = TRUE
 
251
            }
 
252
          }
 
253
}
 
254
widget "*.gnome-panel-main-menu" style :highest "newwave-dark-panelmenu"
 
255
 
 
256
 
 
257
# Other fixes
 
258
 
 
259
 
 
260
style "newwave-combobox-text-color-workaround-dark"
 
261
{
 
262
        text[NORMAL]      = @fg_color
 
263
        text[PRELIGHT]    = @fg_color
 
264
        text[SELECTED]    = @selected_fg_color
 
265
        text[ACTIVE]      = @fg_color
 
266
        text[INSENSITIVE] = darker (@bg_color)
 
267
}
 
268
widget_class "*.<GtkComboBox>.<GtkCellView>" style :highest "newwave-combobox-text-color-workaround-dark"
 
269
 
 
270
 
 
271
style "newwave-menuitem-text-is-fg-color-workaround-dark"
 
272
{
 
273
        text[NORMAL]        = "#ffffff"
 
274
        text[PRELIGHT]      = @fg_color
 
275
        text[SELECTED]      = lighter(@bg_color)
 
276
        text[ACTIVE]        = lighter(@bg_color)
 
277
        text[INSENSITIVE]   = darker("#7a7878")
 
278
 
 
279
        fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color)
 
280
        fg[PRELIGHT] = @fg_color
 
281
        fg[INSENSITIVE] = darker("#696969")
 
282
        
 
283
        bg[NORMAL] = "#696969"
 
284
        bg[ACTIVE] =  shade(1.05,"#696969")
 
285
        bg[SELECTED] = shade(1.05,"#696969")
 
286
        bg[INSENSITIVE] = "#696969"
 
287
        
 
288
         engine "pixmap"
 
289
         {
 
290
            image
 
291
            {
 
292
              function                  = BOX
 
293
              recolorable               = TRUE
 
294
              file                      = "Images/MenuMenubar/menuitem-dark.png"
 
295
              border                    = { 2, 2, 2, 2 }
 
296
              stretch                   = TRUE
 
297
            }
 
298
          }
 
299
        
 
300
}
 
301
widget "*.gtk-combobox-popup-menu.*"  style :highest "newwave-menuitem-text-is-fg-color-workaround-dark"
 
302
 
 
303
style "newwave-dark-popupmenu-workaround"
 
304
{
 
305
        text[NORMAL]        = @bg_color
 
306
        text[PRELIGHT]      = lighter(@bg_color)
 
307
        text[SELECTED]      = lighter(@bg_color)
 
308
        text[ACTIVE]        = lighter(@bg_color)
 
309
        text[INSENSITIVE]   = darker("#7a7878")
 
310
 
 
311
        fg[NORMAL] = @bg_color
 
312
        fg[PRELIGHT] = lighter(@bg_color)
 
313
        fg[ACTIVE] = lighter(@bg_color)
 
314
        fg[SELECTED] = lighter(@bg_color)
 
315
        fg[INSENSITIVE] = darker("#7a7878")
 
316
        
 
317
        bg[NORMAL] = "#7a7878"
 
318
        bg[PRELIGHT] = "#7a7878"
 
319
        bg[ACTIVE] = "#7a7878"
 
320
        bg[SELECTED] =  darker("#7a7878")
 
321
        
 
322
         engine "pixmap"
 
323
         {
 
324
            image
 
325
            {
 
326
              function                  = BOX
 
327
              recolorable               = TRUE
 
328
              file                      = "Images/MenuMenubar/menu.png"
 
329
              border                    = { 1, 1, 1, 1 }
 
330
              stretch                   = TRUE
 
331
            }
 
332
          }
 
333
}
 
334
 
 
335
widget "*.gtk-combobox-popup-menu"  style :highest  "newwave-dark-popupmenu-workaround"
 
336
 
 
337
 
 
338
 
 
339
widget_class "*<GtkMenu>.<GtkMenuItem>*"                style  "newwave-dark-menu-item"
 
340
widget_class"*.GtkAccelMenuItem.*"                      style  "newwave-dark-menu-item"
 
341
widget_class "*<GtkMenu>*"                              style  "newwave-dark-menu"
 
342
class "GtkTearoffMenuItem"                              style  "newwave-dark-menu-item"
 
343
class "GtkMenuItem"                                     style  "newwave-dark-menu-item"
 
344
class "GtkImageMenuItem"                                style  "newwave-dark-menu-item"
 
345
class "GtkItem"                                         style  "newwave-dark-menu-item"
 
346
 
 
347
widget_class "*<GtkMenuBar>*"                           style "newwave-menubar-dark"
 
348
class "GtkMenuBar"                                      style "newwave-menubar-dark"
 
349
widget_class "GtkMenuBar"                               style "newwave-menubar-dark"
 
350
class "*MenuBar*"                                       style "newwave-menubar-dark"
 
351
widget_class "*MenuBar*"                                style "newwave-menubar-dark"
 
352
 
 
353