From 033f79d5f73c0e3a15976e57fcf71c7d2e0aa79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 23 Aug 2019 23:50:54 -0500 Subject: first commit --- src/assets/all-assets.svg | 4456 ++++++++++++++++++++ src/assets/all-assets.txt | 38 + src/assets/checkbox-checked-dark.svg | 10 + src/assets/checkbox-checked-insensitive-dark.svg | 9 + src/assets/checkbox-checked-insensitive.svg | 9 + src/assets/checkbox-checked.svg | 9 + src/assets/checkbox-mixed-dark.svg | 9 + src/assets/checkbox-mixed-insensitive-dark.svg | 9 + src/assets/checkbox-mixed-insensitive.svg | 9 + src/assets/checkbox-mixed.svg | 9 + src/assets/checkbox-unchecked-dark.svg | 8 + src/assets/checkbox-unchecked-insensitive-dark.svg | 8 + src/assets/checkbox-unchecked-insensitive.svg | 8 + src/assets/checkbox-unchecked.svg | 8 + src/assets/grid-selection-checked-dark.svg | 9 + src/assets/grid-selection-checked.svg | 9 + src/assets/grid-selection-unchecked-dark.svg | 8 + src/assets/grid-selection-unchecked.svg | 8 + src/assets/menuitem-checkbox-checked-hover.svg | 6 + .../menuitem-checkbox-checked-insensitive.svg | 6 + src/assets/menuitem-checkbox-checked.svg | 6 + src/assets/menuitem-checkbox-mixed-hover.svg | 6 + src/assets/menuitem-checkbox-mixed-insensitive.svg | 6 + src/assets/menuitem-checkbox-mixed-selected.svg | 6 + src/assets/menuitem-checkbox-mixed.svg | 10 + src/assets/menuitem-checkbox-unchecked.svg | 6 + src/assets/menuitem-radio-checked-hover.svg | 6 + src/assets/menuitem-radio-checked-insensitive.svg | 6 + src/assets/menuitem-radio-checked.svg | 6 + src/assets/menuitem-radio-unchecked.svg | 6 + src/assets/pane-handle-vertical.svg | 49 + src/assets/pane-handle.png | Bin 0 -> 150 bytes src/assets/pane-handle.svg | 49 + src/assets/pane-handle@2.png | Bin 0 -> 161 bytes src/assets/radio-checked-dark.svg | 9 + src/assets/radio-checked-insensitive-dark.svg | 9 + src/assets/radio-checked-insensitive.svg | 9 + src/assets/radio-checked.svg | 9 + src/assets/radio-mixed-dark.svg | 9 + src/assets/radio-mixed-insensitive-dark.svg | 9 + src/assets/radio-mixed-insensitive.svg | 9 + src/assets/radio-mixed.svg | 9 + src/assets/radio-selected-insensitive.svg | 9 + src/assets/radio-selected.svg | 9 + src/assets/radio-unchecked-dark.svg | 8 + src/assets/radio-unchecked-insensitive-dark.svg | 8 + src/assets/radio-unchecked-insensitive.svg | 8 + src/assets/radio-unchecked.svg | 8 + src/assets/radio-unselected-dark.svg | 6 + src/assets/radio-unselected-insensitive-dark.svg | 6 + src/assets/radio-unselected-insensitive.svg | 8 + src/assets/radio-unselected.svg | 8 + src/assets/sed.sh | 9 + src/assets/unsed.sh | 11 + src/gtk-2.0/gtkrc | 851 ++++ src/gtk-2.0/gtkrc.hidpi | 927 ++++ src/gtk-3.0/assets | 1 + src/gtk-3.0/gtk-dark.css | 1 + src/gtk-3.0/gtk.css | 1 + src/gtk-3.0/gtk.gresource.xml | 48 + src/gtk-3.0/scss/_colors.scss | 67 + src/gtk-3.0/scss/_functions.scss | 79 + src/gtk-3.0/scss/_global.scss | 84 + src/gtk-3.0/scss/_widgets.scss | 37 + src/gtk-3.0/scss/apps/_gedit.scss | 132 + src/gtk-3.0/scss/apps/_gnome-terminal.scss | 219 + src/gtk-3.0/scss/apps/_lightdm.scss | 193 + src/gtk-3.0/scss/apps/_mate-applications.scss | 82 + src/gtk-3.0/scss/apps/_nautilus.scss | 72 + src/gtk-3.0/scss/apps/_nemo.scss | 36 + src/gtk-3.0/scss/apps/_panel.scss | 80 + src/gtk-3.0/scss/apps/_synaptic.scss | 15 + src/gtk-3.0/scss/apps/_unity-greeter.scss | 119 + src/gtk-3.0/scss/apps/_unity.scss | 74 + src/gtk-3.0/scss/apps/_xfce.scss | 26 + src/gtk-3.0/scss/gtk-dark.scss | 3 + src/gtk-3.0/scss/gtk.scss | 3 + src/gtk-3.0/scss/widgets/_actionbar.scss | 106 + src/gtk-3.0/scss/widgets/_base.scss | 100 + src/gtk-3.0/scss/widgets/_button.scss | 376 ++ src/gtk-3.0/scss/widgets/_calendar.scss | 38 + src/gtk-3.0/scss/widgets/_choosers.scss | 125 + src/gtk-3.0/scss/widgets/_entry.scss | 84 + src/gtk-3.0/scss/widgets/_grid.scss | 48 + src/gtk-3.0/scss/widgets/_infobar.scss | 38 + src/gtk-3.0/scss/widgets/_menu.scss | 267 ++ src/gtk-3.0/scss/widgets/_misc.scss | 227 + src/gtk-3.0/scss/widgets/_notebook.scss | 139 + src/gtk-3.0/scss/widgets/_osd.scss | 132 + src/gtk-3.0/scss/widgets/_overshoot.scss | 119 + src/gtk-3.0/scss/widgets/_progress.scss | 182 + src/gtk-3.0/scss/widgets/_scrollbar.scss | 86 + src/gtk-3.0/scss/widgets/_sidebar.scss | 114 + src/gtk-3.0/scss/widgets/_spinner.scss | 24 + src/gtk-3.0/scss/widgets/_toggle.scss | 128 + src/gtk-3.0/scss/widgets/_toolbar.scss | 132 + src/gtk-3.0/scss/widgets/_view.scss | 233 + src/gtk-3.0/scss/widgets/_window.scss | 60 + src/gtk-3.0/thumbnail.png | Bin 0 -> 1567 bytes src/gtk-3.20/assets | 1 + src/gtk-3.20/gtk-dark.css | 1 + src/gtk-3.20/gtk.css | 1 + src/gtk-3.20/gtk.gresource.xml | 48 + src/gtk-3.20/scss/_colors.scss | 97 + src/gtk-3.20/scss/_functions.scss | 95 + src/gtk-3.20/scss/_global.scss | 143 + src/gtk-3.20/scss/_widgets.scss | 41 + src/gtk-3.20/scss/apps/_budgie.scss | 27 + src/gtk-3.20/scss/apps/_cinnamon-applications.scss | 19 + src/gtk-3.20/scss/apps/_gedit.scss | 143 + src/gtk-3.20/scss/apps/_gnome-applications.scss | 31 + src/gtk-3.20/scss/apps/_gnome-terminal.scss | 37 + src/gtk-3.20/scss/apps/_lightdm.scss | 117 + src/gtk-3.20/scss/apps/_mate-applications.scss | 86 + src/gtk-3.20/scss/apps/_nautilus.scss | 92 + src/gtk-3.20/scss/apps/_nemo.scss | 174 + src/gtk-3.20/scss/apps/_panel.scss | 91 + src/gtk-3.20/scss/apps/_synaptic.scss | 15 + src/gtk-3.20/scss/apps/_unity-greeter.scss | 105 + src/gtk-3.20/scss/apps/_unity.scss | 70 + src/gtk-3.20/scss/apps/_xfce.scss | 30 + src/gtk-3.20/scss/gtk-dark.scss | 3 + src/gtk-3.20/scss/gtk.scss | 3 + src/gtk-3.20/scss/widgets/_actionbar.scss | 99 + src/gtk-3.20/scss/widgets/_base.scss | 131 + src/gtk-3.20/scss/widgets/_button.scss | 559 +++ src/gtk-3.20/scss/widgets/_calendar.scss | 73 + src/gtk-3.20/scss/widgets/_choosers.scss | 181 + src/gtk-3.20/scss/widgets/_entry.scss | 180 + src/gtk-3.20/scss/widgets/_grid.scss | 63 + src/gtk-3.20/scss/widgets/_infobar.scss | 41 + src/gtk-3.20/scss/widgets/_menu.scss | 316 ++ src/gtk-3.20/scss/widgets/_misc.scss | 320 ++ src/gtk-3.20/scss/widgets/_notebook.scss | 149 + src/gtk-3.20/scss/widgets/_osd.scss | 268 ++ src/gtk-3.20/scss/widgets/_overshoot.scss | 150 + src/gtk-3.20/scss/widgets/_progress.scss | 364 ++ src/gtk-3.20/scss/widgets/_scrollbar.scss | 134 + src/gtk-3.20/scss/widgets/_sidebar.scss | 226 + src/gtk-3.20/scss/widgets/_spinner.scss | 24 + src/gtk-3.20/scss/widgets/_toggle.scss | 153 + src/gtk-3.20/scss/widgets/_toolbar.scss | 236 ++ src/gtk-3.20/scss/widgets/_view.scss | 351 ++ src/gtk-3.20/scss/widgets/_window.scss | 56 + src/gtk-3.20/thumbnail.png | 1 + src/index.theme | 11 + src/metacity-1/metacity-theme-2.xml | 1554 +++++++ src/metacity-1/metacity-theme-3.xml | 1586 +++++++ src/metacity-1/thumbnail.png | Bin 0 -> 520 bytes src/openbox-3/close.xbm | 4 + src/openbox-3/close_hover.xbm | 4 + src/openbox-3/desk.xbm | 4 + src/openbox-3/desk_toggled.xbm | 4 + src/openbox-3/iconify.xbm | 4 + src/openbox-3/iconify_hover.xbm | 4 + src/openbox-3/max.xbm | 4 + src/openbox-3/max_toggled.xbm | 4 + src/openbox-3/shade.xbm | 4 + src/openbox-3/shade_toggled.xbm | 4 + src/openbox-3/themerc | 154 + src/unity/close.svg | 1 + src/unity/close_dash.svg | 1 + src/unity/close_dash_disabled.svg | 1 + src/unity/close_dash_prelight.svg | 1 + src/unity/close_dash_pressed.svg | 1 + src/unity/close_focused_normal.svg | 1 + src/unity/close_focused_prelight.svg | 1 + src/unity/close_focused_pressed.svg | 1 + src/unity/close_unfocused.svg | 1 + src/unity/close_unfocused_prelight.svg | 1 + src/unity/close_unfocused_pressed.svg | 1 + src/unity/launcher_arrow_ltr_19.svg | 10 + src/unity/launcher_arrow_ltr_37.svg | 15 + src/unity/launcher_arrow_outline_ltr_19.svg | 10 + src/unity/launcher_arrow_outline_ltr_37.svg | 13 + src/unity/launcher_arrow_outline_rtl_19.svg | 10 + src/unity/launcher_arrow_outline_rtl_37.svg | 13 + src/unity/launcher_arrow_rtl_19.svg | 10 + src/unity/launcher_arrow_rtl_37.svg | 15 + src/unity/launcher_icon_back_150.svg | 7 + src/unity/launcher_icon_back_54.svg | 1 + src/unity/launcher_icon_edge_150.svg | 10 + src/unity/launcher_icon_edge_54.svg | 7 + src/unity/launcher_icon_glow_200.svg | 7 + src/unity/launcher_icon_glow_62.svg | 7 + src/unity/launcher_icon_selected_back_150.svg | 10 + src/unity/launcher_icon_selected_back_54.svg | 1 + src/unity/launcher_icon_shadow_200.svg | 7 + src/unity/launcher_icon_shadow_62.svg | 7 + src/unity/launcher_icon_shine_150.svg | 1 + src/unity/launcher_icon_shine_54.svg | 1 + src/unity/launcher_pip_ltr_19.svg | 10 + src/unity/launcher_pip_ltr_37.svg | 16 + src/unity/launcher_pip_rtl_19.svg | 10 + src/unity/launcher_pip_rtl_37.svg | 16 + src/unity/maximize.svg | 1 + src/unity/maximize_dash.svg | 1 + src/unity/maximize_dash_disabled.svg | 1 + src/unity/maximize_dash_prelight.svg | 1 + src/unity/maximize_dash_pressed.svg | 1 + src/unity/maximize_focused_normal.svg | 1 + src/unity/maximize_focused_prelight.svg | 1 + src/unity/maximize_focused_pressed.svg | 1 + src/unity/maximize_unfocused.svg | 1 + src/unity/maximize_unfocused_prelight.svg | 1 + src/unity/maximize_unfocused_pressed.svg | 1 + src/unity/minimize.svg | 1 + src/unity/minimize_dash.svg | 1 + src/unity/minimize_dash_disabled.svg | 1 + src/unity/minimize_dash_prelight.svg | 1 + src/unity/minimize_dash_pressed.svg | 1 + src/unity/minimize_focused_normal.svg | 1 + src/unity/minimize_focused_prelight.svg | 1 + src/unity/minimize_focused_pressed.svg | 1 + src/unity/minimize_unfocused.svg | 1 + src/unity/minimize_unfocused_prelight.svg | 1 + src/unity/minimize_unfocused_pressed.svg | 1 + src/unity/minimized.svg | 1 + src/unity/modes/launcher_bfb-flat.png | Bin 0 -> 3018 bytes src/unity/modes/launcher_bfb_ns.png | Bin 0 -> 4483 bytes src/unity/modes/ubuntu-square.svg | 69 + src/unity/progress_bar_fill.svg | 5 + src/unity/progress_bar_trough.svg | 71 + src/unity/sheet_style_close_focused.svg | 1 + src/unity/sheet_style_close_focused_prelight.svg | 1 + src/unity/sheet_style_close_focused_pressed.svg | 1 + src/unity/unmaximize.svg | 1 + src/unity/unmaximize_dash.svg | 1 + src/unity/unmaximize_dash_disabled.svg | 1 + src/unity/unmaximize_dash_prelight.svg | 1 + src/unity/unmaximize_dash_pressed.svg | 1 + src/unity/unmaximize_focused_normal.svg | 1 + src/unity/unmaximize_focused_prelight.svg | 1 + src/unity/unmaximize_focused_pressed.svg | 1 + src/unity/unmaximize_unfocused.svg | 1 + src/unity/unmaximize_unfocused_prelight.svg | 1 + src/unity/unmaximize_unfocused_pressed.svg | 1 + src/xfwm4/bottom-active.xpm | 6 + src/xfwm4/bottom-inactive.xpm | 6 + src/xfwm4/bottom-left-active.xpm | 6 + src/xfwm4/bottom-left-inactive.xpm | 6 + src/xfwm4/bottom-right-active.xpm | 6 + src/xfwm4/bottom-right-inactive.xpm | 6 + src/xfwm4/close-active.xpm | 33 + src/xfwm4/close-inactive.xpm | 33 + src/xfwm4/close-prelight.xpm | 33 + src/xfwm4/close-pressed.png | Bin 0 -> 311 bytes src/xfwm4/close-pressed.xpm | 33 + src/xfwm4/hide-active.xpm | 33 + src/xfwm4/hide-inactive.xpm | 33 + src/xfwm4/hide-prelight.xpm | 33 + src/xfwm4/hide-pressed.png | Bin 0 -> 280 bytes src/xfwm4/hide-pressed.xpm | 33 + src/xfwm4/left-active.xpm | 26 + src/xfwm4/left-inactive.xpm | 26 + src/xfwm4/maximize-active.xpm | 33 + src/xfwm4/maximize-inactive.xpm | 33 + src/xfwm4/maximize-prelight.xpm | 33 + src/xfwm4/maximize-pressed.png | Bin 0 -> 299 bytes src/xfwm4/maximize-pressed.xpm | 33 + src/xfwm4/maximize-toggled-active.xpm | 38 + src/xfwm4/maximize-toggled-inactive.xpm | 38 + src/xfwm4/maximize-toggled-prelight.xpm | 38 + src/xfwm4/maximize-toggled-pressed.png | Bin 0 -> 299 bytes src/xfwm4/maximize-toggled-pressed.xpm | 38 + src/xfwm4/menu-active.xpm | 25 + src/xfwm4/menu-inactive.xpm | 25 + src/xfwm4/menu-prelight.xpm | 25 + src/xfwm4/menu-pressed.xpm | 25 + src/xfwm4/right-active.xpm | 26 + src/xfwm4/right-inactive.xpm | 26 + src/xfwm4/shade-active.xpm | 38 + src/xfwm4/shade-inactive.xpm | 38 + src/xfwm4/shade-prelight.xpm | 38 + src/xfwm4/shade-pressed.png | Bin 0 -> 306 bytes src/xfwm4/shade-pressed.xpm | 38 + src/xfwm4/shade-toggled-active.xpm | 38 + src/xfwm4/shade-toggled-inactive.xpm | 38 + src/xfwm4/shade-toggled-prelight.xpm | 38 + src/xfwm4/shade-toggled-pressed.png | Bin 0 -> 317 bytes src/xfwm4/shade-toggled-pressed.xpm | 38 + src/xfwm4/stick-active.xpm | 38 + src/xfwm4/stick-inactive.xpm | 38 + src/xfwm4/stick-prelight.xpm | 38 + src/xfwm4/stick-pressed.png | Bin 0 -> 304 bytes src/xfwm4/stick-pressed.xpm | 38 + src/xfwm4/stick-toggled-active.xpm | 38 + src/xfwm4/stick-toggled-inactive.xpm | 38 + src/xfwm4/stick-toggled-prelight.xpm | 38 + src/xfwm4/stick-toggled-pressed.png | Bin 0 -> 299 bytes src/xfwm4/stick-toggled-pressed.xpm | 38 + src/xfwm4/themerc | 23 + src/xfwm4/title-1-active.xpm | 37 + src/xfwm4/title-1-inactive.xpm | 37 + src/xfwm4/title-2-active.xpm | 37 + src/xfwm4/title-2-inactive.xpm | 37 + src/xfwm4/title-3-active.xpm | 37 + src/xfwm4/title-3-inactive.xpm | 37 + src/xfwm4/title-4-active.xpm | 37 + src/xfwm4/title-4-inactive.xpm | 37 + src/xfwm4/title-5-active.xpm | 37 + src/xfwm4/title-5-inactive.xpm | 37 + src/xfwm4/top-left-active.xpm | 39 + src/xfwm4/top-left-inactive.xpm | 39 + src/xfwm4/top-right-active.xpm | 39 + src/xfwm4/top-right-inactive.xpm | 39 + 306 files changed, 22127 insertions(+) create mode 100644 src/assets/all-assets.svg create mode 100644 src/assets/all-assets.txt create mode 100644 src/assets/checkbox-checked-dark.svg create mode 100644 src/assets/checkbox-checked-insensitive-dark.svg create mode 100644 src/assets/checkbox-checked-insensitive.svg create mode 100644 src/assets/checkbox-checked.svg create mode 100644 src/assets/checkbox-mixed-dark.svg create mode 100644 src/assets/checkbox-mixed-insensitive-dark.svg create mode 100644 src/assets/checkbox-mixed-insensitive.svg create mode 100644 src/assets/checkbox-mixed.svg create mode 100644 src/assets/checkbox-unchecked-dark.svg create mode 100644 src/assets/checkbox-unchecked-insensitive-dark.svg create mode 100644 src/assets/checkbox-unchecked-insensitive.svg create mode 100644 src/assets/checkbox-unchecked.svg create mode 100644 src/assets/grid-selection-checked-dark.svg create mode 100644 src/assets/grid-selection-checked.svg create mode 100644 src/assets/grid-selection-unchecked-dark.svg create mode 100644 src/assets/grid-selection-unchecked.svg create mode 100644 src/assets/menuitem-checkbox-checked-hover.svg create mode 100644 src/assets/menuitem-checkbox-checked-insensitive.svg create mode 100644 src/assets/menuitem-checkbox-checked.svg create mode 100644 src/assets/menuitem-checkbox-mixed-hover.svg create mode 100644 src/assets/menuitem-checkbox-mixed-insensitive.svg create mode 100644 src/assets/menuitem-checkbox-mixed-selected.svg create mode 100644 src/assets/menuitem-checkbox-mixed.svg create mode 100644 src/assets/menuitem-checkbox-unchecked.svg create mode 100644 src/assets/menuitem-radio-checked-hover.svg create mode 100644 src/assets/menuitem-radio-checked-insensitive.svg create mode 100644 src/assets/menuitem-radio-checked.svg create mode 100644 src/assets/menuitem-radio-unchecked.svg create mode 100644 src/assets/pane-handle-vertical.svg create mode 100644 src/assets/pane-handle.png create mode 100644 src/assets/pane-handle.svg create mode 100644 src/assets/pane-handle@2.png create mode 100644 src/assets/radio-checked-dark.svg create mode 100644 src/assets/radio-checked-insensitive-dark.svg create mode 100644 src/assets/radio-checked-insensitive.svg create mode 100644 src/assets/radio-checked.svg create mode 100644 src/assets/radio-mixed-dark.svg create mode 100644 src/assets/radio-mixed-insensitive-dark.svg create mode 100644 src/assets/radio-mixed-insensitive.svg create mode 100644 src/assets/radio-mixed.svg create mode 100644 src/assets/radio-selected-insensitive.svg create mode 100644 src/assets/radio-selected.svg create mode 100644 src/assets/radio-unchecked-dark.svg create mode 100644 src/assets/radio-unchecked-insensitive-dark.svg create mode 100644 src/assets/radio-unchecked-insensitive.svg create mode 100644 src/assets/radio-unchecked.svg create mode 100644 src/assets/radio-unselected-dark.svg create mode 100644 src/assets/radio-unselected-insensitive-dark.svg create mode 100644 src/assets/radio-unselected-insensitive.svg create mode 100644 src/assets/radio-unselected.svg create mode 100644 src/assets/sed.sh create mode 100644 src/assets/unsed.sh create mode 100644 src/gtk-2.0/gtkrc create mode 100644 src/gtk-2.0/gtkrc.hidpi create mode 120000 src/gtk-3.0/assets create mode 100644 src/gtk-3.0/gtk-dark.css create mode 100644 src/gtk-3.0/gtk.css create mode 100644 src/gtk-3.0/gtk.gresource.xml create mode 100644 src/gtk-3.0/scss/_colors.scss create mode 100644 src/gtk-3.0/scss/_functions.scss create mode 100644 src/gtk-3.0/scss/_global.scss create mode 100644 src/gtk-3.0/scss/_widgets.scss create mode 100644 src/gtk-3.0/scss/apps/_gedit.scss create mode 100644 src/gtk-3.0/scss/apps/_gnome-terminal.scss create mode 100644 src/gtk-3.0/scss/apps/_lightdm.scss create mode 100644 src/gtk-3.0/scss/apps/_mate-applications.scss create mode 100644 src/gtk-3.0/scss/apps/_nautilus.scss create mode 100644 src/gtk-3.0/scss/apps/_nemo.scss create mode 100644 src/gtk-3.0/scss/apps/_panel.scss create mode 100644 src/gtk-3.0/scss/apps/_synaptic.scss create mode 100644 src/gtk-3.0/scss/apps/_unity-greeter.scss create mode 100644 src/gtk-3.0/scss/apps/_unity.scss create mode 100644 src/gtk-3.0/scss/apps/_xfce.scss create mode 100644 src/gtk-3.0/scss/gtk-dark.scss create mode 100644 src/gtk-3.0/scss/gtk.scss create mode 100644 src/gtk-3.0/scss/widgets/_actionbar.scss create mode 100644 src/gtk-3.0/scss/widgets/_base.scss create mode 100644 src/gtk-3.0/scss/widgets/_button.scss create mode 100644 src/gtk-3.0/scss/widgets/_calendar.scss create mode 100644 src/gtk-3.0/scss/widgets/_choosers.scss create mode 100644 src/gtk-3.0/scss/widgets/_entry.scss create mode 100644 src/gtk-3.0/scss/widgets/_grid.scss create mode 100644 src/gtk-3.0/scss/widgets/_infobar.scss create mode 100644 src/gtk-3.0/scss/widgets/_menu.scss create mode 100644 src/gtk-3.0/scss/widgets/_misc.scss create mode 100644 src/gtk-3.0/scss/widgets/_notebook.scss create mode 100644 src/gtk-3.0/scss/widgets/_osd.scss create mode 100644 src/gtk-3.0/scss/widgets/_overshoot.scss create mode 100644 src/gtk-3.0/scss/widgets/_progress.scss create mode 100644 src/gtk-3.0/scss/widgets/_scrollbar.scss create mode 100644 src/gtk-3.0/scss/widgets/_sidebar.scss create mode 100644 src/gtk-3.0/scss/widgets/_spinner.scss create mode 100644 src/gtk-3.0/scss/widgets/_toggle.scss create mode 100644 src/gtk-3.0/scss/widgets/_toolbar.scss create mode 100644 src/gtk-3.0/scss/widgets/_view.scss create mode 100644 src/gtk-3.0/scss/widgets/_window.scss create mode 100644 src/gtk-3.0/thumbnail.png create mode 120000 src/gtk-3.20/assets create mode 100644 src/gtk-3.20/gtk-dark.css create mode 100644 src/gtk-3.20/gtk.css create mode 100644 src/gtk-3.20/gtk.gresource.xml create mode 100644 src/gtk-3.20/scss/_colors.scss create mode 100644 src/gtk-3.20/scss/_functions.scss create mode 100644 src/gtk-3.20/scss/_global.scss create mode 100644 src/gtk-3.20/scss/_widgets.scss create mode 100644 src/gtk-3.20/scss/apps/_budgie.scss create mode 100644 src/gtk-3.20/scss/apps/_cinnamon-applications.scss create mode 100644 src/gtk-3.20/scss/apps/_gedit.scss create mode 100644 src/gtk-3.20/scss/apps/_gnome-applications.scss create mode 100644 src/gtk-3.20/scss/apps/_gnome-terminal.scss create mode 100644 src/gtk-3.20/scss/apps/_lightdm.scss create mode 100644 src/gtk-3.20/scss/apps/_mate-applications.scss create mode 100644 src/gtk-3.20/scss/apps/_nautilus.scss create mode 100644 src/gtk-3.20/scss/apps/_nemo.scss create mode 100644 src/gtk-3.20/scss/apps/_panel.scss create mode 100644 src/gtk-3.20/scss/apps/_synaptic.scss create mode 100644 src/gtk-3.20/scss/apps/_unity-greeter.scss create mode 100644 src/gtk-3.20/scss/apps/_unity.scss create mode 100644 src/gtk-3.20/scss/apps/_xfce.scss create mode 100644 src/gtk-3.20/scss/gtk-dark.scss create mode 100644 src/gtk-3.20/scss/gtk.scss create mode 100644 src/gtk-3.20/scss/widgets/_actionbar.scss create mode 100644 src/gtk-3.20/scss/widgets/_base.scss create mode 100644 src/gtk-3.20/scss/widgets/_button.scss create mode 100644 src/gtk-3.20/scss/widgets/_calendar.scss create mode 100644 src/gtk-3.20/scss/widgets/_choosers.scss create mode 100644 src/gtk-3.20/scss/widgets/_entry.scss create mode 100644 src/gtk-3.20/scss/widgets/_grid.scss create mode 100644 src/gtk-3.20/scss/widgets/_infobar.scss create mode 100644 src/gtk-3.20/scss/widgets/_menu.scss create mode 100644 src/gtk-3.20/scss/widgets/_misc.scss create mode 100644 src/gtk-3.20/scss/widgets/_notebook.scss create mode 100644 src/gtk-3.20/scss/widgets/_osd.scss create mode 100644 src/gtk-3.20/scss/widgets/_overshoot.scss create mode 100644 src/gtk-3.20/scss/widgets/_progress.scss create mode 100644 src/gtk-3.20/scss/widgets/_scrollbar.scss create mode 100644 src/gtk-3.20/scss/widgets/_sidebar.scss create mode 100644 src/gtk-3.20/scss/widgets/_spinner.scss create mode 100644 src/gtk-3.20/scss/widgets/_toggle.scss create mode 100644 src/gtk-3.20/scss/widgets/_toolbar.scss create mode 100644 src/gtk-3.20/scss/widgets/_view.scss create mode 100644 src/gtk-3.20/scss/widgets/_window.scss create mode 120000 src/gtk-3.20/thumbnail.png create mode 100644 src/index.theme create mode 100644 src/metacity-1/metacity-theme-2.xml create mode 100644 src/metacity-1/metacity-theme-3.xml create mode 100644 src/metacity-1/thumbnail.png create mode 100644 src/openbox-3/close.xbm create mode 100644 src/openbox-3/close_hover.xbm create mode 100644 src/openbox-3/desk.xbm create mode 100644 src/openbox-3/desk_toggled.xbm create mode 100644 src/openbox-3/iconify.xbm create mode 100644 src/openbox-3/iconify_hover.xbm create mode 100644 src/openbox-3/max.xbm create mode 100644 src/openbox-3/max_toggled.xbm create mode 100644 src/openbox-3/shade.xbm create mode 100644 src/openbox-3/shade_toggled.xbm create mode 100644 src/openbox-3/themerc create mode 100644 src/unity/close.svg create mode 100644 src/unity/close_dash.svg create mode 120000 src/unity/close_dash_disabled.svg create mode 120000 src/unity/close_dash_prelight.svg create mode 120000 src/unity/close_dash_pressed.svg create mode 120000 src/unity/close_focused_normal.svg create mode 100644 src/unity/close_focused_prelight.svg create mode 100644 src/unity/close_focused_pressed.svg create mode 100644 src/unity/close_unfocused.svg create mode 120000 src/unity/close_unfocused_prelight.svg create mode 120000 src/unity/close_unfocused_pressed.svg create mode 100644 src/unity/launcher_arrow_ltr_19.svg create mode 100644 src/unity/launcher_arrow_ltr_37.svg create mode 100644 src/unity/launcher_arrow_outline_ltr_19.svg create mode 100644 src/unity/launcher_arrow_outline_ltr_37.svg create mode 100644 src/unity/launcher_arrow_outline_rtl_19.svg create mode 100644 src/unity/launcher_arrow_outline_rtl_37.svg create mode 100644 src/unity/launcher_arrow_rtl_19.svg create mode 100644 src/unity/launcher_arrow_rtl_37.svg create mode 100644 src/unity/launcher_icon_back_150.svg create mode 100644 src/unity/launcher_icon_back_54.svg create mode 100644 src/unity/launcher_icon_edge_150.svg create mode 100644 src/unity/launcher_icon_edge_54.svg create mode 100644 src/unity/launcher_icon_glow_200.svg create mode 100644 src/unity/launcher_icon_glow_62.svg create mode 100644 src/unity/launcher_icon_selected_back_150.svg create mode 100644 src/unity/launcher_icon_selected_back_54.svg create mode 100644 src/unity/launcher_icon_shadow_200.svg create mode 100644 src/unity/launcher_icon_shadow_62.svg create mode 100644 src/unity/launcher_icon_shine_150.svg create mode 100644 src/unity/launcher_icon_shine_54.svg create mode 100644 src/unity/launcher_pip_ltr_19.svg create mode 100644 src/unity/launcher_pip_ltr_37.svg create mode 100644 src/unity/launcher_pip_rtl_19.svg create mode 100644 src/unity/launcher_pip_rtl_37.svg create mode 100644 src/unity/maximize.svg create mode 100644 src/unity/maximize_dash.svg create mode 120000 src/unity/maximize_dash_disabled.svg create mode 120000 src/unity/maximize_dash_prelight.svg create mode 120000 src/unity/maximize_dash_pressed.svg create mode 120000 src/unity/maximize_focused_normal.svg create mode 100644 src/unity/maximize_focused_prelight.svg create mode 100644 src/unity/maximize_focused_pressed.svg create mode 100644 src/unity/maximize_unfocused.svg create mode 120000 src/unity/maximize_unfocused_prelight.svg create mode 120000 src/unity/maximize_unfocused_pressed.svg create mode 100644 src/unity/minimize.svg create mode 100644 src/unity/minimize_dash.svg create mode 120000 src/unity/minimize_dash_disabled.svg create mode 120000 src/unity/minimize_dash_prelight.svg create mode 120000 src/unity/minimize_dash_pressed.svg create mode 120000 src/unity/minimize_focused_normal.svg create mode 100644 src/unity/minimize_focused_prelight.svg create mode 100644 src/unity/minimize_focused_pressed.svg create mode 100644 src/unity/minimize_unfocused.svg create mode 120000 src/unity/minimize_unfocused_prelight.svg create mode 120000 src/unity/minimize_unfocused_pressed.svg create mode 100644 src/unity/minimized.svg create mode 100644 src/unity/modes/launcher_bfb-flat.png create mode 100644 src/unity/modes/launcher_bfb_ns.png create mode 100644 src/unity/modes/ubuntu-square.svg create mode 100644 src/unity/progress_bar_fill.svg create mode 100644 src/unity/progress_bar_trough.svg create mode 120000 src/unity/sheet_style_close_focused.svg create mode 120000 src/unity/sheet_style_close_focused_prelight.svg create mode 120000 src/unity/sheet_style_close_focused_pressed.svg create mode 100644 src/unity/unmaximize.svg create mode 100644 src/unity/unmaximize_dash.svg create mode 120000 src/unity/unmaximize_dash_disabled.svg create mode 120000 src/unity/unmaximize_dash_prelight.svg create mode 120000 src/unity/unmaximize_dash_pressed.svg create mode 120000 src/unity/unmaximize_focused_normal.svg create mode 100644 src/unity/unmaximize_focused_prelight.svg create mode 100644 src/unity/unmaximize_focused_pressed.svg create mode 100644 src/unity/unmaximize_unfocused.svg create mode 120000 src/unity/unmaximize_unfocused_prelight.svg create mode 120000 src/unity/unmaximize_unfocused_pressed.svg create mode 100644 src/xfwm4/bottom-active.xpm create mode 100644 src/xfwm4/bottom-inactive.xpm create mode 100644 src/xfwm4/bottom-left-active.xpm create mode 100644 src/xfwm4/bottom-left-inactive.xpm create mode 100644 src/xfwm4/bottom-right-active.xpm create mode 100644 src/xfwm4/bottom-right-inactive.xpm create mode 100644 src/xfwm4/close-active.xpm create mode 100644 src/xfwm4/close-inactive.xpm create mode 100644 src/xfwm4/close-prelight.xpm create mode 100644 src/xfwm4/close-pressed.png create mode 100644 src/xfwm4/close-pressed.xpm create mode 100644 src/xfwm4/hide-active.xpm create mode 100644 src/xfwm4/hide-inactive.xpm create mode 100644 src/xfwm4/hide-prelight.xpm create mode 100644 src/xfwm4/hide-pressed.png create mode 100644 src/xfwm4/hide-pressed.xpm create mode 100644 src/xfwm4/left-active.xpm create mode 100644 src/xfwm4/left-inactive.xpm create mode 100644 src/xfwm4/maximize-active.xpm create mode 100644 src/xfwm4/maximize-inactive.xpm create mode 100644 src/xfwm4/maximize-prelight.xpm create mode 100644 src/xfwm4/maximize-pressed.png create mode 100644 src/xfwm4/maximize-pressed.xpm create mode 100644 src/xfwm4/maximize-toggled-active.xpm create mode 100644 src/xfwm4/maximize-toggled-inactive.xpm create mode 100644 src/xfwm4/maximize-toggled-prelight.xpm create mode 100644 src/xfwm4/maximize-toggled-pressed.png create mode 100644 src/xfwm4/maximize-toggled-pressed.xpm create mode 100644 src/xfwm4/menu-active.xpm create mode 100644 src/xfwm4/menu-inactive.xpm create mode 100644 src/xfwm4/menu-prelight.xpm create mode 100644 src/xfwm4/menu-pressed.xpm create mode 100644 src/xfwm4/right-active.xpm create mode 100644 src/xfwm4/right-inactive.xpm create mode 100644 src/xfwm4/shade-active.xpm create mode 100644 src/xfwm4/shade-inactive.xpm create mode 100644 src/xfwm4/shade-prelight.xpm create mode 100644 src/xfwm4/shade-pressed.png create mode 100644 src/xfwm4/shade-pressed.xpm create mode 100644 src/xfwm4/shade-toggled-active.xpm create mode 100644 src/xfwm4/shade-toggled-inactive.xpm create mode 100644 src/xfwm4/shade-toggled-prelight.xpm create mode 100644 src/xfwm4/shade-toggled-pressed.png create mode 100644 src/xfwm4/shade-toggled-pressed.xpm create mode 100644 src/xfwm4/stick-active.xpm create mode 100644 src/xfwm4/stick-inactive.xpm create mode 100644 src/xfwm4/stick-prelight.xpm create mode 100644 src/xfwm4/stick-pressed.png create mode 100644 src/xfwm4/stick-pressed.xpm create mode 100644 src/xfwm4/stick-toggled-active.xpm create mode 100644 src/xfwm4/stick-toggled-inactive.xpm create mode 100644 src/xfwm4/stick-toggled-prelight.xpm create mode 100644 src/xfwm4/stick-toggled-pressed.png create mode 100644 src/xfwm4/stick-toggled-pressed.xpm create mode 100644 src/xfwm4/themerc create mode 100644 src/xfwm4/title-1-active.xpm create mode 100644 src/xfwm4/title-1-inactive.xpm create mode 100644 src/xfwm4/title-2-active.xpm create mode 100644 src/xfwm4/title-2-inactive.xpm create mode 100644 src/xfwm4/title-3-active.xpm create mode 100644 src/xfwm4/title-3-inactive.xpm create mode 100644 src/xfwm4/title-4-active.xpm create mode 100644 src/xfwm4/title-4-inactive.xpm create mode 100644 src/xfwm4/title-5-active.xpm create mode 100644 src/xfwm4/title-5-inactive.xpm create mode 100644 src/xfwm4/top-left-active.xpm create mode 100644 src/xfwm4/top-left-inactive.xpm create mode 100644 src/xfwm4/top-right-active.xpm create mode 100644 src/xfwm4/top-right-inactive.xpm (limited to 'src') diff --git a/src/assets/all-assets.svg b/src/assets/all-assets.svg new file mode 100644 index 0000000..b318d0a --- /dev/null +++ b/src/assets/all-assets.svg @@ -0,0 +1,4456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/all-assets.txt b/src/assets/all-assets.txt new file mode 100644 index 0000000..6e738e3 --- /dev/null +++ b/src/assets/all-assets.txt @@ -0,0 +1,38 @@ +checkbox-checked-dark +checkbox-checked-insensitive-dark +checkbox-checked-insensitive +checkbox-checked +checkbox-mixed-dark +checkbox-mixed-insensitive-dark +checkbox-mixed-insensitive +checkbox-mixed +checkbox-unchecked-dark +checkbox-unchecked-insensitive-dark +checkbox-unchecked-insensitive +checkbox-unchecked +grid-selection-checked-dark +grid-selection-checked +grid-selection-unchecked-dark +grid-selection-unchecked +menuitem-checkbox-checked-hover +menuitem-checkbox-checked-insensitive +menuitem-checkbox-checked +menuitem-checkbox-mixed-hover +menuitem-checkbox-mixed-insensitive +menuitem-checkbox-mixed +menuitem-radio-checked-hover +menuitem-radio-checked-insensitive +menuitem-radio-checked +pane-handle +radio-checked-dark +radio-checked-insensitive-dark +radio-checked-insensitive +radio-checked +radio-mixed-dark +radio-mixed-insensitive-dark +radio-mixed-insensitive +radio-mixed +radio-unchecked-dark +radio-unchecked-insensitive-dark +radio-unchecked-insensitive +radio-unchecked diff --git a/src/assets/checkbox-checked-dark.svg b/src/assets/checkbox-checked-dark.svg new file mode 100644 index 0000000..f465435 --- /dev/null +++ b/src/assets/checkbox-checked-dark.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/assets/checkbox-checked-insensitive-dark.svg b/src/assets/checkbox-checked-insensitive-dark.svg new file mode 100644 index 0000000..1f08373 --- /dev/null +++ b/src/assets/checkbox-checked-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-checked-insensitive.svg b/src/assets/checkbox-checked-insensitive.svg new file mode 100644 index 0000000..1f08373 --- /dev/null +++ b/src/assets/checkbox-checked-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-checked.svg b/src/assets/checkbox-checked.svg new file mode 100644 index 0000000..6c7968e --- /dev/null +++ b/src/assets/checkbox-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-mixed-dark.svg b/src/assets/checkbox-mixed-dark.svg new file mode 100644 index 0000000..b518d4d --- /dev/null +++ b/src/assets/checkbox-mixed-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-mixed-insensitive-dark.svg b/src/assets/checkbox-mixed-insensitive-dark.svg new file mode 100644 index 0000000..c480cd5 --- /dev/null +++ b/src/assets/checkbox-mixed-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-mixed-insensitive.svg b/src/assets/checkbox-mixed-insensitive.svg new file mode 100644 index 0000000..c480cd5 --- /dev/null +++ b/src/assets/checkbox-mixed-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-mixed.svg b/src/assets/checkbox-mixed.svg new file mode 100644 index 0000000..b518d4d --- /dev/null +++ b/src/assets/checkbox-mixed.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/checkbox-unchecked-dark.svg b/src/assets/checkbox-unchecked-dark.svg new file mode 100644 index 0000000..b0f3c7d --- /dev/null +++ b/src/assets/checkbox-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/checkbox-unchecked-insensitive-dark.svg b/src/assets/checkbox-unchecked-insensitive-dark.svg new file mode 100644 index 0000000..57cc64f --- /dev/null +++ b/src/assets/checkbox-unchecked-insensitive-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/checkbox-unchecked-insensitive.svg b/src/assets/checkbox-unchecked-insensitive.svg new file mode 100644 index 0000000..57cc64f --- /dev/null +++ b/src/assets/checkbox-unchecked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/checkbox-unchecked.svg b/src/assets/checkbox-unchecked.svg new file mode 100644 index 0000000..b0f3c7d --- /dev/null +++ b/src/assets/checkbox-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/grid-selection-checked-dark.svg b/src/assets/grid-selection-checked-dark.svg new file mode 100644 index 0000000..34b2852 --- /dev/null +++ b/src/assets/grid-selection-checked-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/grid-selection-checked.svg b/src/assets/grid-selection-checked.svg new file mode 100644 index 0000000..34b2852 --- /dev/null +++ b/src/assets/grid-selection-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/grid-selection-unchecked-dark.svg b/src/assets/grid-selection-unchecked-dark.svg new file mode 100644 index 0000000..514b4a5 --- /dev/null +++ b/src/assets/grid-selection-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/grid-selection-unchecked.svg b/src/assets/grid-selection-unchecked.svg new file mode 100644 index 0000000..514b4a5 --- /dev/null +++ b/src/assets/grid-selection-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/menuitem-checkbox-checked-hover.svg b/src/assets/menuitem-checkbox-checked-hover.svg new file mode 100644 index 0000000..19665cc --- /dev/null +++ b/src/assets/menuitem-checkbox-checked-hover.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-checked-insensitive.svg b/src/assets/menuitem-checkbox-checked-insensitive.svg new file mode 100644 index 0000000..d635aae --- /dev/null +++ b/src/assets/menuitem-checkbox-checked-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-checked.svg b/src/assets/menuitem-checkbox-checked.svg new file mode 100644 index 0000000..31f6f89 --- /dev/null +++ b/src/assets/menuitem-checkbox-checked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-mixed-hover.svg b/src/assets/menuitem-checkbox-mixed-hover.svg new file mode 100644 index 0000000..573e9e1 --- /dev/null +++ b/src/assets/menuitem-checkbox-mixed-hover.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-mixed-insensitive.svg b/src/assets/menuitem-checkbox-mixed-insensitive.svg new file mode 100644 index 0000000..c8bda10 --- /dev/null +++ b/src/assets/menuitem-checkbox-mixed-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-mixed-selected.svg b/src/assets/menuitem-checkbox-mixed-selected.svg new file mode 100644 index 0000000..573e9e1 --- /dev/null +++ b/src/assets/menuitem-checkbox-mixed-selected.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-checkbox-mixed.svg b/src/assets/menuitem-checkbox-mixed.svg new file mode 100644 index 0000000..f0ebe08 --- /dev/null +++ b/src/assets/menuitem-checkbox-mixed.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/assets/menuitem-checkbox-unchecked.svg b/src/assets/menuitem-checkbox-unchecked.svg new file mode 100644 index 0000000..6c3be3c --- /dev/null +++ b/src/assets/menuitem-checkbox-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-radio-checked-hover.svg b/src/assets/menuitem-radio-checked-hover.svg new file mode 100644 index 0000000..dba7a4c --- /dev/null +++ b/src/assets/menuitem-radio-checked-hover.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-radio-checked-insensitive.svg b/src/assets/menuitem-radio-checked-insensitive.svg new file mode 100644 index 0000000..cc770d4 --- /dev/null +++ b/src/assets/menuitem-radio-checked-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-radio-checked.svg b/src/assets/menuitem-radio-checked.svg new file mode 100644 index 0000000..3779c18 --- /dev/null +++ b/src/assets/menuitem-radio-checked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/menuitem-radio-unchecked.svg b/src/assets/menuitem-radio-unchecked.svg new file mode 100644 index 0000000..b5013fb --- /dev/null +++ b/src/assets/menuitem-radio-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/pane-handle-vertical.svg b/src/assets/pane-handle-vertical.svg new file mode 100644 index 0000000..834a8df --- /dev/null +++ b/src/assets/pane-handle-vertical.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/pane-handle.png b/src/assets/pane-handle.png new file mode 100644 index 0000000..e67a9dc Binary files /dev/null and b/src/assets/pane-handle.png differ diff --git a/src/assets/pane-handle.svg b/src/assets/pane-handle.svg new file mode 100644 index 0000000..8c174da --- /dev/null +++ b/src/assets/pane-handle.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/pane-handle@2.png b/src/assets/pane-handle@2.png new file mode 100644 index 0000000..8a2cd07 Binary files /dev/null and b/src/assets/pane-handle@2.png differ diff --git a/src/assets/radio-checked-dark.svg b/src/assets/radio-checked-dark.svg new file mode 100644 index 0000000..f3b36ee --- /dev/null +++ b/src/assets/radio-checked-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-checked-insensitive-dark.svg b/src/assets/radio-checked-insensitive-dark.svg new file mode 100644 index 0000000..e4fdb68 --- /dev/null +++ b/src/assets/radio-checked-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-checked-insensitive.svg b/src/assets/radio-checked-insensitive.svg new file mode 100644 index 0000000..e4fdb68 --- /dev/null +++ b/src/assets/radio-checked-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-checked.svg b/src/assets/radio-checked.svg new file mode 100644 index 0000000..f3b36ee --- /dev/null +++ b/src/assets/radio-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-mixed-dark.svg b/src/assets/radio-mixed-dark.svg new file mode 100644 index 0000000..dd17f53 --- /dev/null +++ b/src/assets/radio-mixed-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-mixed-insensitive-dark.svg b/src/assets/radio-mixed-insensitive-dark.svg new file mode 100644 index 0000000..0aef2bd --- /dev/null +++ b/src/assets/radio-mixed-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-mixed-insensitive.svg b/src/assets/radio-mixed-insensitive.svg new file mode 100644 index 0000000..0aef2bd --- /dev/null +++ b/src/assets/radio-mixed-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-mixed.svg b/src/assets/radio-mixed.svg new file mode 100644 index 0000000..dd17f53 --- /dev/null +++ b/src/assets/radio-mixed.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-selected-insensitive.svg b/src/assets/radio-selected-insensitive.svg new file mode 100644 index 0000000..e4fdb68 --- /dev/null +++ b/src/assets/radio-selected-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-selected.svg b/src/assets/radio-selected.svg new file mode 100644 index 0000000..f3b36ee --- /dev/null +++ b/src/assets/radio-selected.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/radio-unchecked-dark.svg b/src/assets/radio-unchecked-dark.svg new file mode 100644 index 0000000..6c2c531 --- /dev/null +++ b/src/assets/radio-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/radio-unchecked-insensitive-dark.svg b/src/assets/radio-unchecked-insensitive-dark.svg new file mode 100644 index 0000000..9b96837 --- /dev/null +++ b/src/assets/radio-unchecked-insensitive-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/radio-unchecked-insensitive.svg b/src/assets/radio-unchecked-insensitive.svg new file mode 100644 index 0000000..9b96837 --- /dev/null +++ b/src/assets/radio-unchecked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/radio-unchecked.svg b/src/assets/radio-unchecked.svg new file mode 100644 index 0000000..6c2c531 --- /dev/null +++ b/src/assets/radio-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/radio-unselected-dark.svg b/src/assets/radio-unselected-dark.svg new file mode 100644 index 0000000..214ed94 --- /dev/null +++ b/src/assets/radio-unselected-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/radio-unselected-insensitive-dark.svg b/src/assets/radio-unselected-insensitive-dark.svg new file mode 100644 index 0000000..0fdfaf4 --- /dev/null +++ b/src/assets/radio-unselected-insensitive-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/radio-unselected-insensitive.svg b/src/assets/radio-unselected-insensitive.svg new file mode 100644 index 0000000..9b96837 --- /dev/null +++ b/src/assets/radio-unselected-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/radio-unselected.svg b/src/assets/radio-unselected.svg new file mode 100644 index 0000000..6c2c531 --- /dev/null +++ b/src/assets/radio-unselected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/sed.sh b/src/assets/sed.sh new file mode 100644 index 0000000..0f37126 --- /dev/null +++ b/src/assets/sed.sh @@ -0,0 +1,9 @@ +#!/bin/sh +sed -i \ + -e 's/#101010/rgb(0%,0%,0%)/g' \ + -e 's/#eeeeee/rgb(100%,100%,100%)/g' \ + -e 's/#111111/rgb(50%,0%,0%)/g' \ + -e 's/#e91e63/rgb(0%,50%,0%)/g' \ + -e 's/#101010/rgb(50%,0%,50%)/g' \ + -e 's/#eeeeee/rgb(0%,0%,50%)/g' \ + *.svg diff --git a/src/assets/unsed.sh b/src/assets/unsed.sh new file mode 100644 index 0000000..a8f18f7 --- /dev/null +++ b/src/assets/unsed.sh @@ -0,0 +1,11 @@ +#!/bin/sh +sed -i \ + -e 's/rgb(0%,0%,0%)/#101010/g' \ + -e 's/rgb(100%,100%,100%)/#eeeeee/g' \ + -e 's/rgb(50%,0%,0%)/#111111/g' \ + -e 's/rgb(0%,50%,0%)/#e91e63/g' \ + -e 's/rgb(0%,50.196078%,0%)/#e91e63/g' \ + -e 's/rgb(50%,0%,50%)/#101010/g' \ + -e 's/rgb(50.196078%,0%,50.196078%)/#101010/g' \ + -e 's/rgb(0%,0%,50%)/#eeeeee/g' \ + *.svg diff --git a/src/gtk-2.0/gtkrc b/src/gtk-2.0/gtkrc new file mode 100644 index 0000000..73bddd5 --- /dev/null +++ b/src/gtk-2.0/gtkrc @@ -0,0 +1,851 @@ +# Oomox GTK Theme (Librix Fork) + +gtk-color-scheme = +"base_color:#101010\nbg_color:#101010\ntooltip_bg_color:#101010\nselected_bg_color:#4285f4\ntext_color:#eeeeee\nfg_color:#eeeeee\ntooltip_fg_color:#eeeeee\nselected_fg_color:#ffffff\nmenubar_bg_color:#111111\nmenubar_fg_color:#eeeeee\ntoolbar_bg_color:#101010\ntoolbar_fg_color:#eeeeee\nmenu_bg_color:#111111\nmenu_fg_color:#eeeeee\npanel_bg_color:#101010\npanel_fg_color:#eeeeee\nlink_color:#4285f4\nbtn_bg_color:#1c1c1c\nbtn_fg_color:#eeeeee\ntitlebar_bg_color:#111111\ntitlebar_fg_color:#eeeeee\n" +# Default Style + +style "murrine-default" { + GtkArrow::arrow-scaling= 0.6 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + GtkButton::default-border = { 0, 0, 0, 0 } + + 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 + + GtkExpander::expander-size = 16 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + GtkMenuBar::internal-padding = 0 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 12 + GtkProgressBar::min-vertical-bar-width = 12 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 12 + GtkRange::stepper-size = 12 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 16 + GtkScale::slider-width = 16 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 80 + GtkScrollbar::slider-width = 12 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 11 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 1 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 1 + + GtkWindow::resize-grip-height = 0 + GtkWindow::resize-grip-width = 0 + + WnckTasklist::fade-overlay-rect = 0 + + 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 = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 1 + ythickness = 1 + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + border_colors = { mix(0.2, @fg_color, @bg_color), mix(0.2, @fg_color, @bg_color) } + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 3 # roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 2 + ythickness = 2 +} + +style "murrine-wider" { + xthickness = 3 + ythickness = 3 +} + +style "murrine-thin" { + xthickness = 0 + ythickness = 0 +} + +# Notebook + +style "clearlooks-notebook-bg" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (0.80, @bg_color) +} + +style "clearlooks-notebook" = "clearlooks-notebook-bg" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + radius = 0.1 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = @btn_bg_color + bg[PRELIGHT] = shade (1.10, @btn_bg_color) + bg[SELECTED] = shade (0.7, @btn_bg_color) + bg[ACTIVE] = shade (0.95, @btn_bg_color) + bg[INSENSITIVE] = shade (0.75, @btn_bg_color) + + engine "murrine" { + border_colors = { mix(0.2, @btn_fg_color, @btn_bg_color), mix(0.2, @btn_fg_color, @btn_bg_color) } + roundness = 3 + } +} + +style "murrine-buttonlabel" { + fg[NORMAL] = @btn_fg_color + fg[PRELIGHT] = @btn_fg_color + fg[SELECTED] = @btn_fg_color + fg[ACTIVE] = @btn_fg_color + fg[INSENSITIVE] = @btn_fg_color + + engine "murrine" { + } +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 0 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @bg_color) + base[INSENSITIVE] = shade (0.85, @bg_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (0.95, @bg_color) + + engine "murrine" { + roundness = 8 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + border_shades = { 1.0, 1.0 } + trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (1.08, @bg_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + roundness = 2 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + #bg[NORMAL] = @base_color + bg[NORMAL] = mix(0.12, @bg_color, @base_color) + bg[PRELIGHT] = shade (1.04, @base_color) + bg[SELECTED] = shade (0.7, @base_color) + bg[ACTIVE] = shade (0.95, @base_color) + fg[INSENSITIVE] = mix(0.20, @bg_color, @base_color) + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @text_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix(0.20, @bg_color, @text_color) + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame" = "murrine-wide" { + bg[NORMAL] = mix(0.08, @fg_color, @bg_color) +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 5 + ythickness = 5 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 2 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + engine "murrine" { + } +} + +style "clearlooks-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + bg[PRELIGHT] = @bg_color + + text[NORMAL] = @selected_bg_color + text[PRELIGHT] = @selected_bg_color + + engine "clearlooks" { + radius = 4.0 + } +} + +style "clearlooks-base-radiocheck" = "clearlooks-radiocheck" { + bg[PRELIGHT] = @base_color +} + +style "murrine-entry" = "murrine-wider" { + engine "murrine" { + border_shades = { 1.15, 1.15 } + roundness = 3 + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @toolbar_bg_color + bg[PRELIGHT] = shade (1.02, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @toolbar_bg_color) + bg[INSENSITIVE] = @toolbar_bg_color + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @toolbar_bg_color) + bg[PRELIGHT] = shade (1.10, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @toolbar_bg_color) + bg[INSENSITIVE] = shade (0.85, @toolbar_bg_color) + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +# LXPanel (code based on Lubuntu-default theme's gtkrc file) +widget "*.tclock.*" style "murrine-panel" +widget "*.taskbar.*" style "murrine-panel" +widget_class "*GtkBgbox*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[ACTIVE] = @selected_bg_color + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconView::shadow-x-offset = 0 + XfdesktopIconView::shadow-y-offset = 1 + XfdesktopIconView::selected-shadow-x-offset = 0 + XfdesktopIconView::selected-shadow-y-offset = 1 + XfdesktopIconView::shadow-color = "#000000" + XfdesktopIconView::selected-shadow-color = "#000000" + XfdesktopIconView::shadow-blur-radius = 2 + XfdesktopIconView::cell-spacing = 2 + XfdesktopIconView::cell-padding = 6 + XfdesktopIconView::cell-text-width-proportion = 1.9 + + fg[NORMAL] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 1.0 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::alpha = 1.0 + Xfwm4TabwinWidget::border-radius = 2 + + bg[NORMAL] = @menu_bg_color + bg[SELECTED] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + contrast = 0.0 + border_shades = { 0.9, 0.9 } + } +} + +style "xfwm-tabwin-button" { + font_name = "bold" + + bg[SELECTED] = @selected_bg_color +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*Pager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +style "whiskermenu" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[PRELIGHT] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color + fg[ACTIVE] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color +} + +style "whiskermenu-scrollbar" = "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + trough_shades = { 4.97, 4.97 } + trough_border_shades = { 5.0, 5.0 } + } +} + +widget "whiskermenu-window*" style "whiskermenu" +widget "*whisker*GtkVScrollbar" style "whiskermenu-scrollbar" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 2 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-frame" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "clearlooks-notebook" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget_class "*." style "clearlooks-radiocheck" +widget_class "*.*." style "clearlooks-base-radiocheck" +widget_class "*" style "clearlooks-base-radiocheck" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +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 (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" + +# button fg workaround: +widget_class "*.." style "murrine-buttonlabel" +widget_class "***" style:highest "murrine-buttonlabel" diff --git a/src/gtk-2.0/gtkrc.hidpi b/src/gtk-2.0/gtkrc.hidpi new file mode 100644 index 0000000..b31b13b --- /dev/null +++ b/src/gtk-2.0/gtkrc.hidpi @@ -0,0 +1,927 @@ +# Oomox GTK Theme (Librix Fork) + +gtk-color-scheme = +"base_color:#101010\nbg_color:#101010\ntooltip_bg_color:#101010\nselected_bg_color:#4285f4\ntext_color:#eeeeee\nfg_color:#eeeeee\ntooltip_fg_color:#eeeeee\nselected_fg_color:#ffffff\nmenubar_bg_color:#111111\nmenubar_fg_color:#eeeeee\ntoolbar_bg_color:#101010\ntoolbar_fg_color:#eeeeee\nmenu_bg_color:#111111\nmenu_fg_color:#eeeeee\npanel_bg_color:#101010\npanel_fg_color:#eeeeee\nlink_color:#4285f4\nbtn_bg_color:#1c1c1c\nbtn_fg_color:#eeeeee\ntitlebar_bg_color:#111111\ntitlebar_fg_color:#eeeeee\n" +# Default Style + +style "murrine-default" { + GtkArrow::arrow-scaling= 0.6 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + GtkButton::default-border = { 0, 0, 0, 0 } + + GtkButtonBox::child-min-height = 52 + + GtkCheckButton::indicator-size = 30 + + # 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 + + GtkExpander::expander-size = 30 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 2 + GtkMenu::vertical-padding = 2 + + GtkMenuBar::internal-padding = 1 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 14 + GtkProgressBar::min-vertical-bar-width = 14 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 24 + GtkRange::stepper-size = 24 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 30 + GtkScale::slider-width = 30 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 160 + GtkScrollbar::slider-width = 24 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 22 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 2 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 2 + GtkWidget::separator-height = 2 + + GtkWindow::resize-grip-height = 2 + GtkWindow::resize-grip-width = 2 + + WnckTasklist::fade-overlay-rect = 0 + + 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 = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 2 + ythickness = 2 + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + border_colors = { mix(0.2, @fg_color, @bg_color), mix(0.2, @fg_color, @bg_color) } + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 6# roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 6 + ythickness = 6 +} + +style "murrine-wider" { + xthickness = 4 + ythickness = 8 +} + +style "murrine-thin" { + xthickness = 1 + ythickness = 1 +} + +# Notebook + +style "clearlooks-notebook-bg" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (0.80, @bg_color) +} + +style "clearlooks-notebook" = "clearlooks-notebook-bg" { + xthickness = 8 + ythickness = 4 + + engine "clearlooks" { + radius = 0.1 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = @btn_bg_color + bg[PRELIGHT] = shade (1.04, @btn_bg_color) + bg[SELECTED] = shade (0.7, @btn_bg_color) + bg[ACTIVE] = shade (0.95, @btn_bg_color) + bg[INSENSITIVE] = shade (0.75, @btn_bg_color) + + engine "murrine" { + border_colors = { mix(0.4, @btn_fg_color, @btn_bg_color), mix(0.4, @btn_fg_color, @btn_bg_color) } + roundness = 6 + } +} + +style "murrine-buttonlabel" { + fg[NORMAL] = @btn_fg_color + fg[PRELIGHT] = @btn_fg_color + fg[SELECTED] = @btn_fg_color + fg[ACTIVE] = @btn_fg_color + fg[INSENSITIVE] = @btn_fg_color + + engine "murrine" { + } +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 6 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @bg_color) + base[INSENSITIVE] = shade (0.85, @bg_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @btn_bg_color + bg[ACTIVE] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (0.95, @btn_bg_color) + + engine "murrine" { + roundness = 25 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + border_shades = { 0.5, 0.5 } + trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (1.08, @bg_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + roundness = 6 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + #bg[NORMAL] = @base_color + bg[NORMAL] = mix(0.12, @bg_color, @base_color) + bg[PRELIGHT] = shade (1.04, @base_color) + bg[SELECTED] = shade (0.7, @base_color) + bg[ACTIVE] = shade (0.95, @base_color) + fg[INSENSITIVE] = mix(0.20, @bg_color, @base_color) + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @text_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix(0.20, @bg_color, @text_color) + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame" = "murrine-wide" { + bg[NORMAL] = mix(0.08, @fg_color, @bg_color) +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 10 + ythickness = 10 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 6 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + engine "murrine" { + } +} + +style "clearlooks-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + bg[PRELIGHT] = @bg_color + + text[NORMAL] = @selected_bg_color + text[PRELIGHT] = @selected_bg_color + + engine "clearlooks" { + radius = 6.0 + } +} + +style "clearlooks-base-radiocheck" = "clearlooks-radiocheck" { + bg[PRELIGHT] = @base_color +} + +style "murrine-entry" = "murrine-wider" { + engine "murrine" { + #border_shades = { 1.15, 1.15 } + border_colors = { mix(0.4, @text_color, @base_color), mix(0.4, @text_color, @base_color) } + roundness = 6 + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @toolbar_bg_color + bg[PRELIGHT] = shade (1.02, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @toolbar_bg_color) + bg[INSENSITIVE] = @toolbar_bg_color + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @toolbar_bg_color) + bg[PRELIGHT] = shade (1.10, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @toolbar_bg_color) + bg[INSENSITIVE] = shade (0.85, @toolbar_bg_color) + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +# LXPanel (code based on Lubuntu-default theme's gtkrc file) +widget "*.tclock.*" style "murrine-panel" +widget "*.taskbar.*" style "murrine-panel" +widget_class "*GtkBgbox*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[ACTIVE] = @selected_bg_color + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconView::shadow-x-offset = 0 + XfdesktopIconView::shadow-y-offset = 1 + XfdesktopIconView::selected-shadow-x-offset = 0 + XfdesktopIconView::selected-shadow-y-offset = 1 + XfdesktopIconView::shadow-color = "#000000" + XfdesktopIconView::selected-shadow-color = "#000000" + XfdesktopIconView::shadow-blur-radius = 2 + XfdesktopIconView::cell-spacing = 2 + XfdesktopIconView::cell-padding = 6 + XfdesktopIconView::cell-text-width-proportion = 1.9 + + fg[NORMAL] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 1.0 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::alpha = 1.0 + Xfwm4TabwinWidget::border-radius = 2 + + bg[NORMAL] = @menu_bg_color + bg[SELECTED] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + contrast = 0.0 + border_shades = { 0.9, 0.9 } + } +} + +style "xfwm-tabwin-button" { + font_name = "bold" + + bg[SELECTED] = @selected_bg_color +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*Pager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +style "whiskermenu" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[PRELIGHT] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color + fg[ACTIVE] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color +} + +style "whiskermenu-scrollbar" = "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + trough_shades = { 4.97, 4.97 } + trough_border_shades = { 5.0, 5.0 } + } +} + +widget "whiskermenu-window*" style "whiskermenu" +widget "*whisker*GtkVScrollbar" style "whiskermenu-scrollbar" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 6 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-frame" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "clearlooks-notebook" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget_class "*." style "clearlooks-radiocheck" +widget_class "*.*." style "clearlooks-base-radiocheck" +widget_class "*" style "clearlooks-base-radiocheck" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +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 (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + + + + +style "gimp-default-style" { +# Uncommenting this line allows to set a different (smaller) font for GIMP. +# +# font_name = "sans 8" +# Enabling the following line for some reason breaks toolbox resize +# increment calculation. You can enable it to get an even smaller GUI +# but need to restart GIMP after the theme change. +# +# GtkWidget::focus-padding = 0 + GtkOptionMenu::indicator-size = { 15, 25 } + GtkOptionMenu::indicator-spacing = { 10, 8, 4, 4 } + GtkPaned::handle-size = 5 + GimpDockWindow::default-height = 600 + GimpDock::font-scale = 1.0 + GimpMenuDock::minimal-width = 400 + GimpToolPalette::tool-icon-size = large-toolbar + GimpToolPalette::button-relief = none + GimpDockbook::tab-border = 0 + GimpDockbook::tab-icon-size = button + GimpColorNotebook::tab-border = 0 + GimpColorNotebook::tab-icon-size = button + GimpDeviceEditor::handle-size = 30 + GimpDockable::content-border = 1 + GimpEditor::content-spacing = 1 + GimpEditor::button-spacing = 1 + GimpEditor::button-icon-size = button + GimpDataEditor::minimal-height = 150 + GimpFrame::label-spacing = 5 + GtkDialog::content-area-border = 2 + GtkDialog::button-spacing = 20 + GtkDialog::action-area-border = 25 + GimpUnitComboBox::appears-as-list = 0 +} + +class "GtkWidget" style "gimp-default-style" +style "gimp-tool-dialog-style" = "gimp-default-style" +{ + GtkDialog::action-area-border = 6 +} +class "GimpToolDialog" style "gimp-tool-dialog-style" +style "gimp-grid-view-style" = "gimp-default-style" +{ + bg[NORMAL] = { 1.0, 1.0, 1.0 } +} +widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style" +style "gimp-dockable-style" = "gimp-default-style" +{ + GimpFrame::label-bold = 0 + GtkButton::focus-line_width = 1 + GtkButton::focus-padding = 0 +} +widget "*GimpDockable.*" style "gimp-dockable-style" +style "gimp-display-style" = "gimp-default-style" +{ + GimpRuler::font-scale = 1.0 + GimpUnitComboBox::label-scale = 1.0 + GimpScaleComboBox::label-scale = 1.0 + GtkComboBox::arrow-size = 20 + GtkButton::inner-border = { 0, 0, 0, 0 } + GtkButton::focus-line-width = 0 + GtkButton::focus-padding = 0 +} +widget "*GimpDisplayShell.*" style "gimp-display-style" +style "gimp-overlay-style" = "gimp-display-style" +{ + GtkButton::focus-line_width = 2 +} +widget_class "**" style "gimp-overlay-style" + + + + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" + +# button fg workaround: +widget_class "*.." style "murrine-buttonlabel" +widget_class "***" style:highest "murrine-buttonlabel" diff --git a/src/gtk-3.0/assets b/src/gtk-3.0/assets new file mode 120000 index 0000000..bae6859 --- /dev/null +++ b/src/gtk-3.0/assets @@ -0,0 +1 @@ +../assets/ \ No newline at end of file diff --git a/src/gtk-3.0/gtk-dark.css b/src/gtk-3.0/gtk-dark.css new file mode 100644 index 0000000..b00626d --- /dev/null +++ b/src/gtk-3.0/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk-dark.css"); diff --git a/src/gtk-3.0/gtk.css b/src/gtk-3.0/gtk.css new file mode 100644 index 0000000..c6eab95 --- /dev/null +++ b/src/gtk-3.0/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk.css"); diff --git a/src/gtk-3.0/gtk.gresource.xml b/src/gtk-3.0/gtk.gresource.xml new file mode 100644 index 0000000..e6287c2 --- /dev/null +++ b/src/gtk-3.0/gtk.gresource.xml @@ -0,0 +1,48 @@ + + + + assets/checkbox-checked-dark.svg + assets/checkbox-checked-insensitive-dark.svg + assets/checkbox-checked-insensitive.svg + assets/checkbox-checked.svg + assets/checkbox-mixed-dark.svg + assets/checkbox-mixed-insensitive-dark.svg + assets/checkbox-mixed-insensitive.svg + assets/checkbox-mixed.svg + assets/checkbox-unchecked-dark.svg + assets/checkbox-unchecked-insensitive-dark.svg + assets/checkbox-unchecked-insensitive.svg + assets/checkbox-unchecked.svg + assets/grid-selection-checked-dark.svg + assets/grid-selection-checked.svg + assets/grid-selection-unchecked-dark.svg + assets/grid-selection-unchecked.svg + assets/menuitem-checkbox-checked-hover.svg + assets/menuitem-checkbox-checked-insensitive.svg + assets/menuitem-checkbox-checked.svg + assets/menuitem-checkbox-unchecked.svg + assets/menuitem-checkbox-mixed-hover.svg + assets/menuitem-checkbox-mixed-insensitive.svg + assets/menuitem-checkbox-mixed.svg + assets/menuitem-radio-checked-hover.svg + assets/menuitem-radio-checked-insensitive.svg + assets/menuitem-radio-checked.svg + assets/menuitem-radio-unchecked.svg + assets/radio-checked-dark.svg + assets/radio-checked-insensitive-dark.svg + assets/radio-checked-insensitive.svg + assets/radio-checked.svg + assets/radio-mixed-dark.svg + assets/radio-mixed-insensitive-dark.svg + assets/radio-mixed-insensitive.svg + assets/radio-mixed.svg + assets/radio-unchecked-dark.svg + assets/radio-unchecked-insensitive-dark.svg + assets/radio-unchecked-insensitive.svg + assets/radio-unchecked.svg + assets/pane-handle.png + assets/pane-handle@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/src/gtk-3.0/scss/_colors.scss b/src/gtk-3.0/scss/_colors.scss new file mode 100644 index 0000000..cdd7499 --- /dev/null +++ b/src/gtk-3.0/scss/_colors.scss @@ -0,0 +1,67 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* window manager colors */ +@define-color wm_bg #{"" + $wm_bg}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/src/gtk-3.0/scss/_functions.scss b/src/gtk-3.0/scss/_functions.scss new file mode 100644 index 0000000..0de71b6 --- /dev/null +++ b/src/gtk-3.0/scss/_functions.scss @@ -0,0 +1,79 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color},#{$amount})"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color},#{$amount})"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2},#{$amount})"); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_focus($color) { + @return shade($color, ($contrast - .05)); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:insensitive { border-color: border_insensitive($color); } + + &:active:insensitive, &:checked:insensitive { border-color: border_normal($color); } +} diff --git a/src/gtk-3.0/scss/_global.scss b/src/gtk-3.0/scss/_global.scss new file mode 100644 index 0000000..01460f7 --- /dev/null +++ b/src/gtk-3.0/scss/_global.scss @@ -0,0 +1,84 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: if($variant == "dark", #eeeeee, #101010); +$fg_color: if($variant == "dark", #101010, #eeeeee); +$base_color: if($variant == "dark", #eeeeee, #101010); +$text_color: if($variant == "dark", #101010, #eeeeee); +$button_bg_color: if($variant == "dark", #eeeeee, #1c1c1c); +$button_fg_color: if($variant == "dark", #1c1c1c, #eeeeee); +$header_button_bg_color: #101010; +$header_button_fg_color: #eeeeee; +$selected_bg_color: #4285f4; +$selected_fg_color: #ffffff; +$tooltip_bg_color: #101010; +$tooltip_fg_color: #eeeeee; + +// dark colors +$dark_bg_color: #111111; +$dark_fg_color: #eeeeee; + +// shadows +$dark_shadow: #000; +$light_shadow: #fff; + +// white and black +$black: #000; +$white: #fff; + +// misc colors used by gtk+ +$info_fg_color: #fff; +$info_bg_color: #03a9f4; +$warning_fg_color: #fff; +$warning_bg_color: #ef6c00; +$question_fg_color: #fff; +$question_bg_color: #673ab7; +$error_fg_color: #fff; +$error_bg_color: #f44336; +$link_color: #4285f4; +$success_color: #4caf50; +$warning_color: #ef6c00; +$error_color: #f44336; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_color: $dark_bg_color; +$titlebar_fg_color: $dark_fg_color; + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_fg: $dark_fg_color; +$osd_bg: alpha($osd_base, 0.8); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; + +$wm_bg: $titlebar_bg_color; +$wm_border_focused: transparent; +$wm_border_unfocused: transparent; +$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +// widget styles +$roundness: 3px; +$spacing: 3px; +$gradient: 0.0; + +$contrast: .8; diff --git a/src/gtk-3.0/scss/_widgets.scss b/src/gtk-3.0/scss/_widgets.scss new file mode 100644 index 0000000..db51b05 --- /dev/null +++ b/src/gtk-3.0/scss/_widgets.scss @@ -0,0 +1,37 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; diff --git a/src/gtk-3.0/scss/apps/_gedit.scss b/src/gtk-3.0/scss/apps/_gedit.scss new file mode 100644 index 0000000..f1614a6 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_gedit.scss @@ -0,0 +1,132 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + .list-row { + padding: $spacing; + + .button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + icon-shadow: none; + } + } + + .prelight-row .button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list-row, .prelight-row { + .button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + GeditStatusbar { border-top: 1px solid border_normal($bg_color); } + + GeditStatusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + .button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } +} diff --git a/src/gtk-3.0/scss/apps/_gnome-terminal.scss b/src/gtk-3.0/scss/apps/_gnome-terminal.scss new file mode 100644 index 0000000..178f741 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_gnome-terminal.scss @@ -0,0 +1,219 @@ +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + TerminalWindow { + .scrollbars-junction { + background-color: $osd_base; + } + .scrollbar { + &.trough { + background-color: $osd_base; + } + &.button { + color: shade($osd_base, 0.6); + &:active { + color: shade($osd_base, 0.6); + &:hover { + color: shade($osd_base, 0.6); + } + } + } + &.slider { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.21); + background-color: mix($osd_base, $osd_fg, 0.21); + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &.vertical { + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + } + GtkNotebook.notebook { + border-right-width: 0; + border-bottom-width: 0; + border-left-width: 0; + } + } + + TerminalNotebook.notebook { //use dark variant by default + padding: 0; + border-width: 1px 0 0; + border-style: solid; + border-color: border_active($osd_base); + border-radius: 0; + @include linear-gradient($osd_base); + background-clip: border-box; + color: $osd_fg; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { border-width: 1px; } + + &.header { + border-width: 0; + background-color: shade($osd_base, .85); + + &.frame { + border-color: border_focus($osd_base); + + &.top { border-width: 1px 1px 0 1px; } + + &.right { border-width: 1px 1px 1px 0; } + + &.bottom { border-width: 0 1px 1px 1px; } + + &.left { border-width: 1px 0 1px 1px; } + } + } + + GtkViewport { + border-width: 0; + background-color: $osd_base; + color: $osd_fg; + } + + tab { + padding: ($spacing + 1px) $spacing * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + + &:active { + background-color: transparent; + background-image: none; + } + + &.top { + border-bottom-width: 2px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:hover { + border-bottom-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-bottom-color: $selected_bg_color; + } + } + + &.right { + border-left-width: 2px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-left-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-left-color: $selected_bg_color; + } + } + + &.bottom { + border-top-width: 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-top-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-top-color: $selected_bg_color; + } + } + + &.left { + border-right-width: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:hover { + border-right-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-right-color: $selected_bg_color; + } + } + + GtkLabel { color: mix($osd_fg, $osd_base, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($osd_base, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .7), inset -1px 0 shade($osd_base, .7); + } + + &:active { + background-color: shade($osd_base, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .75), inset -1px 0 shade($osd_base, .75); + } + } + + /* close button styling */ + .button { + &, &:active, &:checked, &:hover { + padding: 1px; + border-width: 1px; + border-radius: 2px; + border-style: solid; + border-color: transparent; + background-image: none; + background-color: transparent; + color: mix($osd_fg, $osd_base, 0.5); + } + + &:hover { + color: $osd_fg; + border-color: shade($osd_base, 0.8); + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border-color: shade($osd_base, 0.7); + background-color: shade($osd_base, 0.95); + } + } + + } + + .prelight-page { + &, GtkLabel { color: mix($osd_fg, $osd_base, .15); } + } + + .active-page { + &, GtkLabel { color: $osd_fg; } + } + + } +} diff --git a/src/gtk-3.0/scss/apps/_lightdm.scss b/src/gtk-3.0/scss/apps/_lightdm.scss new file mode 100644 index 0000000..52eda61 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_lightdm.scss @@ -0,0 +1,193 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + .menubar { + &, > .menuitem { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + *:hover { color: $white; } + + &:hover { + border-style: none; + background-color: alpha($white, .2); + background-image: none; + color: $white; + } + + &:insensitive { color: alpha($white, .7); } + + .menu { + border-radius: 1px; + + .menuitem { + font: normal; + text-shadow: none; + } + } + } + } + } + + #content_frame { padding-bottom: 14px; } + + #login_window, #shutdown_dialog, #restart_dialog { + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + + .button { + padding: 3px 15px; + border-width: 1px; + border-radius: $roundness; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + background-color: shade($lightdm_bg_color, 1.08); + background-image: none; + color: $lightdm_fg_color; + transition: all 150ms ease-out; + + &.default, &:focus, &:active:focus { + border-color: shade($selected_bg_color, .8); + background-color: shade($selected_bg_color, 1.08); + background-image: none; + color: $selected_fg_color; + + &:hover { + border-color: shade($selected_bg_color, .7); + background-color: $selected_bg_color; + } + } + } + } + + + #login_window { + .menu { border-radius: 1px; } + + GtkComboBox .button { + &, &:hover, &:active, &:active:hover, + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { + padding: 0; + background: none; + border-style: none; + box-shadow: none; + } + } + + .entry { + padding: 3px 5px; + border-width: 1px; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + color: $lightdm_fg_color; + box-shadow: none; + transition: all 150ms ease-out; + + &:focus, &:hover { + border-color: shade($lightdm_bg_color, .7); + + box-shadow: inset 1px 0 alpha($dark_shadow, .1), + inset 0 1px alpha($dark_shadow, .12), + inset -1px 0 alpha($dark_shadow, .1), + inset 0 -1px alpha($dark_shadow, .05); + } + } + } + + #user_combobox { + color: $lightdm_fg_color; + font: 18px; + + .menu { font: normal; } + + .arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + padding: 3px; + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: 10px; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + + + /* shutdown button */ + #shutdown_button { + border-color: shade($error_bg_color, .8); + background-color: shade($error_bg_color, 1.08); + background-image: none; + color: $error_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($error_bg_color, .7); + background-color: $error_bg_color; + } + } + + /* restart button */ + #restart_button { + border-color: shade($warning_bg_color, .8); + background-color: shade($warning_bg_color, 1.08); + background-image: none; + color: $warning_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($warning_bg_color, .7); + background-color: $warning_bg_color; + } + } + + /* password warning */ + #greeter_infobar { font: bold; } +} diff --git a/src/gtk-3.0/scss/apps/_mate-applications.scss b/src/gtk-3.0/scss/apps/_mate-applications.scss new file mode 100644 index 0000000..a7a3e1f --- /dev/null +++ b/src/gtk-3.0/scss/apps/_mate-applications.scss @@ -0,0 +1,82 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + MatePanelApplet .label, + PanelMenuBar.menubar > .menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + MatePanelApplet .button, + MatePanelApplet .button.flat, + MatePanelApplet .button.toggle + MatePanelApplet .button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover:active, + MatePanelApplet .button:checked, + MatePanelApplet .button:checked:hover, + MatePanelApplet .button.flat:hover:active, + MatePanelApplet .button.flat:checked, + MatePanelApplet .button.flat:checked:hover, + MatePanelApplet .button.toggle:hover:active, + MatePanelApplet .button.toggle:checked, + MatePanelApplet .button.toggle:checked:hover, + MatePanelApplet .button.flat.toggle:hover:active, + MatePanelApplet .button.flat.toggle:checked, + MatePanelApplet .button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover, + MatePanelApplet .button.flat:hover, + MatePanelApplet .button.toggle:hover, + MatePanelApplet .button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } +} diff --git a/src/gtk-3.0/scss/apps/_nautilus.scss b/src/gtk-3.0/scss/apps/_nautilus.scss new file mode 100644 index 0000000..e81a128 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_nautilus.scss @@ -0,0 +1,72 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop.nautilus-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + + NautilusWindow { + .toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar .frame { border: 0; } + + GtkPaned { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + } + + NautilusNotebook { + &.notebook { + border-right-width: 0; + border-left-width: 0; + border-bottom-width: 0; + } + + .frame { border: 0; } + } + + NautilusQueryEditor { + .toolbar { + padding-top: $spacing - 1px; + padding-bottom: $spacing - 2px; + border-width: 1px 0 0; + border-style: solid; + border-color: $toolbar_bg_color; + background-color: shade($toolbar_bg_color, .9); + + &:nth-child(2) { border-color: border_normal($toolbar_bg_color); } + + &.search-bar { + border-top-width: 0; + border-bottom-width: 0; + } + + &, &.search-bar { + &:last-child, &:only-child { + border-bottom-width: 1px; + border-bottom-color: border_normal($toolbar_bg_color); + } + } + + } + } +} diff --git a/src/gtk-3.0/scss/apps/_nemo.scss b/src/gtk-3.0/scss/apps/_nemo.scss new file mode 100644 index 0000000..d0aec8d --- /dev/null +++ b/src/gtk-3.0/scss/apps/_nemo.scss @@ -0,0 +1,36 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop.nemo-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + + NemoPathbarButton { + @include button($toolbar_bg_color, $toolbar_fg_color); + + -NemoPathbarButton-border-radius: $roundness; + } + + NemoPlacesTreeView { + -NemoPlacesTreeView-disk-full-bg-color: shade($toolbar_bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 1px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 2px; + -NemoPlacesTreeView-disk-full-max-length: 70px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + } + } +} diff --git a/src/gtk-3.0/scss/apps/_panel.scss b/src/gtk-3.0/scss/apps/_panel.scss new file mode 100644 index 0000000..56a8774 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_panel.scss @@ -0,0 +1,80 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover, &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + PanelWidget, PanelApplet, PanelToplevel { + @extend %panel; + + padding: 0; + } + + PanelApplet { + border: 0; + + .button { + @extend %panelbutton; + + -GtkButton-inner-border: 2; + } + } + + PanelSeparator { + @extend %panel; + + border: 0; + } + + PanelApplet > GtkMenuBar.menubar, PanelMenuBar.menubar, .gnome-panel-menu-bar { + &.menuitem { + @extend %panel; + + border: 0; + + -PanelMenuBar-icon-visible: true; + } + } + + PanelAppletFrame { + @extend %panel; + + border: 0; + } + + WnckPager, WnckTasklist { @extend %panel; } +} diff --git a/src/gtk-3.0/scss/apps/_synaptic.scss b/src/gtk-3.0/scss/apps/_synaptic.scss new file mode 100644 index 0000000..c19b78e --- /dev/null +++ b/src/gtk-3.0/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/src/gtk-3.0/scss/apps/_unity-greeter.scss b/src/gtk-3.0/scss/apps/_unity-greeter.scss new file mode 100644 index 0000000..f0c7da7 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_unity-greeter.scss @@ -0,0 +1,119 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + + + .lightdm.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: 4px; + padding: 1px; + + color: $white; + } + + .lightdm-combo .menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + + .lightdm.menu .menuitem *, + .lightdm.menu .menuitem.check:active, + .lightdm.menu .menuitem.radio:active { + color: $white; + } + + .lightdm.menubar *, + .lightdm.menubar .menuitem { + padding: 2px; + } + + .lightdm-combo.combobox-entry .button, + .lightdm-combo .cell, + .lightdm-combo .button, + .lightdm-combo .entry, + + .lightdm.button{ + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: 5px; + padding: 5px; + color: $white; + } + .lightdm.button:hover { + background-image: none; + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 5px; + color: $white; + text-shadow: none; + } + .lightdm.button:active, + .lightdm.button:active:focus, + .lightdm.button:focus, + + .lightdm.entry { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 6px; + color: $white; + text-shadow: none; + } + .lightdm.entry:hover, + .lightdm.entry:active, + .lightdm.entry:active:focus { + background-image: none; + border-image: none; + } + .lightdm.entry:focus { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + .lightdm.entry:selected { + background-color: fade-out($white, .8); + } + + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + .lightdm.entry:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + .lightdm.option-button { + background: none; + border-width: 0; + } + + .lightdm.option-button:insensitive:insensitive { + background: none; + } + + .lightdm.toggle-button { + background: none; + border-width: 0; + } + .lightdm.toggle-button.selected:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } + .lightdm.toggle-button.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } +} diff --git a/src/gtk-3.0/scss/apps/_unity.scss b/src/gtk-3.0/scss/apps/_unity.scss new file mode 100644 index 0000000..6bc77a9 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_unity.scss @@ -0,0 +1,74 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 28px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + &.top { + border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + border-bottom: 0; + border-radius: 2px 2px 0 0; + padding: 1px 8px 0 8px; + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + text-shadow: none; + + &:backdrop { + border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12); + border-bottom: 0; + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .4); + } + } + + &.left, &.right, &.bottom { + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + + &:backdrop { + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12); + } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} diff --git a/src/gtk-3.0/scss/apps/_xfce.scss b/src/gtk-3.0/scss/apps/_xfce.scss new file mode 100644 index 0000000..dc38a86 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_xfce.scss @@ -0,0 +1,26 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: normal; + + .button { @extend %panelbutton; } + + .menu { -gtk-image-effect: none; } + } +} diff --git a/src/gtk-3.0/scss/gtk-dark.scss b/src/gtk-3.0/scss/gtk-dark.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/src/gtk-3.0/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/src/gtk-3.0/scss/gtk.scss b/src/gtk-3.0/scss/gtk.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/src/gtk-3.0/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/src/gtk-3.0/scss/widgets/_actionbar.scss b/src/gtk-3.0/scss/widgets/_actionbar.scss new file mode 100644 index 0000000..749f549 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_actionbar.scss @@ -0,0 +1,106 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + .action-bar { + @include linear-gradient($bg_color); + + padding: $spacing; + border-width: 1px 0 0; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button { + &.text-button { padding: $spacing - 1px; } + + &.image-button { padding: $spacing + 1px; } + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + } +} + + +/*************** + ! Search bars * +****************/ + +@include exports("searchbar") { + .search-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button.close-button { padding: $spacing; } + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error-color + ); + + @each $type, $color in $types { + .#{$type}-action.button { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** +* selection mode * +******************/ + +@include exports("selectionmode") { + .selection-mode { + &.header-bar, &.toolbar { + @include toolbar($selected_bg_color, $selected_fg_color); + + .button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action.button; } + } + + .selection-menu.button { + border: 0; + background-color: transparent; + background-image: none; + color: shade($selected_bg_color, $contrast); + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + } + + .dim-label, { + &, .selection-menu.button & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + + &.toolbar { padding: $spacing; } + } +} diff --git a/src/gtk-3.0/scss/widgets/_base.scss b/src/gtk-3.0/scss/widgets/_base.scss new file mode 100644 index 0000000..4265fad --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_base.scss @@ -0,0 +1,100 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkArrow-arrow-scaling: .5; + -GtkExpander-expander-size: 8; + -GtkStatusbar-shadow-type: none; + -GtkToolItemGroup-expander-size: 8; + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: 1px; + outline-offset: -1px; + outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkHTML-link-color: $link_color; + -GtkIMHtml-hyperlink-color: $link_color; + -GtkWidget-link-color: $link_color; + -GtkWidget-visited-link-color: $link_color; + + &:selected { @extend %selected; } + + &:insensitive, + &:insensitive:insensitive { color: mix($fg_color, $bg_color, .5); } + + &:insensitive { -gtk-image-effect: dim; } + + &:hover { -gtk-image-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:hover { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:insensitive { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +GtkImage, GtkLabel, GtkBox, GtkGrid { + &, &:insensitive { background-color: transparent; } +} + +GtkLabel { + &.separator { + @extend .dim-label; + + color: $fg_color; + } + + &:selected { @extend %selected; } + + &:insensitive { color: mix($fg_color, $bg_color, .5); } +} diff --git a/src/gtk-3.0/scss/widgets/_button.scss b/src/gtk-3.0/scss/widgets/_button.scss new file mode 100644 index 0000000..6d26c9f --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_button.scss @@ -0,0 +1,376 @@ +/********* + ! Buttons +**********/ + +@include exports("button_extends") { + %button { + padding: $spacing ($spacing + 2px); + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: 150ms ease; + outline-color: transparent; + + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + &:focus, &:hover, &:active { transition: none; } + } + + %linked_middle { + border-radius: 0; + border-left-style: none; + border-right-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_middle:dir(rtl) + border-right-style: none; + border-left-style: solid; + } + } + + %linked_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-right-style: none; + border-left-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: solid; + border-right-style: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-left-style: none; + border-right-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: none; + border-right-style: solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + + &:dir(rtl) { + border-left-style: solid; + border-right-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + } + } +} + +@mixin linked_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset -1px 0 border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:insensitive { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:insensitive:last-child, &:insensitive:only-child, + &:active:insensitive:last-child, &:active:insensitive:only-child, + &:checked:insensitive:last-child, &:checked:insensitive:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin button($bg, $fg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + /*$button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg);*/ + $button_bg: $bg; + + @extend %button; + @include linear-gradient($button_bg); + @include border(rgba(0, 0, 0, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &.flat { + border-color: alpha($button_bg, 0); + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + &:focus, &:hover { + @include linear-gradient(shade($button_bg, 1.2)); + @include border(rgba(0, 0, 0, .2 + $border_strength)); + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:checked { + @include linear-gradient(shade($button_bg, .7), to top); + + color: $selected_fg_color; + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06), + inset 0 -1px alpha($dark_shadow, .05); + + &:focus, &:hover { + @include linear-gradient(shade($button_bg, .65), to top); + + color: $selected_fg_color; + } + } + + &:focus, &:hover { color: $fg; } + + &:active:insensitive, &:checked:insensitive { + @include linear-gradient(shade($button_bg, .9)); + + color: $fg; + box-shadow: none; + } + + &:insensitive:insensitive { + @if (lightness($button_bg) > 50) { + @include linear-gradient(shade($button_bg, .95)); + } @else { + @include linear-gradient(alpha($button_bg, .3)); + } + + color: mix($button_bg, $fg, .5); + box-shadow: none; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + + &.flat { + &:insensitive:insensitive { + background-color: transparent; + background-image: none; + color: mix($bg, $fg, .5); + box-shadow: none; + } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: shade($button_bg, ($contrast + .1)); + + &:insensitive { color: shade($button_bg, .85); } + } +} + +@include exports("button") { + * { + -GtkButton-child-displacement-x: 0; + -GtkButton-child-displacement-y: 0; + -GtkButton-default-border: 0; + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 1; + -GtkButton-interior-focus: true; + -GtkButtonBox-child-min-height: 24; + -GtkButtonBox-child-internal-pad-y: 1; + -GtkToolButton-icon-spacing: 6; + } + + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($white, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($black, .1); + background-image: none; + box-shadow: none; + } + } + + .button { + @include button($button_bg_color, $button_fg_color); + + &.default { @include button($selected_bg_color, $selected_fg_color); } + + &.linked, .linked & { @include linked_button($button_bg_color); } + + .spinbutton & { + color: mix($text_color, $base_color, .4); + padding: $spacing ($spacing * 2); + border: 0; + border-radius: 0; + border-style: none; + background-color: transparent; + background-image: none; + box-shadow: inset 1px 0 shade($base_color, .9); + + &:insensitive { + color: mix($text_color, $base_color, .7); + box-shadow: inset 1px 0 shade($base_color, .85); + } + + &:active, &:checked, &:hover { color: $text_color; } + + &:first-child { + border-radius: $roundness 0 0 $roundness; + box-shadow: none; + } + + &:last-child { border-radius: 0 $roundness $roundness 0; } + + &:dir(rtl) { box-shadow: inset -1px 0 shade($base_color, .9); } + } + + .spinbutton.vertical & { + border: 1px solid shade($bg_color, .8); + border-radius: $roundness; + background-color: shade($bg_color, 1.08); + background-image: none; + color: $fg_color; + box-shadow: none; + + &:hover { + border-color: shade($bg_color, .7); + background-color: shade($bg_color, 1.1); + background-image: none; + } + + &:active, &:checked { + border-color: shade($bg_color, .8); + background-color: shade($bg_color, .95); + background-image: none; + } + + &:active:hover, &:checked:hover { + border-color: shade($bg_color, .7); + } + + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { border-color: shade($bg_color, .7); } + + &:insensitive { + border-color: shade($bg_color, .85); + background-color: shade($bg_color, .9); + background-image: none; + } + + &:first-child { + border-width: 1px; + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &:last-child { + border-width: 1px; + border-top-width: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } + + .spinbutton.vertical.entry { + border-width: 1px; + border-style: solid; + border-radius: 0; + } + } +} + + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + GtkComboBox { + > .button { + padding: ($spacing - 2px) ($spacing + 1px); + + -GtkComboBox-arrow-scaling: .5; + -GtkComboBox-shadow-type: none; + } + + &.combobox-entry { + .entry, .button { @extend %linked_button; } + } + + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + + border-style: none; + } + } + + .linked > GtkComboBox { + > .button { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } // specificity bump + &:dir(rtl) { @extend %linked_middle:dir(rtl); } + } + + &:first-child > .button { @extend %linked_button:first-child; } + + &:last-child > .button { @extend %linked_button:last-child; } + + &:only-child > .button { @extend %linked_button:only-child; } + } +} diff --git a/src/gtk-3.0/scss/widgets/_calendar.scss b/src/gtk-3.0/scss/widgets/_calendar.scss new file mode 100644 index 0000000..5c7ca32 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_calendar.scss @@ -0,0 +1,38 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + GtkCalendar { + padding: 1px 3px; + outline-offset: -1px; + + &:inconsistent { color: mix($fg_color, $bg_color, .5); } + + &.view, &.highlight, &.header, &.button { + &, &:focus, &:hover, &:insensitive { + background-color: transparent; + background-image: none; + border-width: 0; + border-radius: 0; + } + } + + &.button { + &, &:focus, &:hover, &:insensitive { + color: $white; + border-width: 0; + box-shadow: none; + } + } + + &.highlight { color: $selected_bg_color; } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/src/gtk-3.0/scss/widgets/_choosers.scss b/src/gtk-3.0/scss/widgets/_choosers.scss new file mode 100644 index 0000000..ecd50dd --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_choosers.scss @@ -0,0 +1,125 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + GtkColorSwatch { + &, &:selected { + border: 1px solid alpha($black, .1); + border-radius: $roundness; + background-color: transparent; + background-clip: border-box; + + &:hover { border-color: alpha($black, .3); } + } + + &.color-light:selected:hover, &.color-dark:selected:hover { background-image: none; } + + &.left, &:first-child { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right, &:last-child { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &:only-child { border-radius: $roundness; } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + GtkColorEditor & { + border-radius: $roundness; + + &.color-dark:hover, &.color-light:hover { + background-image: none; + border-color: alpha($black, .3); + } + } + } + + GtkColorChooserWidget #add-color-button { + background-clip: padding-box; + border-color: alpha($black, .1); + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { + border-color: alpha($black, .3); + background-color: shade($bg_color, .9); + color: $fg_color; + } + } + + .color-active-badge { + &, &:selected { + border-width: 2px; + border-style: solid; + background-color: transparent; + } + + &.color-light { + &, &:hover { + border-color: alpha($black, .3); + color: alpha($black, .3); + } + } + + &.color-dark { + &, &:hover { + border-color: alpha($white, .3); + color: alpha($white, .3); + } + } + } + + GtkColorButton.button { padding: $spacing; } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + GtkFontButton, GtkFileChooserButton { + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + } + + GtkLabel:last-child { color: alpha(currentColor, .7); } + + GtkImage:last-child { color: alpha(currentColor, .7); } + } + + GtkFileChooser { + .pane-separator { + &, &:hover { + border-width: 0 1px 0 0; + border-style: solid; + border-color: currentColor; + background-color: $bg_color; + color: shade($bg_color, ($contrast + .1)); + } + } + + /* for fallback when header bar not used */ + .dialog-action-box { + border-width: 1px 0 0; + border-style: solid; + border-color: shade($bg_color, .7); + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_entry.scss b/src/gtk-3.0/scss/widgets/_entry.scss new file mode 100644 index 0000000..e8d7562 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_entry.scss @@ -0,0 +1,84 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + &:only-child { + border-width: 1px; + border-radius: $roundness; + } +} + +%entry { + padding: ($spacing - 1px) $spacing; + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: border 150ms ease; + box-shadow: inset 1px 1px alpha($dark_shadow, .06), + inset -1px 0 alpha($dark_shadow, .06); + + &:focus, &:hover, &:active { transition: none; } + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:insensitive { box-shadow: none; } + + &.progressbar { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + &.image.left { padding-right: $spacing; } +} + +@mixin entry($bg, $fg) { + @extend %entry; + @include linear-gradient($bg, to top); + @include border($bg); + + color: $fg; + + &:focus, &:active { border-color: $selected_bg_color; } + + &:insensitive { + @include linear-gradient(shade($bg, .9), to top); + + color: mix($bg, $fg, .5); + } +} + +@include exports("entry") { + .entry { + @include entry($base_color, $text_color); + + &.linked, .linked & { @extend %linked_entry; } + } +} diff --git a/src/gtk-3.0/scss/widgets/_grid.scss b/src/gtk-3.0/scss/widgets/_grid.scss new file mode 100644 index 0000000..e4b9e8f --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_grid.scss @@ -0,0 +1,48 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + .list { + background-color: shade($bg_color, .97); + color: $fg_color; + + &-row { + &, &.button { + border: 0; + border-radius: 0; + padding: $spacing; + background-image: none; + background-color: alpha($bg_color, 0); + box-shadow: none; + + &:hover { + background-image: none; + background-color: shade($bg_color, 1.02); + } + + &:selected { + &, &:hover, &:focus { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + } + } + + .grid-child { + &, GtkFlowBox & { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected; + + outline-offset: -2px; + } + } + } +} + diff --git a/src/gtk-3.0/scss/widgets/_infobar.scss b/src/gtk-3.0/scss/widgets/_infobar.scss new file mode 100644 index 0000000..6f5865b --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_infobar.scss @@ -0,0 +1,38 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + GtkInfoBar { + border: 0; + } + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + .#{$type} { + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + color: $fg_color; + + .button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_menu.scss b/src/gtk-3.0/scss/widgets/_menu.scss new file mode 100644 index 0000000..aa1ccfd --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_menu.scss @@ -0,0 +1,267 @@ +@import "entry"; + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + .menubar { + -GtkWidget-window-dragging: true; + + border: 0; + background-color: $menubar_bg_color; + background-image: none; + color: $menubar_fg_color; + + + &.menuitem, .menuitem { + padding: $spacing ($spacing * 2); + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + * { + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + } + + GtkTreeMenu, GtkMenuToolButton, GtkComboBox { + &.menu, .menu { + background-color: $menu_bg_color; + margin: $spacing; + } + } + + #toolbar-popup, .menu { + padding: 0; + border-radius: 0; + border: 0; + background-color: $menu_bg_color; + color: $menu_fg_color; + + &:selected { background-color: $selected_bg_color; } + + .button { + &, &:hover, &:active, &:active *:insensitive, &:insensitive { + border-width: 0; + background-color: transparent; + background-image: none; + } + } + } + + .context-menu { font: initial; } + + .menuitem { + GtkTreeMenu & { + padding: 0; + border-width: 0; + } + + &, .menu & { + margin: $spacing; + padding: $spacing; + border: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + + -GtkMenuItem-arrow-scaling: .5; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + + *:active, *:hover { color: $selected_fg_color; } + + &:insensitive, *:insensitive { color: mix($menu_fg_color, $menu_bg_color, .5); } + } + + &.check, &.radio { + &, &:focus, &:hover, &:insensitive { background-image: none; } + + &, &:focus, &:hover, &:active, &:insensitive { + border-style: none; + background-color: transparent; + } + } + + &.separator { + -GtkMenuItem-horizontal-padding: 0; + -GtkWidget-separator-height: 1; + + border-style: none; + color: shade($menu_bg_color, ($contrast + .1)); + } + + &.button, &.button.flat { + &, &:focus, &:active, &:insensitive, &:active:insensitive { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + GtkCalendar { + &:inconsistent { color: mix($menu_fg_color, $menu_bg_color, .5); } + + .button { + border-style: none; + background-color: transparent; + background-image: none; + } + } + + .accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:insensitive { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + .entry { @include entry($menu_bg_color, $menu_fg_color); } + } + + GtkModelMenuItem GtkBox GtkImage { padding-right: $spacing; } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + GtkPopover { + @include border($menu_bg_color); + + margin: 10px; + padding: $spacing; + border-radius: $roundness; + border-width: 1px; + border-style: solid; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + &.background { + background-image: none; + background-color: $menu_bg_color; + color: $menu_fg_color; + } + + &:backdrop { box-shadow: none; } + + &.osd { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > .toolbar .button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + .view, .list { + background-color: shade($menu_bg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + .list-row { + &, &.button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal($menu_bg_color); + border-radius: $roundness; + } + + .entry { @include entry($base_color, $text_color); } + + .button { @include button($header_button_bg_color, $header_button_fg_color); } + + > .list, > .view, > .toolbar { background-color: transparent; } + + .separator { + border: 0; + background-color: transparent; + color: shade($menu_bg_color, ($contrast + .1)); + font-size: 80%; + font-weight: bold; + } + } + + GtkModelButton.button { + &, &:backdrop { + @include button(transparent, currentColor); + + &:focus:hover, &.flat:checked:hover, &:active:hover, &:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + box-shadow: none; + } + + &.flat { + &:checked { + box-shadow: none; + } + + &, &:hover { + transition: none; + } + } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_misc.scss b/src/gtk-3.0/scss/widgets/_misc.scss new file mode 100644 index 0000000..015632d --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_misc.scss @@ -0,0 +1,227 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip { + &.background { + @include linear-gradient($tooltip_bg_color); + + border: 0; + border-radius: $roundness; + color: $tooltip_fg_color; + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + GtkMessageDialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: $spacing; + -GtkDialog-action-area-border: $spacing; + -GtkDialog-button-spacing: $spacing; + + margin: 0; + padding: 0; + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + .app-notification { + &, &.frame { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .button { @include button($osd_bg, $osd_fg); } + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + GtkExpander { + padding: $spacing; + outline-offset: 1px; + } + + .expander { + color: alpha(currentColor, .7); + border: alpha(currentColor, .7); + + &:hover { + color: alpha(currentColor, .8); + border-color: alpha(currentColor, .8); + } + + &:active { + color: alpha(currentColor, .9); + border-color: alpha(currentColor, .9); + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + .button { + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 0; + + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + GtkEntry.entry.pin-entry { + font: regular 50; + padding-left: 25px; + padding-right: 25px; + } + + GtkLabel.pin-label { font: regular 50; } +} diff --git a/src/gtk-3.0/scss/widgets/_notebook.scss b/src/gtk-3.0/scss/widgets/_notebook.scss new file mode 100644 index 0000000..962d8c3 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_notebook.scss @@ -0,0 +1,139 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + .notebook { + padding: 0; + border-style: solid; + border-color: border_normal($bg_color); + border-radius: 0; + @include linear-gradient($bg_color); + background-clip: border-box; + color: $text_color; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { + &.top { border-width: 0 1px 1px; } + + &.right { border-width: 1px 0 1px 1px; } + + &.bottom { border-width: 1px 1px 0; } + + &.left { border-width: 1px 1px 1px 0; } + } + + &.header { + border-width: 2px; + background-color: transparent; + } + + GtkViewport { + border-width: 0; + background-color: $base_color; + color: $text_color; + } + + tab { + padding: ($spacing + 1px) ($spacing * 2); + border-style: solid; + border-color: border_normal(shade($bg_color, 0.80)); + background-color: shade($bg_color, 0.80); + background-image: none; + + &:active { + background-color: $bg_color; + background-image: none; + } + + &.top { + border-width: 2px 1px 1px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:active { + border-top-width: 3px; + border-top-color: $selected_bg_color; + border-bottom-width: 0; + } + } + + &.right { + border-width: 1px 2px 1px 1px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:active { + border-right-width: 3px; + border-right-color: $selected_bg_color; + border-left-width: 0; + } + } + + + &.bottom { + border-width: 1px 1px 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:active { + border-bottom-width: 3px; + border-bottom-color: $selected_bg_color; + border-top-width: 0; + } + } + + &.left { + border-width: 1px 1px 1px 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:active { + border-left-width: 3px; + border-left-color: $selected_bg_color; + border-right-width: 0; + } + } + + GtkLabel { color: mix($text_color, $base_color, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($base_color, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .7), inset -1px 0 shade($base_color, .7); + } + + &:active { + background-color: shade($base_color, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .75), inset -1px 0 shade($base_color, .75); + } + } + + /* close button styling */ + .button { @extend %close_button; } + + } + + .prelight-page { + &, GtkLabel { color: mix($text_color, $base_color, .15); } + } + + .active-page { + &, GtkLabel { color: $text_color; } + } + + } +} diff --git a/src/gtk-3.0/scss/widgets/_osd.scss b/src/gtk-3.0/scss/widgets/_osd.scss new file mode 100644 index 0000000..dcb4e74 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_osd.scss @@ -0,0 +1,132 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + GtkOverlay.osd { background-color: transparent; } + + .osd, + #XfceNotifyWindow { + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + &.frame { + background-clip: border-box; + background-origin: border-box; + } + + &.button, .button { @include button($osd_bg, $osd_fg); } + + + &.toolbar { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .separator { color: shade($osd_bg, ($contrast + .1)); } + } + + /* used by gnome-settings-daemon's media-keys OSD */ + &.trough { background-color: shade($osd_bg, .8); } + + &.progressbar { background-color: $osd_fg; } + + .scale { + &.slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border($osd_bg); + + &:insensitive { @include linear-gradient(shade($osd_bg, .9)); } + } + + &.trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:insensitive, &.highlight:insensitive { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + &.view, .view { background-color: $osd_bg; } + + .scrollbar { + .trough { background-color: $osd_bg; } + + .slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + GtkIconView.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + } + + .osd GtkProgressBar, GtkProgressBar.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 2px; + -GtkProgressBar-min-horizontal-bar-height: 2px; + + padding: 0; + + &.trough { + padding: 0; + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + &.progressbar { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_overshoot.scss b/src/gtk-3.0/scss/widgets/_overshoot.scss new file mode 100644 index 0000000..9950eb1 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_overshoot.scss @@ -0,0 +1,119 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; +} + +// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. +// This draws a box on top of the content, the size changes programmatically. +.overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } +} + +// Overflow indication, works similarly to the overshoot, the size if fixed tho. +.undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } +} diff --git a/src/gtk-3.0/scss/widgets/_progress.scss b/src/gtk-3.0/scss/widgets/_progress.scss new file mode 100644 index 0000000..8a1ef11 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_progress.scss @@ -0,0 +1,182 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + GtkProgressBar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + -GtkProgressBar-min-horizontal-bar-height: 6; + -GtkProgressBar-min-vertical-bar-width: 6; + + &.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 0; + -GtkProgressBar-min-horizontal-bar-height: 3; + } + + &.trough { + border: 1px solid alpha(border_normal($bg_color), .5); + background-color: shade($bg_color, 1.08); + background-image: none; + } + } + + .progressbar { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + box-shadow: none; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.left.right { box-shadow: none; } + + &.vertical { + @include linear-gradient($selected_bg_color, to right); + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + GtkLevelBar { + -GtkLevelBar-min-block-width: 34; + -GtkLevelBar-min-block-height: 3; + + &.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; + } + } + + .level-bar { + &.trough { + @include linear-gradient(shade($bg_color, 1.08), to top); + + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + } + + &.fill-block { + @include linear-gradient($selected_bg_color); + + // FIXME: it would be nice to set make fill blocks bigger, but we'd need + // :nth-child working on discrete indicators + border-color: transparent; + border-radius: 0; + + &.indicator-discrete { + &.horizontal { margin-right: 1px; } + + &.vertical { margin-bottom: 1px; } + } + + &.level-high { + background-color: $success_color; + border-color: transparent; + } + + &.level-low { + background-color: $warning_color; + border-color: transparent; + } + + &.empty-fill-block { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + .scale { + -GtkRange-slider-width: 16; + -GtkRange-trough-border: 1; + -GtkScale-slider-length: 16; + + padding: 0; + border-width: 1px; + border-radius: $roundness; + outline-offset: -1px; + + + &.slider { + @include linear-gradient(shade($bg_color, 1.08)); + @include border($bg_color); + + border-radius: 8px; + border-width: 1px; + border-style: solid; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .3); + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + } + + &.fine-tune { + &, &.horizontal { + &:active, &:active:hover { + background-size: 50%; + background-repeat: no-repeat; + background-position: center; + } + } + } + + &.mark { border-color: alpha(border_normal($bg_color), .5); } + + + &.trough { + @include linear-gradient(shade($bg_color, 1.08)); + + margin: 7px 0; + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + + &.vertical { margin: 0 7px; } + } + + &.highlight.left { + &, .memuitem & { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + + &:hover { + border-color: border_normal($selected_bg_color); + background-color: shade($selected_bg_color, .8); + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9)); + border-color: shade($bg_color, .85); + } + } + } + + &.highlight.bottom { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + } + + } +} diff --git a/src/gtk-3.0/scss/widgets/_scrollbar.scss b/src/gtk-3.0/scss/widgets/_scrollbar.scss new file mode 100644 index 0000000..2d1af41 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_scrollbar.scss @@ -0,0 +1,86 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + * { + -GtkRange-slider-width: 8; + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-border: 2; + -GtkRange-trough-under-steppers: 1; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 80; + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + } + + .scrollbar { + border: 0; + padding: 0; + + &.button { + &, &:active, &:active:hover { + border-width: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + color: alpha($fg_color, .5); + } + } + + &.slider, &.slider.vertical { + border: 0; + border-radius: $roundness; + background-color: mix($bg_color, $fg_color, 0.21); + + &:hover { background-color: mix($bg_color, $fg_color, .31); } + + &:active { background-color: $selected_bg_color; } + + &.fine-tune:hover:active { border: 2px solid transparent; } + } + + // overlay scrolling indicator + &.overlay-indicator { + &:not(.dragging):not(.hovering) { + opacity: .5; + + -GtkRange-slider-width: 4px; + + .slider { + margin: 0; + background-color: $fg_color; + background-clip: padding-box; + } + + .trough { + border-style: none; + background-color: transparent; + } + } + + &.dragging, &.hovering { opacity: .7; } + } + } + + .scrollbars-junction, + .scrollbars-junction.frame, + .scrollbar.trough { + border: 0; + border-radius: 0; + background-color: $bg_color; + background-image: none; + } + + // ubuntu overlay scrollbars + OsThumb, OsScrollbar { + color: shade($bg_color, .7); + + &:selected { background-color: $selected_bg_color; } + + &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($bg_color, .9); } + } +} diff --git a/src/gtk-3.0/scss/widgets/_sidebar.scss b/src/gtk-3.0/scss/widgets/_sidebar.scss new file mode 100644 index 0000000..7ec5727 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_sidebar.scss @@ -0,0 +1,114 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + &, &.view, .view, GtkScrolledWindow { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &.separator { + &, &:hover, &:focus { + border-width: 1px; + border-style: solid; + border-color: shade($bg_color, .9); + color: shade($bg_color, .9); + } + } + } + + row, .view row { + &:selected { + &, &:hover, &:focus { + border: 0; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:hover { + border: 0; + background-image: none; + background-color: shade($selected_bg_color, 1.05); + color: $selected_fg_color; + } + } + + &:hover { + border: 0; + background-image: none; + background-color: shade($bg_color, 1.05); + } + } + + .frame { border-width: 0; } + + .sidebar-row { + padding: 1px; + } + + .sidebar-icon { + padding-left: $spacing * 2; + padding-right: $spacing * 2; + } + + GtkAssistant & { + padding: $spacing; + border-width: 0 1px 0 0; + border-style: solid; + border-right-color: border_normal($bg_color); + border-radius: 0; + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &:dir(ltr) { border-width: 0 1px 0 0; } + + &:dir(rtl) { border-width: 0 0 0 1px; } + + .label { + padding: $spacing ($spacing * 2); + + &.highlight { background-color: mix($bg_color, $fg_color, .8); } + } + + &.csd .sidebar { border-top-style: none; } + + .highlight { font: bold; } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + GtkPaned { + -GtkPaned-handle-size: 1; + -gtk-icon-source: none; + margin: 0 $spacing; + + &:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + .pane-separator { background-color: shade($bg_color, .9); } + + &.wide { + -GtkPaned-handle-size: 4; + margin: 0; + + .pane-separator { + background-color: transparent; + border-style: none solid; + border-color: shade($bg_color, .9); + border-width: 1px; + } + + &.vertical .pane-separator { border-style: solid none; } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_spinner.scss b/src/gtk-3.0/scss/widgets/_spinner.scss new file mode 100644 index 0000000..9c753f7 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + .spinner { + background-image: none; + background-color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:active { + opacity: 1; + animation: spin 1s linear infinite; + + &:insensitive { opacity: .5; } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_toggle.scss b/src/gtk-3.0/scss/widgets/_toggle.scss new file mode 100644 index 0000000..b85fef2 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_toggle.scss @@ -0,0 +1,128 @@ +/*********************** + ! Check and Radio items +************************/ + +$suffix: if($variant == "dark", "-dark", ""); + +@mixin toggle($type) { + background-image: none; + + -gtk-icon-source: url("../assets/#{$type}-unchecked#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-unchecked-insensitive#{$suffix}.svg"); } + + &:checked, &:active { + -gtk-icon-source: url("../assets/#{$type}-checked#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-checked-insensitive#{$suffix}.svg"); } + } + + &:inconsistent { + -gtk-icon-source: url("../assets/#{$type}-mixed#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-mixed-insensitive#{$suffix}.svg"); } + } + + &.menuitem { + -gtk-icon-source: url("../assets/menuitem-#{$type}-unchecked.svg"); + + &:insensitive { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); + } + + &:checked, &:active { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-hover.svg"); } + + &:insensitive { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); } + } + + &:inconsistent { + -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-hover.svg"); } + + &:insensitive { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-insensitive.svg"); } + } + } +} + +@include exports("checkradio") { + * { + -GtkCheckButton-indicator-size: 16; + -GtkCheckMenuItem-indicator-size: 16; + } + + .radio { @include toggle("radio"); } + + .check { @include toggle("checkbox"); } + + //selection-mode + @each $s,$as in ('', '-unchecked'), + (':hover', '-unchecked'), + (':active', '-checked'), + (':backdrop', '-unchecked'), + (':checked', '-checked'), + (':checked:hover', '-checked'), + (':checked:active', '-checked'), + (':backdrop:checked', '-checked') { + .view.content-view.check#{$s}:not(list) { + icon-shadow: none; + -gtk-icon-source: url("../assets/grid-selection#{$as}#{$suffix}.svg"); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + GtkSwitch { + padding: 0; + border-radius: $roundness; + font: bold condensed; + outline-offset: -4px; + + &.slider { + @include linear-gradient(shade($bg_color, 1.2)); + + border: 1px solid rgba(0, 0, 0, .2); + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12); + + &:insensitive { + border-color: rgba(0, 0, 0, .1); + background-color: shade($bg_color, .9); + box-shadow: none; + } + } + + &.trough { + @include linear-gradient(shade($bg_color, .95), to top); + + border: 1px solid border_normal($bg_color); + color: $fg_color; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + + &:active { + @include linear-gradient($selected_bg_color, to top); + + border-color: shade($selected_bg_color, .9); + color: $selected_fg_color; + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9), to top); + + border-color: border_insensitive($bg_color); + color: mix($fg_color, $bg_color, .5); + } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_toolbar.scss b/src/gtk-3.0/scss/widgets/_toolbar.scss new file mode 100644 index 0000000..3873c24 --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_toolbar.scss @@ -0,0 +1,132 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + padding: $spacing * 2; + color: $fg; + + &:insensitive { + @include linear-gradient(shade($bg, .9)); + + color: mix($fg, $bg, .5); + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + + .button { @include button($header_button_bg_color, $header_button_fg_color); } + + .button.linked, .linked .button { @include linked_button($header_button_bg_color); } + + GtkComboBox, .button { + padding: $spacing - 1px; + + &.text-button { padding: $spacing; } + + &.image-button { padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing; } + } + + GtkSeparatorToolItem, .separator, .separator:insensitive { + color: shade($bg, ($contrast + .1)); + border-color: currentColor; + + -GtkWidget-window-dragging: true; + } + + .menubar { -GtkToolbar-button-relief: normal; } +} + +@include exports("toolbar") { + .toolbar { + @include toolbar($bg_color, $fg_color); + + padding: 2px; + border-style: none; + + &.inline-toolbar { + background-image: none; + background-color: transparent; + } + GtkToolButton:insensitive GtkButton:insensitive, + GtkToolButton:insensitive GtkButton:insensitive.button, + GtkToolButton:insensitive GtkButton:insensitive.flat.button { + background-color: $bg_color; + } + } + + .header-bar { + @include toolbar($titlebar_bg_color, $titlebar_fg_color); + + border-width: 0 0 1px; + border-style: solid; + .button { + color: $button_fg_color; + } + } + + .titlebar { + @include linear-gradient($titlebar_bg_color); + + border-radius: $roundness $roundness 0 0; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + + &:backdrop { + @include linear-gradient($titlebar_bg_color); + + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + text-shadow: none; + } + + &.default-decoration { + border: 0; + box-shadow: none; + } + + .tiled &, .maximized & { border-radius: 0; } + + .title { font: bold; } + + .titlebutton { + padding: $spacing; + border: 0; + background-image: none; + background-color: transparent; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + icon-shadow: none; + } + } + } +} diff --git a/src/gtk-3.0/scss/widgets/_view.scss b/src/gtk-3.0/scss/widgets/_view.scss new file mode 100644 index 0000000..bfa33dc --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_view.scss @@ -0,0 +1,233 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + * { -GtkTextView-error-underline-color: $error_color; } + + .view { + color: $text_color; + background-color: $base_color; + + &:insensitive, &:insensitive:insensitive { + background-color: shade($base_color, .9); + color: mix($text_color, $base_color, .5); + } + + &:selected, &:selected:focus { @extend %selected; } + } + + .cell { + border-width: 0; + border-radius: 0; + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + row { + &:selected { + &, &:hover, &:focus { + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + } + } + + .content-view { + &.view { + background-color: $base_color; + + &:hover { background-color: alpha($selected_bg_color, .6); } + + &:selected, &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($base_color, .9); } + + &.check { + &, &:active, &:hover, &:insensitive, &:selected { background-color: transparent; } + } + } + + .subtitle { + font: smaller; + padding: 0 12px; + } + } + + GtkIconView { + &.content-view.check { @extend .content-view.check; } + + &.view.cell { + &:selected, &:selected:focus { + border: 0; + border-radius: 2px; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .dim-label { + &, &.view { color: alpha(currentColor, .5); } + } + + .dnd { border: 1px solid $selected_bg_color; } + + .grip { background-color: transparent; } + + .arrow { color: alpha(currentColor, .7); } + + .rubberband { + &, &.view, &.content-view.view { + border: 1px solid $selected_bg_color; + border-radius: 0; + background-color: alpha($selected_bg_color, .3); + } + } + + GdMainIconView.content-view { -GdMainIconView-icon-size: 40; } + + /* this will get overridden by .view, needed by gedit line numbers */ + GtkTextView { background-color: mix($bg_color, $base_color, .5); } + + GtkHTML { + @extend .view; + + &:insensitive { background-color: shade($base_color, .9); } + } + + GtkDrawingArea { background-color: transparent; } +} + +/************ + ! Treeview * +*************/ + +@include exports("treeview") { + GtkTreeView { + -GtkTreeView-expander-size: 8; + -GtkTreeView-vertical-separator: 0; + + outline-offset: -1px; + border-top-color: shade($menu_bg_color, ($contrast + .1)); + + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &.dnd { border: 1px solid $selected_bg_color; } + + .entry { + border-radius: 0; + background-color: $base_color; + background-image: none; + } + + .progressbar { + @include linear-gradient($selected_bg_color); + border: 1px solid border_normal($selected_bg_color); + + &:selected { + &:focus, & { + @include linear-gradient($selected_bg_color); + border: 1px solid border_focus($selected_bg_color); + color: $selected_fg_color; + } + } + + &:insensitive { + &:insensitive { + @include linear-gradient($bg_color); + border-color: border_insensitive($bg_color); + } + } + } + + .trough { + background-color: mix($bg_color, $base_color, .5); + border: 1px solid border_normal($base_color); + + &:selected { + &:focus, & { + background-color: $base_color; + border: 1px solid border_focus($bg_color); + color: $text_color; + } + } + + &:insensitive { + &:insensitive { + background-color: $base_color; + } + } + } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + .view.separator, .separator { + color: shade($bg_color, ($contrast + .1)); + border: 1px solid currentColor; + } +} + + +/********************* + ! Column view headers +**********************/ + +@include exports("columnheader") { + column-header { + .button { + &, &:active { + border-width: 0 1px 1px 0; + border-radius: 0; + } + + &, &:active, &:focus, &:active:focus { + border-color: shade($base_color, .9); + border-bottom-color: shade($base_color, .8); + background-color: shade($base_color, .97); + background-image: none; + } + + &:hover, &:active:hover, &:hover:focus, &:active:hover:focus { + border-color: shade($base_color, .9); + border-bottom-color: shade($base_color, .8); + background-color: shade($base_color, .99); + background-image: none; + } + + &:last-child .button { border-width: 0 0 1px; } + } + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + .frame { + border: 1px solid border_normal($bg_color); + + &.flat { border: 0; } + } + + /* avoid double borders when a viewport is packed into a GtkScrolledWindow */ + GtkScrolledWindow GtkViewport.frame { border: 0; } +} + diff --git a/src/gtk-3.0/scss/widgets/_window.scss b/src/gtk-3.0/scss/widgets/_window.scss new file mode 100644 index 0000000..7742fbb --- /dev/null +++ b/src/gtk-3.0/scss/widgets/_window.scss @@ -0,0 +1,60 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + %window { + box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22), + 0 0 0 1px $wm_border_focused; + + &:backdrop { + box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23), + 0 0 0 1px $wm_border_unfocused; + } + } + + .window-frame { + @extend %window; + + border: 0; + border-radius: $roundness $roundness 0 0; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &.tiled { border-radius: 0; } + + &.solid-csd { + border-radius: $roundness $roundness 0 0; + margin: 1px; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + box-shadow: none; + } + + &.csd { + &.popup { + @extend %window; + + border-radius: 0; + } + + &.tooltip { + border-radius: $roundness; + box-shadow: none; + } + + &.message-dialog { + @extend %window; + + border-radius: $roundness; + } + } + + &.ssd { + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + box-shadow: 0 0 0 1px $wm_border_focused; + + &.maximized { border-radius: 0; } + } + } +} diff --git a/src/gtk-3.0/thumbnail.png b/src/gtk-3.0/thumbnail.png new file mode 100644 index 0000000..4f51185 Binary files /dev/null and b/src/gtk-3.0/thumbnail.png differ diff --git a/src/gtk-3.20/assets b/src/gtk-3.20/assets new file mode 120000 index 0000000..bae6859 --- /dev/null +++ b/src/gtk-3.20/assets @@ -0,0 +1 @@ +../assets/ \ No newline at end of file diff --git a/src/gtk-3.20/gtk-dark.css b/src/gtk-3.20/gtk-dark.css new file mode 100644 index 0000000..198bb85 --- /dev/null +++ b/src/gtk-3.20/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk-3.20/dist/gtk-dark.css"); diff --git a/src/gtk-3.20/gtk.css b/src/gtk-3.20/gtk.css new file mode 100644 index 0000000..19b01e6 --- /dev/null +++ b/src/gtk-3.20/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk-3.20/dist/gtk.css"); diff --git a/src/gtk-3.20/gtk.gresource.xml b/src/gtk-3.20/gtk.gresource.xml new file mode 100644 index 0000000..3013378 --- /dev/null +++ b/src/gtk-3.20/gtk.gresource.xml @@ -0,0 +1,48 @@ + + + + assets/checkbox-checked-dark.svg + assets/checkbox-checked-insensitive-dark.svg + assets/checkbox-checked-insensitive.svg + assets/checkbox-checked.svg + assets/checkbox-mixed-dark.svg + assets/checkbox-mixed-insensitive-dark.svg + assets/checkbox-mixed-insensitive.svg + assets/checkbox-mixed.svg + assets/checkbox-unchecked-dark.svg + assets/checkbox-unchecked-insensitive-dark.svg + assets/checkbox-unchecked-insensitive.svg + assets/checkbox-unchecked.svg + assets/grid-selection-checked-dark.svg + assets/grid-selection-checked.svg + assets/grid-selection-unchecked-dark.svg + assets/grid-selection-unchecked.svg + assets/menuitem-checkbox-checked-hover.svg + assets/menuitem-checkbox-checked-insensitive.svg + assets/menuitem-checkbox-checked.svg + assets/menuitem-checkbox-unchecked.svg + assets/menuitem-checkbox-mixed-hover.svg + assets/menuitem-checkbox-mixed-insensitive.svg + assets/menuitem-checkbox-mixed.svg + assets/menuitem-radio-checked-hover.svg + assets/menuitem-radio-checked-insensitive.svg + assets/menuitem-radio-checked.svg + assets/menuitem-radio-unchecked.svg + assets/radio-checked-dark.svg + assets/radio-checked-insensitive-dark.svg + assets/radio-checked-insensitive.svg + assets/radio-checked.svg + assets/radio-mixed-dark.svg + assets/radio-mixed-insensitive-dark.svg + assets/radio-mixed-insensitive.svg + assets/radio-mixed.svg + assets/radio-unchecked-dark.svg + assets/radio-unchecked-insensitive-dark.svg + assets/radio-unchecked-insensitive.svg + assets/radio-unchecked.svg + assets/pane-handle.png + assets/pane-handle@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/src/gtk-3.20/scss/_colors.scss b/src/gtk-3.20/scss/_colors.scss new file mode 100644 index 0000000..dda50ed --- /dev/null +++ b/src/gtk-3.20/scss/_colors.scss @@ -0,0 +1,97 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; +@define-color borders #{"" + $borders_color}; +@define-color unfocused_borders #{"" + $backdrop_borders_color}; + + +@define-color insensitive_bg_color #{"" + $insensitive_bg_color}; +@define-color insensitive_fg_color #{"" + $insensitive_fg_color}; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; +@define-color osd_insensitive_bg_color #{"" + $osd_insensitive_bg_color}; +@define-color osd_insensitive_fg_color #{"" + $osd_insensitive_fg_color}; +@define-color osd_borders_color #{"" + $osd_borders_color}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color #{"" + $backdrop_fg_color}; + +/* text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color #{"" + $text_color}; + +/* widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #{"" + $backdrop_bg_color}; + +/* text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #{"" + $backdrop_base_color}; + +/* base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #{"" + $selected_bg_color}; + +/* text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color}; + +/* insensitive color on backdrop windows*/ +@define-color unfocused_insensitive_color #{"" + $backdrop_insensitive_color}; + +/* window manager colors */ +@define-color wm_bg #{"" + $wm_bg}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/src/gtk-3.20/scss/_functions.scss b/src/gtk-3.20/scss/_functions.scss new file mode 100644 index 0000000..8eb18c6 --- /dev/null +++ b/src/gtk-3.20/scss/_functions.scss @@ -0,0 +1,95 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color},#{$amount})"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color},#{$amount})"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2},#{$amount})"); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_focus($color) { + @return if($variant == 'light', mix($selected_bg_color, $color, .3), darken($selected_bg_color, 20%)); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:disabled { border-color: border_insensitive($color); } + + &:active:disabled, &:checked:disabled { border-color: border_normal($color); } +} + +@function _text_shadow_color($tc: $fg_color, $bg: $bg_color) { + // + // calculate the color of text shadows + // + // $tc is the text color + // $bg is the background color + // + $_lbg: lightness($bg) / 100%; + + @if lightness($tc) < 50% { + @return transparentize(white, 1 - $_lbg / ($_lbg * 1.3)); + } @else { + @return transparentize(black, $_lbg * .8); + } +} diff --git a/src/gtk-3.20/scss/_global.scss b/src/gtk-3.20/scss/_global.scss new file mode 100644 index 0000000..4bc7772 --- /dev/null +++ b/src/gtk-3.20/scss/_global.scss @@ -0,0 +1,143 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: if($variant == "dark", #eeeeee, #101010); +$fg_color: if($variant == "dark", #101010, #eeeeee); +$base_color: if($variant == "dark", #eeeeee, #101010); +$text_color: if($variant == "dark", #101010, #eeeeee); +$button_bg_color: if($variant == "dark", #eeeeee, #1c1c1c); +$button_fg_color: if($variant == "dark", #1c1c1c, #eeeeee); +$header_button_bg_color: #101010; +$header_button_fg_color: #eeeeee; +$selected_bg_color: #4285f4; +$selected_fg_color: #ffffff; +$tooltip_bg_color: #101010; +$tooltip_fg_color: #eeeeee; + +/*$selected_borders_color: if($variant == 'light', darken($selected_bg_color, 30%), darken($selected_bg_color, 20%));*/ +/*$borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88));*/ +$selected_borders_color: if($variant == 'light', mix($selected_bg_color, $fg_color, .3), darken($selected_bg_color, 20%)); +$borders_color: if($variant == 'light', mix($bg_color, $fg_color, .08), shade($bg_color, .88)); +$borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93)); + +// dark colors +$dark_bg_color: #111111; +$dark_fg_color: #eeeeee; + +// shadows +/*$dark_shadow: #000;*/ +/*$light_shadow: #fff;*/ +$dark_shadow: shade($fg_color, .2); +$light_shadow: lighten($bg_color, .4); + +// white and black +$black: #000; +$white: #fff; + +/*$button_border_strength: if(lightness($bg) > 50, 0, .1);*/ +/*$button_shadow_strength: if(lightness($bg) > 50, 0, .1);*/ +$button_border_strength: 0.1; +$button_border: alpha($button_fg_color, .06 + $button_border_strength); +$entry_border: $borders_color; + +$scrollbar_bg_color: if($variant == 'light', darken($bg_color, 5%), mix($base_color, $bg_color, .4)); +$scrollbar_slider_color: mix($bg_color, $fg_color, .5); +$scrollbar_slider_hover_color: mix($bg_color, $fg_color, .7); +$scrollbar_slider_active_color: if($variant == 'light', darken($selected_bg_color, 5%), lighten($selected_bg_color, 10%)); + +$switch_disabled_bg_color: mix($bg_color, $base_color, .5); +$switch_disabled_border_color: $bg_color; +$switch_disabled_fg_color: $bg_color; +$switch_disabled_slider_bg_color: $bg_color; +$switch_bg_color: mix($bg_color, $base_color, .3); +$switch_fg_color: $text_color; +$switch_slider_bg_color: mix($text_color, $bg_color, .5); + +// @TODO: replace to xrdb values: +// misc colors used by gtk+ +$info_fg_color: #fff; +$info_bg_color: #03a9f4; +$warning_fg_color: #fff; +$warning_bg_color: #ef6c00; +$question_fg_color: #fff; +$question_bg_color: #673ab7; +$error_fg_color: #fff; +$error_bg_color: #f44336; +$link_color: #3f51b5; +$success_color: #4caf50; +$warning_color: #ef6c00; +$error_color: #f44336; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_color: $dark_bg_color; +$titlebar_fg_color: $dark_fg_color; + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_text_color: $white; +$osd_fg: $dark_fg_color; +$osd_bg: alpha($osd_base, .8); +$osd_insensitive_bg_color: mix($osd_fg, $osd_bg, .5); +$osd_insensitive_fg_color: mix($osd_fg, $osd_base, .6); +$osd_borders_color: shade($osd_bg, .85); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; + +$wm_bg: $titlebar_bg_color; +$wm_border_focused: transparent; +$wm_border_unfocused: transparent; +$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +//insensitive state derived colors +$insensitive_fg_color: mix($fg_color, $bg_color, .5); +$insensitive_bg_color: mix($bg_color, $base_color, .6); +$insensitive_borders_color: $borders_color; + +//colors for the backdrop state, derived from the main colors. +$backdrop_base_color: if($variant == 'light', darken($base_color, .01), lighten($base_color, .01)); +$backdrop_text_color: mix($backdrop_base_color, $text_color, .8); +$backdrop_bg_color: $bg_color; +$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, .5); +$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%)); +$backdrop_selected_bg_color: $selected_bg_color; +$backdrop_selected_fg_color: mix($selected_bg_color, $selected_fg_color, .66); +$backdrop_borders_color: mix($bg_color, $borders_color, .9); +$backdrop_dark_fill: mix($backdrop_bg_color, $backdrop_borders_color, .35); +$backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, .5); + +$backdrop_osd_base: $osd_base; +$backdrop_osd_bg: $osd_bg; +$backdrop_osd_fg: mix($osd_fg, $backdrop_osd_base, .5); + +$backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%); +$backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, .4); + +$backdrop_menu_color: if($variant == 'light', $backdrop_base_color, mix($backdrop_bg_color, $backdrop_base_color, .2)); + +$drop_target_color: #4e9a06; + +// widget styles +$roundness: 3px; +$spacing: 3px; +$gradient: 0.0; +$contrast: .8; diff --git a/src/gtk-3.20/scss/_widgets.scss b/src/gtk-3.20/scss/_widgets.scss new file mode 100644 index 0000000..719463b --- /dev/null +++ b/src/gtk-3.20/scss/_widgets.scss @@ -0,0 +1,41 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/mate-applications"; +@import "apps/cinnamon-applications"; +@import "apps/gnome-applications"; +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; +@import "apps/budgie"; diff --git a/src/gtk-3.20/scss/apps/_budgie.scss b/src/gtk-3.20/scss/apps/_budgie.scss new file mode 100644 index 0000000..3b5ed0a --- /dev/null +++ b/src/gtk-3.20/scss/apps/_budgie.scss @@ -0,0 +1,27 @@ +/****************** + ! Budgie Desktop * +*******************/ + +@include exports("budgie-desktop") { + .budgie-container { + background-color: transparent; + } + + .raven { + background-color: transparentize($bg_color, .07); + + .raven-header { + background-color: $bg_color; + border: solid $borders_color; + border-width: 1px 0; + } + + .raven-background { + background-color: transparentize($bg_color, .07); + } + } + + .raven-mpris { + background-color: transparentize($bg_color, .3); + } +} diff --git a/src/gtk-3.20/scss/apps/_cinnamon-applications.scss b/src/gtk-3.20/scss/apps/_cinnamon-applications.scss new file mode 100644 index 0000000..28511c7 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_cinnamon-applications.scss @@ -0,0 +1,19 @@ +/********************* + ! Cinnamon Settings * +**********************/ + +@include exports("cinnamon-settings") { + .cs-category-view { + &, .view { + &, &:backdrop { + background-color: transparent; + } + + &:selected { + &:focus, & { + @extend %selected_items; + } + } + } + } +} diff --git a/src/gtk-3.20/scss/apps/_gedit.scss b/src/gtk-3.20/scss/apps/_gedit.scss new file mode 100644 index 0000000..c153930 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_gedit.scss @@ -0,0 +1,143 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + list row { + padding: $spacing; + + button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + -gtk-icon-shadow: none; + } + } + + .prelight-row button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list row, .prelight-row { + button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + //Ignore: Global double border separator. + //statusbar { border-top: 1px solid border_normal($bg_color); } + + statusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } + + .gedit-bottom-panel-paned, + .gedit-side-panel-paned, + paned.titlebar { + margin-right: 0; + } + + .gedit-bottom-panel-paned notebook { + border-top: none; + } +} diff --git a/src/gtk-3.20/scss/apps/_gnome-applications.scss b/src/gtk-3.20/scss/apps/_gnome-applications.scss new file mode 100644 index 0000000..83dbdd2 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_gnome-applications.scss @@ -0,0 +1,31 @@ +/**************** + ! Gnome clocks * +*****************/ + +@include exports("gnome-clocks") { + .clocks-analog-frame { + &.trough { color: mix($fg_color, $bg_color, .85); } + + &.progress { color: mix($bg_color, $selected_bg_color, .5); } + + &.progress-fast { color: shade($selected_bg_color, .7); } + } +} + + +/***************** + ! Gnome Builder * +******************/ + +@include exports("gnome-builder") { + workbench.csd > stack.titlebar:not(headerbar) { + padding: 0; + background: none; + border: 0; + box-shadow: none; + + headerbar { + &, &:first-child, &:last-child { border-radius: $roundness $roundness 0 0; } + } + } +} diff --git a/src/gtk-3.20/scss/apps/_gnome-terminal.scss b/src/gtk-3.20/scss/apps/_gnome-terminal.scss new file mode 100644 index 0000000..c23893c --- /dev/null +++ b/src/gtk-3.20/scss/apps/_gnome-terminal.scss @@ -0,0 +1,37 @@ +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + //noinspection ScssLintInspection,ScssLintInspection + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + + terminal-window { + junction, scrollbar trough { + background-color: $osd_base; + border-color: border_normal($osd_base); + + //&:backdrop { + // background-color: shade($backdrop_osd_bg, .9); + // border-color: border_normal(shade($backdrop_osd_bg, .9)); + //} + } + + scrollbar.vertical { + slider { + background-color: mix($osd_base, $osd_fg, .2); + + &:hover { background-color: mix($osd_base, $osd_fg, .3); } + + &:hover:active { background-color: $selected_bg_color; } + + //&:backdrop { background-color: mix($backdrop_osd_fg, $backdrop_osd_bg, .4); } + + &:disabled { background-color: transparent; } + } + } + } +} diff --git a/src/gtk-3.20/scss/apps/_lightdm.scss b/src/gtk-3.20/scss/apps/_lightdm.scss new file mode 100644 index 0000000..76d189c --- /dev/null +++ b/src/gtk-3.20/scss/apps/_lightdm.scss @@ -0,0 +1,117 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: $lightdm_bg_color; + background-image: none; + color: $white; + font-weight: bold; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + menubar { + padding-left: $spacing; + + &, > menuitem { + background-color: transparent; + background-image: none; + border-style: none; + color: $white; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + &:hover { + background-color: alpha($white, .2); + background-image: none; + color: $white; + } + + *:hover { color: $white; } + + &:disabled { color: alpha($white, .7); } + } + + menu > menuitem { font-weight: normal; } + } + } + + #content_frame { padding-bottom: $spacing * 3; } + + #login_window, #shutdown_dialog, #restart_dialog { + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + + @extend %panelbutton; + } + + #login_window { + menu { border-radius: 0; } + + button { @include button($lightdm_bg_color, $lightdm_fg_color); } + + entry { @include entry($lightdm_bg_color, $lightdm_fg_color); } + } + + #user_combobox { + color: $lightdm_fg_color; + font-size: 18px; + + menu { font-weight: normal; } + + arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: $spacing * 2; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + /* shutdown button */ + #shutdown_button { + button { @include button($error_bg_color, $error_fg_color); } + } + + /* restart button */ + #restart_button { + button { @include button($warning_bg_color, $warning_fg_color); } + } + + /* password warning */ + #greeter_infobar { font-weight: bold; } +} diff --git a/src/gtk-3.20/scss/apps/_mate-applications.scss b/src/gtk-3.20/scss/apps/_mate-applications.scss new file mode 100644 index 0000000..87e76a0 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_mate-applications.scss @@ -0,0 +1,86 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + #PanelApplet label, + .mate-panel-menu-bar menubar > menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + #PanelApplet button, + #PanelApplet button.flat, + #PanelApplet button.toggle + #PanelApplet button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover:active, + #PanelApplet button:checked, + #PanelApplet button:checked:hover, + #PanelApplet button.flat:hover:active, + #PanelApplet button.flat:checked, + #PanelApplet button.flat:checked:hover, + #PanelApplet button.toggle:hover:active, + #PanelApplet button.toggle:checked, + #PanelApplet button.toggle:checked:hover, + #PanelApplet button.flat.toggle:hover:active, + #PanelApplet button.flat.toggle:checked, + #PanelApplet button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover, + #PanelApplet button.flat:hover, + #PanelApplet button.toggle:hover, + #PanelApplet button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } + + .mate-panel-menu-bar menubar > menuitem { + padding: 3px 7px; + } +} diff --git a/src/gtk-3.20/scss/apps/_nautilus.scss b/src/gtk-3.20/scss/apps/_nautilus.scss new file mode 100644 index 0000000..1b51e55 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_nautilus.scss @@ -0,0 +1,92 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop, .nautilus-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nautilus-window { + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar { + border: 0; + + frame { border: 0; } + } + + notebook { + background-color: $base_color; + border: 0; + + frame { border: 0; } + } + + .searchbar-container { + margin-top: -1px; + + searchbar { + padding-top: $spacing - 3px; + padding-bottom: $spacing - 2px; + border-bottom: 1px solid $borders_color; + } + } + } + + button.nautilus-circular-button.image-button { + @extend button.circular; + } + + $disk_space_unknown: alpha($fg_color, .5); + $disk_space_used: alpha($selected_bg_color, .8); + $disk_space_free: shade($bg_color, .95); + + .disk-space-display { + border-style: solid; + border-width: 1px; + + &.unknown { + background-color: $disk_space_unknown; + border-color: shade($disk_space_unknown, .9); + } + + &.used { + background-color: $disk_space_used; + border-color: shade($disk_space_used, .9); + } + + &.free { + background-color: $disk_space_free; + border-color: shade($disk_space_free, .9); + } + } + + // Batch renaming dialog + .conflict-row.activatable { + &, &:active { + color: $error_fg_color; + background-color: $error_color; + } + + &:hover { background-color: shade($error_color, 1.1); } + + &:selected { + color: $selected_fg_color; + background-color: $selected_bg_color; + } + } +} diff --git a/src/gtk-3.20/scss/apps/_nemo.scss b/src/gtk-3.20/scss/apps/_nemo.scss new file mode 100644 index 0000000..e2fe671 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_nemo.scss @@ -0,0 +1,174 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop, .nemo-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nemo-window { + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + + button { + @include button($bg_color, $fg_color); + } + + .linked > button { @include linked_button($bg_color); } + + separator, separator:disabled { + color: shade($bg_color, ($contrast + .1)); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + + &.primary-toolbar button.image-button { + padding: 0 ($spacing + 5px); + } + + combobox, button { + padding: $spacing; + + &.text-button { padding: $spacing; } + + &.image-button { padding: $spacing; } + } + + /* Path Bar */ + toolitem stack { + margin-left: 15px; + + widget button { + @include linked_button($toolbar_bg_color); + -NemoPathbarButton-border-radius: $roundness; + } + } + } // END toolbar + + /* Status Bar */ + grid { + > widget:last-child { + button { + min-height: 16px; + min-width: 16px; + padding: ($spacing - 1px) (($spacing * 2) - 2px); + } + + button:first-child { + margin-left: 20px; + } + + button:first-child + button { + margin-right: 15px; + } + + button:first-child + button + separator + button { + margin-left: 15px; + } + + > box > scale { + margin-right: 12px; + } + + statusbar { + border: 0; + } + } + } // END Status Bar + + .sidebar { + .frame { + border: 0; + } + + image { + padding-left: $spacing; + padding-right: $spacing; + } + + .nemo-places-sidebar { + &, & .view { + background-color: mix($bg_color, $base_color, .5); + } + + .view { + -NemoPlacesTreeView-disk-full-bg-color: shade($bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 2px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 0; + -NemoPlacesTreeView-disk-full-max-length: 75px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + + &:focus, & { + @extend %selected_items; + } + } + } + } + + /* Nemo Query Editor (File Search Bar) */ + + separator + box .primary-toolbar { + @include linear-gradient(shade($bg_color, .98)); // Searchbar color (_actionbar.scss) + + padding-top: $spacing - 3px; + padding-bottom: $spacing - 3px; + border-bottom: 1px solid $borders_color; + + button:nth-child(2) { + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + button:nth-child(3) { + margin-left: -6px; + border-left: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + button.flat { + $bg: $bg_color; + $fg: $fg_color; + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg); + + @extend %button; + @include linear-gradient($button_bg); + @include border(rgba(0, 0, 0, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + padding: 5px 6px; + } + } // END Nemo Query Editor + } // END .sidebar + + notebook { + background-color: $base_color; + border-width: 0; + + tabs { + border: 0; + } + } + } +} diff --git a/src/gtk-3.20/scss/apps/_panel.scss b/src/gtk-3.20/scss/apps/_panel.scss new file mode 100644 index 0000000..814a450 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_panel.scss @@ -0,0 +1,91 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panellabel { + font-weight: normal; + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + panel-plug, + panel-toplevel.background { + @extend %panel; + + padding: 0; + } + + .gp-text-color { + color: $black; + } + + #clock-applet-button { &, &:backdrop { @extend %panelbutton; } } + + panel-applet { + border: 0; + + button { + &, &:backdrop { @extend %panelbutton; } + } + } + + clock-box, + panel-applet > menubar, + panel-toplevel .gnome-panel-menu-bar { + &, &:backdrop { + @extend %panel; + + menuitem { + @extend %panel; + + border: 0; + + label { @extend %panellabel; } + } + } + } + + gp-calendar-window, + #tasklist-button, + #clock-applet-button, + #showdesktop-button { + label { @extend %panellabel; } + } + + wnck-pager, wnck-tasklist { @extend %panel; } +} diff --git a/src/gtk-3.20/scss/apps/_synaptic.scss b/src/gtk-3.20/scss/apps/_synaptic.scss new file mode 100644 index 0000000..c19b78e --- /dev/null +++ b/src/gtk-3.20/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/src/gtk-3.20/scss/apps/_unity-greeter.scss b/src/gtk-3.20/scss/apps/_unity-greeter.scss new file mode 100644 index 0000000..70f5c3a --- /dev/null +++ b/src/gtk-3.20/scss/apps/_unity-greeter.scss @@ -0,0 +1,105 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + %lightdm-button { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: ($roundness * 2) + 1px; + padding: $spacing; + color: $white; + } + + .lightdm { + &.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: $roundness * 2; + padding: 1px; + + color: $white; + + .menuitem { *, &.check:active, &.radio:active { color: $white; } } + } + + &.menubar { *, &.menuitem { padding: $spacing - 3px; } } + + &.option-button { + padding: $spacing; + background: none; + border: 0; + } + + &.toggle-button { + background: none; + border-width: 0; + + &.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + + &:hover { background-color: fade-out($white, .7); } + } + } + + &.button { + @extend %lightdm-button; + + &:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + text-shadow: none; + } + } + + &.entry, &.button:active, &.button:active:focus, &.button:focus { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: ($roundness * 2) + 1px; + padding: $spacing + 2px; + color: $white; + text-shadow: none; + } + + &.entry { + &:hover, &:active, &:active:focus { + background-image: none; + border-image: none; + } + + &:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + &:focus { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + + &:selected { background-color: fade-out($white, .8); } + } + } + + .lightdm-combo { + &.combobox-entry .button, .cell, .button, .entry { @extend %lightdm-button; } + + &.menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + } +} diff --git a/src/gtk-3.20/scss/apps/_unity.scss b/src/gtk-3.20/scss/apps/_unity.scss new file mode 100644 index 0000000..8a37aa1 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_unity.scss @@ -0,0 +1,70 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 24px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + .top { + border: 1px solid $wm_border_focused; + border-bottom: 0; + border-radius: $roundness $roundness 0 0; + padding: 1px ($spacing + 3px) 0 ($spacing + 3px); + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + text-shadow: none; + + &:backdrop { + border: 1px solid $wm_border_unfocused; + color: mix($titlebar_fg_color, $titlebar_bg_color, .4); + } + } + + .left, .right, .bottom { + background-color: $titlebar_bg_color; + + &:backdrop { background-color: mix(shade($titlebar_bg_color, .7), $titlebar_fg_color, .21); } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} diff --git a/src/gtk-3.20/scss/apps/_xfce.scss b/src/gtk-3.20/scss/apps/_xfce.scss new file mode 100644 index 0000000..4300474 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_xfce.scss @@ -0,0 +1,30 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + .XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: inherit; + + button { @extend %panelbutton; } + + menu { + -gtk-icon-effect: none; + + text-shadow: none; + } + } +} diff --git a/src/gtk-3.20/scss/gtk-dark.scss b/src/gtk-3.20/scss/gtk-dark.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/src/gtk-3.20/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/src/gtk-3.20/scss/gtk.scss b/src/gtk-3.20/scss/gtk.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/src/gtk-3.20/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/src/gtk-3.20/scss/widgets/_actionbar.scss b/src/gtk-3.20/scss/widgets/_actionbar.scss new file mode 100644 index 0000000..3c6aa02 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_actionbar.scss @@ -0,0 +1,99 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + actionbar > revealer > box { + padding: $spacing; + border-top: 1px solid $borders_color; + + &:backdrop { border-color: $backdrop_borders_color; } + } +} + + +/**************************** + ! Search and Location bars * +*****************************/ + +@include exports("searchbar") { + searchbar, + .location-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error-color + ); + + @each $type, $color in $types { + .#{$type}-action { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** + ! Selection mode * +*******************/ + +@include exports("selectionmode") { + headerbar, + .titlebar:not(headerbar) { + &.selection-mode { + @include toolbar($selected_bg_color, $selected_fg_color); + + button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action; } + } + + &:backdrop { + background-color: $backdrop_selected_bg_color; + background-image: none; + } + + .selection-menu { + &:backdrop, & { + color: shade($selected_bg_color, $contrast); + background-color: transparent; + background-image: none; + box-shadow: none; + border: 0; + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + + .arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + color: transparentize($selected_fg_color, .5); + -gtk-icon-shadow: none; + } + } + } + + .dim-label { + &, .selection-menu & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_base.scss b/src/gtk-3.20/scss/widgets/_base.scss new file mode 100644 index 0000000..db5e469 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_base.scss @@ -0,0 +1,131 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: 1px; + outline-offset: -1px; + -gtk-outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkIMHtml-hyperlink-color: $link_color; + + &:selected { @extend %selected; } + + &:disabled, + &:disabled:disabled { color: mix($fg_color, $bg_color, .5); } + + &:disabled, &:disabled { -gtk-icon-effect: dim; } + + &:hover { -gtk-icon-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + -gtk-icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:hover { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:disabled { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +image, label, box, grid { + &, &:disabled { background-color: transparent; } +} + +label { + &.separator { + @extend .dim-label; + + color: $fg_color; + + &:backdrop { color: $backdrop_fg_color; } + } + + row:selected &, + &:selected { @extend %nobg_selected_items; } + + selection { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:disabled { + color: $insensitive_fg_color; + + selection { @extend %selected_items:disabled; } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &:backdrop { + color: $backdrop_fg_color; + + selection { @extend %selected_items:backdrop; } + } +} + +assistant { + .sidebar { + background-color: $base_color; + border-top: 1px solid $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + } + + &.csd .sidebar { border-top-style: none; } + + .sidebar label { padding: $spacing ($spacing * 2); } + + .sidebar label.highlight { background-color: mix($fg_color, $bg_color, .8); } +} diff --git a/src/gtk-3.20/scss/widgets/_button.scss b/src/gtk-3.20/scss/widgets/_button.scss new file mode 100644 index 0000000..8ebdca2 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_button.scss @@ -0,0 +1,559 @@ +/********* + ! Buttons +**********/ + +@include exports("button_extends") { + // stuff for .needs-attention + $_dot_color: if($variant == 'light', $selected_bg_color, lighten($selected_bg_color, .15)); + + @keyframes needs_attention { + from { + background-image: -gtk-gradient(radial, center center, 0, center center, .01, to($_dot_color), to(transparent)); + } + + to { + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($selected_bg_color), to(transparent)); + } + } + + %needs_attention { + animation: needs_attention 150ms ease-in; + $_dot_shadow: _text_shadow_color(); + $_dot_shadow_r: if($variant == 'light', .5, .45); + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($_dot_color), to(transparent)), + -gtk-gradient(radial, center center, 0, center center, $_dot_shadow_r, to($_dot_shadow), to(transparent)); + background-size: 6px 6px, 6px 6px; + background-repeat: no-repeat; + + @if $variant == 'light' { + background-position: right 3px, right 4px; + } @else { + background-position: right 3px, right 2px; + } + + &:backdrop { background-size: 6px 6px, 0 0; } + + &:dir(rtl) { + @if $variant == 'light' { + background-position: left 3px, left 4px; + } @else { + background-position: left 3px, left 2px; + } + } + } + + %button { + min-height: 14px + $spacing * 2; + min-width: 14px + $spacing * 2; + padding: $spacing ($spacing + 2px); + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: 150ms ease; + outline-color: transparent; + } + + %undecorated_button { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + %linked_middle { + border-radius: 0; + border-left-style: none; + border-right-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_middle:dir(rtl) + border-right-style: none; + border-left-style: solid; + } + } + + %linked_vertical_middle { + border-radius: 0; + border-top-style: none; + border-bottom-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_vertical_middle:dir(rtl) + border-top-style: none; + border-bottom-style: solid; + } + } + + %linked_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-right-style: none; + border-left-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: solid; + border-right-style: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-left-style: none; + border-right-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: none; + border-right-style: solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + + &:dir(rtl) { + border-left-style: solid; + border-right-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + } + + &:only-child { + border-radius: $roundness; + } + } + + %linked_vertical_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-top-style: none; + border-bottom-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-top-style: solid; + border-bottom-style: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-top-style: none; + border-bottom-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-top-style: none; + border-bottom-style: solid; + border-top-left-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-top-style: solid; + border-bottom-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + } + + &:only-child { + border-radius: $roundness; + } + } +} + +@mixin linked_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset -1px 0 border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin linked_vertical_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_vertical_button; + + box-shadow: inset 0 -1px border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset 0 -1px border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset 0 -1px border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 1px 0 alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset 0 -1px shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin button($bg, $fg) { + $border_strength: if(lightness($fg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: $bg; + + @extend %button; + @include linear-gradient($button_bg); + @include border(alpha($fg, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + + &.flat { + //color: mix($bg, $fg, .2); + color: $fg; + border-color: alpha($button_bg, 0); + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + + &:hover { + @include linear-gradient(shade($bg, 1.05)); + @include border(alpha($fg, .20 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .22 + $shadow_strength); + } + + &:focus { + @include linear-gradient(shade($bg, 1.05)); + @include border(alpha($fg, .20 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + &:hover { + @include linear-gradient(shade($bg, 1.1)); + @include border(alpha($fg, .20 + $border_strength)); + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .38 + $shadow_strength); + } + } + + &:checked, &:active { + /*@include linear-gradient(shade($bg, .7), to top);*/ + @include linear-gradient($selected_bg_color, to top); + + color: $selected_fg_color; + box-shadow: inset 1px 0 alpha($fg, .06), + inset 0 1px alpha($fg, .07), + inset -1px 0 alpha($fg, .06), + inset 0 -1px alpha($fg, .05); + @include border(alpha($fg, .12 + $border_strength)); + + &:focus, &:hover { + /*@include linear-gradient(shade($bg, .65), to top);*/ + @include linear-gradient(shade($selected_bg_color, 1.05), to top); + + color: $selected_fg_color; + } + } + + &:focus, &:hover { color: $fg; } + + &:disabled:disabled { + @include linear-gradient(alpha(mix($bg, $fg, .2), .4)); + /*border: 1px solid alpha($bg, .2);*/ + opacity: .4; + + color: mix($bg, $fg, .5); + box-shadow: none; + } + + &:active:disabled, &:checked:disabled { + @include linear-gradient(alpha($selected_bg_color, .6)); + + color: $selected_fg_color; + box-shadow: none; + } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: alpha($bg, ($contrast + .1)); + + &:disabled { color: alpha($bg, .85); } + } +} + +@include exports("button") { + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($bg_color, .3); + background-color: alpha($fg_color, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($selected_bg_color, .3); + background-color: alpha($selected_fg_color, .1); + background-image: none; + box-shadow: none; + } + } + + button { + @include button($button_bg_color, $button_fg_color); + + + .inline-toolbar &, + .linked > & { @include linked_button($button_bg_color); } + + .linked.vertical > & { @include linked_vertical_button($button_bg_color); } + + &.circular, + &.circular-button { // FIXME: aggregate to buttons + padding: 0; + min-width: 28px; + min-height: 28px; + border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b + -gtk-outline-radius: 9999px; + + label { padding: 0; } + } + } + + spinbutton { + + &:disabled { + opacity: .4; + } + + button { + color: $button_fg_color; + + &:active, &:checked, &:hover { + @include linear-gradient(shade($button_bg_color, 1.2)); + } + + &:disabled { color: mix($button_fg_color, $bg_color, .7); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .9); } + + &:backdrop:disabled { color: alpha($backdrop_insensitive_color, .8); } + } + + &:not(.vertical) { + /*@extend %entry;*/ + @include linear-gradient($base_color, to top); + /*@include border($base_color);*/ + + padding: 0; + border-radius: $roundness; + + color: $text_color; + caret-color: $text_color; + + /*&:focus, &:active { border-color: border_focus($borders_color); }*/ + + &:disabled { + @include linear-gradient(shade($base_color, .9), to top); + + color: mix($base_color, $text_color, .5); + } + + entry { + border-radius: $roundness 0 0 $roundness; + border-right-width: 0; + box-shadow: none; + } + + button { + @extend %linked_middle; + border-radius: 0; + /*border-color: alpha($borders_color, .8);*/ + /*border-style: none none none solid;*/ + background-image: none; + box-shadow: none; + + &:dir(rtl) { border-style: none solid none none; } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop { border-color: alpha($backdrop_borders_color, .8); } + + &:backdrop:disabled { + border-style: none none none solid; // It is needed or it gets overridden + + &:dir(rtl) { border-style: none solid none none; } + } + + &:dir(rtl):first-child { border-radius: $roundness 0 0 $roundness; } + + &:dir(ltr):last-child { border-radius: 0 $roundness $roundness 0; } + } + } + + &.vertical { + button, entry { + min-width: 0; + padding-left: $spacing - 2px; + padding-right: $spacing - 2px; + } + + entry { + // reset all the other props since the spinbutton node is styled here + border-radius: 0; + border-top-width: 0; + border-bottom-width: 0; + } + + button { + &.up { + border-style: solid solid none solid; + border-radius: $roundness $roundness 0 0; + } + + &.down { + border-style: none solid solid solid; + border-radius: 0 0 $roundness $roundness; + } + } + } + } +} + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + combobox { + button.combo { + // otherwise the arrow placement is not symmetric + min-width: 0; + padding-left: $spacing + 2px; + padding-right: $spacing + 2px; + } + + arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + min-height: 16px; + min-width: 16px; + } + + box button, box entry { + @extend %linked_button; + padding: $spacing ($spacing + 2px); + } + + .linked:not(.vertical) > & > box > button.combo { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } + // specificity bump + &:dir(rtl) { @extend %linked_middle:dir(rtl); } + } + + .linked:not(.vertical) > &:first-child > box > button.combo { @extend %linked_button:first-child; } + + .linked:not(.vertical) > &:last-child > box > button.combo { @extend %linked_button:last-child; } + + .linked:not(.vertical) > &:only-child > box > button.combo { @extend %linked_button:only-child; } + + .linked.vertical > & > box > button.combo { @extend %linked_vertical_middle; } + + .linked.vertical > &:first-child > box > button.combo { @extend %linked_vertical_button:first-child; } + + .linked.vertical > &:last-child > box > button.combo { @extend %linked_vertical_button:last-child; } + + .linked.vertical > &:only-child > box > button.combo { @extend %linked_vertical_button:only-child; } + } +} diff --git a/src/gtk-3.20/scss/widgets/_calendar.scss b/src/gtk-3.20/scss/widgets/_calendar.scss new file mode 100644 index 0000000..5f68de3 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_calendar.scss @@ -0,0 +1,73 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + calendar { + padding: 1px 3px; + outline-offset: -1px; + + color: $text_color; + + &.view { + &, &:backdrop { @extend %undecorated_button; } + } + + &:selected { + @extend %selected_items; + + border-radius: $roundness; + } + + &.header { + border-bottom: 1px solid transparentize($black, .9); + border-radius: 0; + + &:backdrop { border-color: transparentize($black, .9); } + } + + &.button { + @extend %undecorated_button; + + color: alpha($fg_color, .55); + + &:hover { + @extend %undecorated_button; + + color: $fg_color; + } + + &:backdrop { + @extend %undecorated_button; + + color: alpha($backdrop_fg_color, .55); + } + + &:disabled { + @extend %undecorated_button; + + color: alpha($insensitive_fg_color, .55); + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($fg_color, $bg_color, .5); } + + &.highlight, + &.highlight:backdrop { + font-size: smaller; + color: $selected_bg_color; + } + + &:backdrop { + color: $backdrop_text_color; + } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/src/gtk-3.20/scss/widgets/_choosers.scss b/src/gtk-3.20/scss/widgets/_choosers.scss new file mode 100644 index 0000000..6741bd8 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_choosers.scss @@ -0,0 +1,181 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + colorswatch { + // This widget is made of two boxes one on top of the other, the lower box is colorswatch {} the other one + // is colorswatch overlay {}, colorswatch has the programmatically set background, so most of the style is + // applied to the overlay box. + + &:drop(active), & { border-style: none; } // FIXME: implement a proper drop(active) state + + $_colorswatch_radius: $roundness; + + // base color corners rounding + // to avoid the artifacts caused by rounded corner anti-aliasing the base color + // sports a bigger radius. + // nth-child is needed by the custom color strip. + + &.top { + border-top-left-radius: $_colorswatch_radius + .5px; + border-top-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-top-right-radius: $_colorswatch_radius; + } + } + + &.bottom { + border-bottom-left-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-bottom-left-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.left, + &:first-child:not(.top) { + border-top-left-radius: $_colorswatch_radius + .5px; + border-bottom-left-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-bottom-left-radius: $_colorswatch_radius; + } + } + + &.right, + &:last-child:not(.bottom) { + border-top-right-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-right-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.dark overlay { + color: $selected_fg_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .2), $borders_color); } + + &:backdrop { color: $backdrop_selected_fg_color; } + } + + &.light overlay { + color: $text_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .5), $borders_color); } + + &:backdrop { color: $backdrop_text_color; } + } + + &:drop(active) { + box-shadow: none; + + &.light overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', darken($drop_target_color, 7%), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + + &.dark overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', transparentize($black, .7), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + } + + overlay { + border: 1px solid if($variant == 'light', transparentize($black, .7), $borders_color); + + &:hover { + box-shadow: inset 0 1px transparentize($white, .6), + inset 0 -1px transparentize($black, .8); + } + + &:backdrop, + &:backdrop:hover { + border-color: if($variant == 'light', transparentize($black, .7), $borders_color); + box-shadow: none; + } + } + + &:disabled { + opacity: .5; + + overlay { + border-color: transparentize($black, .4); + box-shadow: none; + } + } + + row:selected & { box-shadow: 0 0 0 2px $selected_fg_color; } + + &#add-color-button { + border-radius: $_colorswatch_radius $_colorswatch_radius 0 0; + + &:only-child { border-radius: $_colorswatch_radius; } + + overlay { + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { background-color: shade($bg_color, .9); } + + &:backdrop { background-color: shade($backdrop_bg_color, .95); } + } + } + + &#editor-color-sample { + border-radius: $_colorswatch_radius; + + overlay { border-radius: $_colorswatch_radius + .5px; } + } + } + + button.color { + padding: $spacing; + + colorswatch:only-child { + &, overlay { border-radius: 0; } + + @if $variant == 'light' { box-shadow: 0 1px _text_shadow_color(); } + } + + @if $variant == 'light' { + &:disabled, + &:backdrop, + &:active, + &:checked { colorswatch:only-child { box-shadow: none; } } + } + } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + filechooser { + /* for fallback when header bar not used */ + .dialog-action-box { + border-top: 1px solid $borders_color; + + &:backdrop { border-top-color: $backdrop_borders_color; } + } + + #pathbarbox { border-bottom: 1px solid $bg_color; } + } + + filechooserbutton:drop(active) { + box-shadow: none; + border-color: transparent; + } +} diff --git a/src/gtk-3.20/scss/widgets/_entry.scss b/src/gtk-3.20/scss/widgets/_entry.scss new file mode 100644 index 0000000..2fd759a --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_entry.scss @@ -0,0 +1,180 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-left-width: 0; + border-right-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:dir(rtl) { + border-left-width: 1px; + border-right-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%linked_vertical_entry { + border-width: 1px; + border-radius: 0; + border-top-width: 0; + border-bottom-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 1px; + border-bottom-width: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-top-width: 0; + border-bottom-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 0; + border-bottom-width: 1px; + border-top-left-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-top-width: 1px; + border-bottom-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%entry { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: border 150ms ease; + box-shadow: inset 1px 1px alpha($dark_shadow, .06), + inset -1px 0 alpha($dark_shadow, .06); + + &:focus, &:hover, &:active { transition: none; } + + &:selected { + &, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + &:disabled { box-shadow: none; } + + progress { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + image.left { padding-right: $spacing; } + + image.right { padding-left: $spacing; } + + selection { @extend %selected_items; } + + // entry error and warning style + @each $e_type, $e_color, $e_fg_color in (warning, $warning_bg_color, $warning_fg_color), + (error, $error_bg_color, $error_fg_color), + // entry.search-missing for Gnome-Builder + (search-missing, $error_bg_color, $error_fg_color) { + &.#{$e_type} { + color: $e_fg_color; + border-color: border_normal($e_color); + background-color: mix($base_color, $e_color, .6); + + image { color: $e_fg_color; } + + &:focus { + color: $e_fg_color; + border-color: border_focus($e_color); + background-color: $e_color; + box-shadow: none; + } + + selection { + background-color: $e_fg_color; + color: $e_color; + } + } + } +} + +@mixin entry($bg, $fg, $border: $borders_color) { + @extend %entry; + @include linear-gradient($bg, to top); + @include border(mix($bg, $fg, .20)); + + padding: $spacing; + + color: $fg; + caret-color: $fg; + + &:focus, &:active { border-color: border_focus($border); } + + &:disabled { + @include linear-gradient(shade($bg, .9), to top); + @include border(alpha(mix($bg, $fg, .20), .4)); + /*@include border(mix($bg, $fg, .20));*/ + /*border-color: alpha(mix($bg, $fg, .15), .8);*/ + /*opacity: .8;*/ + + color: mix($bg, $fg, .5); + } +} + +@include exports("entry") { + entry { + @include entry($base_color, $text_color); + + .linked:not(.vertical) > & { @extend %linked_entry; } + + .linked.vertical > & { @extend %linked_vertical_entry; } + } +} diff --git a/src/gtk-3.20/scss/widgets/_grid.scss b/src/gtk-3.20/scss/widgets/_grid.scss new file mode 100644 index 0000000..7a16dca --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_grid.scss @@ -0,0 +1,63 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + list { + color: $text_color; + background-color: $base_color; + border-color: $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + + row { padding: $spacing; } + } + + row { + transition: all 150ms cubic-bezier(.25, .46, .45, .94); + + &:hover { transition: none; } + + &:backdrop { transition: 200ms ease-out; } + + &.activatable { + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + + &:hover { background-color: if(variant == light, transparentize($fg_color, .9), transparentize($fg_color, .95)); } + + &:active { box-shadow: inset 0 2px 2px -2px transparentize($black, .8); } + + &:backdrop:hover { background-color: transparent; } + + &:selected { + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .5); } + + &.has-open-popup, + &:hover { background-color: mix($selected_bg_color, $fg_color, .1); } + + &:backdrop { background-color: $selected_bg_color; } + } + } + + &:selected { @extend %selected_items; } + } + + flowbox { + rubberband { @extend rubberband; } + + flowboxchild { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected_items; + + outline-offset: -2px; + } + } + } +} + diff --git a/src/gtk-3.20/scss/widgets/_infobar.scss b/src/gtk-3.20/scss/widgets/_infobar.scss new file mode 100644 index 0000000..bf82db2 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_infobar.scss @@ -0,0 +1,41 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + infobar { + border: 0; + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + &.#{$type} { + &, &:backdrop { // Backdrop button fix: https://github.com/numixproject/numix-gtk-theme/issues/544 + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + caret-color: currentColor; + + label, & { color: $fg_color; } + } + + button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_menu.scss b/src/gtk-3.20/scss/widgets/_menu.scss new file mode 100644 index 0000000..db051b4 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_menu.scss @@ -0,0 +1,316 @@ +@import "entry"; + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + menubar, .menubar { + -GtkWidget-window-dragging: true; + + padding: 0; + border: 0; + background-color: $menubar_bg_color; + background-image: none; + //box-shadow: inset 0 -1px shade($menubar_bg_color, .9); + color: $menubar_fg_color; + + > menuitem { + min-height: 16px; + padding: ($spacing - 1px) ($spacing - 1px) * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + menu, + .menu, + .context-menu { + border: 0; + border-radius: 0; + padding: $spacing; + background-color: $menu_bg_color; + color: $menu_fg_color; + + .csd & { border: 0; } // axes borders in a composited env + + &:selected { background-color: $selected_bg_color; } + + // A little hack to get some extra space above/below menuitem separators + separator, + .csd & separator { + background-color: shade($menu_bg_color, ($contrast + .1)); + margin: ($spacing - 2px) 0; + } + + // Firefox workaround + .separator, + .csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); } + + menuitem { + min-height: 16px; + min-width: 40px; + padding: $spacing; + border-radius: 0; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + + *:active, *:hover { color: $selected_fg_color; } + + &:disabled, *:disabled { color: mix($menu_fg_color, $menu_bg_color, .5); } + + // submenu indicators + arrow { + min-height: 16px; + min-width: 16px; + + &:dir(ltr) { + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + margin-left: 10px; + } + + &:dir(rtl) { + -gtk-icon-source:-gtk-icontheme('pan-end-symbolic-rtl'); + margin-right: 10px; + } + } + + &.button, &.button.flat { + &, &:focus, &:active, &:disabled, &:active:disabled { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + calendar { + color: $menu_fg_color; + + &.header { + border-bottom: 1px solid shade($menu_bg_color, ($contrast + .1)); + border-radius: 0; + + &:backdrop { border-color: shade($menu_bg_color, ($contrast + .1)); } + } + + &.button { + @extend %undecorated_button; + + color: alpha($menu_fg_color, .55); + + &:hover { + @extend %undecorated_button; + + color: $menu_fg_color; + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($menu_fg_color, $menu_bg_color, .5); } + } + + // avoids labels color being overridden, see + // https://bugzilla.gnome.org/show_bug.cgi?id=767058 + label { &:dir(rtl), &:dir(ltr) { color: inherit; } } + } + + // overflow arrows + > arrow { + //@include button(undecorated); + + min-height: 16px; + min-width: 16px; + padding: $spacing; + background-color: $menu_bg_color; + border-radius: 0; + + &.top { + margin-top: -6px; + border-bottom: 1px solid mix($fg_color, $base_color, .1); + -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); + } + + &.bottom { + margin-bottom: -6px; + border-top: 1px solid mix($fg_color, $base_color, .1); + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + } + + &:hover { background-color: mix($fg_color, $base_color, .1); } + + &:backdrop { background-color: $backdrop_menu_color; } + + &:disabled { + color: transparent; + background-color: transparent; + border-color: transparent; + } + } + } + + .context-menu { font: initial; } // Decouple the font of context menus from their entry/textview + + .monospace { font-family: monospace; } + + menuitem { + accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:disabled { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + check, radio { + min-height: 16px; + min-width: 16px; + + &:dir(ltr) { margin-right: 7px; } + &:dir(rtl) { margin-left: 7px; } + } + + window decoration { + box-shadow: 0 2px 3px alpha($black, .2); + } + + entry { @include entry($menu_bg_color, $menu_fg_color); } + } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + popover.background { + padding: $spacing; + border-radius: $roundness; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + .csd &, & { + /*@include border($menu_bg_color);*/ + @include border(alpha($menu_fg_color, .5)); + border-width: 1px; + border-style: solid; + } + + &:backdrop { box-shadow: none; } + + treeview.view { + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &, &:backdrop { border-top-color: shade($menu_bg_color, ($contrast + .4)); } + } + + view, .view, list { + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &, &:backdrop { + background-color: shade($menu_bg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + border-color: border_normal($menu_bg_color); + } + } + + list row { + &, & .button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal($menu_bg_color); + border-radius: $roundness; + } + + entry { @include entry($base_color, $text_color); } + + button { @include button($header_button_bg_color, $header_button_fg_color); } + + > list, > .view, > toolbar { + border-style: none; + background-color: transparent; + } + } + + modelbutton.flat, + menuitem.button.flat { + padding: $spacing ($spacing + 2px); + outline-color: transparent; + transition: none; + + @extend %undecorated_button; + + &:hover { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:active, &:selected { &, arrow { @extend %selected_items; } } + + &:checked { color: $fg_color; } + + arrow { + &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } + + &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } + } + + // FIXME: temporary workaround + check:last-child, + radio:last-child { margin-left: 8px; } + + check:first-child, + radio:first-child { margin-right: 8px; } + } +} diff --git a/src/gtk-3.20/scss/widgets/_misc.scss b/src/gtk-3.20/scss/widgets/_misc.scss new file mode 100644 index 0000000..f6fb37c --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_misc.scss @@ -0,0 +1,320 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip, // Firefox fix + tooltip { + &.background { + &, &.csd { + background-color: $tooltip_bg_color; + background-clip: padding-box; + border: 1px solid border_normal($tooltip_bg_color); + border-radius: $roundness; + color: $tooltip_fg_color; + } + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + messagedialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: 0; + -GtkDialog-action-area-border: $spacing; + -GtkDialog-button-spacing: 0; + + margin: 0; + padding: 0; + } + + printdialog { + paper { + color: $fg_color; + border: 1px solid $borders_color; + background: $white; + padding: 0; + + &:backdrop { + color: $backdrop_fg_color; + border-color: $backdrop_borders_color; + } + } + + .dialog-action-box { margin: $spacing * 2; } + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + frame.app-notification { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + button { + @include button($osd_bg, $osd_fg); + } + + border { + border: 0; + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + expander { + arrow { + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } + + &:hover { color: alpha(currentColor, .8); } //only lightens the arrow + + &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + button { + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + // Base code: https://github.com/GNOME/gnome-bluetooth/blob/a93575c4b590e2b831da32f739294bb2f197d420/lib/bluetooth-settings.css + entry.entry.pin-entry { + font-style: normal; + font-size: 50px; + padding-left: $spacing * 5; + padding-right: $spacing * 5; + } + + label.pin-label { + font-style: normal; + font-size: 50px; + } +} + + +/************************ + ! Shortcut window keys * +*************************/ + +@include exports("keycap") { + // shortcut window keys + .keycap { + min-width: 20px; + min-height: 24px; + margin-top: 2px; + padding-bottom: $spacing / 2; + padding-left: $spacing; + padding-right: $spacing; + + color: $fg_color; + background-color: $base_color; + border: 1px solid; + border-color: if($variant == 'light', mix($borders_color, $bg_color, .5), $borders_color); + border-radius: $roundness; + box-shadow: if($variant == 'light', inset 0 -3px mix($base_color, $bg_color, .2), inset 0 -3px mix($borders_color, $base_color, .6)); + font-size: smaller; + + &:backdrop { + background-color: $backdrop_base_color; + color: $backdrop_fg_color; + transition: 200ms ease-out; + } + } +} + + +/***************** + ! Stackswitcher * +******************/ + +@include exports("stackswitcher") { + stackswitcher button { + &.text-button { min-width: 80px; } // FIXME aggregate with buttons + + &.circular { // FIXME aggregate with buttons + min-width: 28px; + min-height: 28px; + padding: 0; + } + } +} + + +/******************* + ! Selected Items * +********************/ + +@include exports("selected_items") { + %selected_items { + background-color: $selected_bg_color; + + @at-root %nobg_selected_items, & { + color: $selected_fg_color; + + @if $variant == 'light' { outline-color: transparentize($selected_fg_color, .7); } + + &:disabled { color: mix($selected_fg_color, $selected_bg_color, .5); } + + &:backdrop { + background-color: $backdrop_selected_bg_color; // Fixed Issue #430 + color: $backdrop_selected_fg_color; + + &:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_notebook.scss b/src/gtk-3.20/scss/widgets/_notebook.scss new file mode 100644 index 0000000..61d66df --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_notebook.scss @@ -0,0 +1,149 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + +notebook { + padding: 0; + + &.frame { + border: 1px solid $borders_color; + + > header { + // ugly hack to hide the borders around the header + margin: -1px; + &.top { margin-bottom: 0; } + &.bottom { margin-top: 0; } + &.left { margin-right: 0; } + &.right { margin-left: 0; } + + &.top, &.bottom { padding-left: 0; padding-right: 0; } + &.left, &.right { padding-top: 0; padding-bottom: 0; } + } + } + + > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks + background-color: $bg_color; + } + + > header { + padding: 2px; + background-color: $bg_color; + + &.top { box-shadow: inset 0 -1px $borders_color; } + &.bottom { box-shadow: inset 0 1px $borders_color; } + &.right { box-shadow: inset 1px 0 $borders_color; } + &.left { box-shadow: inset -1px 0 $borders_color; } + + @each $_pos, $_bpos in (top, bottom), (bottom, top), (right, left), (left, right) { + // sizing and borders + &.#{$_pos} { + padding-#{$_bpos}: 0; + + > tabs > tab { + padding: 2px 10px; + min-width: 20px; + min-height: 20px; + + outline-offset: -4px; + + border: 1px solid transparent; + border-#{$_bpos}: none; + border-#{$_pos}-width: 3px; + + &:checked { + border-#{$_pos}-color: $selected_bg_color; + } + + // tab overlap + + tab { + @if $_pos==top or $_pos==bottom { margin-left: -1px; } + @else { margin-top: -1px; } + } + + + // tab border radius + @if $_pos==top { border-radius: 1px 1px 0 0; } + @else if $_pos==bottom { border-radius: 0 0 1px 1px; } + @else if $_pos==left { border-radius: 1px 0 0 1px; } + @else if $_pos==right { border-radius: 0 1px 1px 0; } + } + } + } + // overflow arrows + &.top, &.bottom { + > tabs > arrow.up { + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + &:last-child { margin-left: 2px; } + } + > tabs > arrow.down { + -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); + &:first-child { margin-right: 2px; } + } + } + &.left, &.right { + > tabs > arrow.up { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + &:last-child { margin-top: 2px; } + } + > tabs > arrow.down { + -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); + &:first-child { margin-bottom: 2px; } + } + } + > tabs > arrow { + @extend %close_button; + color: $insensitive_fg_color; + + &:hover { color: mix($fg_color, $insensitive_fg_color, 0.5); } + &:active { color: $fg_color; } + &:disabled { color: alpha($insensitive_fg_color,0.3); } + } + + // tab colors + + &.top > tabs > tab:hover:not(:checked) { box-shadow: inset 0 -1px $borders_color; } + &.bottom > tabs > tab:hover:not(:checked) { box-shadow: inset 0 1px $borders_color; } + &.left > tabs > tab:hover:not(:checked) { box-shadow: inset -1px 0 $borders_color; } + &.right > tabs > tab:hover:not(:checked) { box-shadow: inset 1px 0 $borders_color; } + + > tabs > tab { + color: alpha($fg_color, 0.8); + background-color: alpha(mix($bg_color, $fg_color, .1), 0.7); + + &:hover:not(:checked) { + color: mix($fg_color, $insensitive_fg_color, 0.5); + background-color: transparentize($base_color, 0.5); + border-color: $borders_color; + } + &:checked { + border-color: $borders_color; + color: $fg_color; + background-color: $bg_color; + } + // close button + button.flat { + min-height: 22px; + min-width: 16px; + padding: 0; + color: mix($bg_color, $fg_color, 0.35); + + &:hover { + @extend %undecorated_button; + color: lighten(red, 15%); + } + &:active, &:active:hover { + @extend %undecorated_button; + color: $selected_bg_color; + } + } + } + + } +} + +} diff --git a/src/gtk-3.20/scss/widgets/_osd.scss b/src/gtk-3.20/scss/widgets/_osd.scss new file mode 100644 index 0000000..8a4d8d2 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_osd.scss @@ -0,0 +1,268 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + overlay.osd { background-color: transparent; } + + colorchooser .popover.osd { border-radius: $roundness; } + + button.color { + .osd colorswatch:only-child { box-shadow: none; } + + @if $variant == 'light' { + .osd & { + &:disabled, + &:backdrop, + &:active, + &:checked { colorswatch:only-child { box-shadow: none; } } + } + } + } + + button.osd, + #XfceNotifyWindow button { + @include button($osd_bg, $osd_fg); + + &.image-button { + padding: 0; + min-height: 36px; + min-width: 36px; + } + } + + // stand-alone OSD toolbars + toolbar.osd { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + separator { color: shade($osd_bg, ($contrast + .1)); } + + &.left, + &.right, + &.top, + &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + } + + progressbar.osd { // progressbar.osd used for epiphany page loading progress + margin: 2px; + min-height: 2px; + min-width: 2px; + + trough { + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + progress { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } + + .osd, + #XfceNotifyWindow { + background-color: $osd_bg; + color: $osd_fg; + + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + .frame { + background-clip: border-box; + background-origin: border-box; + } + + button { @include button($osd_bg, $osd_fg); } + + entry { @include entry($osd_base, $osd_text_color, $osd_borders_color); } + + /* used by gnome-settings-daemon's media-keys OSD */ + trough, + &.trough { + background-color: alpha($osd_fg, .3); + } + + progressbar, + &.progressbar { + background-color: $osd_fg; + } + + // Old GTK 3.0 code + scale { + slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border($osd_bg); + + &:disabled { @include linear-gradient(shade($osd_bg, .9)); } + } + + trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:disabled, &.highlight:disabled { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + // New GTK 3.20 code + scale { + //OSD troughs + trough { + background-color: lighten($osd_bg, 7%); + + highlight { background-color: $selected_bg_color; } + } + + // OSD sliders + slider { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + + &:hover { + background-color: lighten($selected_bg_color, 10%); + border-color: lighten($selected_bg_color, 10%); + } + + &:active { + background-color: darken($selected_bg_color, 10%); + border-color: darken($selected_bg_color, 10%); + } + } + } + + &.view, .view, view { background-color: $osd_bg; } + + scrollbar { + trough { background-color: $osd_bg; } + + slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + iconview.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + + popover.background { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > toolbar button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + spinbutton { + // OSD horizontal + &:not(.vertical) { + @include linear-gradient($osd_base, to top); + @include border($osd_base); + + padding: 0; + + color: $osd_text_color; + caret-color: $osd_text_color; + + &:focus, &:active { border-color: border_focus($osd_borders_color); } + + &:disabled { + @include linear-gradient(shade($osd_base, .9), to top); + + color: mix($osd_base, $osd_text_color, .5); + } + + button { + @include button($osd_bg, $osd_fg); + + border-radius: 0; + border-color: transparentize($osd_borders_color, .3); + border-style: none none none solid; + background-image: none; + box-shadow: none; + + &:dir(rtl) { border-style: none solid none none; } + + &:active, &:checked, &:hover { color: $osd_text_color; } + + &:disabled { color: alpha($osd_insensitive_fg_color, .8); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .9); } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop:disabled { + color: alpha($backdrop_insensitive_color, .8); + + border-style: none none none solid; // It is needed or it gets overridden + + &:dir(rtl) { border-style: none solid none none; } + } + + &:dir(rtl):first-child { border-radius: $roundness 0 0 $roundness; } + + &:dir(ltr):last-child { border-radius: 0 $roundness $roundness 0; } + } + } + + // OSD vertical + &.vertical button:first-child { + @include button($osd_bg, $osd_fg); + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_overshoot.scss b/src/gtk-3.20/scss/widgets/_overshoot.scss new file mode 100644 index 0000000..a46fc07 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_overshoot.scss @@ -0,0 +1,150 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + @if $color == $fg_color { + $_small_gradient_color: shade($borders_color, .9); + $_big_gradient_color: $fg_color; + + @if $type == backdrop { $_small_gradient_color: $backdrop_borders_color; } + } + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + // Disable + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; + border: 0; + box-shadow: none; +} + +scrolledwindow { + viewport.frame { // avoid double borders when viewport inside scrolled window + border-style: none; + } + + // This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. + // This draws a box on top of the content, the size changes programmatically. + overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } + } + + // Overflow indication, works similarly to the overshoot, the size if fixed tho. + undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } + } + + junction { // the small square between two scrollbars + border-color: transparent; + // the border image is used to add the missing dot between the borders, details, details, details... + border-image: linear-gradient(to bottom, $borders_color 1px, transparent 1px) 0 0 0 1 / 0 1px stretch; + background-color: $scrollbar_bg_color; + + &:dir(rtl) { border-image-slice: 0 1 0 0; } + + &:backdrop { + border-image-source: linear-gradient(to bottom, $backdrop_borders_color 1px, transparent 1px); + background-color: $backdrop_scrollbar_bg_color; + transition: 200ms ease-out; + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_progress.scss b/src/gtk-3.20/scss/widgets/_progress.scss new file mode 100644 index 0000000..de095ef --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_progress.scss @@ -0,0 +1,364 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + progressbar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + // sizing + &.horizontal { + trough, + progress { min-height: 6px; } + } + + &.vertical { + trough, + progress { min-width: 6px; } + } + + trough { + border: 1px solid mix($bg_color, $fg_color, .17); + background-color: shade($bg_color, 1.08); + background-image: none; + border-radius: $roundness; + } + + progress { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + levelbar { + &.horizontal block { + min-width: 34px; + min-height: 4px; + } + + &.vertical block { + min-width: 4px; + min-height: 34px; + } + + &:backdrop { transition: 200ms ease-out; } + + trough { + @include linear-gradient(shade($bg_color, 1.08), to top); + + border: 1px solid mix($bg_color, $fg_color, .17); + border-radius: $roundness; + padding: 2px; // make discrete block appear inside levelbar + } + + &.horizontal.discrete block { + margin: 0 1px; + + &:first-child { margin: 0; } + } + + &.vertical.discrete block { + margin: 1px 0; + + &:first-child { margin: 0; } + } + + block { + @include linear-gradient($selected_bg_color); + + border-color: transparent; + border-radius: $roundness; + + &.low { + background-color: $warning_color; + border-color: transparent; + } + + &.high, + &:not(.empty) { + background-color: $success_color; + border-color: transparent; + } + + &.full { + background-color: shade($selected_bg_color, .8); + border-color: transparent; + } + + &.empty { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + scale { + $_marks_length: 3px; + $_marks_distance: 1px; + $button_bg: $button_bg_color; + $ease-out-quad: cubic-bezier(.25, .46, .45, .94); + $button_transition: all 200ms $ease-out-quad; + + min-height: 10px; + min-width: 10px; + padding: $spacing; + + &.horizontal { + trough { padding: 0 3px; } + + highlight, fill { margin: 0 -4px; } + } + + &.vertical { + trough { padding: 3px 0; } + + highlight, fill { margin: -4px 0; } + } + + // The slider is inside the trough, negative margin to make it bigger + slider { + min-height: 15px; + min-width: 15px; + margin: -7px; + } + + // Click-and-hold the slider to activate + &.fine-tune { + // Make the trough grow in fine-tune mode + slider { margin: -7px; } + + highlight { background-color: shade($selected_bg_color, 1.1); } + + fill, + highlight, + trough { + border-radius: 5px; + -gtk-outline-radius: 7px; + } + } + + // Trough + trough { + $_scale_trough_bg: mix($bg_color, $fg_color, .2); + + outline-offset: 2px; + -gtk-outline-radius: 4.5px; + + border-radius: 2.5px; + background-color: $_scale_trough_bg; + + &:disabled { background-color: mix($bg_color, $fg_color, .1); } + + // Troughs in selected list-rows and infobars + menuitem:hover &, + row:selected &, + infobar & { + background-color: transparentize($black, .8); + + highlight { + background-color: $selected_fg_color; + + &:disabled { background-color: mix($selected_fg_color, $selected_bg_color, .55); } + } + + &:disabled { background-color: transparentize($black, .9); } + } + } + + // The colored part of trough + highlight { + border-radius: 2.5px; + background-color: $selected_bg_color; + + &:disabled { background-color: transparentize($selected_bg_color, .45); } + } + + // this is another differently styled part of the trough, the most relevant use case is for example + // in media player to indicate how much video stream as been cached + fill { + border-radius: 2.5px; + background-color: transparentize($selected_bg_color, .5); + + &:disabled { background-color: transparent; } + } + + slider { + $_slider_border: $button_border; + + background-color: $button_bg; + border: 1px solid $_slider_border; + border-radius: 100%; + + transition: $button_transition; + transition-property: background, border; + + &:hover { background-color: lighten($button_bg, 5%); } + + &:active { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + } + + &:disabled { + background-color: mix($button_bg, $bg_color, .55); + border-color: transparentize($_slider_border, .2); + } + + // Selected list-row and infobar sliders + menuitem:hover &, + row:selected &, + infobar & { + background-clip: border-box; + background-color: $selected_fg_color; + border-color: $selected_fg_color; + + &:hover { + background-color: mix($selected_fg_color, $selected_bg_color, .85); + border-color: mix($selected_fg_color, $selected_bg_color, .85); + } + + &:active { + background-color: mix($selected_fg_color, $selected_bg_color, .5); + border-color: mix($selected_fg_color, $selected_bg_color, .5); + } + + &:disabled { + background-color: mix($selected_fg_color, $selected_bg_color, .55); + border-color: mix($selected_fg_color, $selected_bg_color, .55); + } + } + } + + value { color: alpha(currentColor, .4); } + + marks { + color: alpha(currentColor, .4); + + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_distance; + margin-#{$marks_pos}: -($_marks_distance + $_marks_length); + } + } + } + + &.fine-tune marks { + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: ($_marks_distance - 1px); + margin-#{$marks_pos}: -($_marks_distance + $_marks_length - 2px); + } + } + } + + &.horizontal { + indicator { + min-height: $_marks_length; + min-width: 1px; + } + + &.fine-tune indicator { min-height: ($_marks_length - 1px); } + } + + &.vertical { + indicator { + min-height: 1px; + min-width: $_marks_length; + } + + &.fine-tune indicator { min-width: ($_marks_length - 1px); } + } + + &.color { + trough { + padding: 0; + border: 0; + background-image: none; + } + + highlight, fill { margin: 0; } + + &.horizontal { + padding: 0 0 6px 0; + + trough { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-bottom: 0; + margin-top: 0; + } + } + } + + &.vertical { + &:dir(ltr) { + padding: 0 0 0 6px; + + trough { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-left: 0; + margin-right: 0; + } + } + } + + &:dir(rtl) { + padding: 0 6px 0 0; + + trough { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-right: 0; + margin-left: 0; + } + } + } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_scrollbar.scss b/src/gtk-3.20/scss/widgets/_scrollbar.scss new file mode 100644 index 0000000..beff309 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_scrollbar.scss @@ -0,0 +1,134 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + scrollbar { + $_slider_min_length: 40px; + $_slider_normal_width: 7px; + $_slider_small_width: 4px; + + // disable steppers + @at-root * { + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + } + + background-color: $scrollbar_bg_color; + transition: 300ms ease-out; + + // scrollbar border on the content side + &.top { border-bottom: 1px solid $borders_color; } + &.bottom { border-top: 1px solid $borders_color; } + &.left { border-right: 1px solid $borders_color; } + &.right { border-left: 1px solid $borders_color; } + + &:backdrop { + background-color: $backdrop_scrollbar_bg_color; + border-color: $backdrop_borders_color; + transition: 400ms ease-in; + } + + slider { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + border: 1px solid transparent; + border-radius: $roundness; + background-clip: padding-box; + background-color: $scrollbar_slider_color; + + &:hover { background-color: $scrollbar_slider_hover_color; } + &:hover:active { background-color: $scrollbar_slider_active_color; } + &:backdrop { background-color: $backdrop_scrollbar_slider_color; } + &:disabled { background-color: transparent; } + } + + &.horizontal slider { min-width: $_slider_min_length; } + &.vertical slider { min-height: $_slider_min_length; } + + &.fine-tune slider:active { + background-color: lighten($scrollbar_slider_active_color, 10%); + } + + &.overlay-indicator { + opacity: .8; + + &:not(.dragging):not(.hovering) { + border-color: transparent; + opacity: .4; + background-color: transparent; + + slider { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + background-color: $fg_color; + border: 1px solid if($variant == 'light', $white, $black); + } + + // hide steppers + button { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + border-color: transparent; + -gtk-icon-source: none; + } + + &.horizontal { + slider { min-width: $_slider_min_length; } + button { min-width: $_slider_normal_width; } + } + + &.vertical { + slider { min-height: $_slider_min_length; } + button { min-height: $_slider_normal_width; } + } + } + } + + // stepper styling + button { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + padding: 0; + border: 0; + border-radius: 0; + border-color: $borders_color; // FIXME overwritten by global button definition + background-color: transparent; + box-shadow: none; + color: $scrollbar_slider_color; + + &:hover { color: $scrollbar_slider_hover_color; } + &:active, &:checked { color: $scrollbar_slider_active_color; } + &:backdrop { color: $backdrop_scrollbar_slider_color; } + } + + // button icons + &.vertical { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + border-top: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); + border-bottom: 1px solid $borders_color; + } + } + } + + &.horizontal { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + border-left: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + border-right: 1px solid $borders_color; + } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_sidebar.scss b/src/gtk-3.20/scss/widgets/_sidebar.scss new file mode 100644 index 0000000..ab068f6 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_sidebar.scss @@ -0,0 +1,226 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + border-style: none; + background-color: mix($bg_color, $base_color, .5); + + @at-root %sidebar_left, + &:dir(ltr), + &.left, + &.left:dir(rtl) { + border-right: 1px solid $borders_color; + border-left-style: none; + } + + @at-root %sidebar_right + &:dir(rtl), + &.right { + border-left: 1px solid $borders_color; + border-right-style: none; + } + + &:backdrop { + background-color: $backdrop_sidebar_bg_color; + border-color: $backdrop_borders_color; + transition: 200ms ease-out; + } + + .frame, frame { border-width: 0; } + + list { background-color: transparent; } + + paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; } } + } + + stacksidebar { + &.sidebar { + &:dir(ltr), + &.left, + &.left:dir(rtl) { + list { @extend %sidebar_left; } + } + + &:dir(rtl), + &.right { + list { @extend %sidebar_right; } + } + } + + row { + padding: $spacing * 2 $spacing; + + > label { + padding-left: $spacing; + padding-right: $spacing; + } + + &.needs-attention > label { + @extend %needs_attention; + + background-size: 6px 6px, 0 0; + } + } + } + + $_placesidebar_icons_opacity: .7; + + placessidebar { + > viewport.frame { border-style: none; } + + row { + // Needs overriding of the GtkListBoxRow padding + min-height: 32px; + padding: 0; + + // Using margins/padding directly in the SidebarRow + // will make the animation of the new bookmark row jump + > revealer { padding: 0 $spacing * 2; } + + &:selected { color: $selected_fg_color; } + + &:disabled { color: $insensitive_fg_color; } + + &:backdrop { + color: $backdrop_fg_color; + + &:selected { color: $backdrop_selected_fg_color; } + + &:disabled { color: $backdrop_insensitive_color; } + } + + image.sidebar-icon { + opacity: $_placesidebar_icons_opacity; // dim the device icons + + &:dir(ltr) { + padding-right: $spacing*2 + 2; + padding-left: $spacing; + } + + &:dir(rtl) { + padding-left: $spacing*2 + 2; + padding-right: $spacing; + } + } + + label.sidebar-label { + &:dir(ltr) { padding-right: 2px; } + + &:dir(rtl) { padding-left: 2px; } + } + + @at-root button.sidebar-button { + //@extend %button_basic.flat; + + //@extend %button_selected.flat; + + min-height: 20px; + min-width: 20px; + margin-top: 2px; + margin-bottom: 2px; + padding: 0; + border-radius: 100%; + -gtk-outline-radius: 100%; + + &:not(:hover):not(:active), + &:backdrop { + > image { opacity: $_placesidebar_icons_opacity; } + } + } + + // in the sidebar case it makes no sense to click the selected row + &:selected:active { box-shadow: none; } + + &.sidebar-placeholder-row { + padding: 0 8px; + min-height: 2px; + background-image: image($drop_target_color); + background-clip: content-box; + } + + &.sidebar-new-bookmark-row { color: $selected_bg_color; } + + &:drop(active):not(:disabled) { + color: $drop_target_color; + box-shadow: inset 0 1px $drop_target_color, + inset 0 -1px $drop_target_color; + + &:selected { + color: $selected_fg_color; + background-color: $drop_target_color; + } + } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + paned { + > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; // defeats the ugly default handle decoration + border-style: none; // just to be sure + background-color: transparent; + // workaround, using background istead of a border since the border will get rendered twice (?) + background-image: image(shade($bg_color, .9)); + background-size: 1px 1px; + background-position: center center; + + &:selected { background-image: image($selected_bg_color); } // FIXME is this needed? + + &:backdrop { background-image: image($backdrop_borders_color); } + + &.wide { + min-width: 5px; + min-height: 5px; + background-color: $bg_color; + background-image: image(border_normal($bg_color)), image(border_normal($bg_color)); + background-size: 1px 1px, 1px 1px; + + &:backdrop { + background-color: $backdrop_bg_color; + background-image: image($backdrop_borders_color), + image($backdrop_borders_color); + } + } + } + + &.horizontal > separator { + background-repeat: repeat-y; + padding: 0 2px; + margin: 0 -2px; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; + } + } + + &.vertical > separator { + background-repeat: repeat-x; + padding: 2px 0; + margin: -2px 0; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; + } + } + + &.titlebar > separator { + background-image: image(shade($titlebar_bg_color, ($contrast + .1))); + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_spinner.scss b/src/gtk-3.20/scss/widgets/_spinner.scss new file mode 100644 index 0000000..9184446 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + spinner { + background-image: none; + color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + + &:disabled { opacity: .5; } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_toggle.scss b/src/gtk-3.20/scss/widgets/_toggle.scss new file mode 100644 index 0000000..3d89908 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_toggle.scss @@ -0,0 +1,153 @@ +/*********************** + ! Check and Radio items +************************/ + +$suffix: if($variant == "dark", "-dark", ""); + +@mixin toggle($type) { + background-image: none; + + -gtk-icon-source: url("../assets/#{$type}-unchecked#{$suffix}.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-unchecked-insensitive#{$suffix}.svg"); } + + &:checked, &:active { + -gtk-icon-source: url("../assets/#{$type}-checked#{$suffix}.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-checked-insensitive#{$suffix}.svg"); } + } + + &:indeterminate { + -gtk-icon-source: url("../assets/#{$type}-mixed#{$suffix}.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-mixed-insensitive#{$suffix}.svg"); } + } + + menuitem &, modelbutton & { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); + + &:disabled { -gtk-icon-source: none; } + + &:checked, &:active { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-hover.svg"); } + + &:disabled { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); } + } + + &:indeterminate { + -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-hover.svg"); } + + &:disabled { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-insensitive.svg"); } + } + } +} + +@include exports("checkradio") { + radio { + @include toggle("radio"); + min-width: 16px; + min-height: 16px; + margin-right: $spacing; + } + + check { + @include toggle("checkbox"); + min-width: 16px; + min-height: 16px; + margin-right: $spacing; + } + + radio:dir(rtl), check:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + //selection-mode + @each $s,$as in ('', '-unchecked'), + (':hover', '-unchecked'), + (':active', '-checked'), + (':backdrop', '-unchecked'), + (':checked', '-checked'), + (':checked:hover', '-checked'), + (':checked:active', '-checked'), + (':backdrop:checked', '-checked') { + .view.content-view.check#{$s}:not(list) { + -gtk-icon-shadow: none; + -gtk-icon-source: url("../assets/grid-selection#{$as}#{$suffix}.svg"); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + switch { + border-radius: $roundness; + padding: $spacing - 1px; + border: none; + outline: none; + transition: background-color .3s linear; + min-width: 88px; + min-height: 24px; + background-color: $switch_bg_color; + color: $switch_fg_color; + box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06); + + slider { + background-color: $switch_slider_bg_color; + transition: all 0.3s ease-in; + box-shadow: 0 1px 2px 0 alpha($dark_shadow, .07), 1px 0 2px 0 alpha($dark_shadow, .07); + border-radius: $roundness; + } + + &:checked { + background-color: $selected_bg_color; + background-image: none; + border-color: $selected_bg_color; + color: $base_color; + + slider { + background-color: $white; + box-shadow: 0 1px 3px 0 alpha($dark_shadow, .1); + } + } + + &:disabled { + background-color: $switch_disabled_bg_color; + background-image: none; + border-color: $switch_disabled_border_color; + color: $switch_disabled_fg_color; + box-shadow: none; + + slider { + background-color: $switch_disabled_slider_bg_color; + } + } + + list row:selected & { + background-color: $switch_disabled_slider_bg_color; + color: $switch_disabled_bg_color; + + slider { + background-color: mix($switch_disabled_bg_color, $base_color, .4); + } + + &:checked { + color: $selected_bg_color; + background-color: $switch_slider_bg_color; + + slider { + background-color: $selected_bg_color; + } + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_toolbar.scss b/src/gtk-3.20/scss/widgets/_toolbar.scss new file mode 100644 index 0000000..9fe0ff9 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_toolbar.scss @@ -0,0 +1,236 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + color: $fg; + + &:disabled { + @include linear-gradient(shade($bg, .9)); + + color: mix($fg, $bg, .5); + } + + .title { + font-weight: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font-size: smaller; + padding: 0 ($spacing * 2); + } + + button { @include button($bg, $fg); } + + .linked > button { @include linked_button($bg); } + + combobox, button { + padding: $spacing; + + &.text-button { padding: $spacing; } + + &.image-button { padding: $spacing; } + } + + separator { + &, &:disabled { + color: shade($bg, ($contrast - .2)); + border-color: currentColor; + + -GtkWidget-window-dragging: true; + } + } +} + +@mixin inline-toolbar($bg, $fg) { + background-image: none; + border-width: 0 1px 1px; + border-style: solid; + border-color: $borders_color; + background-color: mix($borders_color, $bg_color, .7); + + &:backdrop { + border-color: $backdrop_borders_color; + background-color: $backdrop_dark_fill; + transition: 200ms ease-out; + } + + button { @include button($toolbar_bg_color, $toolbar_fg_color); } + + toolbutton, + toolbutton:backdrop { + > button.flat { @extend %linked_middle; } + + &:first-child > button.flat { @extend %linked_button:first-child; } + + &:last-child > button.flat { @extend %linked_button:last-child; } + + &:only-child > button.flat { @extend %linked_button:only-child; } + } +} + +@include exports("toolbar_extends") { + %toolbar { + padding: $spacing - 1px; + border-style: none; + + // toolbar separators + &.horizontal separator { margin: 0 ($spacing + 2px) 1px; } + + &.vertical separator { margin: ($spacing + 2px) 1px ($spacing + 2px) 0; } + } + + %headerbar { + border-width: 0 0 1px; + border-style: solid; + + // add vertical margins to common widget on the headerbar to avoid them spanning the whole height + entry, + spinbutton, + separator, + button { // Size height + margin-top: $spacing + 3px; + margin-bottom: $spacing + 3px; + } + + switch { // Size height + margin-top: $spacing + 1px; + margin-bottom: $spacing + 1px; + } + + window:not(.tiled):not(.maximized) separator:first-child + &, // tackles the paned container case + window:not(.tiled):not(.maximized) &:first-child { &:backdrop, & { border-top-left-radius: $roundness; } } + + window:not(.tiled):not(.maximized) &:last-child { &:backdrop, & { border-top-right-radius: $roundness; } } + } + + %titlebar { // Default headerbar and titlebar code. + @include toolbar($titlebar_bg_color, $titlebar_fg_color); + @include linear-gradient($titlebar_bg_color); + + border-radius: $roundness $roundness 0 0; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + padding: 0 $spacing; + min-height: 42px; + + &:backdrop { + @include linear-gradient($titlebar_bg_color); + + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + text-shadow: none; + } + + &.default-decoration { // Default titlebar (old metacity) + min-height: 24px; + box-shadow: none; + border: 0; + + button.titlebutton { + min-height: 16px; + min-width: 16px; + margin: 0; + padding: 0; + } + } + + .tiled &, + .maximized & { &:backdrop, & { border-radius: 0; } } // squared corners when the window is maximized or tiled + + .title { font-weight: bold; } + + separator.titlebutton { margin-left: $spacing; } + + button { + @include button($header_button_bg_color, $header_button_fg_color); + } + + button.titlebutton + separator.titlebutton { + margin-left: 0; + margin-right: $spacing; + } + + button.titlebutton { + border: 0; + background-image: none; + background-color: transparent; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + -gtk-icon-shadow: none; + } + } + } +} + +@include exports("toolbar") { + toolbar { + @include toolbar($toolbar_bg_color, $toolbar_fg_color); + + @extend %toolbar; + + &.inline-toolbar { @include inline-toolbar($toolbar_bg_color, $toolbar_fg_color); } + } + + headerbar { + @extend %titlebar; + @extend %headerbar; + } + + .titlebar:not(headerbar) { + window.csd > & { + // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases + padding: 0; + background-color: transparent; + background-image: none; + border-style: none; + border-color: transparent; + box-shadow: none; + } + + > separator { background-color: shade($titlebar_bg_color, .88); } // $borders_color + + @extend %titlebar; + } + + .background:not(.tiled):not(.maximized) .titlebar { + &:backdrop, & { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/585 + // workaround for ugly Ubuntu-related CSD patches + .background:not(.csd):not(.ssd):not(.solid-csd) headerbar { + &, &:backdrop { + &, &:not(:last-child) { + border-radius: 0; + border-top-color: transparent; + } + } + } +} diff --git a/src/gtk-3.20/scss/widgets/_view.scss b/src/gtk-3.20/scss/widgets/_view.scss new file mode 100644 index 0000000..8b51afb --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_view.scss @@ -0,0 +1,351 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + .view, + %view { + color: $text_color; + background-color: $base_color; + + &:backdrop { + color: $backdrop_text_color; + background-color: $backdrop_base_color; + } + + &:selected { + &:focus, & { + @extend %selected_items; + + border-radius: $roundness; + } + } + } + + .view, + textview { + text { + @extend %view; + + selection { &:focus, & { @extend %selected_items; } } + } + } + + textview border { background-color: mix($bg_color, $base_color, .5); } + + iconview { @extend .view; } +} + + +/************ +! Treeview +*************/ + +@include exports("treeview") { + .rubberband, + rubberband { + border: 1px solid darken($selected_bg_color, .1); + background-color: transparentize(darken($selected_bg_color, .1), .8); + } + + treeview entry { + &:focus { + &:dir(rtl), &:dir(ltr) { // specificity bump hack + background-color: $base_color; + transition-property: color, background; + } + } + + &.flat, & { + border-radius: 0; + background-image: none; + background-color: $base_color; + + &:focus { border-color: $selected_bg_color; } + } + } + + %column_header_button { + padding: ($spacing - 2px) ($spacing + 1px); + border-radius: 0; + background-image: none; + text-shadow: none; + border-style: none solid solid none; + border-color: $bg_color; + + &:disabled { + border-color: $bg_color; + background-image: none; + } + + &:backdrop { + border-color: $backdrop_bg_color; + border-style: none solid solid none; + color: mix($backdrop_fg_color, $backdrop_bg_color, .5); + background-image: none; + background-color: $backdrop_base_color; + + &:disabled { + border-color: $backdrop_bg_color; + background-image: none; + } + } + } + + treeview.view { + -GtkTreeView-grid-line-width: 1; + -GtkTreeView-grid-line-pattern: ''; + -GtkTreeView-tree-line-width: 1; + -GtkTreeView-tree-line-pattern: ''; + + border-left-color: mix($fg_color, $base_color, .5); // this is actually the tree lines color, + border-top-color: $bg_color; // while this is the grid lines color, better then nothing + + rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props + + &:selected { + &:focus, & { + @extend %selected_items; + + border-radius: 0; + } + + &:backdrop, & { + border-left-color: mix($selected_fg_color, $selected_bg_color, .5); + border-top-color: transparentize($fg_color, .9); // doesn't work unfortunatelly + } + } + + &:disabled { + color: $insensitive_fg_color; + + &:selected { + color: mix($selected_fg_color, $selected_bg_color, .4); + + &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &.separator { + min-height: 2px; + color: $bg_color; + + &:backdrop { color: transparentize($bg_color, .9); } + } + + &:backdrop { + border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, .5); + border-top: $backdrop_bg_color; + } + + &:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: $selected_borders_color; + + &.after { border-top-style: none; } + + &.before { border-bottom-style: none; } + } + + &.expander { + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + color: mix($base_color, $fg_color, .7); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } + + &:hover { color: $fg_color; } + + &:selected { + color: mix($selected_bg_color, $selected_fg_color, .7); + + &:hover { color: $selected_fg_color; } + + &:backdrop { color: mix($selected_bg_color, $backdrop_selected_fg_color, .7); } + } + + &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .7); } + } + + &.progressbar { // progress bar in treeviews + @if $variant == light { color: $base_color; } + + border-radius: $roundness; + border: 1px solid $selected_borders_color; + background-color: $selected_bg_color; + //background-image: linear-gradient(to bottom, $selected_bg_color, darken($selected_bg_color, .1)); + //box-shadow: inset 0 1px $fg_color, + //0 1px if($variant == 'light', transparentize($black, .8), transparentize($black, .9)); + + &:selected { + &:focus, & { + @if $variant == 'light' { + color: $selected_fg_color; + box-shadow: none; + } @else { + box-shadow: inset 0 1px transparentize($white, .95); + } + + @include linear-gradient($selected_bg_color); + border-radius: $roundness; + + &:backdrop { + @if $variant == 'light' { + color: $backdrop_selected_fg_color; + border-color: $selected_borders_color; // otherwise it gets inherited by .view(?!?) + } @else { + border-color: $backdrop_base_color; + } + + background-color: mix($backdrop_base_color, $selected_bg_color, .9); + } + } + } + + &:disabled { + @include linear-gradient($bg_color); + border-color: border_insensitive($bg_color); + } + + &:backdrop { + @if $variant == 'light' { + color: $backdrop_base_color; + } @else { + border-color: $backdrop_base_color; + } + + background-image: none; + box-shadow: none; + } + } + + &.trough { // progress bar trough in treeviews + background-color: transparentize($fg_color, .9); + border-radius: $roundness; + + &:selected { + &:focus, & { + background-color: if($variant == 'light', transparentize($selected_fg_color, .7), darken($selected_bg_color, .1)); + + @if $variant == 'light' { + border-width: 1px 0; + border-style: solid; + border-color: $selected_bg_color; + } + border-radius: $roundness; + } + } + } + + header { + button { + $_column_header_color: mix($fg_color, $base_color, .5); + + @extend %column_header_button; + + color: $_column_header_color; + background-color: $base_color; + font-weight: bold; + text-shadow: none; + box-shadow: none; + + &:hover { + @extend %column_header_button; + + color: mix($_column_header_color, $fg_color, .5); + box-shadow: none; + transition: none; //I shouldn't need this + } + + &:active { + @extend %column_header_button; + + color: $fg_color; + transition: none; //I shouldn't need this + } + } + + button:last-child { &:backdrop, & { border-right-style: none; } } + } + + button.dnd, + header.button.dnd { // for treeview-like derive widgets + &:active, &:selected, &:hover, & { + padding: 0 6px; + transition: none; + background-image: none; + background-color: $selected_bg_color; + color: $base_color; + border-radius: 0; + border-style: none; + box-shadow: inset 0 0 0 1px $base_color; + text-shadow: none; + } + } + + acceleditor > label { background-color: $selected_bg_color; } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + separator { // vbox and hbox separators + background: transparentize($black, .9); + min-width: 1px; + min-height: 1px; + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + frame > border, .frame { + border: 1px solid $borders_color; + + &.flat { border-style: none; } + + &:backdrop { border-color: $backdrop_borders_color; } + } + + /* avoid double borders when a viewport is packed into a GtkScrolledWindow */ + scrolledwindow viewport.frame { border: 0; } +} + + +/*************** + ! Places view * +****************/ + +@include exports("placesview") { + placesview { + .server-list-button > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(0turn); + } + + .server-list-button:checked > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(-0.5turn); + } + + row.activatable:hover { background-color: transparent; } + + // this selects the "connect to server" label + > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; + } + } +} + diff --git a/src/gtk-3.20/scss/widgets/_window.scss b/src/gtk-3.20/scss/widgets/_window.scss new file mode 100644 index 0000000..cd0b3d3 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_window.scss @@ -0,0 +1,56 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + decoration { + $_wm_border: if($variant == 'light', transparentize($black, .77), transparentize($borders_color, .1)); + + border-radius: $roundness $roundness 0 0; + // lamefun trick to get rounded borders regardless of CSD use + border-width: 0; + + box-shadow: 0 3px 9px 1px transparentize($black, .3), 0 0 0 1px $wm_border_focused; //doing borders with box-shadow + + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &:backdrop { + box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize($black, .6), 0 0 0 1px $wm_border_unfocused; + transition: 200ms ease-out; + } + + .maximized &, .fullscreen &, .tiled & { border-radius: 0; } + + .popup & { box-shadow: none; } + + // this needs to be transparent + // see bug #722563 + // server-side decorations as used by mutter + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + .ssd & { box-shadow: 0 0 0 1px $wm_border_focused; } //just doing borders, wm draws actual shadows + + .solid-csd & { + border-radius: 0; + margin: 1px; + background-color: $bg_color; + // Unity/compiz regression: Issue: https://github.com/numixproject/numix-gtk-theme/issues/206 + box-shadow: none; + } + + .csd.popup & { + border-radius: 0; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + + tooltip.csd & { + border-radius: $roundness; + box-shadow: none; + } + + messagedialog.csd & { + border-radius: $roundness; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + } +} diff --git a/src/gtk-3.20/thumbnail.png b/src/gtk-3.20/thumbnail.png new file mode 120000 index 0000000..01495bc --- /dev/null +++ b/src/gtk-3.20/thumbnail.png @@ -0,0 +1 @@ +../gtk-3.0/thumbnail.png \ No newline at end of file diff --git a/src/index.theme b/src/index.theme new file mode 100644 index 0000000..971fbad --- /dev/null +++ b/src/index.theme @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=X-GNOME-Metatheme +Name=librix-dark +Comment=Because pink needs more love! +Encoding=UTF-8 + +[X-GNOME-Metatheme] +Name=librix-dark +GtkTheme=librix-dark +MetacityTheme=trollwut-pink-dark +IconTheme=trollwut-pink-dark diff --git a/src/metacity-1/metacity-theme-2.xml b/src/metacity-1/metacity-theme-2.xml new file mode 100644 index 0000000..b990f48 --- /dev/null +++ b/src/metacity-1/metacity-theme-2.xml @@ -0,0 +1,1554 @@ + + + + Librix + Satyajit Sahoo + GPL-3.0+ + 11 December 2013 + Librix Metacity Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</draw_ops> + +<draw_ops name="title_unfocused"> + <title x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> + +</metacity_theme> diff --git a/src/metacity-1/metacity-theme-3.xml b/src/metacity-1/metacity-theme-3.xml new file mode 100644 index 0000000..456ac85 --- /dev/null +++ b/src/metacity-1/metacity-theme-3.xml @@ -0,0 +1,1586 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Librix</name> + <author>Satyajit Sahoo</author> + <copyright>GPL-3.0+</copyright> + <date>11 December 2013</date> + <description>Librix Mutter Theme</description> +</info> + +<!-- ::: CONSTANTS ::: --> +<constant name="C_titlebar" value="gtk:custom(wm_bg,#444444)" /> +<constant name="C_border_focused" value="gtk:custom(wm_border_focused,#484848)" /> +<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,#393939)" /> +<constant name="C_title_focused" value="gtk:custom(wm_title_focused,#eeeeee)" /> +<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#888888)" /> +<constant name="C_icons_focused" value="gtk:custom(wm_icons_focused,#eeeeee)" /> +<constant name="C_icons_focused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_focused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> +<constant name="C_icons_unfocused" value="gtk:custom(wm_icons_unfocused,#888888)" /> +<constant name="C_icons_unfocused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_unfocused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1"> + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="left_titlebar_edge" value="4" /> + <distance name="right_titlebar_edge" value="4" /> + <distance name="title_vertical_pad" value="0" /> + <aspect_ratio name="button" value="1.0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" /> + +<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="right_width" value="1" /> +</frame_geometry> + +<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="left_width" value="1" /> +</frame_geometry> + +<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="1" rounded_top_right="1"> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="small_unfocused" parent="small"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="nobuttons" hide_buttons="true" parent="normal" /> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="1" rounded_bottom_left="1" parent="small"> +</frame_geometry> + +<frame_geometry name="attached" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small"> +</frame_geometry> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_focused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_focused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_focused" /> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="attached_style_set"> + <frame focus="yes" state="normal" resize="both" style="attached_focused" /> + <frame focus="no" state="normal" resize="both" style="attached_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> +<window version=">= 3.2" type="attached" style_set="attached_style_set" /> + +</metacity_theme> diff --git a/src/metacity-1/thumbnail.png b/src/metacity-1/thumbnail.png new file mode 100644 index 0000000..e656d16 Binary files /dev/null and b/src/metacity-1/thumbnail.png differ diff --git a/src/openbox-3/close.xbm b/src/openbox-3/close.xbm new file mode 100644 index 0000000..0486bd9 --- /dev/null +++ b/src/openbox-3/close.xbm @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0x42, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0x42 }; diff --git a/src/openbox-3/close_hover.xbm b/src/openbox-3/close_hover.xbm new file mode 100644 index 0000000..4a88cff --- /dev/null +++ b/src/openbox-3/close_hover.xbm @@ -0,0 +1,4 @@ +#define close_width 6 +#define close_height 6 +static unsigned char close_bits[] = { + 0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 }; diff --git a/src/openbox-3/desk.xbm b/src/openbox-3/desk.xbm new file mode 100644 index 0000000..abca780 --- /dev/null +++ b/src/openbox-3/desk.xbm @@ -0,0 +1,4 @@ +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff --git a/src/openbox-3/desk_toggled.xbm b/src/openbox-3/desk_toggled.xbm new file mode 100644 index 0000000..b4b5330 --- /dev/null +++ b/src/openbox-3/desk_toggled.xbm @@ -0,0 +1,4 @@ +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 }; diff --git a/src/openbox-3/iconify.xbm b/src/openbox-3/iconify.xbm new file mode 100644 index 0000000..9a9743f --- /dev/null +++ b/src/openbox-3/iconify.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/src/openbox-3/iconify_hover.xbm b/src/openbox-3/iconify_hover.xbm new file mode 100644 index 0000000..9a9743f --- /dev/null +++ b/src/openbox-3/iconify_hover.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/src/openbox-3/max.xbm b/src/openbox-3/max.xbm new file mode 100644 index 0000000..88bb9bd --- /dev/null +++ b/src/openbox-3/max.xbm @@ -0,0 +1,4 @@ +#define max_width 8 +#define max_height 8 +static unsigned char max_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/src/openbox-3/max_toggled.xbm b/src/openbox-3/max_toggled.xbm new file mode 100644 index 0000000..cec3f24 --- /dev/null +++ b/src/openbox-3/max_toggled.xbm @@ -0,0 +1,4 @@ +#define max_toggled_width 8 +#define max_toggled_height 8 +static unsigned char max_toggled_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/src/openbox-3/shade.xbm b/src/openbox-3/shade.xbm new file mode 100644 index 0000000..fcacf42 --- /dev/null +++ b/src/openbox-3/shade.xbm @@ -0,0 +1,4 @@ +#define shade_width 8 +#define shade_height 8 +static unsigned char shade_bits[] = { + 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 }; diff --git a/src/openbox-3/shade_toggled.xbm b/src/openbox-3/shade_toggled.xbm new file mode 100644 index 0000000..594201e --- /dev/null +++ b/src/openbox-3/shade_toggled.xbm @@ -0,0 +1,4 @@ +#define shade_toggled_width 8 +#define shade_toggled_height 8 +static unsigned char shade_toggled_bits[] = { + 0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 }; diff --git a/src/openbox-3/themerc b/src/openbox-3/themerc new file mode 100644 index 0000000..ce40967 --- /dev/null +++ b/src/openbox-3/themerc @@ -0,0 +1,154 @@ +# Name: Oomox (Librix fork) Openbox theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + +# @TODO: finish replacing the colors here + + +# Menu +menu.border.color: #eeeeee + +menu.title.bg: Solid Flat +menu.title.bg.color: #111111 +menu.title.bg.shadow: 0 +menu.title.text.color: #eeeeee +menu.title.text.justify: Center + +menu.items.bg: Solid Flat +menu.items.bg.color: #111111 +menu.items.text.color: #eeeeee +menu.items.disabled.text.color: #747474 + +menu.items.active.bg: Solid Flat +menu.items.active.bg.color: #4285f4 +menu.items.active.text.color: #eeeeee + +menu.separator.color: #747474 +menu.separator.width: 1 +menu.separator.padding.width: 2 +menu.separator.padding.height: 4 + +# Window focused +window.active.title.separator.color: #111111 + +# Active window +window.active.border.color: #4285f4 + +window.active.title.bg: flat solid +window.active.title.bg.color: #111111 +window.active.title.separator.color: #111111 +window.active.text.justify: center + +window.active.label.bg: parentrelative +window.active.label.text.color: #eeeeee + +window.active.handle.bg: flat solid +window.active.handle.bg.color: #111111 + +window.active.grip.bg: flat solid +window.active.grip.bg.color: #111111 + +window.active.button.unpressed.bg: flat solid +window.active.button.unpressed.bg.color: #111111 +window.active.button.unpressed.image.color: #eeeeee + +window.active.button.pressed.bg: flat solid +window.active.button.pressed.bg.color: #4285f4 +window.active.button.pressed.image.color: #ffffff + +window.active.button.disabled.bg: flat solid +window.active.button.disabled.bg.color: #111111 +window.active.button.disabled.image.color: #747474 + +window.active.button.hover.bg: flat solid +window.active.button.hover.bg.color: #111111 +window.active.button.hover.image.color: #4285f4 + +#window.active.button.toggled.bg: #4285f4 +#window.active.button.toggled.image.color: #ffffff + +# Inactive window +window.inactive.border.color: #111111 + +window.inactive.title.bg: flat solid +window.inactive.title.bg.color: #111111 +window.inactive.title.separator.color: #111111 +window.inactive.text.justify: center + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #747474 + +window.inactive.handle.bg: flat solid +window.inactive.handle.bg.color: #111111 + +window.inactive.grip.bg: flat solid +window.inactive.grip.bg.color: #111111 + +window.inactive.button.unpressed.bg: flat solid +window.inactive.button.unpressed.bg.color: #111111 +window.inactive.button.unpressed.image.color: #747474 + +window.inactive.button.pressed.bg: flat solid +window.inactive.button.pressed.bg.color: #4285f4 +window.inactive.button.pressed.image.color: #ffffff + +window.inactive.button.disabled.bg: flat solid +window.inactive.button.disabled.bg.color: #747474 +window.inactive.button.disabled.image.color: #111111 + +window.inactive.button.hover.bg: flat solid +window.inactive.button.hover.bg.color: #111111 +window.inactive.button.hover.image.color: #4285f4 + + +# OSD +osd.border.width: 1 +osd.border.color: #4285f4 + +osd.bg: flat solid +osd.bg.color: #111111 +osd.label.bg: flat solid +osd.label.bg.color: #111111 +osd.label.text.color: #eeeeee + +# OSD +osd.bg: Solid Flat +osd.bg.color: #111111 +osd.bg.shadow: 0 + +osd.border.width: 2 +osd.hilight.bg: Solid Flat +osd.hilight.bg.color: #4285f4 +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #101010 + +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #101010 +#osd.button.unpressed.*.border.color: #eeeeee + +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #4285f4 +#osd.button.pressed.*.border.color: #ffffff + +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #eeeeee +#osd.button.focused.*.border.color: #101010 + +osd.button.focused.box.color: #4285f4 + + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n + + +# Everything else +border.width: 3 +padding.width: 8 +padding.height: 3 +window.handle.width: 0 +window.client.padding.width: 0 +window.label.text.justify: center +#menu.overlap: 0 diff --git a/src/unity/close.svg b/src/unity/close.svg new file mode 100644 index 0000000..f39a12b --- /dev/null +++ b/src/unity/close.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#eeeeee" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/src/unity/close_dash.svg b/src/unity/close_dash.svg new file mode 100644 index 0000000..67e1566 --- /dev/null +++ b/src/unity/close_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#ffffff" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/src/unity/close_dash_disabled.svg b/src/unity/close_dash_disabled.svg new file mode 120000 index 0000000..0749829 --- /dev/null +++ b/src/unity/close_dash_disabled.svg @@ -0,0 +1 @@ +close_unfocused.svg \ No newline at end of file diff --git a/src/unity/close_dash_prelight.svg b/src/unity/close_dash_prelight.svg new file mode 120000 index 0000000..64b2bff --- /dev/null +++ b/src/unity/close_dash_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/close_dash_pressed.svg b/src/unity/close_dash_pressed.svg new file mode 120000 index 0000000..ba6d4fe --- /dev/null +++ b/src/unity/close_dash_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/src/unity/close_focused_normal.svg b/src/unity/close_focused_normal.svg new file mode 120000 index 0000000..088f392 --- /dev/null +++ b/src/unity/close_focused_normal.svg @@ -0,0 +1 @@ +./close.svg \ No newline at end of file diff --git a/src/unity/close_focused_prelight.svg b/src/unity/close_focused_prelight.svg new file mode 100644 index 0000000..ab189e7 --- /dev/null +++ b/src/unity/close_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#f0544c" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/src/unity/close_focused_pressed.svg b/src/unity/close_focused_pressed.svg new file mode 100644 index 0000000..8becedd --- /dev/null +++ b/src/unity/close_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#f0544c" opacity="0.75" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/src/unity/close_unfocused.svg b/src/unity/close_unfocused.svg new file mode 100644 index 0000000..3175097 --- /dev/null +++ b/src/unity/close_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#AAAAAA" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/src/unity/close_unfocused_prelight.svg b/src/unity/close_unfocused_prelight.svg new file mode 120000 index 0000000..c92a1d4 --- /dev/null +++ b/src/unity/close_unfocused_prelight.svg @@ -0,0 +1 @@ +./close_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/close_unfocused_pressed.svg b/src/unity/close_unfocused_pressed.svg new file mode 120000 index 0000000..61c7b94 --- /dev/null +++ b/src/unity/close_unfocused_pressed.svg @@ -0,0 +1 @@ +./close_focused_pressed.svg \ No newline at end of file diff --git a/src/unity/launcher_arrow_ltr_19.svg b/src/unity/launcher_arrow_ltr_19.svg new file mode 100644 index 0000000..d600ba6 --- /dev/null +++ b/src/unity/launcher_arrow_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="2" y="1039.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_ltr_37.svg b/src/unity/launcher_arrow_ltr_37.svg new file mode 100644 index 0000000..7b8806f --- /dev/null +++ b/src/unity/launcher_arrow_ltr_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,0,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#f9f9f9"/> + </g> + </g> +</svg> diff --git a/src/unity/launcher_arrow_outline_ltr_19.svg b/src/unity/launcher_arrow_outline_ltr_19.svg new file mode 100644 index 0000000..2823085 --- /dev/null +++ b/src/unity/launcher_arrow_outline_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="M 2.5 6 C 2.223 6 2 6.223 2 6.5 L 2 13.5 C 2 13.777 2.223 14 2.5 14 L 5.5 14 C 5.777 14 6 13.777 6 13.5 L 6 6.5 C 6 6.223 5.777 6 5.5 6 L 2.5 6 z M 3 7 L 5 7 L 5 13 L 3 13 L 3 7 z " transform="translate(0,1033.3622)" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_outline_ltr_37.svg b/src/unity/launcher_arrow_outline_ltr_37.svg new file mode 100644 index 0000000..a1480c8 --- /dev/null +++ b/src/unity/launcher_arrow_outline_ltr_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="M 6 13 C 4.892 13 4 13.669002 4 14.5 L 4 23.5 C 4 24.330998 4.892 25 6 25 L 10 25 C 11.108 25 12 24.330998 12 23.5 L 12 14.5 C 12 13.669002 11.108 13 10 13 L 6 13 z M 6 15 L 10 15 L 10 23 L 6 23 L 6 15 z " transform="translate(0,1015.3622)" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_outline_rtl_19.svg b/src/unity/launcher_arrow_outline_rtl_19.svg new file mode 100644 index 0000000..6c83c8f --- /dev/null +++ b/src/unity/launcher_arrow_outline_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="m 4.5,1039.3622 c -0.277,0 -0.5,0.223 -0.5,0.5 l 0,7 c 0,0.277 0.223,0.5 0.5,0.5 l 3,0 c 0.277,0 0.5,-0.223 0.5,-0.5 l 0,-7 c 0,-0.277 -0.223,-0.5 -0.5,-0.5 l -3,0 z m 0.5,1 2,0 0,6 -2,0 0,-6 z" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_outline_rtl_37.svg b/src/unity/launcher_arrow_outline_rtl_37.svg new file mode 100644 index 0000000..ed493d8 --- /dev/null +++ b/src/unity/launcher_arrow_outline_rtl_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="m 10,1028.3622 c -1.108,0 -2,0.669 -2,1.5 l 0,9 c 0,0.831 0.892,1.5 2,1.5 l 4,0 c 1.108,0 2,-0.669 2,-1.5 l 0,-9 c 0,-0.831 -0.892,-1.5 -2,-1.5 l -4,0 z m 0,2 4,0 0,8 -4,0 0,-8 z" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_rtl_19.svg b/src/unity/launcher_arrow_rtl_19.svg new file mode 100644 index 0000000..cd78e86 --- /dev/null +++ b/src/unity/launcher_arrow_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="4" y="1039.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_arrow_rtl_37.svg b/src/unity/launcher_arrow_rtl_37.svg new file mode 100644 index 0000000..9fac194 --- /dev/null +++ b/src/unity/launcher_arrow_rtl_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,4,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#f9f9f9"/> + </g> + </g> +</svg> diff --git a/src/unity/launcher_icon_back_150.svg b/src/unity/launcher_icon_back_150.svg new file mode 100644 index 0000000..d66f78d --- /dev/null +++ b/src/unity/launcher_icon_back_150.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_back_54.svg b/src/unity/launcher_icon_back_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/src/unity/launcher_icon_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/src/unity/launcher_icon_edge_150.svg b/src/unity/launcher_icon_edge_150.svg new file mode 100644 index 0000000..6d9201e --- /dev/null +++ b/src/unity/launcher_icon_edge_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + <clipPath> + <rect y="316" x="353" height="148" width="148" opacity="0.8" fill="#ff00ff" color="#000000" rx="12"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_edge_54.svg b/src/unity/launcher_icon_edge_54.svg new file mode 100644 index 0000000..3307c5b --- /dev/null +++ b/src/unity/launcher_icon_edge_54.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"> + <defs> + <clipPath> + <path d="m 440,81.001953 c -1.67866,0 -2.99805,1.319387 -2.99805,2.998047 l 0,44 c 0,1.67866 1.31939,2.99805 2.99805,2.99805 l 44,0 c 1.67866,0 2.99805,-1.31939 2.99805,-2.99805 l 0,-44 c 0,-1.67866 -1.31939,-2.998047 -2.99805,-2.998047 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_glow_200.svg b/src/unity/launcher_icon_glow_200.svg new file mode 100644 index 0000000..01bb0d9 --- /dev/null +++ b/src/unity/launcher_icon_glow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 427.33333,22.026666 0,69.333333 69.33333,0 0,-69.333333 -69.33333,0 z m 13.11917,9.013333 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105834 l 0,43.094999 c 0,2.276228 -1.8296,4.105834 -4.10583,4.105834 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105834 l 0,-43.094999 c 0,-2.276228 1.8296,-4.105834 4.10583,-4.105834 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_glow_62.svg b/src/unity/launcher_icon_glow_62.svg new file mode 100644 index 0000000..105b068 --- /dev/null +++ b/src/unity/launcher_icon_glow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 62 62.000001"> + <defs> + <clipPath> + <path d="m 1,25 0,62 62,0 0,-62 -62,0 z m 9,6 44,0 c 1.662,0 3,1.338 3,3 l 0,44 c 0,1.662 -1.338,3 -3,3 L 10,81 C 8.338,81 7,79.662 7,78 L 7,34 c 0,-1.662 1.338,-3 3,-3 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_selected_back_150.svg b/src/unity/launcher_icon_selected_back_150.svg new file mode 100644 index 0000000..2fa6752 --- /dev/null +++ b/src/unity/launcher_icon_selected_back_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <rect y="1040.22" x="505" height="150" width="150" opacity="0.2" fill-rule="evenodd" color="#000000" rx="42"/> + </clipPath> + </defs> + <g transform="translate(-505.00002,-1040.2193)"> + <rect width="150" height="4" x="505" y="1186.22" rx="2" fill="#f9f9f9" fill-rule="evenodd"/> + </g> +</svg> diff --git a/src/unity/launcher_icon_selected_back_54.svg b/src/unity/launcher_icon_selected_back_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/src/unity/launcher_icon_selected_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/src/unity/launcher_icon_shadow_200.svg b/src/unity/launcher_icon_shadow_200.svg new file mode 100644 index 0000000..9e68b14 --- /dev/null +++ b/src/unity/launcher_icon_shadow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 489.73333,21.333331 0,69.333332 69.33333,0 0,-69.333332 -69.33333,0 z m 13.11917,9.013334 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105833 l 0,43.094999 c 0,2.276227 -1.8296,4.105833 -4.10583,4.105833 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105833 l 0,-43.094999 c 0,-2.276227 1.8296,-4.105833 4.10583,-4.105833 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_shadow_62.svg b/src/unity/launcher_icon_shadow_62.svg new file mode 100644 index 0000000..d322434 --- /dev/null +++ b/src/unity/launcher_icon_shadow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 61.999999 62.000001"> + <defs> + <clipPath> + <path d="m 4,24 c -2.216,0 -4,1.784 -4,4 l 0,56 c 0,2.216 1.784,4 4,4 l 56,0 c 2.216,0 4,-1.784 4,-4 l 0,-56 c 0,-2.216 -1.784,-4 -4,-4 L 4,24 z m 6,6 44,0 c 2.216,0 4,1.784 4,4 l 0,44 c 0,2.216 -1.784,4 -4,4 L 10,82 C 7.784,82 6,80.216 6,78 L 6,34 c 0,-2.216 1.784,-4 4,-4 z"/> + </clipPath> + </defs> +</svg> diff --git a/src/unity/launcher_icon_shine_150.svg b/src/unity/launcher_icon_shine_150.svg new file mode 100644 index 0000000..51af8a1 --- /dev/null +++ b/src/unity/launcher_icon_shine_150.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"/> diff --git a/src/unity/launcher_icon_shine_54.svg b/src/unity/launcher_icon_shine_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/src/unity/launcher_icon_shine_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/src/unity/launcher_pip_ltr_19.svg b/src/unity/launcher_pip_ltr_19.svg new file mode 100644 index 0000000..aa77bc1 --- /dev/null +++ b/src/unity/launcher_pip_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect rx="0.5" y="1042.36" x="2" height="3" width="3" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_pip_ltr_37.svg b/src/unity/launcher_pip_ltr_37.svg new file mode 100644 index 0000000..f6a12a0 --- /dev/null +++ b/src/unity/launcher_pip_ltr_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="5" y="1030.36" rx="1" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_pip_rtl_19.svg b/src/unity/launcher_pip_rtl_19.svg new file mode 100644 index 0000000..ba7a895 --- /dev/null +++ b/src/unity/launcher_pip_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect width="3" height="3" x="5" y="1042.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/launcher_pip_rtl_37.svg b/src/unity/launcher_pip_rtl_37.svg new file mode 100644 index 0000000..9f8a057 --- /dev/null +++ b/src/unity/launcher_pip_rtl_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="8" y="1030.36" rx="1" fill="#f9f9f9"/> + </g> +</svg> diff --git a/src/unity/maximize.svg b/src/unity/maximize.svg new file mode 100644 index 0000000..240913a --- /dev/null +++ b/src/unity/maximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#eeeeee" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/src/unity/maximize_dash.svg b/src/unity/maximize_dash.svg new file mode 100644 index 0000000..4794503 --- /dev/null +++ b/src/unity/maximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#ffffff" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/src/unity/maximize_dash_disabled.svg b/src/unity/maximize_dash_disabled.svg new file mode 120000 index 0000000..a933b39 --- /dev/null +++ b/src/unity/maximize_dash_disabled.svg @@ -0,0 +1 @@ +maximize_unfocused.svg \ No newline at end of file diff --git a/src/unity/maximize_dash_prelight.svg b/src/unity/maximize_dash_prelight.svg new file mode 120000 index 0000000..3efa75f --- /dev/null +++ b/src/unity/maximize_dash_prelight.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/src/unity/maximize_dash_pressed.svg b/src/unity/maximize_dash_pressed.svg new file mode 120000 index 0000000..3efa75f --- /dev/null +++ b/src/unity/maximize_dash_pressed.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/src/unity/maximize_focused_normal.svg b/src/unity/maximize_focused_normal.svg new file mode 120000 index 0000000..a09c8fc --- /dev/null +++ b/src/unity/maximize_focused_normal.svg @@ -0,0 +1 @@ +./maximize.svg \ No newline at end of file diff --git a/src/unity/maximize_focused_prelight.svg b/src/unity/maximize_focused_prelight.svg new file mode 100644 index 0000000..f835b49 --- /dev/null +++ b/src/unity/maximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#f0544c" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/src/unity/maximize_focused_pressed.svg b/src/unity/maximize_focused_pressed.svg new file mode 100644 index 0000000..0136eca --- /dev/null +++ b/src/unity/maximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#f0544c" opacity="0.75" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/src/unity/maximize_unfocused.svg b/src/unity/maximize_unfocused.svg new file mode 100644 index 0000000..9b255b3 --- /dev/null +++ b/src/unity/maximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#AAAAAA" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/src/unity/maximize_unfocused_prelight.svg b/src/unity/maximize_unfocused_prelight.svg new file mode 120000 index 0000000..0f332c5 --- /dev/null +++ b/src/unity/maximize_unfocused_prelight.svg @@ -0,0 +1 @@ +./maximize_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/maximize_unfocused_pressed.svg b/src/unity/maximize_unfocused_pressed.svg new file mode 120000 index 0000000..e3f8d9b --- /dev/null +++ b/src/unity/maximize_unfocused_pressed.svg @@ -0,0 +1 @@ +./maximize_focused_pressed.svg \ No newline at end of file diff --git a/src/unity/minimize.svg b/src/unity/minimize.svg new file mode 100644 index 0000000..fcee6fa --- /dev/null +++ b/src/unity/minimize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#eeeeee" width="8" height="2"/></svg> diff --git a/src/unity/minimize_dash.svg b/src/unity/minimize_dash.svg new file mode 100644 index 0000000..d0523b6 --- /dev/null +++ b/src/unity/minimize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#ffffff" width="8" height="2"/></svg> diff --git a/src/unity/minimize_dash_disabled.svg b/src/unity/minimize_dash_disabled.svg new file mode 120000 index 0000000..ac8c42d --- /dev/null +++ b/src/unity/minimize_dash_disabled.svg @@ -0,0 +1 @@ +minimize_unfocused.svg \ No newline at end of file diff --git a/src/unity/minimize_dash_prelight.svg b/src/unity/minimize_dash_prelight.svg new file mode 120000 index 0000000..752db6d --- /dev/null +++ b/src/unity/minimize_dash_prelight.svg @@ -0,0 +1 @@ +minimize_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/minimize_dash_pressed.svg b/src/unity/minimize_dash_pressed.svg new file mode 120000 index 0000000..d2b384b --- /dev/null +++ b/src/unity/minimize_dash_pressed.svg @@ -0,0 +1 @@ +minimize_focused_pressed.svg \ No newline at end of file diff --git a/src/unity/minimize_focused_normal.svg b/src/unity/minimize_focused_normal.svg new file mode 120000 index 0000000..d9675f0 --- /dev/null +++ b/src/unity/minimize_focused_normal.svg @@ -0,0 +1 @@ +./minimize.svg \ No newline at end of file diff --git a/src/unity/minimize_focused_prelight.svg b/src/unity/minimize_focused_prelight.svg new file mode 100644 index 0000000..0e1140d --- /dev/null +++ b/src/unity/minimize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#f0544c" width="8" height="2"/></svg> diff --git a/src/unity/minimize_focused_pressed.svg b/src/unity/minimize_focused_pressed.svg new file mode 100644 index 0000000..3f0f1f4 --- /dev/null +++ b/src/unity/minimize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#f0544c" opacity="0.75" width="8" height="2"/></svg> diff --git a/src/unity/minimize_unfocused.svg b/src/unity/minimize_unfocused.svg new file mode 100644 index 0000000..7d85c16 --- /dev/null +++ b/src/unity/minimize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#AAAAAA" width="8" height="2"/></svg> diff --git a/src/unity/minimize_unfocused_prelight.svg b/src/unity/minimize_unfocused_prelight.svg new file mode 120000 index 0000000..bef3fe5 --- /dev/null +++ b/src/unity/minimize_unfocused_prelight.svg @@ -0,0 +1 @@ +./minimize_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/minimize_unfocused_pressed.svg b/src/unity/minimize_unfocused_pressed.svg new file mode 120000 index 0000000..683fa92 --- /dev/null +++ b/src/unity/minimize_unfocused_pressed.svg @@ -0,0 +1 @@ +./minimize_focused_pressed.svg \ No newline at end of file diff --git a/src/unity/minimized.svg b/src/unity/minimized.svg new file mode 100644 index 0000000..fcee6fa --- /dev/null +++ b/src/unity/minimized.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#eeeeee" width="8" height="2"/></svg> diff --git a/src/unity/modes/launcher_bfb-flat.png b/src/unity/modes/launcher_bfb-flat.png new file mode 100644 index 0000000..f5aa0e5 Binary files /dev/null and b/src/unity/modes/launcher_bfb-flat.png differ diff --git a/src/unity/modes/launcher_bfb_ns.png b/src/unity/modes/launcher_bfb_ns.png new file mode 100644 index 0000000..2ca1ebb Binary files /dev/null and b/src/unity/modes/launcher_bfb_ns.png differ diff --git a/src/unity/modes/ubuntu-square.svg b/src/unity/modes/ubuntu-square.svg new file mode 100644 index 0000000..1b925fb --- /dev/null +++ b/src/unity/modes/ubuntu-square.svg @@ -0,0 +1,69 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"> + <defs> + <clipPath> + <rect width="42" x="307" y="223" rx="9" height="42" transform="rotate(90)" fill="url(#3)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="240" x="24" y="36" rx="50" height="240" fill="#986767" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="2" height="16" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 98.03125,23.191212 c -41.492132,1.05238 -74.84375,35.06824 -74.84375,76.812498 0,42.40687 34.405632,76.8125 76.8125,76.8125 42.40687,0 76.8125,-34.40563 76.8125,-76.8125 0,-42.406866 -34.40563,-76.812498 -76.8125,-76.812498 -0.662607,0 -1.310145,-0.0167 -1.96875,0 z M 100,50.659962 c 27.24464,0 49.34375,22.099114 49.34375,49.343748 -1e-5,27.24464 -22.09911,49.34375 -49.34375,49.34375 -27.244636,-1e-5 -49.34375,-22.09911 -49.34375,-49.34375 0,-27.244634 22.099114,-49.343748 49.34375,-49.343748 z"/> + </clipPath> + <clipPath> + <path d="m 152,204 a 8,8 0 1 1 -16,0 8,8 0 1 1 16,0 z"/> + </clipPath> + <clipPath> + <path d="m 145,215 c 33.13708,0 60,-26.86292 60,-60 0,-33.13708 -26.86292,-60 -60,-60 -33.13708,0 -60,26.86292 -60,60 0,12.50698 3.8285,24.10633 10.375,33.71875 L 89,211 111.28125,204.625 C 120.89367,211.1715 132.49302,215 145,215 z"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="3" height="16" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 144,70 c -49.705627,0 -90,40.29437 -90,90 0,49.70563 40.294373,90 90,90 49.70563,0 90,-40.29437 90,-90 0,-49.70563 -40.29437,-90 -90,-90 z m 0,32.1875 c 32.03251,0 58,25.96748 58,58 0,32.03252 -25.96749,58 -58,58 -32.03251,0 -58,-25.96748 -58,-58 0,-32.03252 25.96749,-58 58,-58 z"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="3" height="22" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="4" height="30" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="90" x="307" y="31" rx="18.75" height="90" fill="url(#1)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="60" x="306" y="142" rx="12.5" height="60" transform="matrix(0 -1 1 0 0 0)" fill="url(#0)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="6" height="30" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="5" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="4" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="20" x="434" y="78" rx="4" height="20" color="#bebebe"/> + </clipPath> + <linearGradient gradientTransform="matrix(.25 0 0 .25 299.99999 131.99999)" id="0" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient gradientTransform="matrix(.375 0 0 .375 298 16)" id="1" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient id="2"> + <stop stop-color="#151515"/> + <stop offset="1" stop-color="#222"/> + </linearGradient> + <linearGradient gradientTransform="matrix(.175 0 0 .175 302.79999 215.99997)" id="3" xlink:href="#2" y1="280" y2="40" x2="0" gradientUnits="userSpaceOnUse"/> + </defs> + <g transform="translate(0,-1004.3622)"> + <path d="M 5.1875,1 C 2.8707723,1 1,2.8707723 1,5.1875 l 0,37.625 C 1,45.129228 2.8707723,47 5.1875,47 l 37.625,0 C 45.129228,47 47,45.129228 47,42.8125 L 47,5.1875 C 47,2.8707723 45.129228,1 42.8125,1 L 5.1875,1 z m 0.1875,0.25 37.25,0 c 2.291546,0 4.125,1.8334541 4.125,4.125 l 0,37.25 c 0,2.291546 -1.833454,4.125 -4.125,4.125 l -37.25,0 C 3.0834541,46.75 1.25,44.916546 1.25,42.625 l 0,-37.25 C 1.25,3.0834541 3.0834541,1.25 5.375,1.25 z" transform="translate(0,1004.3622)" opacity="0.05"/> + <path d="M 5.375,1.25 C 3.0834541,1.25 1.25,3.0834541 1.25,5.375 l 0,37.25 c 0,2.291546 1.8334541,4.125 4.125,4.125 l 37.25,0 c 2.291546,0 4.125,-1.833454 4.125,-4.125 l 0,-37.25 C 46.75,3.0834541 44.916546,1.25 42.625,1.25 l -37.25,0 z m 0.21875,0.25 36.8125,0 C 44.672614,1.5 46.5,3.3273859 46.5,5.59375 l 0,36.8125 C 46.5,44.672614 44.672614,46.5 42.40625,46.5 l -36.8125,0 C 3.3273859,46.5 1.5,44.672614 1.5,42.40625 l 0,-36.8125 C 1.5,3.3273859 3.3273859,1.5 5.59375,1.5 z" transform="translate(0,1004.3622)" opacity="0.1"/> + <path d="M 5.59375,1.5 C 3.3273859,1.5 1.5,3.3273859 1.5,5.59375 l 0,36.8125 C 1.5,44.672614 3.3273859,46.5 5.59375,46.5 l 36.8125,0 C 44.672614,46.5 46.5,44.672614 46.5,42.40625 l 0,-36.8125 C 46.5,3.3273859 44.672614,1.5 42.40625,1.5 l -36.8125,0 z m 0.09375,0.125 36.625,0 c 2.253773,0 4.0625,1.8087269 4.0625,4.0625 l 0,36.625 c 0,2.253773 -1.808727,4.0625 -4.0625,4.0625 l -36.625,0 c -2.2537731,0 -4.0625,-1.808727 -4.0625,-4.0625 l 0,-36.625 C 1.625,3.4337269 3.4337269,1.625 5.6875,1.625 z" transform="translate(0,1004.3622)" opacity="0.2"/> + <path d="M 5.6875,1.625 C 3.4337269,1.625 1.625,3.4337269 1.625,5.6875 l 0,36.625 c 0,2.253773 1.8087269,4.0625 4.0625,4.0625 l 36.625,0 c 2.253773,0 4.0625,-1.808727 4.0625,-4.0625 l 0,-36.625 c 0,-2.2537731 -1.808727,-4.0625 -4.0625,-4.0625 l -36.625,0 z m 0.09375,0.125 36.4375,0 c 2.241182,0 4.03125,1.7900679 4.03125,4.03125 l 0,36.4375 c 0,2.241182 -1.790068,4.03125 -4.03125,4.03125 l -36.4375,0 C 3.5400679,46.25 1.75,44.459932 1.75,42.21875 l 0,-36.4375 C 1.75,3.5400679 3.5400679,1.75 5.78125,1.75 z" transform="translate(0,1004.3622)" opacity="0.3"/> + <path d="M 5.78125,1.75 C 3.5400679,1.75 1.75,3.5400679 1.75,5.78125 l 0,36.4375 c 0,2.241182 1.7900679,4.03125 4.03125,4.03125 l 36.4375,0 c 2.241182,0 4.03125,-1.790068 4.03125,-4.03125 l 0,-36.4375 C 46.25,3.5400679 44.459932,1.75 42.21875,1.75 l -36.4375,0 z m 0.125,0.125 36.1875,0 c 2.228591,0 4.03125,1.802659 4.03125,4.03125 l 0,36.1875 c 0,2.228591 -1.802659,4.03125 -4.03125,4.03125 l -36.1875,0 C 3.677659,46.125 1.875,44.322341 1.875,42.09375 l 0,-36.1875 C 1.875,3.677659 3.677659,1.875 5.90625,1.875 z" transform="translate(0,1004.3622)" opacity="0.4"/> + <rect rx="4.02" y="1006.24" x="1.875" height="44.25" width="44.25" opacity="0.5"/> + </g> + <rect rx="4" y="1.998" x="2" height="44" width="44" fill="#dd4814"/> + <path d="M 24.000004,12.000001 C 17.372557,12.000001 12,17.372389 12,24 c 0,6.627189 5.372557,12 12.000004,12 6.62744,0 12,-5.372896 12,-12 0,-6.627611 -5.37256,-11.999999 -12,-11.999999 z m 4.125,3.33125 c 0.25818,0.0067 0.51682,0.07428 0.75625,0.2125 0.76631,0.442467 1.02996,1.427433 0.5875,2.19375 -0.44222,0.765978 -1.42127,1.023802 -2.1875,0.58125 -0.76607,-0.442214 -1.0298,-1.421522 -0.5875,-2.1875 0.30419,-0.526843 0.86325,-0.814741 1.43125,-0.8 z m -4.125,1.70625 c 0.64422,0 1.27051,0.09242 1.8625,0.25625 0.10464,0.64355 0.48482,1.235964 1.09375,1.5875 0.60815,0.351196 1.30965,0.386373 1.91875,0.15625 1.18473,1.164757 1.95639,2.74771 2.06875,4.512499 l -2.28125,0.0375 c -0.21023,-2.390305 -2.21759,-4.268749 -4.6625,-4.268749 -0.704516,0 -1.36957,0.158693 -1.968754,0.4375 l -1.112499,-1.99375 c 0.929807,-0.460586 1.973301,-0.725 3.081253,-0.725 z m -3.862503,1.16875 1.174999,1.9625 c -1.203195,0.846834 -1.993749,2.2479 -1.993749,3.831249 0,1.583603 0.790554,2.984585 1.993749,3.83125 l -1.174999,1.9625 c -1.402078,-0.936666 -2.441846,-2.372586 -2.875,-4.05 0.506136,-0.41241 0.825,-1.039747 0.825,-1.74375 0,-0.704171 -0.31895,-1.331254 -0.825,-1.74375 0.433238,-1.677243 1.472922,-3.113249 2.875,-4.049999 z m -4.3,4.193749 c 0.884764,0 1.60625,0.714896 1.60625,1.6 0,0.884681 -0.72157,1.6 -1.60625,1.6 -0.88502,0 -1.600001,-0.715319 -1.600001,-1.6 0,-0.885019 0.714981,-1.6 1.600001,-1.6 z m 12.825003,2.0125 2.28125,0.0375 c -0.11219,1.76479 -0.8841,3.347658 -2.06875,4.5125 -0.6091,-0.230208 -1.3106,-0.194777 -1.91875,0.15625 -0.60901,0.35179 -0.98911,0.94395 -1.09375,1.5875 -0.59208,0.163829 -1.21828,0.25625 -1.8625,0.25625 -1.107952,0 -2.157612,-0.264583 -3.087503,-0.725 l 1.118749,-1.99375 c 0.599268,0.278807 1.264154,0.4375 1.968754,0.4375 2.44491,0 4.45244,-1.878105 4.6625,-4.26875 z m -0.625,5.05 c 0.56798,-0.01474 1.12717,0.27964 1.43125,0.80625 0.44238,0.766232 0.17856,1.745202 -0.5875,2.1875 -0.76632,0.442384 -1.74504,0.178818 -2.1875,-0.5875 -0.44222,-0.765978 -0.17882,-1.745117 0.5875,-2.1875 0.23939,-0.138218 0.49807,-0.212051 0.75625,-0.21875 z" fill="#f9f9f9"/> +</svg> diff --git a/src/unity/progress_bar_fill.svg b/src/unity/progress_bar_fill.svg new file mode 100644 index 0000000..dc9cfec --- /dev/null +++ b/src/unity/progress_bar_fill.svg @@ -0,0 +1,5 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="42" height="4"> + <g transform="translate(0,-1048.3622)"> + <path d="m 1,1048.3622 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 l -40,0 c -1,0 -1,0 -1,-1 l 0,-2 c 0,-1 0,-1 1,-1 z" fill="#f0544c"/> + </g> +</svg> diff --git a/src/unity/progress_bar_trough.svg b/src/unity/progress_bar_trough.svg new file mode 100644 index 0000000..4d4b209 --- /dev/null +++ b/src/unity/progress_bar_trough.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="54" + height="54" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="progress_bar_trough.svg"> + <metadata + id="metadata18"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs16" /> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1366" + inkscape:window-height="713" + id="namedview14" + showgrid="false" + inkscape:zoom="8.9114583" + inkscape:cx="8.3161894" + inkscape:cy="26.77557" + inkscape:window-x="0" + inkscape:window-y="341" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /> + <g + transform="translate(0,-998.36218)" + id="g4"> + <image + y="346.58" + x="413.71" + xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAABHNCSVQICAgIfAhkiAAAAAxJREFU CJljYCAZAAAAMwAB0kOx4wAAAABJRU5ErkJggg== " + height="3" + width="4" + id="image6" /> + </g> + <path + style="fill:#444444;opacity:0.5" + inkscape:connector-curvature="0" + id="path10" + d="m 7,25 c -1.0000065,0 -1,0 -1,1 l 0,2 c 0,1 -1.35e-5,1 1,1 l 40,0 c 1,0 1,0 1,-1 l 0,-2 c 0,-1 0,-1 -1,-1 L 7,25 z" /> + <path + style="fill:#f9f9f9" + inkscape:connector-curvature="0" + id="path12" + d="m 7,23 c -3.0000291,0 -3,0 -3,3 l 0,2 c 0,3 -2.91e-5,3 3,3 l 40,0 c 3,0 3,0 3,-3 l 0,-2 c 0,-3 0,-3 -3,-3 z m 0,2 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 L 7,29 C 5.9999865,29 6,29 6,28 l 0,-2 c 0,-1 -6.5e-6,-1 1,-1 z" /> +</svg> diff --git a/src/unity/sheet_style_close_focused.svg b/src/unity/sheet_style_close_focused.svg new file mode 120000 index 0000000..0749829 --- /dev/null +++ b/src/unity/sheet_style_close_focused.svg @@ -0,0 +1 @@ +close_unfocused.svg \ No newline at end of file diff --git a/src/unity/sheet_style_close_focused_prelight.svg b/src/unity/sheet_style_close_focused_prelight.svg new file mode 120000 index 0000000..64b2bff --- /dev/null +++ b/src/unity/sheet_style_close_focused_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/sheet_style_close_focused_pressed.svg b/src/unity/sheet_style_close_focused_pressed.svg new file mode 120000 index 0000000..ba6d4fe --- /dev/null +++ b/src/unity/sheet_style_close_focused_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/src/unity/unmaximize.svg b/src/unity/unmaximize.svg new file mode 100644 index 0000000..d20fcc8 --- /dev/null +++ b/src/unity/unmaximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#eeeeee" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/src/unity/unmaximize_dash.svg b/src/unity/unmaximize_dash.svg new file mode 100644 index 0000000..c54bb0e --- /dev/null +++ b/src/unity/unmaximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#ffffff" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/src/unity/unmaximize_dash_disabled.svg b/src/unity/unmaximize_dash_disabled.svg new file mode 120000 index 0000000..8340f67 --- /dev/null +++ b/src/unity/unmaximize_dash_disabled.svg @@ -0,0 +1 @@ +unmaximize_unfocused.svg \ No newline at end of file diff --git a/src/unity/unmaximize_dash_prelight.svg b/src/unity/unmaximize_dash_prelight.svg new file mode 120000 index 0000000..945a9f8 --- /dev/null +++ b/src/unity/unmaximize_dash_prelight.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/src/unity/unmaximize_dash_pressed.svg b/src/unity/unmaximize_dash_pressed.svg new file mode 120000 index 0000000..945a9f8 --- /dev/null +++ b/src/unity/unmaximize_dash_pressed.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/src/unity/unmaximize_focused_normal.svg b/src/unity/unmaximize_focused_normal.svg new file mode 120000 index 0000000..0a2fccd --- /dev/null +++ b/src/unity/unmaximize_focused_normal.svg @@ -0,0 +1 @@ +unmaximize.svg \ No newline at end of file diff --git a/src/unity/unmaximize_focused_prelight.svg b/src/unity/unmaximize_focused_prelight.svg new file mode 100644 index 0000000..a0c2372 --- /dev/null +++ b/src/unity/unmaximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#f0544c" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/src/unity/unmaximize_focused_pressed.svg b/src/unity/unmaximize_focused_pressed.svg new file mode 100644 index 0000000..ede8275 --- /dev/null +++ b/src/unity/unmaximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#f0544c" opacity="0.75" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/src/unity/unmaximize_unfocused.svg b/src/unity/unmaximize_unfocused.svg new file mode 100644 index 0000000..5ad3fe8 --- /dev/null +++ b/src/unity/unmaximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#AAAAAA" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/src/unity/unmaximize_unfocused_prelight.svg b/src/unity/unmaximize_unfocused_prelight.svg new file mode 120000 index 0000000..c786587 --- /dev/null +++ b/src/unity/unmaximize_unfocused_prelight.svg @@ -0,0 +1 @@ +unmaximize_focused_prelight.svg \ No newline at end of file diff --git a/src/unity/unmaximize_unfocused_pressed.svg b/src/unity/unmaximize_unfocused_pressed.svg new file mode 120000 index 0000000..226570c --- /dev/null +++ b/src/unity/unmaximize_unfocused_pressed.svg @@ -0,0 +1 @@ +unmaximize_focused_pressed.svg \ No newline at end of file diff --git a/src/xfwm4/bottom-active.xpm b/src/xfwm4/bottom-active.xpm new file mode 100644 index 0000000..81a84ad --- /dev/null +++ b/src/xfwm4/bottom-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_active_xpm[] = { +"8 1 2 1", +" c None", +". c #eeeeee", +"........"}; diff --git a/src/xfwm4/bottom-inactive.xpm b/src/xfwm4/bottom-inactive.xpm new file mode 100644 index 0000000..a827a40 --- /dev/null +++ b/src/xfwm4/bottom-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_inactive_xpm[] = { +"8 1 2 1", +" c None", +". c #eeeeee", +"........"}; diff --git a/src/xfwm4/bottom-left-active.xpm b/src/xfwm4/bottom-left-active.xpm new file mode 100644 index 0000000..601b19f --- /dev/null +++ b/src/xfwm4/bottom-left-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_left_active_xpm[] = { +"1 1 2 1", +" c None", +". c #eeeeee", +"."}; diff --git a/src/xfwm4/bottom-left-inactive.xpm b/src/xfwm4/bottom-left-inactive.xpm new file mode 100644 index 0000000..dede8dd --- /dev/null +++ b/src/xfwm4/bottom-left-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_left_inactive_xpm[] = { +"1 1 2 1", +" c None", +". c #eeeeee", +"."}; diff --git a/src/xfwm4/bottom-right-active.xpm b/src/xfwm4/bottom-right-active.xpm new file mode 100644 index 0000000..886b34f --- /dev/null +++ b/src/xfwm4/bottom-right-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_right_active_xpm[] = { +"1 1 2 1", +" c None", +". c #eeeeee", +"."}; diff --git a/src/xfwm4/bottom-right-inactive.xpm b/src/xfwm4/bottom-right-inactive.xpm new file mode 100644 index 0000000..2042a2f --- /dev/null +++ b/src/xfwm4/bottom-right-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_right_inactive_xpm[] = { +"1 1 2 1", +" c None", +". c #eeeeee", +"."}; diff --git a/src/xfwm4/close-active.xpm b/src/xfwm4/close-active.xpm new file mode 100644 index 0000000..204ac4e --- /dev/null +++ b/src/xfwm4/close-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #111111", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/close-inactive.xpm b/src/xfwm4/close-inactive.xpm new file mode 100644 index 0000000..204ac4e --- /dev/null +++ b/src/xfwm4/close-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #111111", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/close-prelight.xpm b/src/xfwm4/close-prelight.xpm new file mode 100644 index 0000000..54ab935 --- /dev/null +++ b/src/xfwm4/close-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/close-pressed.png b/src/xfwm4/close-pressed.png new file mode 100644 index 0000000..0c386b9 Binary files /dev/null and b/src/xfwm4/close-pressed.png differ diff --git a/src/xfwm4/close-pressed.xpm b/src/xfwm4/close-pressed.xpm new file mode 100644 index 0000000..54ab935 --- /dev/null +++ b/src/xfwm4/close-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/hide-active.xpm b/src/xfwm4/hide-active.xpm new file mode 100644 index 0000000..7885c9f --- /dev/null +++ b/src/xfwm4/hide-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #eeeeee", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/hide-inactive.xpm b/src/xfwm4/hide-inactive.xpm new file mode 100644 index 0000000..94afb39 --- /dev/null +++ b/src/xfwm4/hide-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #101010", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/hide-prelight.xpm b/src/xfwm4/hide-prelight.xpm new file mode 100644 index 0000000..10c92ee --- /dev/null +++ b/src/xfwm4/hide-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/hide-pressed.png b/src/xfwm4/hide-pressed.png new file mode 100644 index 0000000..3b255f0 Binary files /dev/null and b/src/xfwm4/hide-pressed.png differ diff --git a/src/xfwm4/hide-pressed.xpm b/src/xfwm4/hide-pressed.xpm new file mode 100644 index 0000000..10c92ee --- /dev/null +++ b/src/xfwm4/hide-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/left-active.xpm b/src/xfwm4/left-active.xpm new file mode 100644 index 0000000..0fc75d5 --- /dev/null +++ b/src/xfwm4/left-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_active_xpm[] = { +"1 21 2 1", +" c None", +". c #eeeeee", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/src/xfwm4/left-inactive.xpm b/src/xfwm4/left-inactive.xpm new file mode 100644 index 0000000..a99c198 --- /dev/null +++ b/src/xfwm4/left-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #eeeeee", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/src/xfwm4/maximize-active.xpm b/src/xfwm4/maximize-active.xpm new file mode 100644 index 0000000..7e61f4c --- /dev/null +++ b/src/xfwm4/maximize-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #eeeeee", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-inactive.xpm b/src/xfwm4/maximize-inactive.xpm new file mode 100644 index 0000000..45c7a68 --- /dev/null +++ b/src/xfwm4/maximize-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #101010", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-prelight.xpm b/src/xfwm4/maximize-prelight.xpm new file mode 100644 index 0000000..4bd8c3e --- /dev/null +++ b/src/xfwm4/maximize-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-pressed.png b/src/xfwm4/maximize-pressed.png new file mode 100644 index 0000000..33700a0 Binary files /dev/null and b/src/xfwm4/maximize-pressed.png differ diff --git a/src/xfwm4/maximize-pressed.xpm b/src/xfwm4/maximize-pressed.xpm new file mode 100644 index 0000000..4bd8c3e --- /dev/null +++ b/src/xfwm4/maximize-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #111111", +"+ c #e91e63 s active_color_1", +"@ c #111111", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-toggled-active.xpm b/src/xfwm4/maximize-toggled-active.xpm new file mode 100644 index 0000000..b6cd92d --- /dev/null +++ b/src/xfwm4/maximize-toggled-active.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #eeeeee", +======= +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-toggled-inactive.xpm b/src/xfwm4/maximize-toggled-inactive.xpm new file mode 100644 index 0000000..6770b9d --- /dev/null +++ b/src/xfwm4/maximize-toggled-inactive.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #101010", +======= +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-toggled-prelight.xpm b/src/xfwm4/maximize-toggled-prelight.xpm new file mode 100644 index 0000000..6215afa --- /dev/null +++ b/src/xfwm4/maximize-toggled-prelight.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/maximize-toggled-pressed.png b/src/xfwm4/maximize-toggled-pressed.png new file mode 100644 index 0000000..33700a0 Binary files /dev/null and b/src/xfwm4/maximize-toggled-pressed.png differ diff --git a/src/xfwm4/maximize-toggled-pressed.xpm b/src/xfwm4/maximize-toggled-pressed.xpm new file mode 100644 index 0000000..6215afa --- /dev/null +++ b/src/xfwm4/maximize-toggled-pressed.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/menu-active.xpm b/src/xfwm4/menu-active.xpm new file mode 100644 index 0000000..12e27f2 --- /dev/null +++ b/src/xfwm4/menu-active.xpm @@ -0,0 +1,25 @@ +/* XPM */ +static char * menu_active_xpm[] = { +"24 16 2 1", +" c None", +<<<<<<< HEAD +". c #111111", +======= +". c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/menu-inactive.xpm b/src/xfwm4/menu-inactive.xpm new file mode 100644 index 0000000..a460884 --- /dev/null +++ b/src/xfwm4/menu-inactive.xpm @@ -0,0 +1,25 @@ +/* XPM */ +static char * menu_inactive_xpm[] = { +"24 16 2 1", +" c None", +<<<<<<< HEAD +". c #111111", +======= +". c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/menu-prelight.xpm b/src/xfwm4/menu-prelight.xpm new file mode 100644 index 0000000..9368fc3 --- /dev/null +++ b/src/xfwm4/menu-prelight.xpm @@ -0,0 +1,25 @@ +/* XPM */ +static char * menu_prelight_xpm[] = { +"24 16 2 1", +" c None", +<<<<<<< HEAD +". c #111111", +======= +". c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/menu-pressed.xpm b/src/xfwm4/menu-pressed.xpm new file mode 100644 index 0000000..c235750 --- /dev/null +++ b/src/xfwm4/menu-pressed.xpm @@ -0,0 +1,25 @@ +/* XPM */ +static char * menu_pressed_xpm[] = { +"24 16 2 1", +" c None", +<<<<<<< HEAD +". c #111111", +======= +". c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/right-active.xpm b/src/xfwm4/right-active.xpm new file mode 100644 index 0000000..4cdfff7 --- /dev/null +++ b/src/xfwm4/right-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_active_xpm[] = { +"1 21 2 1", +" c None", +". c #eeeeee", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/src/xfwm4/right-inactive.xpm b/src/xfwm4/right-inactive.xpm new file mode 100644 index 0000000..42fc92d --- /dev/null +++ b/src/xfwm4/right-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #eeeeee", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/src/xfwm4/shade-active.xpm b/src/xfwm4/shade-active.xpm new file mode 100644 index 0000000..4c25113 --- /dev/null +++ b/src/xfwm4/shade-active.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #eeeeee", +======= +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-inactive.xpm b/src/xfwm4/shade-inactive.xpm new file mode 100644 index 0000000..e6381c8 --- /dev/null +++ b/src/xfwm4/shade-inactive.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #101010", +======= +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-prelight.xpm b/src/xfwm4/shade-prelight.xpm new file mode 100644 index 0000000..0ce1b9f --- /dev/null +++ b/src/xfwm4/shade-prelight.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-pressed.png b/src/xfwm4/shade-pressed.png new file mode 100644 index 0000000..58bffbe Binary files /dev/null and b/src/xfwm4/shade-pressed.png differ diff --git a/src/xfwm4/shade-pressed.xpm b/src/xfwm4/shade-pressed.xpm new file mode 100644 index 0000000..0ce1b9f --- /dev/null +++ b/src/xfwm4/shade-pressed.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-toggled-active.xpm b/src/xfwm4/shade-toggled-active.xpm new file mode 100644 index 0000000..707a4fb --- /dev/null +++ b/src/xfwm4/shade-toggled-active.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #eeeeee", +======= +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-toggled-inactive.xpm b/src/xfwm4/shade-toggled-inactive.xpm new file mode 100644 index 0000000..3b29731 --- /dev/null +++ b/src/xfwm4/shade-toggled-inactive.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #101010", +======= +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-toggled-prelight.xpm b/src/xfwm4/shade-toggled-prelight.xpm new file mode 100644 index 0000000..c694177 --- /dev/null +++ b/src/xfwm4/shade-toggled-prelight.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/shade-toggled-pressed.png b/src/xfwm4/shade-toggled-pressed.png new file mode 100644 index 0000000..33ea278 Binary files /dev/null and b/src/xfwm4/shade-toggled-pressed.png differ diff --git a/src/xfwm4/shade-toggled-pressed.xpm b/src/xfwm4/shade-toggled-pressed.xpm new file mode 100644 index 0000000..c694177 --- /dev/null +++ b/src/xfwm4/shade-toggled-pressed.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-active.xpm b/src/xfwm4/stick-active.xpm new file mode 100644 index 0000000..d3dbc3b --- /dev/null +++ b/src/xfwm4/stick-active.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_active_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #eeeeee", +======= +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-inactive.xpm b/src/xfwm4/stick-inactive.xpm new file mode 100644 index 0000000..3822388 --- /dev/null +++ b/src/xfwm4/stick-inactive.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #101010", +======= +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-prelight.xpm b/src/xfwm4/stick-prelight.xpm new file mode 100644 index 0000000..b16ae3d --- /dev/null +++ b/src/xfwm4/stick-prelight.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-pressed.png b/src/xfwm4/stick-pressed.png new file mode 100644 index 0000000..bfcd766 Binary files /dev/null and b/src/xfwm4/stick-pressed.png differ diff --git a/src/xfwm4/stick-pressed.xpm b/src/xfwm4/stick-pressed.xpm new file mode 100644 index 0000000..b16ae3d --- /dev/null +++ b/src/xfwm4/stick-pressed.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-toggled-active.xpm b/src/xfwm4/stick-toggled-active.xpm new file mode 100644 index 0000000..f11c2be --- /dev/null +++ b/src/xfwm4/stick-toggled-active.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_active_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #eeeeee", +======= +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-toggled-inactive.xpm b/src/xfwm4/stick-toggled-inactive.xpm new file mode 100644 index 0000000..7836cd1 --- /dev/null +++ b/src/xfwm4/stick-toggled-inactive.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #101010", +======= +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-toggled-prelight.xpm b/src/xfwm4/stick-toggled-prelight.xpm new file mode 100644 index 0000000..efa3c31 --- /dev/null +++ b/src/xfwm4/stick-toggled-prelight.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/stick-toggled-pressed.png b/src/xfwm4/stick-toggled-pressed.png new file mode 100644 index 0000000..c98e155 Binary files /dev/null and b/src/xfwm4/stick-toggled-pressed.png differ diff --git a/src/xfwm4/stick-toggled-pressed.xpm b/src/xfwm4/stick-toggled-pressed.xpm new file mode 100644 index 0000000..efa3c31 --- /dev/null +++ b/src/xfwm4/stick-toggled-pressed.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +<<<<<<< HEAD +". c #111111", +"+ c #e91e63 s active_color_1", +======= +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/src/xfwm4/themerc b/src/xfwm4/themerc new file mode 100644 index 0000000..356e211 --- /dev/null +++ b/src/xfwm4/themerc @@ -0,0 +1,23 @@ +# Name: Librix xfwm4 theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + +active_text_color=#eeeeee +inactive_text_color=#101010 +button_offset=3 +button_spacing=0 +show_app_icon=true +full_width_title=true +maximized_offset=0 +title_horizontal_offset=3 +title_shadow_active=false +title_shadow_inactive=false +title_vertical_offset_active=0 +title_vertical_offset_inactive=0 +title_shadow_active=false +title_shadow_inactive=false +shadow_delta_height=0 +shadow_delta_width=0 +shadow_delta_x=0 +shadow_delta_y=0 +shadow_opacity=30 diff --git a/src/xfwm4/title-1-active.xpm b/src/xfwm4/title-1-active.xpm new file mode 100644 index 0000000..f0b5fe9 --- /dev/null +++ b/src/xfwm4/title-1-active.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_1_active_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #484848", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-1-inactive.xpm b/src/xfwm4/title-1-inactive.xpm new file mode 100644 index 0000000..6a50564 --- /dev/null +++ b/src/xfwm4/title-1-inactive.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_1_inactive_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #393939", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-2-active.xpm b/src/xfwm4/title-2-active.xpm new file mode 100644 index 0000000..6341d93 --- /dev/null +++ b/src/xfwm4/title-2-active.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_2_active_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #484848", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-2-inactive.xpm b/src/xfwm4/title-2-inactive.xpm new file mode 100644 index 0000000..6077207 --- /dev/null +++ b/src/xfwm4/title-2-inactive.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_2_inactive_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #393939", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-3-active.xpm b/src/xfwm4/title-3-active.xpm new file mode 100644 index 0000000..9719096 --- /dev/null +++ b/src/xfwm4/title-3-active.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_3_active_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #484848", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-3-inactive.xpm b/src/xfwm4/title-3-inactive.xpm new file mode 100644 index 0000000..7659216 --- /dev/null +++ b/src/xfwm4/title-3-inactive.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_3_inactive_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #393939", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-4-active.xpm b/src/xfwm4/title-4-active.xpm new file mode 100644 index 0000000..b07eb3d --- /dev/null +++ b/src/xfwm4/title-4-active.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_4_active_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #484848", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-4-inactive.xpm b/src/xfwm4/title-4-inactive.xpm new file mode 100644 index 0000000..2154935 --- /dev/null +++ b/src/xfwm4/title-4-inactive.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_4_inactive_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #393939", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-5-active.xpm b/src/xfwm4/title-5-active.xpm new file mode 100644 index 0000000..3338ded --- /dev/null +++ b/src/xfwm4/title-5-active.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_5_active_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #484848", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/title-5-inactive.xpm b/src/xfwm4/title-5-inactive.xpm new file mode 100644 index 0000000..e1ada24 --- /dev/null +++ b/src/xfwm4/title-5-inactive.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * title_5_inactive_xpm[] = { +"2 26 3 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +======= +". c #393939", +"+ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/src/xfwm4/top-left-active.xpm b/src/xfwm4/top-left-active.xpm new file mode 100644 index 0000000..ce7c343 --- /dev/null +++ b/src/xfwm4/top-left-active.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * top_left_active_xpm[] = { +"2 26 4 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #eeeeee", +"@ c #111111", +======= +". c #484848", +"+ c #343434", +"@ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/src/xfwm4/top-left-inactive.xpm b/src/xfwm4/top-left-inactive.xpm new file mode 100644 index 0000000..c35e9d3 --- /dev/null +++ b/src/xfwm4/top-left-inactive.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * top_left_inactive_xpm[] = { +"2 26 4 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +"@ c #111111", +======= +". c #393939", +"+ c #303030", +"@ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/src/xfwm4/top-right-active.xpm b/src/xfwm4/top-right-active.xpm new file mode 100644 index 0000000..c6451f6 --- /dev/null +++ b/src/xfwm4/top-right-active.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * top_right_active_xpm[] = { +"2 26 4 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #eeeeee", +"@ c #111111", +======= +". c #484848", +"+ c #343434", +"@ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; diff --git a/src/xfwm4/top-right-inactive.xpm b/src/xfwm4/top-right-inactive.xpm new file mode 100644 index 0000000..ccd454c --- /dev/null +++ b/src/xfwm4/top-right-inactive.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * top_right_inactive_xpm[] = { +"2 26 4 1", +" c None", +<<<<<<< HEAD +". c #eeeeee", +"+ c #111111", +"@ c #111111", +======= +". c #393939", +"+ c #303030", +"@ c #444444", +>>>>>>> 20c317abd13ec1b1bd1eef62707456f4e76b1f5d +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; -- cgit v1.2.3