#Calf 0.0.19

pixmap_path "/usr/share/calf/styles/Calf_0.0.19"

style "calf-default"
{
    GtkWidget      ::focus-line-width     = 0
    GtkMenuBar     ::internal-padding     = 4
    GtkArrow       ::arrow-scaling        = 0.0
    GtkComboBox    ::arrow-size           = 13
    GtkStatusbar   ::shadow_type          = GTK_SHADOW_NONE
    GtkWidget      ::separator-width      = 4
    
    xthickness         = 0
    ythickness         = 0
    
    font_name          = "Sans 8"
    
    #fg[NORMAL]        = "#fff"
    #fg[PRELIGHT]      = "#fff"
    #fg[ACTIVE]        = "#fff"
    #fg[SELECTED]      = "#fff"
    #fg[INSENSITIVE]   = "#aaa"

    #bg[NORMAL]        = "#222"
    #bg[PRELIGHT]      = "#444"
    #bg[ACTIVE]        = "#222"
    #bg[SELECTED]      = "#0af"
    #bg[INSENSITIVE]   = "#666"

    #base[NORMAL]      = "#eee"
    #base[PRELIGHT]    = "#fff"
    #base[ACTIVE]      = "#ddd"
    #base[SELECTED]    = "#0af"
    #base[INSENSITIVE] = "#666"

    #text[NORMAL]      = "#333"
    #text[PRELIGHT]    = "#000"
    #text[ACTIVE]      = "#000"
    #text[SELECTED]    = "#000"
    #text[INSENSITIVE] = "#aaa"
    
    #engine "clearlooks" { }
}

style "debug"
{
    fg[NORMAL]       = "red"
    fg[PRELIGHT]     = "green"
    fg[SELECTED]     = "yellow"
    fg[ACTIVE]       = "blue"
    fg[INSENSITIVE]  = "grey"
}

style "calf-wide"
{
    xthickness   = 5
    ythickness   = 4
}

style "calf-rack"
{
    bg_pixmap[NORMAL] = "background_rack.png"
}

style "calf-rack-title"
{
    fg[NORMAL] = { 0, 0, 0 }
    font_name  = "Open Sans Condensed 11"
    xthickness = 7
    ythickness = 3
}
style "calf-rack-entry"
{
    font_name  = "Open Sans Condensed 11"
    xthickness = 7
    ythickness = 3
    bg[NORMAL]        = "#000"
    bg[PRELIGHT]      = "#000"
    bg[SELECTED]      = "#000"
    bg[ACTIVE]        = "#000"
}

style "calf-rack-widgets"
{
    fg[NORMAL]        = { 0, 0, 0 }
    font_name         = "Sans 5"
}

style "calf-rack-label"
{
    fg[NORMAL]        = { 0.0, 0, 0 }
    font_name         = "Sans 5"
}

style "calf-main-left"
{
    bg_pixmap[NORMAL] = "side_d_w.png"
}
style "calf-main-right"
{
    bg_pixmap[NORMAL] = "side_d_e.png"
}

style "calf-plugin"
{
    bg_pixmap[NORMAL] = "background_plugin.png"
}
style "calf-plugin-left"
{
    bg_pixmap[NORMAL] = "side_w.png"
}
style "calf-plugin-right"
{
    bg_pixmap[NORMAL] = "side_e.png"
}
style "calf-connector"
{
    
}

style "calf-connector-children"
{
    font_name  = "Sans 8"
}
style "calf-connector-title"
{
    font_name  = "Sans 13"
}

style "calf-label" {
    font_name  = "Sans 7"
    fg[NORMAL] = "#fff"
}


### BUTTON ###

