From 56b07518c525ecfe2098436574b4265c3019bd0a Mon Sep 17 00:00:00 2001 From: Perberos Date: Sun, 18 Mar 2012 04:35:03 -0300 Subject: fixing filename (https://github.com/mate-desktop/mate-themes/issues/2) --- marco-themes/Glider/metacity-theme-1.xml | 718 +++++++++++++++++++++++++++++++ 1 file changed, 718 insertions(+) create mode 100644 marco-themes/Glider/metacity-theme-1.xml (limited to 'marco-themes/Glider') diff --git a/marco-themes/Glider/metacity-theme-1.xml b/marco-themes/Glider/metacity-theme-1.xml new file mode 100644 index 00000000..17761da8 --- /dev/null +++ b/marco-themes/Glider/metacity-theme-1.xml @@ -0,0 +1,718 @@ + + + + + SimplySmooth + Link Dupont <link@subpop.net> + Â 2004 Link Dupont + April, 2004 + Based on Industrial by Tuomas Kuosmanen <tigert@ximian.com> and SmoothBox by Andrew Johnson <ajgenius@ajgenius.us> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <title color="shade/gtk:bg[SELECTED]/0.7" + x="(3 `max` (width-title_width)) / 2 + 2" + y="(((height - title_height) / 2) `max` 0) + 2"/> + <title color="shade/gtk:bg[SELECTED]/0.4" + x="(3 `max` (width-title_width)) / 2 + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + <title color="gtk:fg[SELECTED]" + x="(3 `max` (width-title_width)) / 2" + y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="title_text_unfocused"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" + x="(3 `max` (width-title_width)) / 2" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title"> + <include name="title_bg"/> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_unfocused"> + <include name="title_text_unfocused"/> +</draw_ops> + +<!-- ::: BUTTONS ::: --> + +<draw_ops name="button_bg"> + <gtk_box state="normal" shadow="out" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused"> + <gtk_box state="insensitive" shadow="out" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + <gtk_box state="prelight" shadow="out" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="button_bg_pressed"> + <gtk_box state="active" shadow="in" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="menu_button_icon"> + <icon x="0" + y="0" + width="width" height="height"/> +</draw_ops> + +<draw_ops name="menu_button_icon_unfocused"> + <icon x="0" + y="0" + width="width" height="height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="menu_button_normal"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_pressed"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_unfocused"> + <include name="menu_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="close_button_icon"> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad+1" y1="ButtonIPad" + x2="width - ButtonIPad" y2="height - ButtonIPad - 1"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad" y1="ButtonIPad" + x2="width - ButtonIPad" y2="height - ButtonIPad"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad" y1="ButtonIPad+1" + x2="width - ButtonIPad - 1" y2="height - ButtonIPad"/> + + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad" y1="height - ButtonIPad - 2" + x2="width - ButtonIPad - 1" y2="ButtonIPad-1"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad" y1="height - ButtonIPad - 1" + x2="width - ButtonIPad" y2="ButtonIPad-1"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + width="1" + x1="ButtonIPad+1" y1="height - ButtonIPad - 1" + x2="width - ButtonIPad" y2="ButtonIPad"/> +</draw_ops> + +<draw_ops name="close_button_icon_unfocused"> +<include name="button_bg_unfocused"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad+1" y1="ButtonIPad" + x2="width - ButtonIPad" y2="height - ButtonIPad - 1"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad" y1="ButtonIPad" + x2="width - ButtonIPad" y2="height - ButtonIPad"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad" y1="ButtonIPad+1" + x2="width - ButtonIPad - 1" y2="height - ButtonIPad"/> + + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad" y1="height - ButtonIPad - 2" + x2="width - ButtonIPad - 1" y2="ButtonIPad-1"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad" y1="height - ButtonIPad - 1" + x2="width - ButtonIPad" y2="ButtonIPad-1"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + width="1" + x1="ButtonIPad+1" y1="height - ButtonIPad - 1" + x2="width - ButtonIPad" y2="ButtonIPad"/> + </draw_ops> + + <draw_ops name="outer_bevel"> + <rectangle color="#000000" + x="0" y="0" width="width-1" height="height-1"/> + <line color="gtk:light[NORMAL]" + x1="1" y1="1" x2="1" y2="height-2"/> + <line color="gtk:light[NORMAL]" + x1="1" y1="1" x2="width-2" y2="1"/> + <line color="gtk:dark[NORMAL]" + x1="width-2" y1="1" x2="width-2" y2="height-2"/> + <line color="gtk:dark[NORMAL]" + x1="1" y1="height-2" x2="width-2" y2="height-2"/> +</draw_ops> + +<draw_ops name="close_button_normal"> + <include name="button_bg"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_prelight"> + <include name="button_bg_prelight"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_pressed"> + <include name="button_bg_pressed"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="maximize_button_icon"> + <rectangle color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" filled="false" + x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" width="3" + x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/> +</draw_ops> + +<draw_ops name="maximize_button_icon_unfocused"> + <include name="button_bg_unfocused"/> + <rectangle color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" filled="false" + x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="3" + x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/> +</draw_ops> + +<draw_ops name="maximize_button_normal"> + <include name="button_bg"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="normal_window_icon"> + <rectangle color="gtk:bg[NORMAL]" filled="true" + x="0" y="0" width="width-1" height="height-1"/> + <rectangle color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" filled="false" + x="0" y="0" width="width-1" height="height-1"/> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" width="2" + x1="0" y1="1" x2="width" y2="1"/> + </draw_ops> + + <draw_ops name="pressed_window_icon"> + <rectangle color="gtk:bg[ACTIVE]" filled="true" + x="0" y="0" width="width-1" height="height-1"/> + <rectangle color="blend/gtk:bg[ACTIVE]/gtk:fg[ACTIVE]/0.75" filled="false" + x="0" y="0" width="width-1" height="height-1"/> + <line color="blend/gtk:bg[ACTIVE]/gtk:fg[ACTIVE]/0.75" width="2" + x1="0" y1="1" x2="width" y2="1"/> + </draw_ops> + + <draw_ops name="prelight_window_icon"> + <rectangle color="gtk:bg[PRELIGHT]" filled="true" + x="0" y="0" width="width-1" height="height-1"/> + <rectangle color="blend/gtk:bg[PRELIGHT]/gtk:fg[PRELIGHT]/0.75" filled="false" + x="0" y="0" width="width-1" height="height-1"/> + <line color="blend/gtk:bg[PRELIGHT]/gtk:fg[PRELIGHT]/0.75" width="2" + x1="0" y1="1" x2="width" y2="1"/> + </draw_ops> + + <draw_ops name="mini_window_icon_unfocused"> + <rectangle color="gtk:bg[INSENSITIVE]" filled="true" + x="0" y="0" width="width-1" height="height-1"/> + <rectangle color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" filled="false" + x="0" y="0" width="width-1" height="height-1"/> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2" + x1="0" y1="1" x2="width" y2="1"/> + </draw_ops> + + <draw_ops name="restore_button_normal"> + <include name="button_bg"/> + <include name="normal_window_icon" + x="3 + ButtonIPad" y="ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + <include name="normal_window_icon" + x="ButtonIPad" y="3 + ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + </draw_ops> + + <draw_ops name="restore_button_pressed"> + <include name="button_bg_pressed"/> + <include name="pressed_window_icon" + x="3 + ButtonIPad" y="ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + <include name="pressed_window_icon" + x="ButtonIPad" y="3 + ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + </draw_ops> + + <draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight"/> + <include name="prelight_window_icon" + x="3 + ButtonIPad" y="ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + <include name="prelight_window_icon" + x="ButtonIPad" y="3 + ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + </draw_ops> + + <draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="mini_window_icon_unfocused" + x="3 + ButtonIPad" y="ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + <include name="mini_window_icon_unfocused" + x="ButtonIPad" y="3 + ButtonIPad+1" + width="width - 7 - ButtonIPad" + height="height - 7 - ButtonIPad"/> + </draw_ops> + +<!-- +<draw_ops name="restore_button_icon"> + <rectangle color="gtk:fg[NORMAL]" filled="false" + x="ButtonIPad + 2" y="ButtonIPad + 2" width="width-ButtonIPad*2-5" height="height-ButtonIPad*2-5"/> + <line color="gtk:fg[NORMAL]" width="1" + x1="ButtonIPad + 3" y1="ButtonIPad + 3" x2="width-ButtonIPad - 3" y2="ButtonIPad + 3"/> +</draw_ops> + +<draw_ops name="restore_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.7" filled="false" + x="ButtonIPad + 2" y="ButtonIPad + 2" width="width-ButtonIPad*2-5" height="height-ButtonIPad*2-5"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.7" width="1" + x1="ButtonIPad + 3" y1="ButtonIPad + 3" x2="width-ButtonIPad - 3" y2="ButtonIPad + 3"/> +</draw_ops> + +<draw_ops name="restore_button_normal"> + <include name="button_bg"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_pressed"> + <include name="button_bg_pressed"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +--> +<draw_ops name="minimize_button_icon"> + <line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" + x1="ButtonIPad" + y1="height - ButtonIPad - ThickLineWidth + 1" + x2="width - ButtonIPad" + y2="height - ButtonIPad - ThickLineWidth + 1" + width="3"/> +</draw_ops> + +<draw_ops name="minimize_button_icon_unfocused"> + <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" + x1="ButtonIPad" + y1="height - ButtonIPad - ThickLineWidth + 1" + x2="width - ButtonIPad" + y2="height - ButtonIPad - ThickLineWidth + 1" + width="3"/> +</draw_ops> + +<draw_ops name="minimize_button_normal"> + <include name="button_bg"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<frame_style name="normal" geometry="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="focused" geometry="normal" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> +</frame_style> + +<frame_style name="normal_maximized" geometry="normal_maximized"> + <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal_maximized" parent="normal_maximized"> + <piece position="entire_background" draw_ops="bevel_maximized"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="maximize" state="normal" draw_ops="restore_button_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="focused"/> + <frame focus="no" state="normal" resize="both" style="normal"/> + <frame focus="yes" state="maximized" style="focused_maximized"/> + <frame focus="no" state="maximized" style="normal_maximized"/> + <frame focus="yes" state="shaded" style="focused"/> + <frame focus="no" state="shaded" style="normal"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> + <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> +<frame focus="yes" state="normal" resize="both" style="focused"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<!-- this is a bunch of crack since utility windows shouldn't be maximized --> +<frame focus="yes" state="maximized" style="focused"/> +<frame focus="no" state="maximized" style="normal"/> +<frame focus="yes" state="shaded" style="focused"/> +<frame focus="no" state="shaded" style="normal"/> +<frame focus="yes" state="maximized_and_shaded" style="focused"/> +<frame focus="no" state="maximized_and_shaded" style="normal"/> +</frame_style_set> + +<frame_style_set name="border"> +<frame focus="yes" state="normal" resize="both" style="border"/> +<frame focus="no" state="normal" resize="both" style="border"/> +<frame focus="yes" state="maximized" style="border"/> +<frame focus="no" state="maximized" style="border"/> +<frame focus="yes" state="shaded" style="border"/> +<frame focus="no" state="shaded" style="border"/> +<frame focus="yes" state="maximized_and_shaded" style="border"/> +<frame focus="no" state="maximized_and_shaded" style="border"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="normal"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/> +<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> +<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_unfocused"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> + +</marco_theme> -- cgit v1.2.1