b4501e89de23783bd5786f6575d96c6316551c5c
[ardour.git] / gtk2_ardour / ardour3_ui_light.rc.in
1 #
2 # This is the GTK style file for Ardour, originally by Paul Davis and others
3 #
4 # Color meta-ization originated by Sean Corbett (seanbutnotheard@gmail.com)
5 #
6 # Released under the terms of the GNU GPL v2:  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 #
8
9 #@color fg #171717
10 #@color bg #cccccc
11 #@color text #171717
12 #@color base #cccccc
13 #@color fg_selected #EEF
14 #@color bg_selected #58B
15 #@color fg_tooltip #1F1F1F
16 #@color bg_tooltip #FCF5B8
17
18 #@color lightest #ffffff
19 #@color darkest #000000
20 #@color bright_indicator #F11
21 #@color contrasting_indicator #9f3
22 #@color somewhat_bright_indicator #CEF
23 #@color not_so_bright_indicator #FC4
24 #@color bright_color #729FCF
25
26 #@color arm #F33
27 #@color solo #A8F730
28 #@color midi_channel_selector #A8F730
29 #@color isolate #B9ECF2
30 #@color solo_lock #3593DA
31 #@color mute #FFFA87
32 #@color mono #DEC
33 #@color monitor #7596DE
34 #@color control_text2 #8D2B1B
35 #@color control_base #ffffff
36 #@color control_text #D0D2D5
37 #@color audio_track #aaaaaa
38 #@color midi_track #aabbbb
39 #@color audio_bus #888899
40
41 #@color send_fg #30F7B0
42 #@color send_bg #C4C4B8
43
44 #@color processor_frame_selected #999999
45 #@color processor_fader_bg #666666
46 #@color processor_fader_frame #7F7F7F
47 #@color processor_prefader #ffffff
48 #@color processor_prefader_frame #7F0000
49 #@color processor_postfader #1A4D1A
50 #@color processor_postfader_frame #1B7F1B
51
52 # Tweak the color scheme in one place :
53
54 gtk_color_scheme = "@COLOR_SCHEME@"
55
56 #alternate BG color: #5C5E61
57
58 style "default" = "medium_text"
59 {
60   #Original values for reference
61   GtkWidget::cursor_color =  @@COLPREFIX@_lightest
62   GtkButton::default_border = { 0, 0, 0, 0 }
63   GtkButton::default_outside_border = { 0, 0, 0, 0 }
64   GtkButton::button_relief = GTK_RELIEF_NONE
65   GtkTreeView::vertical-padding = 0
66   GtkTreeView::horizontal-padding = 0
67   GtkTreeView::even-row-color = @@COLPREFIX@_base
68   GtkTreeView::odd-row-color = darker(@@COLPREFIX@_base)
69   
70   GtkWidget           :: focus-line-pattern               = "\001\001"        #                              Dash pattern used to draw the focus indicator.
71   GtkWidget           :: focus-line-width                 = 1                 # [               1 ] ( >= 0 ) Width, in pixels, of the focus indicator line.
72   GtkWidget           :: focus-padding                    = 1                 # [               1 ] ( >= 0 ) Width, in pixels, between focus indicator and the widget box.
73   GtkWidget           :: interior-focus                   = 1                 # [               1 ] ( bool ) Draw the focus indicator inside widgets.
74   GtkWidget           :: scroll-arrow-hlength             = 16                # [              16 ] ( >= 1 ) Length of horizontal scroll arrows.
75   GtkWidget           :: scroll-arrow-vlength             = 16                # [              16 ] ( >= 1 ) Length of vertical scroll arrows.
76
77   GtkWidget           :: link-color                       = shade(1.25, @@COLPREFIX@_bright_color)
78   GtkWidget           :: visited-link-color               = @@COLPREFIX@_bright_color
79   
80 #Window Properties
81   GtkDialog           :: action-area-border               = 4                 # [               5 ] ( >= 0 ) Width of border around the button area at the bottom of the dialog.
82   GtkDialog           :: button-spacing                   = 4                 # [               6 ] ( >= 0 ) Spacing between buttons.
83   GtkDialog           :: content-area-border              = 2                 # [               2 ] ( >= 0 ) Width of border around the main dialog area.
84   GtkDialog           :: content-area-spacing             = 0                 # [               0 ] ( >= 0 ) The default spacing used between elements of the content area of the dialog.
85   
86 #Control Properties
87   GtkButton           :: child-displacement-x             = 1                 # [               0 ]          How far in x direction to move the button when its depressed.
88   GtkButton           :: child-displacement-y             = 1                 # [               0 ]          ... y
89   GtkButton           :: default-border                   = { 0, 0, 0, 0 }    #                              Extra space to add for CAN_DEFAULT buttons.
90   GtkButton           :: displace-focus                   = 0                 # [               0 ] ( bool ) Whether the child_displacement_x/child_displacement_y properties should also affect the focus rectangle.
91   GtkButton           :: image-spacing                    = 2                 # [               2 ] ( >= 0 ) Spacing in pixels between the image and label.
92
93   GtkCheckButton      :: indicator-size                   = 13                # [              13 ] ( >= 0 ) Size of check or radio indicator.
94   GtkCheckButton      :: indicator-spacing                = 2                 # [               2 ] ( >= 0 ) Spacing around check or radio indicator.
95   GtkCheckMenuItem    :: indicator-size                   = 13                # [              13 ] ( >= 0 ) Size of check or radio indicator.
96
97   GtkOptionMenu       :: indicator-size                   = { 6, 10 }         #                              Size of dropdown indicator.
98   GtkOptionMenu       :: indicator-spacing                = {   6, 5, 0, 0 }    #                              Spacing around indicator.
99
100   GtkComboBox         :: appears-as-list                  = 0                 # [               0 ] ( bool ) Whether dropdowns should look like lists rather than menus.
101   GtkComboBox         :: arrow-size                       = 13                # [              15 ] ( >= 0 ) Sets the minimum size of the arrow in the combo box.
102   GtkComboBox         :: shadow-type                      = GTK_SHADOW_NONE   # [ GTK_SHADOW_NONE ]          Which kind of shadow to draw around the combo box.
103
104   GtkPaned            :: handle-size                      = 4                 # [               5 ] ( >= 0 ) Width of handle.
105
106   GtkScale            :: activate-slider                  = 1                 # [               0 ] ( bool ) With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
107   GtkScale            :: slider-length                    = 23                # [              31 ] ( >= 0 ) Length of scale's slider.  
108   GtkScale            :: slider-width                     = 14                # [              14 ] ( >= 0 ) Width of scrollbar or scale thumb.
109   GtkScale            :: trough-side-details              = 1                 # [               0 ] ( bool ) When TRUE, the parts of the trough on the two sides of the slider are drawn with different details.
110
111   GtkScrollbar        :: activate-slider                  = 1                 # [               0 ] ( bool ) With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
112   GtkScrollbar        :: arrow-scaling                    = 0.4               # [             0.5 ] ( 0.1  ) The arrow size proportion relative to the scroll button size.
113   GtkScrollbar        :: fixed-slider-length              = 0                 # [               0 ] ( bool ) Don't change slider size, just lock it to the minimum length.
114   GtkScrollbar        :: min-slider-length                = 50                # [              21 ] ( >= 0 ) Minimum length of scrollbar slider.
115   GtkScrollbar        :: slider-width                     = 15                # [              14 ] ( >= 0 ) Width of scrollbar or scale thumb.    
116   GtkScrollbar        :: stepper-spacing                  = 0                 # [               0 ] ( >= 0 ) The spacing between the stepper buttons and thumb. Note that setting this value to anything > 0 will automatically set the trough-under-steppers style property to TRUE as well. Also, stepper-spacing won't have any effect if there are no steppers.
117   GtkScrollbar        :: trough-border                    = 0                 # [               1 ] ( >= 0 ) Spacing between thumb/steppers and outer trough bevel.
118   GtkScrollbar        :: trough-side-details              = 0                 # [               0 ] ( bool ) When TRUE, the parts of the trough on the two sides of the slider are drawn with different details.    
119   GtkScrollbar        :: trough-under-steppers            = 1                 # [               1 ] ( bool ) Whether to draw the trough across the full length of the range or to exclude the steppers and their spacing. Note that setting the "stepper-spacing" style property to any value > 0 will automatically enable trough-under-steppers too.
120
121   GtkScrollbar        :: has-backward-stepper             = 1                 # [               1 ] ( bool ) Display the standard backward arrow button.
122   GtkScrollbar        :: has-forward-stepper              = 1                 # [               1 ] ( bool ) Display the standard forward arrow button.
123   GtkScrollbar        :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
124   GtkScrollbar        :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
125
126   GtkHScrollbar       :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
127   GtkHScrollbar       :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
128   GtkVScrollbar       :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
129   GtkVScrollbar       :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
130
131 #Menu Properties
132   GtkMenuBar          :: internal-padding                 = 1                 # [               1 ] ( >= 0 ) Amount of border space between the menubar shadow and the menu items.
133   GtkMenuBar          :: shadow-type                      = GTK_SHADOW_OUT    # [  GTK_SHADOW_OUT ]          Style of bevel around the menubar. 
134
135   GtkMenu             :: arrow-placement                  = GTK_ARROWS_BOTH   # [ GTK_ARROWS_BOTH ]          Indicates where scroll arrows should be placed.
136   GtkMenu             :: arrow-scaling                    = 0.5               # [             0.7 ] ( 0.1  ) Arbitrary constant to scale down the size of the scroll arrow.
137   GtkMenu             :: double-arrows                    = 1                 # [               1 ] ( bool ) When scrolling, always show both arrows.
138   GtkMenu             :: horizontal-offset                = -2                # [              -2 ]          When the menu is a submenu, position it this number of pixels offset horizontally.
139   GtkMenu             :: horizontal-padding               = 0                 # [               0 ] ( >= 0 ) Extra space at the left and right edges of the menu.
140   GtkMenu             :: vertical-offset                  = 0                 # [               0 ]          When the menu is a submenu, position it this number of pixels offset vertically.
141   GtkMenu             :: vertical-padding                 = 0                 # [               0 ] ( >= 0 ) Extra space at the top and bottom of the menu.
142
143   GtkMenuItem         :: arrow-scaling                    = 0.5               # [             0.8 ] ( 0.2  ) Amount of space used up by arrow, relative to the menu item's font size.
144   GtkMenuItem         :: arrow-spacing                    = 10                # [              10 ] ( >= 0 ) Space between label and arrow.
145   GtkMenuItem         :: horizontal-padding               = 3                 # [               3 ] ( >= 0 ) Padding to left and right of the menu item.
146   GtkMenuItem         :: selected-shadow-type             = GTK_SHADOW_NONE   # [ GTK_SHADOW_NONE ]          Shadow type when item is selected.
147   #GtkMenuItem         :: toggle-spacing                   = 4                 # [               5 ] ( >= 0 ) Space between icon and label.
148   GtkMenuItem         :: width-chars                      = 12                # [              12 ] ( >= 0 ) The minimum desired width of the menu item in characters.
149
150 #Other Properties
151   GtkArrow            :: arrow-scaling                    = 0.5               # [             0.7 ] ( 0.1  ) Amount of space used up by arrow.
152
153   GtkNotebook         :: arrow-spacing                    = 0                 # [               0 ] ( >= 0 ) Spacing between the scroll arrows and the tabs.
154   GtkNotebook         :: tab-curvature                    = 1                 # [               1 ] ( >= 0 ) Size of tab curvature.
155   GtkNotebook         :: tab-overlap                      = 1                 # [               2 ]          Size of tab overlap area.
156
157   GtkTreeView         :: horizontal-separator             = 8                 # [               2 ] ( >= 0 ) Horizontal space between cells. Must be an even number.
158   GtkTreeView         :: vertical-separator               = 2                 # [               2 ] ( >= 0 ) Vertical space between cells. Must be an even number.
159
160   GtkEntry            :: honors-transparent-bg-hint       = 1                 # [               0 ] ( bool ) (Clearlooks) Without this, gecko will fill in the background of the entry.
161
162
163   #GtkToolbar::shadow_type = GTK_SHADOW_ETCHED_IN
164
165   #xthickness = 0
166   #ythickness = 0
167
168 #Base Colors
169   bg[NORMAL]          = @@COLPREFIX@_bg
170   bg[PRELIGHT]        = shade(1.1, @@COLPREFIX@_bg)
171   bg[ACTIVE]          = shade(0.9, @@COLPREFIX@_bg)
172   bg[INSENSITIVE]     = @@COLPREFIX@_bg
173   bg[SELECTED]        = @@COLPREFIX@_bg_selected
174
175   fg[NORMAL]          = @@COLPREFIX@_fg
176   fg[PRELIGHT]        = @@COLPREFIX@_fg
177   fg[ACTIVE]          = shade(0.9, @@COLPREFIX@_fg)
178   fg[INSENSITIVE]     = shade(0.7, @@COLPREFIX@_bg)
179   fg[SELECTED]        = @@COLPREFIX@_fg_selected
180
181   base[NORMAL]        = @@COLPREFIX@_base
182   base[PRELIGHT]      = @@COLPREFIX@_base
183   base[INSENSITIVE]   = shade(1.0, @@COLPREFIX@_bg)
184   base[ACTIVE]        = shade(0.9, @@COLPREFIX@_bg_selected)
185   base[SELECTED]      = @@COLPREFIX@_bg_selected
186
187   text[NORMAL]        = @@COLPREFIX@_text
188   text[PRELIGHT]      = @@COLPREFIX@_text
189   text[ACTIVE]        = @@COLPREFIX@_fg_selected
190   text[INSENSITIVE]   = shade(0.7, @@COLPREFIX@_bg)
191   text[SELECTED]      = @@COLPREFIX@_fg_selected
192
193 #engine specific tweaks
194
195   engine "clearlooks" 
196   {
197     #style              = GLOSSY
198     #colorize_scrollbar = TRUE
199     menubarstyle       = 2 # 0 = flat, 1 = sunken, 2 = flat gradient
200     #toolbarstyle       = 0 # 0 = flat, 1 = enable effects
201   }
202 }
203
204
205 style "mixer_red_active_button" = "very_small_button"
206 {
207         bg[ACTIVE] = @@COLPREFIX@_bright_indicator
208
209         base[INSENSITIVE] = { 0.16, 0.16, 0.21 }
210         bg[INSENSITIVE] = { 0.16, 0.16, 0.21 }
211 }
212
213
214 style "track_controls_inactive" 
215 {
216         bg[NORMAL] =      { 0.60, 0.60, 0.66 }
217         bg[ACTIVE] =      { 0.60, 0.60, 0.66 }
218         bg[INSENSITIVE] = { 0.60, 0.60, 0.66 }
219         bg[SELECTED] =    { 0.60, 0.60, 0.66 }
220         bg[PRELIGHT] =    { 0.60, 0.60, 0.66 }
221
222         fg[NORMAL] = { 0.7, 0.8, 0.2 }  
223 }
224
225
226 #
227 # Track edit groups. These styles define
228 # the colors that the "edit" button will
229 # use as a track is moved from
230 # track edit group to track edit group.
231 # There are 8 edit groups. Edit group 0
232 # is used for tracks that are not editable, 
233 # so we leave its style to the default.
234 #
235
236 style "edit_group_0"
237
238 {
239         bg[ACTIVE] = { 1.0, 0.65, 0.13 }
240         bg[NORMAL] = { 0.31, 0.31, 0.31 }
241         fg[NORMAL] = { 0.82, 0.91, 0.99 }
242         fg[ACTIVE] = { 0, 0, 0 }
243 }
244
245 style "edit_group_1" 
246 {
247         fg[NORMAL] = { 0, 0, 0 }
248         fg[PRELIGHT] = { 0, 0, 0 }
249         fg[SELECTED] = { 0, 0, 0 }
250         bg[NORMAL] = { 0.93, 0.34, 0.08 }
251         bg[PRELIGHT] = { 0.93, 0.34, 0.08 }
252         bg[SELECTED] = { 0.93, 0.34, 0.08 }
253 }
254
255 style "edit_group_2" 
256 {
257         fg[NORMAL] = { 0, 0, 0 }
258         fg[PRELIGHT] = { 0, 0, 0 }
259         fg[SELECTED] = { 0, 0, 0 }
260         bg[NORMAL] = { 0.93, 0.34, 0.08 }
261         bg[PRELIGHT] = { 0.93, 0.34, 0.08 }
262         bg[SELECTED] = { 0.93, 0.34, 0.08 }
263 }
264
265 style "edit_group_3" 
266 {
267         fg[NORMAL] = { 0, 0, 0 }
268         fg[PRELIGHT] = { 0, 0, 0 }
269         fg[SELECTED] = { 0, 0, 0 }
270         bg[NORMAL] = { 0.93, 0.34, 0.08 }
271         bg[PRELIGHT] = { 0.93, 0.34, 0.08 }
272         bg[SELECTED] = { 0.93, 0.34, 0.08 }
273 }
274
275 style "treeview_parent_node"
276 {
277         # specifies *just* the color used for whole file rows when not selected
278         
279         fg[NORMAL] = { 0.0, 0.6, 0.85 }
280 }
281
282 style "treeview_display" = "small_bold_text"
283 {
284         GtkWidget::focus-line-width = 0
285
286         # expander arrow border and DnD "icon" text
287         fg[NORMAL] = { 0.8, 0.8, 0.8 } 
288
289         bg[NORMAL] = { 0.8, 0.8, 0.8 }
290
291         # background with no rows or no selection, plus
292         # expander arrow core and DnD "icon" background
293         base[NORMAL] = { 0.20, 0.20, 0.25 }
294
295         # selected row bg when window does not have focus (including during DnD)
296         base[ACTIVE] = { 0.0, 0.75, 0.75 }    
297
298         # selected row bg when window has focus
299         base[SELECTED] = { 0, 0.75, 0.75 }
300
301         # row text when in normal state and not a parent
302         text[NORMAL] = { 0.80, 0.80, 0.80 }
303
304         # selected row text with window focus
305         text[SELECTED] = { 1.0, 1.0, 1.0 }  
306
307         # selected row text without window focus (including during DnD)
308         text[ACTIVE] = { 1.0, 1.0, 1.0 }  
309 }
310
311 style "main_canvas_area"
312 {
313         bg[NORMAL] = { 0.30, 0.30, 0.34 }
314         bg[ACTIVE] = { 0.30, 0.30, 0.34 }
315         bg[INSENSITIVE] = { 0.30, 0.30, 0.34 }
316         bg[SELECTED] = { 0.30, 0.30, 0.34 }
317         bg[PRELIGHT] = { 0.30, 0.30, 0.34 }
318 }
319
320 style "track_controls_inactive" = "larger_text"
321 {
322         bg[NORMAL] =      { 0.60, 0.60, 0.66 }
323         bg[ACTIVE] =      { 0.60, 0.60, 0.66 }
324         bg[INSENSITIVE] = { 0.60, 0.60, 0.66 }
325         bg[SELECTED] =    { 0.60, 0.60, 0.66 }
326         bg[PRELIGHT] =    { 0.60, 0.60, 0.66 }
327
328         fg[NORMAL] = { 0.7, 0.8, 0.2 }  
329 }
330
331 style "edit_controls_base_selected"
332 {
333         bg[NORMAL] = { 0.32, 0.32, 0.54 }
334         bg[ACTIVE] = { 0.32, 0.32, 0.54 }
335         bg[INSENSITIVE] = { 0.32, 0.32, 0.54 }
336         bg[SELECTED] = { 0.32, 0.32, 0.54 }
337         bg[PRELIGHT] = { 0.32, 0.32, 0.54 }
338 }
339
340 style "automation_track_controls_base"
341 {
342         bg[NORMAL] = { 0.22, 0.22, 0.29 }
343         bg[ACTIVE] = { 0.22, 0.22, 0.29 }
344         bg[INSENSITIVE] = { 0.22, 0.22, 0.29 }
345         bg[SELECTED] = { 0.22, 0.22, 0.29 }
346         bg[PRELIGHT] = { 0.22, 0.22, 0.29 }
347 }
348
349
350 style "inspector_processor_list" = "processor_list"
351 {
352         base[SELECTED] = { 0.3, 0.3, 0.3 }
353 }
354
355 ##include ardour3_light_fonts.rc
356 ##include ardour3_light_styles.rc
357 ##include ardour3_widgets.rc