diff options
| author | Syndamia <kamen@syndamia.com> | 2023-05-20 11:28:29 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2023-05-20 11:28:29 +0300 |
| commit | eab0507af6367a9a75f40ac3dd92e5e42860c2dc (patch) | |
| tree | 71f56e8725b505d70954ad665a03988d85316c85 /themes/Mint-X-Sand/gtk-2.0/gtkrc | |
| parent | 48de6d4af249f23b3a431d357236588208a9f419 (diff) | |
| download | old-mint-y-main.tar old-mint-y-main.tar.gz old-mint-y-main.zip | |
Diffstat (limited to 'themes/Mint-X-Sand/gtk-2.0/gtkrc')
| -rw-r--r-- | themes/Mint-X-Sand/gtk-2.0/gtkrc | 644 |
1 files changed, 644 insertions, 0 deletions
diff --git a/themes/Mint-X-Sand/gtk-2.0/gtkrc b/themes/Mint-X-Sand/gtk-2.0/gtkrc new file mode 100644 index 00000000..bc4ffc1d --- /dev/null +++ b/themes/Mint-X-Sand/gtk-2.0/gtkrc @@ -0,0 +1,644 @@ +# These are the defined colors for the theme, you can change them in GNOME's appearance preferences. + +gtk_color_scheme = "bg_color:#d6d6d6\nselected_bg_color:#c8ac69\nbase_color:#F7F7F7" # Background, base. +gtk_color_scheme = "fg_color:#212121\nselected_fg_color:#f5f5f5\ntext_color:#212121" # Foreground, text. +gtk_color_scheme = "tooltip_bg_color:#fbeaa0\ntooltip_fg_color:#212121" # Tooltips. +gtk_color_scheme = "link_color:#08c" # Hyperlinks + +## Misc ## + +#gtk-icon-sizes = "gtk-button=16,16" # This makes button icons smaller. +#gtk-button-images = 0 # Enables icons in buttons +gtk-auto-mnemonics = 1 # Disables ugly lines under menu items + +## Default Style ## + +style "default" { + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + GtkButton::default-border = { 1, 1, 1, 1 } + GtkButtonBox::child-min-height = 26 + + GtkCheckButton::indicator-size = 16 + + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + #GtkEntry::honors-transparent-bg-hint = 1 + GtkEntry::state-hint = 0 + #GtkEntry::progress-border = { 2, 2, 2, 2 } + + GtkExpander::expander-size = 11 + + GnomeHRef::link_color = @link_color + GtkHTML ::link-color = @link_color + GtkIMHtmlr::hyperlink-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @link_color + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 1 + GtkMenuBar::internal-padding = 0 + GtkMenuBar::window-dragging = 1 + GtkMenuItem::horizontal-padding = 0 + + GtkNotebook::tab-overlap = 0 + + GtkPaned::handle-size = 6 + + GtkProgressBar::min-horizontal-bar-height = 16 + GtkProgressBar::min-vertical-bar-width = 16 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 11 + GtkRange::stepper-size = 0 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 0 + + GtkScale::slider-length = 16 + GtkScale::slider-width = 16 + GtkScale::trough-side-details = 1 + + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::min-slider-length = 30 + GtkScrollbar::slider-width = 14 + GtkScrollbar::trough-border = 0 + GtkScrollbar::activate-slider = 1 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkStatusbar::shadow_type = GTK_SHADOW_NONE + + GtkToolbar::internal-padding = 1 + GtkToolbar::window-dragging = 1 + + GtkTreeView::allow-rules = 1 + GtkTreeView::expander-size = 11 + GtkTreeView::horizontal-separator = 2 + GtkTreeView::row-ending-details = 0 + GtkTreeView::vertical-separator = 2 + + GtkWidget::new-tooltip-style = 1 + #GtkWidget::tooltip-alpha = 235 + #GtkWidget::tooltip-radius = 3 + GtkWidget::focus-line-width = 1 + GtkWidget::focus-padding = 0 # Keeping this at 0 prevents the Firefox tabs from jumping a few pixels when you create a new tab. Set the value locally if needed. + + GtkWindow::resize-grip-height = 0 + GtkWindow::resize-grip-width = 0 + + WnckTasklist::fade-overlay-rect = 0 + + xthickness = 1 + ythickness = 1 + + ## Color Definitions ## + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = darker (@bg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = @bg_color + bg[ACTIVE] = shade (1.04, @bg_color) + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @bg_color) + base[ACTIVE] = shade (0.92, @selected_bg_color) + base[SELECTED] = shade (0.93, @selected_bg_color) + base[INSENSITIVE] = @bg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[ACTIVE] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + + engine "pixmap" + { + # Arrows + + image + { + function = ARROW + state = NORMAL + overlay_file = "images/arrows/small-arrow-up.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = PRELIGHT + overlay_file = "images/arrows/small-arrow-up.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = ACTIVE + overlay_file = "images/arrows/small-arrow-up.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = INSENSITIVE + overlay_file = "images/arrows/small-arrow-up-insensitive.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = NORMAL + overlay_file = "images/arrows/small-arrow-down.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = PRELIGHT + overlay_file = "images/arrows/small-arrow-down.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = ACTIVE + overlay_file = "images/arrows/small-arrow-down.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = INSENSITIVE + overlay_file = "images/arrows/small-arrow-down-insensitive.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = NORMAL + overlay_file = "images/arrows/arrow-left.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + state = PRELIGHT + overlay_file = "images/arrows/arrow-left.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + state = ACTIVE + overlay_file = "images/arrows/arrow-left.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + state = INSENSITIVE + overlay_file = "images/arrows/arrow-left-insensitive.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + state = NORMAL + overlay_file = "images/arrows/arrow-right.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + state = PRELIGHT + overlay_file = "images/arrows/arrow-right.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + state = ACTIVE + overlay_file = "images/arrows/arrow-right.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + state = INSENSITIVE + overlay_file = "images/arrows/arrow-right-insensitive.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = TAB + state = INSENSITIVE + overlay_file = "images/arrows/small-arrow-down-insensitive.svg" + overlay_stretch = FALSE + } + image + { + function = TAB + state = NORMAL + overlay_file = "images/arrows/small-arrow-down.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + } + image + { + function = TAB + state = PRELIGHT + overlay_file = "images/arrows/small-arrow-down.svg" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + } + + # Expanders + + image + { + function = EXPANDER + expander_style = COLLAPSED + file = "images/expanders/closed.svg" + } + image + { + function = EXPANDER + expander_style = EXPANDED + file = "images/expanders/open.svg" + } + image + { + function = EXPANDER + expander_style = SEMI_EXPANDED + file = "images/expanders/open.svg" + } + image + { + function = EXPANDER + expander_style = SEMI_COLLAPSED + file = "images/expanders/closed.svg" + } + + # Lines + + image + { + function = VLINE + file = "images/other/null.png" + border = {0, 0, 0, 0} + stretch = TRUE + } + image + { + function = HLINE + file = "images/other/null.png" + border = {0, 0, 0, 0} + stretch = TRUE + } + + # Handles + + image + { + function = HANDLE + overlay_file = "images/handles/pane-separator-grip.svg" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = HANDLE + overlay_file = "images/handles/pane-separator-grip-vertical.svg" + overlay_stretch = FALSE + orientation = VERTICAL + } + + # Shadows + + image + { + function = SHADOW_GAP + file = "images/other/null.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + image + { + function = SHADOW + shadow = IN + recolorable = FALSE + file = "images/frames/frame.svg" + border = {1, 1, 1, 1} + stretch = TRUE + } + + image + { + function = SHADOW + shadow = OUT + recolorable = TRUE + file = "images/other/null.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + image + { + function = SHADOW + shadow = ETCHED_IN + recolorable = TRUE + file = "images/frames/frame.svg" + border = {1, 1, 1, 1} + stretch = TRUE + } + image + { + function = SHADOW + shadow = ETCHED_OUT + recolorable = TRUE + file = "images/other/null.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + + # Resize Grip + + image + { + function = RESIZE_GRIP + state = NORMAL + detail = "statusbar" + overlay_file = "images/other/null.png" + overlay_border = {0, 0, 0, 0} + overlay_stretch = FALSE + } + + # Focus Lines + + image + { + function = FOCUS + file = "images/other/null.png" + border = {1, 1, 1, 1} + stretch = TRUE + } + } +} + +## Widget Styles ## + +style "tooltips" +{ + xthickness = 3 + ythickness = 3 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color + bg[SELECTED] = @tooltip_bg_color + + engine "murrine" + { + roundness = 4 + } +} + +style "xfwm-tabwin" +{ + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 0.9 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::listview-icon-size = 16 + Xfwm4TabwinWidget::preview-size = 512 + Xfwm4TabwinWidget::alpha = 0.8 + Xfwm4TabwinWidget::border-radius = 10 + + bg[NORMAL] = shade (0.15, @bg_color) + bg[ACTIVE] = shade (0.65, @selected_bg_color) + bg[PRELIGHT] = shade (0.85, @selected_bg_color) + bg[SELECTED] = shade (0.45, @bg_color) + + fg[NORMAL] = shade (0.8, @base_color) + fg[ACTIVE] = @base_color + fg[PRELIGHT] = @base_color + + engine "murrine" { + roundness = 6 + contrast = 0.8 + highlight_shade = 1.00 + lightborder_shade = 1.0 + gradient_shades = {1.0,1.2,1.2,1.4} + border_shades = { 1.5, 1.5 } + reliefstyle = 0 + shadow_shades = { 1.3, 1.7 } + textstyle = 1 + text_shade = 0.25 + } +} + +style "xfwm-tabwin-button" +{ + font_name = "bold" +} + +style "xfsm-logout" +{ + bg[NORMAL] = @bg_color + bg[SELECTED] = @selected_bg_color # Highlighting selection + fg[NORMAL] = @fg_color + + engine "murrine" { + border_shades = { 1.1, 0.98 } # gradient to draw on border + contrast = 0.8 + focusstyle = 3 + glowstyle = 4 # 0,1,2,3,4 + gradient_shades = {1.12,1.10,1.1,1.02} + highlight_shade = 1.0 + roundness = 3 + } +} + +## Import external style files ## + +include "styles/bars.rc" +include "styles/buttons.rc" +include "styles/check-radio.rc" +include "styles/entry.rc" +include "styles/frames.rc" +include "styles/handlebox.rc" +include "styles/label-icon.rc" +include "styles/menus.rc" +include "styles/notebook.rc" +include "styles/scrolled-window.rc" +include "styles/separators.rc" +include "styles/sliders.rc" +include "styles/views.rc" + +## Apply the styles to the appropriate widgets ## + +class "GtkWidget" style "default" +class "GtkScrollbar" style "scrollbar" +class "GtkButton" style "button" +class "GtkEntry" style "entry" +class "GtkOldEditable" style "entry" +class "GtkSpinButton" style "spinbutton" +class "GtkNotebook" style "notebook" +class "GtkRange" style "scale" +class "GtkProgressBar" style "progressbar" +class "GtkScrolledWindow" style "scrolled-window" +class "GtkFrame" style "frame" + +widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook" +widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook-fill" +widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook" +widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook" +widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook" + +widget_class "*<GtkStatusbar>*" style "statusbar" + +class "GtkTreeView" style "treeview" +class "GtkToolbar" style "toolbar" + +widget_class "*<GtkCheckButton>*" style "check" +widget_class "*<GtkRadioButton>*" style "check" + +widget_class "*<GtkMenuBar>*" style "menubar" +widget_class "*<GtkMenu>*" style "menu" +widget_class "*<GtkMenuItem>*" style "menu-item" +widget_class "*<GtkSeparatorMenuItem>*" style "menu-item-separator" +widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar-menuitem" + +widget_class "*<GtkComboBox>" style "button" + +widget_class "*HandleBox" style "handlebox" + +widget_class "*GtkIconView" style "iconview" + +widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview-header" + +widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline-toolbar" +widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style:highest "tool-button" + +widget_class "*<GtkNotebook>*<GtkToolbar>" style "notebook-toolbar" +widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook-fill" + +widget_class "*<GtkNotebook>*" style "notebook-close" + +widget_class "*GtkToolbar*GtkButton" style "tool-button" + +widget_class "*<GtkStatusbar>.<GtkFrame>" style:highest "statusbar-frame-fix" + +widget_class "*GtkSeparator" style "separator" +widget_class "*GtkHSeparator" style "separator" +widget_class "*GtkVSeparator" style "separator" +widget_class "*GtkSeparatorToolItem" style "toolbar-separator" +widget_class "*<GtkComboBox>*<GtkSeparator>" style "combobox-separator" + +widget "gtk-tooltip*" style "tooltips" + +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" + +# 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 "combobox-text-color-workaround" +{ + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} +widget_class "*.<GtkComboBox>.<GtkCellView>" style "combobox-text-color-workaround" + +style "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 "menuitem-text-is-fg-color-workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the +# base color set. +style "fg-is-text-color-workaround" +{ + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) +} + +widget_class "*<GtkListItem>*" style "fg-is-text-color-workaround" +widget_class "*<GtkCList>" style "fg-is-text-color-workaround" + +widget_class "*<GtkImage>*" style "text" +widget_class "*.<GtkLabel>" style:highest "text" +widget_class "*.<GtkMenuItem>.*" style:highest "text" +widget_class "*<GtkMenuBar>*<GtkLabel>*" style:highest "inset-text" +widget_class "*<GtkToolbar>*<GtkButton>*<GtkLabel>*" style:highest "inset-text" +widget_class "*<GtkToolbar>*<GtkLabel>*" style:highest "inset-text" +#widget_class "*<GtkButton>*<GtkLabel>*" style:highest "text" +#widget_class "*<GtkButton>*<GtkImage>*" style:highest "text" + +# Application Styles + +include "styles/chrome.rc" +include "styles/file-manager.rc" +include "styles/inkscape.rc" +include "styles/mintmenu.rc" +include "styles/panel.rc" +include "styles/synaptic.rc" +include "styles/terminal.rc" +include "styles/text-editor.rc" |
