mint-clearlooks-revamp elementart Art Team GPL November 2009 A pleasant theme built to adapt to many color schemes as well as be optimal for both high and low resolution displays. <title color="shade/gtk:bg[NORMAL]/0.50" x="3 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> </draw_ops> <draw_ops name="title_unfocused"> <title color="shade/gtk:bg[NORMAL]/0.80" x="3 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> </draw_ops> <!-- menu icon --> <draw_ops name="menu_button_normal"> <image filename="menu-focus-normal.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="menu_button_prelight"> <image filename="menu-focus.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="menu_button_pressed"> <image filename="menu-pressed.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="shade/gtk:bg[SELECTED]/0.85"/> </draw_ops> <draw_ops name="menu_button_unfocused"> <image filename="menu-focus-none.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <!-- close icon --> <draw_ops name="close_button_normal"> <image filename="close-focus-normal.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="close_button_prelight"> <image filename="close-focus.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="close_button_pressed"> <image filename="close-pressed.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="shade/gtk:bg[SELECTED]/0.85"/> </draw_ops> <draw_ops name="close_button_unfocused"> <image filename="close-focus-none.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <!-- maximize icon --> <draw_ops name="maximize_button_normal"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.74" /> <color value="shade/gtk:bg[NORMAL]/0.80" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> <gradient type="vertical" x="(width - 8) / 2 +3" y="(height - 2) / 2 -2" width="2" height="8"> <color value="shade/gtk:bg[NORMAL]/0.63" /> <color value="shade/gtk:bg[NORMAL]/0.93" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2 +3" x2="(width - 8) / 2 + 4" y1="(height - 2) / 2 + 6" y2="(height - 2) / 2 + 6"/> </draw_ops> <draw_ops name="maximize_button_prelight"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.63" /> <color value="shade/gtk:bg[NORMAL]/0.67" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> <gradient type="vertical" x="(width - 8) / 2 +3" y="(height - 2) / 2 -2" width="2" height="8"> <color value="shade/gtk:bg[NORMAL]/0.51" /> <color value="shade/gtk:bg[NORMAL]/0.80" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2 +3" x2="(width - 8) / 2 + 4" y1="(height - 2) / 2 + 6" y2="(height - 2) / 2 + 6"/> </draw_ops> <draw_ops name="maximize_button_pressed"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.87" /> <color value="shade/gtk:bg[NORMAL]/0.92" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> <gradient type="vertical" x="(width - 8) / 2 +3" y="(height - 2) / 2 -2" width="2" height="8"> <color value="shade/gtk:bg[NORMAL]/0.72" /> <color value="shade/gtk:bg[NORMAL]/1.05" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2 +3" x2="(width - 8) / 2 + 4" y1="(height - 2) / 2 + 6" y2="(height - 2) / 2 + 6"/> </draw_ops> <draw_ops name="maximize_button_unfocused"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.80" /> <color value="shade/gtk:bg[NORMAL]/0.85" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.10" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> <gradient type="vertical" x="(width - 8) / 2 +3" y="(height - 2) / 2 -2" width="2" height="8"> <color value="shade/gtk:bg[NORMAL]/0.70" /> <color value="shade/gtk:bg[NORMAL]/0.98" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.10" x1="(width - 8) / 2 +3" x2="(width - 8) / 2 + 4" y1="(height - 2) / 2 + 6" y2="(height - 2) / 2 + 6"/> </draw_ops> <!-- minimize icon --> <draw_ops name="minimize_button_normal"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.70" /> <color value="shade/gtk:bg[NORMAL]/0.80" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> </draw_ops> <draw_ops name="minimize_button_prelight"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.60" /> <color value="shade/gtk:bg[NORMAL]/0.70" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> </draw_ops> <draw_ops name="minimize_button_pressed"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.90" /> <color value="shade/gtk:bg[NORMAL]/1.00" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.20" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> </draw_ops> <draw_ops name="minimize_button_unfocused"> <gradient type="vertical" x="(width - 8) / 2" y="(height - 2) / 2 + 1" width="8" height="2"> <color value="shade/gtk:bg[NORMAL]/0.85" /> <color value="shade/gtk:bg[NORMAL]/0.90" /> </gradient> <line color="shade/gtk:bg[NORMAL]/1.10" x1="(width - 8) / 2" x2="(width - 8) / 2 + 7" y1="(height - 2) / 2 + 3" y2="(height - 2) / 2 + 3"/> </draw_ops> <draw_ops name="blank"> <!-- nothing --> </draw_ops> <!-- ::: FRAME STYLES ::: --> <frame_style name="normal" geometry="normal"> <piece position="entire_background" draw_ops="round_titlebar"/> <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"/> <button function="menu" state="prelight" draw_ops="menu_button_prelight"/> </frame_style> <frame_style name="normal_shaded" geometry="shaded" parent="normal"> <piece position="entire_background" draw_ops="round_titlebar"/> </frame_style> <frame_style name="focused" geometry="normal" parent="normal"> <piece position="entire_background" draw_ops="round_titlebar"/> <piece position="title" draw_ops="title"/> <button function="close" state="normal" draw_ops="close_button_normal"/> <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_normal"/> <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_normal"/> <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_normal"/> <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> <button function="menu" state="prelight" draw_ops="menu_button_prelight"/> </frame_style> <frame_style name="focused_shaded" geometry="shaded" parent="focused"> <piece position="entire_background" draw_ops="round_titlebar_shaded"/> </frame_style> <frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> <piece position="entire_background" draw_ops="titlebar_maximized"/> <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"/> </frame_style> <frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> <piece position="entire_background" draw_ops="titlebar_maximized"/> <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> </frame_style> <frame_style name="border" geometry="border" parent="normal"> <piece position="entire_background" draw_ops="border"/> <piece position="title" draw_ops="blank"/> </frame_style> <frame_style name="utility_normal" geometry="utility" parent="normal"> </frame_style> <frame_style name="utility_focused" geometry="utility" parent="focused"> </frame_style> <frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> <piece position="entire_background" draw_ops="titlebar_shaded"/> </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_shaded"/> <frame focus="no" state="shaded" style="normal_shaded"/> <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="utility_focused"/> <frame focus="no" state="normal" resize="both" style="utility_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="utility_focused_shaded"/> <frame focus="no" state="shaded" style="utility_normal"/> <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> <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="utility"/> <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="maximize_button_icon_unfocused"/> <menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> </metacity_theme>