# Moblin Netbook GTK+ theme

gtk_color_scheme = "bg_color:#f9f9f9;fg_color:#2b2b2b;text_color:#2b2b2b;base_color:#fff;selected_bg_color:#a0e4f8;selected_fg_color:#000;grey:#8d8d8d;blue_l:#a0e4f8;blue:#5dcff2;blue_d:#009bce"

gtk_button_images = 0
gtk_menu_images = 0

style "default"
{

  GtkWidget::link_color = "#febf00"
  GtkWidget::visited_link_color = "#febf00"
  GtkWidget::cursor-color    = @blue_d
  GtkWidget::secondary-cursor-color = "#febf00"
  GtkWidget::focus-padding = 0
  GtkWidget::focus-line-width = 2

  GtkHTML::spell_error_color = "#febf00"
  GtkHTML::link_color = "#febf00"
  GtkHTML::alink_color = "#febf00"
  GtkHTML::vlink_color = "#febf00"

  GtkTextView::error-underline-color = "#febf00"

  xthickness = 4
  ythickness = 4

  GtkRange::trough_border = 2

  fg [NORMAL] = @fg_color
  fg [PRELIGHT] = @fg_color
  fg [ACTIVE] = @fg_color
  fg [INSENSITIVE] = shade (2.5, @fg_color)
  fg [SELECTED] = @selected_fg_color

  bg [NORMAL] = @bg_color
  bg [PRELIGHT] = @bg_color
  bg [ACTIVE] = @bg_color
  bg [INSENSITIVE] = "#f1f1f1"
  bg [SELECTED] = @selected_bg_color

  text [NORMAL] = @text_color
  text [PRELIGHT] = @selected_fg_color
  text [SELECTED] = @selected_fg_color
  text [ACTIVE] = @fg_color
  text [INSENSITIVE] = shade (2.5, @fg_color)

  base [NORMAL] = @base_color
  base [PRELIGHT] = @base_color
  base [SELECTED] = @selected_bg_color
  base [ACTIVE] = shade (0.9, @bg_color)
  base [INSENSITIVE] = "#f1f1f1"

  engine "moblin-netbook-engine"
  {
    radius = 3
    border[NORMAL] = @grey
    border[PRELIGHT] = @blue_d
    border[SELECTED] = @blue_d
    border[ACTIVE] = @blue_d
    border[INSENSITIVE] = "#d7d9d4"
  }

}
class "GtkWidget" style "default"



style "button"
{

  GtkButton::default_border = {0, 0, 0, 0}

  # allow for bottom shadow in buttons
  GtkButton::inner-border = { 0, 0, 0, 2 }

  bg [NORMAL] = "#ffffff"
  bg [PRELIGHT] = "#ffffff"
  bg [ACTIVE] = "#ffffff"
  bg [INSENSITIVE] = "#f1f1f1"

  GtkButton::child-displacement-x = 1
  GtkButton::child-displacement-y = 1
  GtkButton::displace-focus = 1
  GtkButton::inner-border = { 4, 4, 4, 4 }

  xthickness = 1
  ythickness = 1

  engine "moblin-netbook-engine"
  {
    radius = 3
    border[PRELIGHT] = @blue_d
    border[ACTIVE] = @blue_d
    border[INSENSITIVE] = "#d7d9d4"
    shadow = 0.15
  }
}
widget_class "*Button*" style "button"


style "nautilus-icon-container"
{
  base[SELECTED] = @blue
  NautilusIconContainer::selection_box_color = @blue_l
  NautilusIconContainer::dark_info_color = @blue_d
  NautilusIconContainer::prelight_icon_color = "#000000"
  NautilusIconContainer::prelight_icon_brightness = 150
}
class "NautilusIconContainer" style "nautilus-icon-container"



style "entry"
{

  GtkEntry::state-hint = 1

  text [ACTIVE] = @text_color
  base [ACTIVE] = @base_color

  xthickness = 3
  ythickness = 3

  engine "moblin-netbook-engine"
  {
    radius = 3
    shadow = 0.15
  }

}
class "GtkEntry" style "entry"