style "calf-button"
{
    GtkButton      ::child-displacement-x = 0
    GtkButton      ::child-displacement-y = 0
    GtkButton      ::inner-border         = { 10, 10, 4, 4}
    
    CalfButton::alpha-normal   = 1.0
    CalfButton::alpha-prelight = 1.0
    CalfButton::alpha-active   = 1.0
    
    CalfButton::border-radius  = 0
    CalfButton::bevel          = 0.2
    CalfButton::inset          = 0.0
    
    bg[NORMAL] = { 0.85, 0.85, 0.85 }
    bg[PRELIGHT] = { 0.90, 0.90, 0.90 }
    bg[ACTIVE] = { 0.95, 0.95, 0.95 }
    
    fg[NORMAL]   = "#07005a"
    fg[PRELIGHT] = "#3392e6"
    fg[ACTIVE]   = "#43b2ff"
    
    text[NORMAL]   = "#07005a"
    text[PRELIGHT] = "#3392e6"
    text[ACTIVE]   = "#43b2ff"
    
    font_name         = "Sans 8"
    
    xthickness = 0
    ythickness = 0
    
}

### TOGGLE BUTTON ###

style "calf-toggle" = "calf-button"
{
    GtkButton::inner-border = { 10, 36, 4, 4}
    
    CalfToggleButton::alpha-normal   = 1.0
    CalfToggleButton::alpha-prelight = 1.0
    CalfToggleButton::alpha-active   = 1.0
    
    CalfToggleButton::border-radius  = 0
    CalfToggleButton::bevel          = 0.2
    CalfToggleButton::inset          = 0.0
    
    CalfToggleButton::indicator      = 2
}

### COMBOBOX ###

style "calf-combobox"
{
    xthickness = 4
    ythickness = 3
    font_name  = "Sans 8"
    bg[NORMAL] = "black"
    base[NORMAL] = { 0.89, 1.00, 0.45 }
    text[NORMAL] = "black"
    text[PRELIGHT] = "black"
    text[ACTIVE] = "black"
    CalfCombobox::border-radius  = 0
    CalfCombobox::bevel          = 0.4
}

### TEXT ENTRY ###

style "calf-entry"
{
    base[SELECTED] = "#D1EA73"
    base[NORMAL]   = "#000"
    text[SELECTED] = "#000"
    text[NORMAL]   = "#D1EA73"
    xthickness     = 3
    ythickness     = 3
    bg[NORMAL]        = "#000"
    bg[PRELIGHT]      = "#000"
    bg[SELECTED]      = "#000"
    bg[ACTIVE]        = "#000"
}

### MENU ###

style "calf-menu" = "calf-wide"
{
    fg[NORMAL]   = "#ddd"
    fg[SELECTED] = "#fff"
    fg[PRELIGHT] = "#fff"
    bg[NORMAL]   = "#111"
    bg[SELECTED] = "#333"
    font_name    = "Sans 8"
    bg_pixmap[NORMAL] = "background_menu.png"
}

### H/V SCALES ###

style "calf-scale"
{
    fg[NORMAL]                     = "white"
    GtkRange::trough-border        = 0
    GtkScale::trough-side-details  = 0
    GtkScale::activate-slider      = 1
}

style "calf-scale-small" = "calf-scale"
{
    GtkScale::slider-length = 38
    GtkScale::slider-width = 25
}

style "calf-scale-big" = "calf-scale"
{
    GtkScale::slider-length = 46
    GtkScale::slider-width = 36
}

### SCROLLBAR ###

style "calf-scrollbar"
{
    
}

### NOTEBOOK ###

style "calf-notebook"
{
    CalfNotebook::background-alpha = 0.5
    
    xthickness   = 12
    ythickness   = 8
    
    fg[NORMAL]   = "#fff"
    fg[PRELIGHT] = "#fff"
    fg[ACTIVE]   = "#eee"
    
    bg[NORMAL] = "#29E8FE"
    
    base[NORMAL]   = "#000"
}

### TREEVIEW ###

