Add a couple of missing attach_buffers() calls after _ports has been changed. I...
[ardour2.git] / gtk2_ardour / ardour3_ui_dark.rc.in
blobb425c9980e26aa49ccb7d8882f4c91d4af6f6ac0
2 # This is the GTK style file for Ardour, originally by Paul Davis and others
4 # Color meta-ization originated by Sean Corbett (seanbutnotheard@gmail.com)
6 # Released under the terms of the GNU GPL v2:  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
9 #@color fg #EEEEEC
10 #@color bg #54555d
11 #@color text #EEEEEC
12 #@color base #171717
13 #@color fg_selected #EEF
14 #@color bg_selected #58B
15 #@color fg_tooltip #1F1F1F
16 #@color bg_tooltip #FCF5B8
18 #@color lightest #FFFFFF
19 #@color darkest #222
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
26 #@color arm #F33
27 #@color solo #A8F730
28 #@color midi_channel_selector #A8F730
29 #@color isolate #B9ECF2
30 #@color mute #FFFA87
31 #@color mono #DEC
32 #@color control_text2 #8D2B1B
33 #@color control_base #26292D
34 #@color control_text #D0D2D5
35 #@color audio_track #33445e
36 #@color midi_track #445033
37 #@color audio_bus #262c35
39 #@color send_fg #30F7B0
40 #@color send_bg #C4C4B8
42 #@color processor_frame_selected #E2CC33
43 #@color processor_fader_bg #666666
44 #@color processor_fader_frame #7F7F7F
45 #@color processor_prefader #4D0000
46 #@color processor_prefader_frame #7F0000
47 #@color processor_postfader #1A4D1A
48 #@color processor_postfader_frame #1B7F1B
50 # Tweak the color scheme in one place :
52 gtk_color_scheme = "@COLOR_SCHEME@"
54 #alternate BG color: #5C5E61
57 style "default" = "medium_text"
59   #Original values for reference
60   GtkWidget::cursor_color =  @@COLPREFIX@_lightest
61   GtkButton::default_border = { 0, 0, 0, 0 }
62   GtkButton::default_outside_border = { 0, 0, 0, 0 }
63   GtkButton::button_relief = GTK_RELIEF_NONE
64   GtkTreeView::vertical-padding = 0
65   GtkTreeView::horizontal-padding = 0
66   GtkTreeView::even-row-color = @@COLPREFIX@_base
67   GtkTreeView::odd-row-color = darker(@@COLPREFIX@_base)
68   
69   GtkWidget           :: focus-line-pattern               = "\001\001"        #                              Dash pattern used to draw the focus indicator.
70   GtkWidget           :: focus-line-width                 = 1                 # [               1 ] ( >= 0 ) Width, in pixels, of the focus indicator line.
71   GtkWidget           :: focus-padding                    = 1                 # [               1 ] ( >= 0 ) Width, in pixels, between focus indicator and the widget box.
72   GtkWidget           :: interior-focus                   = 1                 # [               1 ] ( bool ) Draw the focus indicator inside widgets.
73   GtkWidget           :: scroll-arrow-hlength             = 16                # [              16 ] ( >= 1 ) Length of horizontal scroll arrows.
74   GtkWidget           :: scroll-arrow-vlength             = 16                # [              16 ] ( >= 1 ) Length of vertical scroll arrows.
76   GtkWidget           :: link-color                       = shade(1.25, @@COLPREFIX@_bright_color)
77   GtkWidget           :: visited-link-color               = @@COLPREFIX@_bright_color
78   
79 #Window Properties
80   GtkDialog           :: action-area-border               = 4                 # [               5 ] ( >= 0 ) Width of border around the button area at the bottom of the dialog.
81   GtkDialog           :: button-spacing                   = 4                 # [               6 ] ( >= 0 ) Spacing between buttons.
82   GtkDialog           :: content-area-border              = 2                 # [               2 ] ( >= 0 ) Width of border around the main dialog area.
83   GtkDialog           :: content-area-spacing             = 0                 # [               0 ] ( >= 0 ) The default spacing used between elements of the content area of the dialog.
84   
85 #Control Properties
86   GtkButton           :: child-displacement-x             = 1                 # [               0 ]          How far in x direction to move the button when its depressed.
87   GtkButton           :: child-displacement-y             = 1                 # [               0 ]          ... y
88   GtkButton           :: default-border                   = { 0, 0, 0, 0 }    #                              Extra space to add for CAN_DEFAULT buttons.
89   GtkButton           :: displace-focus                   = 0                 # [               0 ] ( bool ) Whether the child_displacement_x/child_displacement_y properties should also affect the focus rectangle.
90   GtkButton           :: image-spacing                    = 2                 # [               2 ] ( >= 0 ) Spacing in pixels between the image and label.
92   GtkCheckButton      :: indicator-size                   = 13                # [              13 ] ( >= 0 ) Size of check or radio indicator.
93   GtkCheckButton      :: indicator-spacing                = 2                 # [               2 ] ( >= 0 ) Spacing around check or radio indicator.
94   GtkCheckMenuItem    :: indicator-size                   = 13                # [              13 ] ( >= 0 ) Size of check or radio indicator.
96   GtkOptionMenu       :: indicator-size                   = { 6, 10 }         #                              Size of dropdown indicator.
97   GtkOptionMenu       :: indicator-spacing                = {   6, 5, 0, 0 }    #                              Spacing around indicator.
99   GtkComboBox         :: appears-as-list                  = 0                 # [               0 ] ( bool ) Whether dropdowns should look like lists rather than menus.
100   GtkComboBox         :: arrow-size                       = 13                # [              15 ] ( >= 0 ) Sets the minimum size of the arrow in the combo box.
101   GtkComboBox         :: shadow-type                      = GTK_SHADOW_NONE   # [ GTK_SHADOW_NONE ]          Which kind of shadow to draw around the combo box.
103   GtkPaned            :: handle-size                      = 4                 # [               5 ] ( >= 0 ) Width of handle.
105   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.
106   GtkScale            :: slider-length                    = 23                # [              31 ] ( >= 0 ) Length of scale's slider.  
107   GtkScale            :: slider-width                     = 14                # [              14 ] ( >= 0 ) Width of scrollbar or scale thumb.
108   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   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.
111   GtkScrollbar        :: arrow-scaling                    = 0.4               # [             0.5 ] ( 0.1  ) The arrow size proportion relative to the scroll button size.
112   GtkScrollbar        :: fixed-slider-length              = 0                 # [               0 ] ( bool ) Don't change slider size, just lock it to the minimum length.
113   GtkScrollbar        :: min-slider-length                = 50                # [              21 ] ( >= 0 ) Minimum length of scrollbar slider.
114   GtkScrollbar        :: slider-width                     = 15                # [              14 ] ( >= 0 ) Width of scrollbar or scale thumb.    
115   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.
116   GtkScrollbar        :: trough-border                    = 0                 # [               1 ] ( >= 0 ) Spacing between thumb/steppers and outer trough bevel.
117   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.    
118   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   GtkScrollbar        :: has-backward-stepper             = 1                 # [               1 ] ( bool ) Display the standard backward arrow button.
121   GtkScrollbar        :: has-forward-stepper              = 1                 # [               1 ] ( bool ) Display the standard forward arrow button.
122   GtkScrollbar        :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
123   GtkScrollbar        :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
125   GtkHScrollbar       :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
126   GtkHScrollbar       :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
127   GtkVScrollbar       :: has-secondary-backward-stepper   = 0                 # [               0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
128   GtkVScrollbar       :: has-secondary-forward-stepper    = 0                 # [               0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
130 #Menu Properties
131   GtkMenuBar          :: internal-padding                 = 1                 # [               1 ] ( >= 0 ) Amount of border space between the menubar shadow and the menu items.
132   GtkMenuBar          :: shadow-type                      = GTK_SHADOW_OUT    # [  GTK_SHADOW_OUT ]          Style of bevel around the menubar. 
134   GtkMenu             :: arrow-placement                  = GTK_ARROWS_BOTH   # [ GTK_ARROWS_BOTH ]          Indicates where scroll arrows should be placed.
135   GtkMenu             :: arrow-scaling                    = 0.5               # [             0.7 ] ( 0.1  ) Arbitrary constant to scale down the size of the scroll arrow.
136   GtkMenu             :: double-arrows                    = 1                 # [               1 ] ( bool ) When scrolling, always show both arrows.
137   GtkMenu             :: horizontal-offset                = -2                # [              -2 ]          When the menu is a submenu, position it this number of pixels offset horizontally.
138   GtkMenu             :: horizontal-padding               = 0                 # [               0 ] ( >= 0 ) Extra space at the left and right edges of the menu.
139   GtkMenu             :: vertical-offset                  = 0                 # [               0 ]          When the menu is a submenu, position it this number of pixels offset vertically.
140   GtkMenu             :: vertical-padding                 = 0                 # [               0 ] ( >= 0 ) Extra space at the top and bottom of the menu.
142   GtkMenuItem         :: arrow-scaling                    = 0.5               # [             0.8 ] ( 0.2  ) Amount of space used up by arrow, relative to the menu item's font size.
143   GtkMenuItem         :: arrow-spacing                    = 10                # [              10 ] ( >= 0 ) Space between label and arrow.
144   GtkMenuItem         :: horizontal-padding               = 3                 # [               3 ] ( >= 0 ) Padding to left and right of the menu item.
145   GtkMenuItem         :: selected-shadow-type             = GTK_SHADOW_NONE   # [ GTK_SHADOW_NONE ]          Shadow type when item is selected.
146   #GtkMenuItem         :: toggle-spacing                   = 4                 # [               5 ] ( >= 0 ) Space between icon and label.
147   GtkMenuItem         :: width-chars                      = 12                # [              12 ] ( >= 0 ) The minimum desired width of the menu item in characters.
149 #Other Properties
150   GtkArrow            :: arrow-scaling                    = 0.5               # [             0.7 ] ( 0.1  ) Amount of space used up by arrow.
152   GtkNotebook         :: arrow-spacing                    = 0                 # [               0 ] ( >= 0 ) Spacing between the scroll arrows and the tabs.
153   GtkNotebook         :: tab-curvature                    = 1                 # [               1 ] ( >= 0 ) Size of tab curvature.
154   GtkNotebook         :: tab-overlap                      = 1                 # [               2 ]          Size of tab overlap area.
156   GtkTreeView         :: horizontal-separator             = 8                 # [               2 ] ( >= 0 ) Horizontal space between cells. Must be an even number.
157   GtkTreeView         :: vertical-separator               = 2                 # [               2 ] ( >= 0 ) Vertical space between cells. Must be an even number.
159   GtkEntry            :: honors-transparent-bg-hint       = 1                 # [               0 ] ( bool ) (Clearlooks) Without this, gecko will fill in the background of the entry.
162   #GtkToolbar::shadow_type = GTK_SHADOW_ETCHED_IN
164   #xthickness = 0
165   #ythickness = 0
167 #Base Colors
168   bg[NORMAL]          = @@COLPREFIX@_bg
169   bg[PRELIGHT]        = shade(1.1, @@COLPREFIX@_bg)
170   bg[ACTIVE]          = shade(0.9, @@COLPREFIX@_bg)
171   bg[INSENSITIVE]     = @@COLPREFIX@_bg
172   bg[SELECTED]        = @@COLPREFIX@_bg_selected
174   fg[NORMAL]          = @@COLPREFIX@_fg
175   fg[PRELIGHT]        = @@COLPREFIX@_fg
176   fg[ACTIVE]          = shade(0.9, @@COLPREFIX@_fg)
177   fg[INSENSITIVE]     = shade(0.7, @@COLPREFIX@_bg)
178   fg[SELECTED]        = @@COLPREFIX@_fg_selected
180   base[NORMAL]        = @@COLPREFIX@_base
181   base[PRELIGHT]      = @@COLPREFIX@_base
182   base[INSENSITIVE]   = shade(1.0, @@COLPREFIX@_bg)
183   base[ACTIVE]        = shade(0.9, @@COLPREFIX@_bg_selected)
184   base[SELECTED]      = @@COLPREFIX@_bg_selected
186   text[NORMAL]        = @@COLPREFIX@_text
187   text[PRELIGHT]      = @@COLPREFIX@_text
188   text[ACTIVE]        = @@COLPREFIX@_fg_selected
189   text[INSENSITIVE]   = shade(0.7, @@COLPREFIX@_bg)
190   text[SELECTED]      = @@COLPREFIX@_fg_selected
192 #engine specific tweaks
194   engine "clearlooks" 
195   {
196     #style              = GLOSSY
197     #colorize_scrollbar = TRUE
198     menubarstyle       = 2 # 0 = flat, 1 = sunken, 2 = flat gradient
199     #toolbarstyle       = 0 # 0 = flat, 1 = enable effects
200   }
204 style "track_controls_inactive" 
206         bg[NORMAL] =      { 0.60, 0.60, 0.66 }
207         bg[ACTIVE] =      { 0.60, 0.60, 0.66 }
208         bg[INSENSITIVE] = { 0.60, 0.60, 0.66 }
209         bg[SELECTED] =    { 0.60, 0.60, 0.66 }
210         bg[PRELIGHT] =    { 0.60, 0.60, 0.66 }
212         fg[NORMAL] = { 0.7, 0.8, 0.2 }  
217 # Track edit groups. These styles define
218 # the colors that the "edit" button will
219 # use as a track is moved from
220 # track edit group to track edit group.
221 # There are 8 edit groups. Edit group 0
222 # is used for tracks that are not editable, 
223 # so we leave its style to the default.
226 style "edit_group_0"
229         bg[ACTIVE] = { 1.0, 0.65, 0.13 }
230         bg[NORMAL] = { 0.31, 0.31, 0.31 }
231         fg[NORMAL] = { 0.82, 0.91, 0.99 }
232         fg[ACTIVE] = { 0, 0, 0 }
235 style "edit_group_1" 
237         fg[NORMAL] = { 0, 0, 0 }
238         fg[PRELIGHT] = { 0, 0, 0 }
239         fg[SELECTED] = { 0, 0, 0 }
240         bg[NORMAL] = { 0.93, 0.34, 0.08 }
241         bg[PRELIGHT] = { 0.93, 0.34, 0.08 }
242         bg[SELECTED] = { 0.93, 0.34, 0.08 }
245 style "edit_group_2" 
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 }
255 style "edit_group_3" 
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 }
265 style "treeview_parent_node"
267         # specifies *just* the color used for whole file rows when not selected
268         
269         fg[NORMAL] = { 0.0, 0.6, 0.85 }
272 style "treeview_display" = "small_bold_text"
274         GtkWidget::focus-line-width = 0
276         # expander arrow border and DnD "icon" text
277         fg[NORMAL] = { 0.8, 0.8, 0.8 } 
279         bg[NORMAL] = { 0.8, 0.8, 0.8 }
281         # background with no rows or no selection, plus
282         # expander arrow core and DnD "icon" background
283         base[NORMAL] = { 0.20, 0.20, 0.25 }
285         # selected row bg when window does not have focus (including during DnD)
286         base[ACTIVE] = { 0.0, 0.75, 0.75 }    
288         # selected row bg when window has focus
289         base[SELECTED] = { 0, 0.75, 0.75 }
291         # row text when in normal state and not a parent
292         text[NORMAL] = { 0.80, 0.80, 0.80 }
294         # selected row text with window focus
295         text[SELECTED] = { 1.0, 1.0, 1.0 }  
297         # selected row text without window focus (including during DnD)
298         text[ACTIVE] = { 1.0, 1.0, 1.0 }  
301 style "main_canvas_area"
303         bg[NORMAL] = { 0.30, 0.30, 0.34 }
304         bg[ACTIVE] = { 0.30, 0.30, 0.34 }
305         bg[INSENSITIVE] = { 0.30, 0.30, 0.34 }
306         bg[SELECTED] = { 0.30, 0.30, 0.34 }
307         bg[PRELIGHT] = { 0.30, 0.30, 0.34 }
310 style "track_controls_inactive" = "larger_text"
312         bg[NORMAL] =      { 0.60, 0.60, 0.66 }
313         bg[ACTIVE] =      { 0.60, 0.60, 0.66 }
314         bg[INSENSITIVE] = { 0.60, 0.60, 0.66 }
315         bg[SELECTED] =    { 0.60, 0.60, 0.66 }
316         bg[PRELIGHT] =    { 0.60, 0.60, 0.66 }
318         fg[NORMAL] = { 0.7, 0.8, 0.2 }  
321 style "edit_controls_base_selected"
323         bg[NORMAL] = { 0.32, 0.32, 0.54 }
324         bg[ACTIVE] = { 0.32, 0.32, 0.54 }
325         bg[INSENSITIVE] = { 0.32, 0.32, 0.54 }
326         bg[SELECTED] = { 0.32, 0.32, 0.54 }
327         bg[PRELIGHT] = { 0.32, 0.32, 0.54 }
330 style "automation_track_controls_base"
332         bg[NORMAL] = { 0.22, 0.22, 0.29 }
333         bg[ACTIVE] = { 0.22, 0.22, 0.29 }
334         bg[INSENSITIVE] = { 0.22, 0.22, 0.29 }
335         bg[SELECTED] = { 0.22, 0.22, 0.29 }
336         bg[PRELIGHT] = { 0.22, 0.22, 0.29 }
340 style "inspector_processor_list" = "processor_list"
342         base[SELECTED] = { 0.3, 0.3, 0.3 }
345 include "ardour3_dark_fonts.rc"
346 include "ardour3_dark_styles.rc"
347 include "ardour3_widgets.rc"