style "checkbutton"
{

  GtkCheckButton::indicator_size = 15

  base[SELECTED] = @blue
  text[SELECTED] = "white"

  fg [NORMAL] = @fg_color
  fg [PRELIGHT] = @fg_color
  fg [ACTIVE] = @fg_color
  bg [PRELIGHT] = "#ffffff"

  text[INSENSITIVE] = @grey
  base[INSENSITIVE] = "#f1f1f1"

  engine "moblin-netbook-engine"
  {
    radius = 2
    shadow = 0.0
    border[PRELIGHT] = @blue_d
    border[SELECTED] = @blue_d
    border[INSENSITIVE] = "#d7d9d4"
  }

}

widget_class "*CheckButton*" style "checkbutton"
widget_class "*RadioButton*" style "checkbutton"
widget_class "*ToolButton*" style "checkbutton"


style "menuitem"
{

  GtkCheckMenuItem::indicator_size = 15

  fg[PRELIGHT] = "white"
  bg[PRELIGHT] = @blue

  fg[INSENSITIVE] = "#bbbbbb"
  base[SELECTED] = @blue

  xthickness = 5
  ythickness = 5

  engine "moblin-netbook-engine"
  {
    radius = 2
  }

}
widget_class "*MenuItem*" style "menuitem"


style "progressbar"
{

  GtkProgressBar::xspacing = 0
  GtkProgressBar::yspacing = 0

  xthickness = 0
  ythickness = 0
  bg[NORMAL] = shade (0.9, @bg_color)
  bg[PRELIGHT] = @blue
}
class "GtkProgressBar" style "progressbar"

style "scrollbar"
{

  GtkScrollbar::slider_width = 28
  GtkScrollbar::stepper_size = 28
  GtkScrollbar::arrow-scaling = 0.4
  GtkScrollbar::trough-border = 0
  GtkScrollbar::min-slider-length = 64

  fg [NORMAL] = @grey
  fg [INSENSITIVE] = @grey
  fg [PRELIGHT] = @blue_d
  fg [ACTIVE] = @blue_d

  # stepper colours
  bg [ACTIVE] = @bg_color
  bg [INSENSITIVE] = @bg_color

  # trough color
  base [ACTIVE] = "#e5e5e5"

  engine "moblin-netbook-engine"
  {
    radius = 3
    border[PRELIGHT] = @blue_d
    border[INSENSITIVE] = @grey
    border[ACTIVE] = @blue_d
  }
}
class "GtkScrollbar" style "scrollbar"


style "paned"
{

  GtkPaned::handle-size = 8

  engine "moblin-netbook-engine"
  {
    border [NORMAL] = lighter (@grey)
    border [PRELIGHT] = lighter (@grey)
  }

}
class "GtkPaned" style "paned"


style "scale"
{
  GtkScale::slider_length = 27
  GtkScale::slider_width = 16
  GtkWidget::focus-line-width = 0

  # handle colour
  bg[NORMAL] = "#fff"
  bg[PRELIGHT] = "#fff"

  #trough color
  bg[ACTIVE] = "#fff"
  bg[SELECTED] = "#fff"

  engine "moblin-netbook-engine"
  {
    radius = 3
    border[PRELIGHT] = @blue_d
  }
}
class "GtkScale" style "scale"


style "treeview_headers"
{
  bg[NORMAL] = @bg_color
  fg[NORMAL] = @fg_color
}
widget_class "*.GtkTreeView.GtkButton*" style "treeview_headers"

style "treeview"
{
  fg[SELECTED] = @fg_color
  bg[SELECTED] = "#C0F1FF"
  text[SELECTED] = @fg_color
}
widget_class "*.GtkTreeView*" style "treeview"



style "menu"
{
  GtkMenu::vertical_padding = 0
  bg[NORMAL] = lighter (@bg_color)
  engine "moblin-netbook-engine"
  {
    radius = 0
  }
}
class "GtkMenu" style "menu"


style "menu-separator"
{
  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#dddddd"
  }
}
widget_class "*Menu*.*Sepa*"  style "menu-separator"


style "toolbar"
{

  GtkToolbar::internal_padding = 4
  GtkToolbar::shadow_type = GTK_SHADOW_NONE

  bg[NORMAL] = "#202E31"
  text [NORMAL] = "#ffffff"
  base [NORMAL] = "#ffffff"
  engine "moblin-netbook-engine"
  {
    radius = 0
  }
}
class "GtkToolbar" style "toolbar"