style "calf-treeview"
{
    GtkTreeView::odd-row-color = "#323942"
    base[NORMAL]       = "#222932" # rows background
    base[SELECTED]     = "#49596a" # rows background selected
    base[ACTIVE]       = "#49596a" # rows background selected but not focused
    
    text[NORMAL]       = "#dddddd" # rows text
    text[SELECTED]     = "#ffffff" # rows text selected
    text[ACTIVE]       = "#ffffff" # rows text selected but not focused
    
    xthickness   = 24
    ythickness   = 8
}

style "calf-treehead"
{
    bg[NORMAL]         = "#eeeeee" # header background
    fg[NORMAL]         = "white" # header text
    fg[PRELIGHT]       = "white" # header text
    fg[SELECTED]       = "white" # header text
    fg[ACTIVE]         = "white" # header text
}


### FRAMES ###

style "calf-frame"
{
    xthickness = 8
    ythickness = 8
    fg[NORMAL]   = "white"
    text[NORMAL] = "white"
    CalfFrame::border-radius = 8
}

### VUMETERS ###
style "calf-vumeter"
{
    bg[NORMAL] = "black"
    fg[NORMAL] = "white"
    fg[ACTIVE] = "#cc0000"
    CalfVUMeter::border-radius  = 0
    CalfVUMeter::bevel          = 0.4
    xthickness = 4
    ythickness = 3
}

### METERSCALE ###
style "calf-meterscale"
{
    fg[NORMAL] = { 1.00, 1.00, 1.00 }
    xthickness = 5
}
style "calf-meterscale-rack"
{
    fg[NORMAL] = { 0, 0, 0 }
}

### LED ###
style "calf-led"
{
    bg[NORMAL] = "black"
    CalfLed::border-radius  = 0
    CalfLed::bevel          = 0.4
    xthickness = 4
    ythickness = 3
}

### DISPLAYS ###
style "calf-display" {
    bg[NORMAL]   = "black"
    base[NORMAL] = { 0.89, 1.00, 0.45 }
    fg[NORMAL]   = { 0.35, 0.4, 0.2 }
    text[NORMAL] = { 0.35, 0.4, 0.2 }
    xthickness = 4
    ythickness = 3
    CalfLineGraph::border-radius  = 0
    CalfLineGraph::bevel          = 0.4
    CalfPhaseGraph::border-radius = 0
    CalfPhaseGraph::bevel         = 0.4
}

### KNOBS ###
style "calf-knob"
{
    fg[NORMAL]   = "#001a1a"
    fg[PRELIGHT] = "#29E8FE"
    fg[ACTIVE]   = "#333"
    CalfKnob::alpha-normal   = 0.8
    CalfKnob::alpha-prelight = 1.0
}
style "calf-knob1" = "calf-knob" {
    CalfKnob::ring-margin = 2.0
    CalfKnob::ring-width  = 2
    CalfKnob::tick-margin = 4
    CalfKnob::tick-width  = 2
    CalfKnob::tick-length = 4
}
style "calf-knob2" = "calf-knob" {
    CalfKnob::ring-margin = 3
    CalfKnob::ring-width  = 2.5
    CalfKnob::tick-margin = 9
    CalfKnob::tick-width  = 2
    CalfKnob::tick-length = 4
}
style "calf-knob3" = "calf-knob" {
    CalfKnob::ring-margin = 4.9
    CalfKnob::ring-width  = 2.8
    CalfKnob::tick-margin = 12
    CalfKnob::tick-width  = 2
    CalfKnob::tick-length = 6
}
style "calf-knob4" = "calf-knob" {
    CalfKnob::ring-margin = 4.9
    CalfKnob::ring-width  = 4.2
    CalfKnob::tick-margin = 11
    CalfKnob::tick-width  = 3
    CalfKnob::tick-length = 5
}
style "calf-knob5" = "calf-knob" {
    CalfKnob::ring-margin = 7
    CalfKnob::ring-width  = 4.5
    CalfKnob::tick-margin = 15
    CalfKnob::tick-width  = 3
    CalfKnob::tick-length = 5
}

