Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2012-10-06 08:10:38 +0400
committerJason Smith <jassmith@gmail.com>2012-10-11 10:06:26 +0400
commit370f3adda5fd647c005fd116103996c2d85a12e9 (patch)
tree0ce114f7925bddad2b85084ef196f66d3eb2d92e /main/src/core/MonoDevelop.Ide/gtkrc.win32
parentcd45e46c8896114ee99a536dc0eff869bbc044e6 (diff)
[UIRefresh] Use windows specific GTKRC theme
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtkrc.win32')
-rw-r--r--main/src/core/MonoDevelop.Ide/gtkrc.win32352
1 files changed, 352 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtkrc.win32 b/main/src/core/MonoDevelop.Ide/gtkrc.win32
new file mode 100644
index 0000000000..5f55cfdf71
--- /dev/null
+++ b/main/src/core/MonoDevelop.Ide/gtkrc.win32
@@ -0,0 +1,352 @@
+# Windows Theme for Xamarian
+# Copyright 2012 Christian Kellner <christian.kellner@lanedo.com>
+
+gtk-color-scheme =
+"bg_color: #f5f5f5
+fg_color: #000
+base_color: #fff
+text_color: #000
+selected_bg_color: #649dd6
+selected_fg_color: #fff
+tooltip_bg_color: #fff9e5
+tooltip_fg_color: #000"
+
+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
+
+
+style "default" {
+ xthickness = 1
+ ythickness = 1
+
+ ### 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] = @text_color
+ text[PRELIGHT] = @text_color
+ text[SELECTED] = @selected_fg_color
+ text[INSENSITIVE] = darker (@bg_color)
+ text[ACTIVE] = @text_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
+
+ 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, 2, 2 }
+
+ GtkTreeView::odd-row-color = @base_color
+
+ GtkScrolledWindow::scrollbar-spacing = 0
+ GtkScale::slider-length = 14
+
+ GtkTreeView::expander-size = 8
+ GtkExpander::expander-size = 8
+ GtkComboBox::arrow-size = 8
+
+ engine "xamarin" {
+
+ arrowstyle = 2
+ rgba = TRUE
+ roundness = 3
+ glazestyle = 0
+
+ menustyle = 0
+ menuitemstyle = 0
+ menubaritemstyle = 0
+ comboboxstyle = 1
+ spinbuttonstyle = 1
+ colorize_scrollbar = FALSE
+ progressbarstyle = 0
+ trough_shades = { 0.842, 0.886 }
+ }
+}
+
+style "wide" = "default" {
+ xthickness = 2
+ ythickness = 2
+}
+
+style "wider" = "default" {
+ xthickness = 3
+ ythickness = 3
+}
+
+
+style "button" {
+ xthickness = 2
+ ythickness = 4
+
+ bg[NORMAL] = @bg_color
+ bg[PRELIGHT] = shade(1.1, @bg_color)
+ bg[ACTIVE] = @bg_color
+ bg[INSENSITIVE] = @bg_color
+
+ engine "xamarin" {
+ contrast = 1.0
+ gradient_shades = {0.96, 0.918, 0.926, 0.858}
+ focus_color = shade(0.6, @bg_color)
+ textstyle = 1
+ }
+}
+
+style "menu" {
+ xthickness = 0
+ ythickness = 0
+
+ fg[PRELIGHT] = @selected_fg_color
+
+ engine "xamarin" {
+ roundness = 3
+ gradient_shades = {1.02, 0.97, 0.92, 0.87}
+ }
+}
+
+style "menu-item" {
+ xthickness = 0
+ ythickness = 3
+
+ fg[PRELIGHT] = @selected_fg_color
+
+ engine "xamarin" {
+ roundness = 0
+ gradient_shades = {1.02, 0.97, 0.92, 0.87}
+ }
+}
+
+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
+}
+
+style "treeview" = "default"
+{
+ GtkTreeView::odd-row-color = "#f5f5f5"
+
+ engine "xamarin" {
+ roundness = 0
+ gradient_shades = {1.0, 1.0, 1.0, 1.0}
+ }
+}
+
+style "tree-header" = "wide"
+{
+ bg[NORMAL] = "#f2f2f2"
+
+ engine "xamarin" {
+ listviewheaderstyle = 3
+ separatorstyle = 1
+ }
+}
+
+style "icon-view" = "default"
+{
+ bg[SELECTED] = "#f5f7fa"
+ base[SELECTED] = "#f5f7fa"
+ fg[SELECTED] = "#000"
+ text[SELECTED] = "#000"
+}
+
+style "toolbar-combo-box" = "default"
+{
+ fg[NORMAL] = @fg_color
+ text[NORMAL] = @fg_color
+ bg[NORMAL] = "#fff"
+ base[NORMAL] = "#fff"
+
+ engine "wimp" {
+ comboboxstyle = 0
+ arrowstyle = 2
+ }
+}
+
+style "combo-box" = "default"
+{
+ fg[NORMAL] = "#616161"
+ xthickness = 4
+ ythickness = 4
+
+ engine "xamarin" {
+ arrowstyle = 3
+ }
+}
+
+style "combo-box-label" = "combo-box"
+{
+ fg[NORMAL] = "#595959"
+}
+
+style "notebook" = "default"
+{
+ GtkNotebook::tab-overlap = 1
+ bg[ACTIVE] = @base_color
+ bg[NORMAL] = @base_color
+
+ engine "xamarin" {
+ gradient_shades = { 0.945, 0.945, 0.945, 0.685 }
+ }
+}
+
+style "radio-button" = "default"
+{
+ GtkCheckButton::indicator-size = 15
+ text[NORMAL] = lighter (@text_color)
+ base[NORMAL] = @base_color
+ text[ACTIVE] = lighter(@text_color)
+}
+
+style "check-box" = "default"
+{
+ GtkCheckButton::indicator-size = 15
+ base[NORMAL] = "#f8f8f8"
+ text[NORMAL] = "#404040"
+ text[ACTIVE] = "#404040"
+}
+
+style "entry" = "default"
+{
+ xthickness = 4
+ ythickness = 4
+ GtkEntry::inner-border = { 2, 2, 2, 2 }
+}
+
+style "search-entry" = "wider"
+{
+ GtkEntry::inner-border = { 0, 0, 0, 0 }
+ xthickness = 6
+ ythickness = 4
+ bg[NORMAL] = @base_color
+}
+
+style "scrollbar" = "default"
+{
+ GtkScrollbar::has-forward-stepper = 0
+ GtkScrollbar::has-backward-stepper = 0
+ GtkRange::slider-width = 10
+ GtkRange::trough-border = 2
+
+ bg[SELECTED] = @bg_color
+ bg[NORMAL] = @bg_color
+
+ engine "xamarin" {
+ trough_shades = { 0.968, 1.04 }
+ roundness = 0
+ }
+}
+
+style "progressbar" = "default"
+{
+ bg[SELECTED] = "#62b3ec"
+ fg[SELECTED] = "#3a67a6"
+ xthickness = 0
+ ythickness = 0
+}
+
+style "scrolled-window" = "default"
+{
+ xthickness = 1
+ ythickness = 1
+}
+
+style "scale" = "default"
+{
+ engine "xamarin" {
+ roundness = 7
+ }
+}
+
+### Apply the styles
+class "GtkWidget" style "default"
+
+class "GtkEntry" style "entry"
+class "GtkSpinButton" style "wider"
+class "GtkFrame" style "wide"
+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 "GtkRadioButton" style "radio-button"
+class "GtkCheckButton" style "check-box"
+class "GtkScale" style "scale"
+
+widget "*GtkEntry" style:highest "entry"
+widget "*search-entry*" style "search-entry"
+
+widget_class "*<GtkButton>" style "button"
+widget "*.GtkToggleButton" style "button"
+
+widget_class "*<GtkMenu>*" style "menu"
+widget_class "*<GtkMenuItem>*" style "menu-item"
+
+widget_class "*<GtkToolbar>*" style "toolbar"
+widget_class "*ToolButton*" style "toolbar-button"
+
+widget_class "*.<GtkTreeView>*" style "treeview"
+widget_class "*.GtkTreeView.GtkButton" style "tree-header"
+widget_class "*.GtkList.GtkButton" style "tree-header"
+
+widget_class "*<GtkIconView>" style "icon-view"
+
+widget_class "*.<GtkComboBox>.*" style "combo-box"
+widget_class "*.<GtkComboBoxText>.*" style "combo-box"
+widget_class "*.<GtkComboBoxEntry>.*" style "combo-box"
+widget_class "*.<GtkComboBoxText>.<GtkEntry>" style "entry"
+widget_class "*.<GtkComboBoxText>.<GtkButton>" style "button"
+#widget_class "*.<GtkComboBoxEntry>.GtkEntry" style "entry"
+#widget_class "*.<GtkComboBoxEntry>.<GtkButton>" style "button"
+widget_class "*.<GtkComboBox>.*.GtkLabel" style "combo-box-label"
+
+# Comboboxes within toolbars
+widget_class "*.<GtkToolbar>.*.<GtkComboBox>.*" style "toolbar-combo-box"
+widget "*MainToolbar*.GtkComboBox.*" style "toolbar-combo-box"
+
+widget "gtk-tooltip*" style "tooltip"