style "menubar"
{
  bg[NORMAL] = "#202e31"
  fg[NORMAL] = "#ffffff"
  GtkMenuBar::shadow_type = GTK_SHADOW_NONE

  engine "moblin-netbook-engine"
  {
    radius = 0
  }
}
class "GtkMenuBar" style "menubar"
class "GtkToolbar" style "menubar"





style "toolbar-child" = "menubar"
{
 engine "moblin-netbook-engine"
 {
 radius = 3
 shadow = 0.0
 }
}
class "GtkToolItem" style "toolbar-child"
widget_class "*.GtkMenuBar.*" style "toolbar-child"
widget_class "*.GtkToolbar.*" style "toolbar-child"









style "toolbar-handlebox"
{
  bg[NORMAL] = "#434343"
  engine "moblin-netbook-engine"
  {
    radius = 3
    border[NORMAL] = "#434343"
  }
}
class "GtkHandleBox" style "toolbar-handlebox"



style "toolbar-arrow"
{
  fg[NORMAL] = shade (2.5, @fg_color)
  fg[PRELIGHT] = "#ffffff"
}
widget_class "*<GtkToolbar>.*GtkArrow*"  style "toolbar-arrow"



style "toolbar-button"
{
  bg[NORMAL] =  "#434343"
  bg [PRELIGHT] = "#434343"
  bg [ACTIVE] = "#434343"
  bg [SELECTED] = "#434343"
  base [PRELIGHT] = "#434343"
  base [ACTIVE] = "#434343"
  base [SELECTED] = "#434343"
  text[NORMAL] = "#ffffff"
  text[SELECTED] = "#ffffff"
  text[ACTIVE] = "#ffffff"
  text[PRELIGHT] = "#ffffff"
  fg[NORMAL] = "#ffffff"
  fg[ACTIVE] = "#ffffff"
  fg[PRELIGHT] = "#ffffff"
  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#434343"
    border[PRELIGHT] = "#434343"
    border[ACTIVE] = "#434343"
    radius = 3
  }
  xthickness = 6
  ythickness = 6
}
widget_class "*<GtkToolbar>.*utton*"  style "toolbar-button"



style "spinbutton" = "button"
{
  text[NORMAL] = @fg_color
  text[PRELIGHT] = "#ffffff"
  fg[NORMAL] = @grey # Arrow colour
  fg[ACTIVE] = @blue
  fg[PRELIGHT] = @blue
  base[NORMAL] = "#ffffff"
  text[SELECTED] = "#ffffff"
  base[SELECTED] = @blue

  xthickness = 5
  ythickness = 5

  engine "moblin-netbook-engine"
  {
    border[NORMAL] = @grey
    border[PRELIGHT] = @grey
    border[ACTIVE] = @grey
    radius = 3
  }
}
widget_class "*Spin*"  style "spinbutton"



style "toolbar-spinbutton" = "toolbar-button"
{
  bg[NORMAL] =  "#434343"
  text[NORMAL] = "#ffffff"
  text[PRELIGHT] = "#ffffff"
  fg[NORMAL] = "#ffffff" # Arrow colour
  fg[ACTIVE] = "#ffffff"
  fg[PRELIGHT] = "#ffffff"
  base[NORMAL] = "#434343"
  base[SELECTED] = @blue
  text[SELECTED] = "#ffffff"

  xthickness = 5
  ythickness = 5

  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#434343"
    border[PRELIGHT] = "#434343"
    border[ACTIVE] = "#434343"
    radius = 3
  }
}
widget_class "*<GtkToolbar>.*Spin*"  style "toolbar-spinbutton"


style "toolbar-togglebutton" = "toolbar-button"
{
  fg[NORMAL] = "#ffffff"
  text[NORMAL] = "#ffffff"
  bg[NORMAL] =  "#434343"


  ythickness = 3

  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#434343"
    border[PRELIGHT] = "#434343"
    border[ACTIVE] = "#434343"
    radius = 3
  }
}
widget_class "*<GtkToolbar>.*oggle*"  style "toolbar-togglebutton"

style "arrow"
{
  fg[NORMAL] = shade (2.5, @fg_color)
}
class "GtkArrow" style "arrow"

style "combo-box-entry-arrow"
{
  fg[PRELIGHT] = shade (2.5, @fg_color)
  fg[ACTIVE] = shade (2.5, @fg_color)
}
widget_class "*.GtkComboBoxEntry*GtkArrow" style "combo-box-entry-arrow"



# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.

style "clearlooks-text-is-fg-color-workaround"
{
  text[NORMAL]      = @fg_color
  text[PRELIGHT]    = @fg_color
  text[SELECTED]    = @fg_color
  text[ACTIVE]      = @fg_color
  text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "clearlooks-text-is-fg-color-workaround"

style "clearlooks-menuitem-text-is-fg-color-workaround"
{
  text[NORMAL]        = @fg_color
  text[PRELIGHT]      = @selected_fg_color
  text[SELECTED]      = @selected_fg_color
  text[ACTIVE]        = @fg_color
  text[INSENSITIVE]   = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"   style "clearlooks-menuitem-text-is-fg-color-workaround"


style "notebook"
{

  GtkNotebook::tab-overlap = 6
  GtkNotebook::tab-curvature = 9
  GtkNotebook::focus-line-width = 0
  ythickness = 4
  xthickness = 7

  engine "moblin-netbook-engine"
  {
    radius = 6
    border [ACTIVE] = lighter (@grey)
  }

}
class "GtkNotebook" style "notebook"


style "mux-banner"
{
  base[NORMAL] = "#eeeeec"
  text[NORMAL] = "#000000"
}
class "MuxBanner" style "mux-banner"

style "mux-frame"
{
  bg[NORMAL]="#ffffff"
}
class "MuxFrame" style "mux-frame"



style "combobox" = "button"
{
  xthickness = 4
  ythickness = 4
}
widget_class "*Combo*"  style "combobox"

style "toolbar-combobox"
{

  bg[NORMAL] = "#434343"
  bg[PRELIGHT] = "#434343"
  bg[ACTIVE] = "#434343"

  text [NORMAL] = "#ffffff"
  text [PRELIGHT] = "#ffffff"
  text [ACTIVE] = "#ffffff"
  xthickness = 8
  ythickness = 8
}
widget_class "*<GtkToolbar>.*Combo*"  style "toolbar-combobox"



style "toolbar-arrow" = "toolbar-button"
{
  fg[NORMAL] = "#787878"
  fg[PRELIGHT] = "#ffffff"
  fg[INSENSITIVE] = "#434343"
}
widget_class "*<GtkToolbar>.*GtkArrow*"  style "toolbar-arrow"



style "separator"
{
  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#dddddd"
    radius = 3
  }
}
widget_class "*Separator*"  style "separator"



style "toolbar-separator"
{
  engine "moblin-netbook-engine"
  {
    border[NORMAL] = "#434343"
  }
}
widget_class "*<GtkToolbar>.*eparator*"  style "toolbar-separator"



style "window"
{
  bg [NORMAL] = "#f9f9f9"
}
widget_class "GtkWindow" style "window"


style "statusbar-resize"
{
  # this colour is used for resize grips in moblin-gtk-engine
  bg[ACTIVE] = shade (0.8, @bg_color)
}
class "GtkStatusbar" style "statusbar-resize"


style "statusbar"
{

  xthickness = 3
  ythickness = 3

  engine "moblin-netbook-engine"
  {
    radius = 0
    border[NORMAL] = @bg_color
  }
}
widget_class "*<GtkStatusbar>*" style "statusbar"



style "tooltip"
{
  xthickness = 9
  ythickness = 9

  font_name = "Droid Sans Bold 9"

  text[NORMAL]        = "#ffffff"
  text[PRELIGHT]      = "#ffffff"
  text[SELECTED]      = "#ffffff"
  text[ACTIVE]        = "#ffffff"
  text[INSENSITIVE]   = "#ffffff"

  bg[NORMAL]          = "#182325"
  base[NORMAL]        = "#00ff00"
  fg[NORMAL]          = "#ffffff"

  bg[ACTIVE]          = "#182325"
  base[ACTIVE]        = "#0000ff"
  fg[ACTIVE]          = "#ffffff"

  bg[SELECTED]        = "#182325"
  base[SELECTED]      = "#0000ff"
  fg[SELECTED]        = "#00ff00"

}
widget_class "*.*tooltips*.*.GtkToggleButton" style "tooltip"
widget "*.*gtk-tooltips*" style "tooltip"
widget "*gtk-tooltip*" style "tooltip"