### TOGGLE ###
style "calf-toggle0" {
    xthickness = 24
    ythickness = 24
}
style "calf-toggle1" {
    xthickness = 32
    ythickness = 30
}
style "calf-toggle2" {
    xthickness = 60
    ythickness = 50
}

widget "*Calf*"                                   style : rc "calf-default"

widget "*Calf-Rack"                               style : highest "calf-rack"
widget "*Calf-Rack*"                              style : highest "calf-rack-widgets"
widget "*Calf-Rack*Calf-Rack-Title"               style : highest "calf-rack-title"
widget "*Calf-Rack*Calf-Rack-Entry"               style : highest "calf-rack-entry"
widget "*CalfMainLeft"                            style : highest "calf-main-left"
widget "*CalfMainRight"                           style : highest "calf-main-right"

widget "*Calf-Plugin"                             style : highest "calf-plugin"
widget "*CalfPluginLeft"                          style : highest "calf-plugin-left"
widget "*CalfPluginRight"                         style : highest "calf-plugin-right"

widget "*Connector"                               style : highest "calf-connector"
widget "*Connector*View*"                         style : highest "calf-connector-children"
widget "*Connector*Ports*"                        style : highest "calf-connector-children"
widget "*Connector*Title*"                        style : highest "calf-connector-title"

widget "*Calf-Label"                              style : highest "calf-label"
widget "*Calf-Value"                              style : highest "calf-label"
widget "*Calf-Rack*Calf-Plugin*Calf-Label"        style : highest "calf-rack-label"
widget "*Calf-Rack*Calf-Plugin*Calf-Value"        style : highest "calf-rack-label"

widget "*Calf-Menu*"                              style : highest "calf-menu"

widget "*Calf*Notebook*"                          style : highest "calf-notebook"

widget "*Calf*Frame"                              style : highest "calf-frame"


widget "*Calf*Button*"                            style : highest "calf-button"
widget "*Calf*ToggleButton*"                      style : highest "calf-toggle"
widget "*Calf*CheckButton"                        style : highest "calf-toggle"
widget "*Calf*RadioButton"                        style : highest "calf-toggle"

widget "*Calf*Combobox*"                          style : highest "calf-combobox"

widget "*Calf*Entry*"                             style : highest "calf-entry"

widget "*Calf*Range"                              style : highest "calf-scale"
widget "*Calf*Scale1"                             style : highest "calf-scale-small"
widget "*Calf*Scale2"                             style : highest "calf-scale-big"
widget_class "*Scrollbar*"                        style : highest "calf-scrollbar"

widget_class "*Calf*GtkTreeView*"                 style : highest "calf-treeview"
widget_class "*Calf*TreeView*Button*"             style : highest "calf-treehead"

widget "*Calf*VUMeter"                            style : highest "calf-vumeter"
widget "*CalfVUMeter*"                            style : highest "calf-vumeter"
widget "*CalfMeterScale*"                         style : highest "calf-meterscale"
widget "*Calf*MeterScale"                         style : highest "calf-meterscale"
widget "*Calf-Rack*MeterScale"                    style : highest "calf-meterscale-rack"

widget "*Calf*Led*"                                style : highest "calf-led"
widget "*Calf*LED*"                                style : highest "calf-led"

widget "*Calf*Graph"                              style : highest "calf-display"
widget "*Calf*Tuner"                              style : highest "calf-display"
widget "*Calf*Pattern"                            style : highest "calf-display"

widget "*Calf*Knob*1*"                            style : highest "calf-knob1"
widget "*Calf*Knob*2*"                            style : highest "calf-knob2"
widget "*Calf*Knob*3*"                            style : highest "calf-knob3"
widget "*Calf*Knob*4*"                            style : highest "calf-knob4"
widget "*Calf*Knob*5*"                            style : highest "calf-knob5"

widget "*CalfToggle*_0*"                          style : highest "calf-toggle0"
widget "*CalfToggle*_1*"                          style : highest "calf-toggle1"
widget "*CalfToggle*_2*"                          style : highest "calf-toggle2"
