summaryrefslogtreecommitdiff
path: root/desktop-themes/YaruOk/gtk-2.0/applications.rc
diff options
context:
space:
mode:
authorblue-devil-93 <[email protected]>2021-06-24 10:32:21 +0200
committerGitHub <[email protected]>2021-06-24 10:32:21 +0200
commit9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d (patch)
tree497fa90cd62785e4c9a522d265f323598fe575d8 /desktop-themes/YaruOk/gtk-2.0/applications.rc
parentfb195c9951cd9d87cd650f1cb901dbfc5966ab04 (diff)
downloadmate-themes-9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d.tar.bz2
mate-themes-9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d.tar.xz
Propose a different traditional ok implentation (#290)
* tr * Propose another Traditonal Ok implementation based on Yaru * Makefile * fix makefile * remove whitespace+ * remove trailing whitespaces * rename it to traditionalok * move Theme to yaruok * Fix regression in mate appearance yaruok * Sync with official branch * readd traditionalokf * fix YaruOK case mismatch * improve tabs on gtk4 * fix Makefile.am * Add YaruGreen * Fix YaruGreen GTK3 * Fix Build - first try * Fix Build - second try * Fix Build - third try * improve colors of yaru green, decrease tab size * import scrollbar code from traditional green to yaru green * fix build * Tab_alignment_fix_for_yaru_green * add panel grip * decrease_tab_size fix_panel fix_link_color * sync_yru_ok_with_green * addpanel_gripper_to yaru * darken yarugreen scrollbar as requested * decrease border radius for popover on yaru grren and ok * decrease border radius for popover on yaru grren and ok . * fiy overlay - first try * fix osd colors * improve tabs and panel grabber * decrease popover and menu radius to 2px * fix mate-calc * fix mate-calc.
Diffstat (limited to 'desktop-themes/YaruOk/gtk-2.0/applications.rc')
-rw-r--r--desktop-themes/YaruOk/gtk-2.0/applications.rc72
1 files changed, 72 insertions, 0 deletions
diff --git a/desktop-themes/YaruOk/gtk-2.0/applications.rc b/desktop-themes/YaruOk/gtk-2.0/applications.rc
new file mode 100644
index 00000000..21eb1872
--- /dev/null
+++ b/desktop-themes/YaruOk/gtk-2.0/applications.rc
@@ -0,0 +1,72 @@
+style "workspace-switcher"
+{
+ bg[SELECTED] = shade (1.0, @selected_bg_color)
+ bg[PRELIGHT] = shade (1.0, @selected_bg_color)
+}
+
+widget "*WnckPager*" style "workspace-switcher"
+
+# Workaround for the evolution ETable (bug #527532)
+widget_class "*.<ETable>.<ECanvas>" style "treeview_header"
+# Workaround for the evolution ETree
+widget_class "*.<ETree>.<ECanvas>" style "treeview_header"
+
+# Special case the caja-extra-view-widget
+# ToDo: A more generic approach for all applications that have a widget like this.
+widget "*.caja-extra-view-widget" style : highest "caja-location"
+
+# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
+# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
+widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
+# This is the part of the workaround that fixes the menus
+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.
+widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
+# GtkCList also uses the fg color to draw text on top of the base colors.
+widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
+# Caja when renaming files, and maybe other places.
+widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
+
+# See the documentation of the style.
+widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
+
+##########################################################################
+# Chromium.
+##########################################################################
+
+style "chromium_toolbar_button" {
+ engine "clearlooks" {
+ colorize_scrollbar = TRUE
+ reliefstyle = 1
+ menubarstyle = 2
+ toolbarstyle = 1
+ animation = FALSE
+ radius = 3.0
+ style = GUMMY
+
+ # Set a hint to disable backward compatibility fallbacks.
+ hint = "use-hints"
+ }
+}
+
+style "chrome-hacks"
+{
+ ChromeGtkFrame::frame-color = "#86abd9"
+ ChromeGtkFrame::frame-gradient-color = "#8cb0dc"
+ ChromeGtkFrame::frame-gradient-size = 16
+ ChromeGtkFrame::inactive-frame-color = "#dedcda"
+ ChromeGtkFrame::inactive-frame-gradient-color = "#e3e2e0"
+ ChromeGtkFrame::incognito-frame-color = "#4b6e99"
+ ChromeGtkFrame::incognito-frame-gradient-color = shade (1.02, "#4b6e99")
+ ChromeGtkFrame::incognito-inactive-frame-color = "#d5d3d1"
+ ChromeGtkFrame::incognito-inactive-frame-gradient-color = shade (1.02, "#d5d3d1")
+ ChromeGtkFrame::scrollbar-trough-color = shade (0.9, "#edeceb")
+ ChromeGtkFrame::scrollbar-slider-prelight-color = shade (1.05, "#86abd9")
+ ChromeGtkFrame::scrollbar-slider-normal-color = "#86abd9"
+}
+
+class "ChromeGtkFrame" style "chrome-hacks"
+widget_class "*Chrom*Button*" style "chromium_toolbar_button"
+