# Xamarin Studio Light Mac GTK Theme # Copyright 2012-2016 Xamarin Inc. # Authors: # Christian Kellner # Carlos Garnacho # Cody Russell # Vsevolod Kukol # Vaclav Vancura gtk-color-scheme = "bg_color: #f5f5f5 fg_color: #272727 base_color: #fff text_color: #272727 link_color: #5189ed selected_bg_color: #5189ed selected_fg_color: #fff tooltip_bg_color: #f2f2f2 tooltip_fg_color: #272727 tooltip_border_color: #b2b2b2" gtk-button-images = 0 gtk-menu-images = 0 gtk-toolbar-style = 0 gtk-enable-mnemonics = 0 gtk-icon-sizes = "gtk-small-toolbar=16,16:gtk-large-toolbar=22,22" gtk-toolbar-icon-size = large-toolbar gtk-auto-mnemonics = 1 gtk-error-bell = 0 gtk-show-input-method-menu = 0 gtk-font-name = "-apple-system-font 12" style "default" { xthickness = 1 ythickness = 1 font_name = "-apple-system-font 12" ### colours bg[NORMAL] = @bg_color bg[PRELIGHT] = @bg_color bg[SELECTED] = @selected_bg_color bg[INSENSITIVE] = @bg_color bg[ACTIVE] = @bg_color fg[NORMAL] = @fg_color fg[PRELIGHT] = @fg_color fg[SELECTED] = @selected_fg_color fg[INSENSITIVE] = darker (@bg_color) fg[ACTIVE] = @fg_color text[NORMAL] = @fg_color text[PRELIGHT] = @fg_color text[SELECTED] = @selected_fg_color text[INSENSITIVE] = darker (@bg_color) text[ACTIVE] = @fg_color base[NORMAL] = @base_color base[PRELIGHT] = @selected_bg_color base[SELECTED] = @selected_bg_color base[INSENSITIVE] = @bg_color base[ACTIVE] = shade (1.3, @selected_bg_color) ### style properties GtkWidget::new-tooltip-style = 1 GtkWidget::link-color = @link_color GtkWidget::visited-link-color = @link_color GtkEntry::honors-transparent-bg-hint = 1 GtkEntry::inner-border = { 2, 2, 2, 2 } GtkButton::child-displacement-x = 0 GtkButton::child-displacement-y = 0 GtkButton::default-border = { 0, 0, 0, 0 } GtkButton::inner-border = { 2, 2, 4, 4 } GtkButtonBox::child-min-width = 70 GtkButtonBox::child-min-height = 22 GtkCheckButton::indicator-size = 14 GtkCheckButton::indicator-spacing = 4 GtkCheckButton::interior-focus = 0 GtkRadioButton::interior-focus = 0 GtkTreeView::odd-row-color = "#fafafa" GtkScrolledWindow::scrollbar-spacing = 0 GtkScrolledWindow::scrollbars-within-bevel = 1 GtkScrolledWindow::draw-child-bg = 1 GtkScale::slider-length = 14 GtkRange::trough-side-details = 1 GtkTreeView::expander-size = 8 GtkExpander::expander-size = 8 GtkComboBox::arrow-size = 12 GtkMenu::vertical-padding = 4 GtkMenuItem::horizontal-padding = 3 GtkMenuItem::toggle-spacing = 6 GtkSeparatorMenuItem::horizontal-padding = 2 engine "xamarin" { arrowstyle = 2 rgba = TRUE roundness = 3 glazestyle = 0 menustyle = 0 menuitemstyle = 0 menubaritemstyle = 0 comboboxstyle = 2 spinbuttonstyle = 1 colorize_scrollbar = FALSE progressbarstyle = 0 gradient_shades = { 1.0, 1.0, 1.0, 1.0 } fill_shade = 1.0 focusstyle = 0 } } style "wide" = "default" { xthickness = 2 ythickness = 2 } style "wider" = "default" { xthickness = 3 ythickness = 3 } style "button" = "default" { xthickness = 2 ythickness = 4 font_name = "-apple-system-font 12" bg[NORMAL] = @base_color bg[PRELIGHT] = @base_color # Mac buttons have no hover state GtkWidget::focus-padding = 0 GtkWidget::focus-line-width = 1 engine "xamarin" { border_shades = {1.4, 1.3} rgba = FALSE contrast = 1.0 focus_color = shade(0.6, @bg_color) textstyle = 0 highlight_shade = 1.0 lightborder_shade = 1.0 } } style "dialog-button" = "button" { GtkButton::inner-border = { 7, 7, 3, 4 } engine "xamarin" { default_button_color = "#51ADF3" } } style "toggle-button" = "button" { bg[PRELIGHT] = @base_color engine "xamarin" { rgba = FALSE contrast = 1.0 focus_color = shade(0.6, @bg_color) textstyle = 1 } } style "menu" { xthickness = 1 # ythickness = 0 font_name = "-apple-system-font 12" bg[PRELIGHT] = @selected_fg_color fg[PRELIGHT] = @selected_fg_color text[PRELIGHT] = @selected_fg_color # engine "quartz" { # } } style "menu-item" = "menu" { ythickness = 2 GtkWidget::draw-border = { 0, 0, 0, 2 } engine "xamarin" { gradient_shades = {1.0, 1.0, 1.0, 1.0} contrast = 0.0 roundness = 0 } } style "menu-separator" = "menu-item" { ythickness = 3 engine "xamarin" { contrast = 1.0 } } style "toolbar" = "default" { bg[NORMAL] = "#ddd" engine "xamarin" { toolbarstyle = 2 } } style "toolbar-button" { engine "xamarin" { contrast = 1.0 focus_color = @bg_color } } style "tooltip" { xthickness = 5 ythickness = 5 fg[NORMAL] = @tooltip_fg_color bg[NORMAL] = @tooltip_bg_color bg[SELECTED] = @tooltip_border_color font_name = "-apple-system-font 12" engine "xamarin" { roundness = 0 } } style "treeview" = "default" { base[ACTIVE] = "#a0a0a0" text[ACTIVE] = @selected_fg_color engine "xamarin" { roundness = 0 gradient_shades = { 1.01, 1.01, 1.01, 1.01 } glazestyle = 1 } } style "tree-header" { bg[NORMAL] = "#f2f2f2" } style "icon-view" = "default" { bg[SELECTED] = "#f5f7fa" base[SELECTED] = "#f5f7fa" fg[SELECTED] = "#000" text[SELECTED] = "#000" } style "toolbar-combo-box" = "default" { fg[NORMAL] = "#616161" text[NORMAL] = @fg_color bg[NORMAL] = @bg_color base[NORMAL] = @bg_color ythickness = 4 xthickness = 2 engine "xamarin" { comboboxstyle = 0 arrowstyle = 2 } } style "combo-box" = "button" { bg[PRELIGHT] = @base_color base[NORMAL] = "#cccccc" base[ACTIVE] = "#6cb2f7" base[PRELIGHT] = "#cccccc" fg[NORMAL] = @base_color fg[PRELIGHT] = @base_color engine "xamarin" { arrowstyle = 3 fill_shade = 0.85 } } style "combo-box-entry-button" = "combo-box" { bg[NORMAL] = "#cccccc" bg[ACTIVE] = "#6cb2f7" bg[PRELIGHT] = "#cccccc" fg[NORMAL] = @base_color fg[ACTIVE] = @fg_color fg[PRELIGHT] = @base_color engine "xamarin" { arrowstyle = 3 fill_shade = 0.85 } } style "wizard-dialog" { GtkDialog::content-area-border = 0 } style "combo-box-menu" = "menu" { font_name = "-apple-system-font 12" } style "notebook" = "default" { GtkNotebook::tab-overlap = 1 GtkNotebook::tab-curvature = 3 bg[ACTIVE] = "#e7e7e7" bg[NORMAL] = @base_color engine "xamarin" { roundness = 0 } } style "radio-or-check-box" = "button" { GtkCheckButton::indicator-size = 17 base[ACTIVE] = "#419bf9" base[SELECTED] = "#419bf9" base[PRELIGHT] = @base_color text[ACTIVE] = @base_color text[SELECTED] = @base_color text[PRELIGHT] = @base_color text[NORMAL] = @base_color engine "xamarin" { focusstyle = 0 border_shades = { 1.0, 1.0 } } } style "propertygrid-radio-or-check-box" = "radio-or-check-box" { GtkCheckButton::indicator-spacing = 0 GtkCheckButton::indicator-size = 15 } style "entry" = "default" { xthickness = 4 ythickness = 4 GtkEntry::inner-border = { 2, 2, 2, 2 } base[INSENSITIVE] = shade(1.02, @bg_color) bg[SELECTED] = @selected_bg_color engine "xamarin" { rgba = FALSE roundness = 0 focusstyle = 2 } } style "search-entry" = "wider" { xthickness = 6 ythickness = 4 bg[NORMAL] = @base_color } style "scrollbar" = "default" { GtkScrollbar::has-forward-stepper = 0 GtkScrollbar::has-backward-stepper = 0 GtkRange::slider-width = 7 GtkRange::trough-border = 2 GtkRange::trough-side-details = 0 GtkWidget::draw-border = { 0, 0, 0, 0 } bg[NORMAL] = "#C0C0C0" bg[PRELIGHT] = "#C0C0C0" engine "xamarin" { roundness = 1 contrast = 0.0 border_colors = { "#C0C0C0", "#C0C0C0" } trough_shades = { 1.0, 1.0 } stepperstyle = 1 } } style "completion_scrollbar" = "scrollbar" { bg[NORMAL] = @bg_color } style "progressbar" = "default" { GtkWidget::draw-border = { 0, 0, 0, 0 } bg[ACTIVE] = @base_color fg[SELECTED] = @selected_bg_color fg[PRELIGHT] = @selected_fg_color xthickness = 0 ythickness = 0 } style "scrolled-window" = "default" { xthickness = 1 ythickness = 1 } style "scale" = "default" { bg[SELECTED] = @selected_bg_color engine "xamarin" { roundness = 7 } } style "spin-button" = "wider" { fg[NORMAL] = "#616161" ythickness = 4 GtkEntry::inner-border = { 2, 2, 1, 1 } engine "xamarin" { arrowstyle = 3 } } style "link-label-fix" { base[PRELIGHT] = @bg_color # disable link hover background } ### Apply the styles class "GtkWidget" style "default" class "GtkEntry" style "entry" class "GtkSpinButton" style "spin-button" class "GtkFrame" style "wider" class "GtkRange" style "wide" class "GtkSeparator" style "wide" class "GtkScrollbar" style "scrollbar" class "GtkProgressBar" style "progressbar" class "GtkScrolledWindow" style "scrolled-window" class "GtkNotebook" style "notebook" class "GtkButton" style "button" class "GtkToggleButton" style "toggle-button" class "GtkCheckButton" style "radio-or-check-box" class "GtkComboBox" style "combo-box" class "GtkScale" style "scale" #widget "*GtkEntry" style "entry" widget "*search-entry*" style "search-entry" widget "*GtkTextView" style "entry" widget_class "*.GtkButton.*" style "button" widget_class ".*." style "dialog-button" widget_class "*" style "radio-or-check-box" widget_class ".*..*..*" style "dialog-button" widget "*.toggleFindInFiles" style "toggle-button" widget "*.toggleReplaceInFiles" style "toggle-button" widget "wizard_dialog" style "wizard-dialog" widget "*CompletionScrolledWindow*" style "completion_scrollbar" widget_class "**" style "menu" widget_class "**" style "menu-item" widget_class "*" style "menu-separator" widget "*.gtk-combobox-popup-menu*" style "combo-box-menu" widget_class "**" style "toolbar" widget_class "*ToolButton*" style "toolbar-button" widget_class "*.*" style "treeview" widget_class "*.." style "tree-header" widget_class "*.." style "tree-header" widget_class "*" style "icon-view" widget_class "*..*" style "combo-box" widget_class "*.." style "entry" widget_class "*.." style "entry" widget_class "*.." style "combo-box-entry-button" widget_class "*..*" style "combo-box-entry-button" # Comboboxes within toolbars widget_class "*..*..*" style "toolbar-combo-box" widget "*MainToolbar*.GtkComboBox.*" style "toolbar-combo-box" widget "gtk-tooltip*" style "tooltip" binding "gtk-mac-expand-collapse-cursor-row" { unbind "Left" unbind "Right" bind "Left" { "expand-collapse-cursor-row" (0, 0, 0) } bind "Right" { "expand-collapse-cursor-row" (0, 1, 0) } } class "GtkTreeView" binding "gtk-mac-expand-collapse-cursor-row" # HACK: PropertyGrid toolbar option buttons must have murrine style widget "*MonoDevelop.PropertyGridToolbar.GtkRadioButton" style "toggle-button" # BooleanEditorCell must always have murrine style widget_class "*BooleanEditor*" style "propertygrid-radio-or-check-box" # disable hover background on link labels class "GtkLabel" style "link-label-fix"