From cc6b58c5fc6967f010d3570ba27086b16a253723 Mon Sep 17 00:00:00 2001 From: grassmunk Date: Sun, 17 Apr 2016 09:26:12 -0700 Subject: [PATCH] adding metacity theme and minor GTK3 changes --- Theme/Chicago95/gtk-2.0/menu_item.rc | 6 +- .../gtk-3.0/apps/lightdm-gtk-greeter.css | 4 +- Theme/Chicago95/gtk-3.0/gtk-widgets.css | 16 +- Theme/Chicago95/index.theme | 12 + Theme/Chicago95/metacity-1/close_normal.png | Bin 0 -> 226 bytes .../metacity-1/close_normal_small.png | Bin 0 -> 193 bytes Theme/Chicago95/metacity-1/close_pressed.png | Bin 0 -> 225 bytes .../metacity-1/close_pressed_small.png | Bin 0 -> 193 bytes .../Chicago95/metacity-1/maximize_normal.png | Bin 0 -> 205 bytes .../Chicago95/metacity-1/maximize_pressed.png | Bin 0 -> 215 bytes .../Chicago95/metacity-1/metacity-theme-1.xml | 343 ++++++++++++++++++ .../Chicago95/metacity-1/minimize_normal.png | Bin 0 -> 194 bytes .../Chicago95/metacity-1/minimize_pressed.png | Bin 0 -> 198 bytes Theme/Chicago95/metacity-1/restore_normal.png | Bin 0 -> 217 bytes .../Chicago95/metacity-1/restore_pressed.png | Bin 0 -> 217 bytes 15 files changed, 372 insertions(+), 9 deletions(-) create mode 100644 Theme/Chicago95/index.theme create mode 100644 Theme/Chicago95/metacity-1/close_normal.png create mode 100644 Theme/Chicago95/metacity-1/close_normal_small.png create mode 100644 Theme/Chicago95/metacity-1/close_pressed.png create mode 100644 Theme/Chicago95/metacity-1/close_pressed_small.png create mode 100644 Theme/Chicago95/metacity-1/maximize_normal.png create mode 100644 Theme/Chicago95/metacity-1/maximize_pressed.png create mode 100644 Theme/Chicago95/metacity-1/metacity-theme-1.xml create mode 100644 Theme/Chicago95/metacity-1/minimize_normal.png create mode 100644 Theme/Chicago95/metacity-1/minimize_pressed.png create mode 100644 Theme/Chicago95/metacity-1/restore_normal.png create mode 100644 Theme/Chicago95/metacity-1/restore_pressed.png diff --git a/Theme/Chicago95/gtk-2.0/menu_item.rc b/Theme/Chicago95/gtk-2.0/menu_item.rc index c3de04d..a5e44b2 100644 --- a/Theme/Chicago95/gtk-2.0/menu_item.rc +++ b/Theme/Chicago95/gtk-2.0/menu_item.rc @@ -1,7 +1,7 @@ style "menu_item" { - xthickness = 2 - ythickness = 3 + xthickness = 0 + ythickness = 0 # HACK: Gtk doesn't actually read this value # while rendering the menu items, but Libreoffice @@ -195,4 +195,4 @@ style "menu_item" widget_class "**" style "menu_item" -#class "GtkMenu" style "menu_item" \ No newline at end of file +#class "GtkMenu" style "menu_item" diff --git a/Theme/Chicago95/gtk-3.0/apps/lightdm-gtk-greeter.css b/Theme/Chicago95/gtk-3.0/apps/lightdm-gtk-greeter.css index 874cdb3..0990e1a 100644 --- a/Theme/Chicago95/gtk-3.0/apps/lightdm-gtk-greeter.css +++ b/Theme/Chicago95/gtk-3.0/apps/lightdm-gtk-greeter.css @@ -2,12 +2,10 @@ * panel * *********/ #panel_window { - background-color: transparent; + background-color: #008080; background-image: none; color: white; font: bold; - text-shadow: 0 1px alpha(black, 0.5); - icon-shadow: 0 1px alpha(black, 0.5); } #panel_window .menubar, diff --git a/Theme/Chicago95/gtk-3.0/gtk-widgets.css b/Theme/Chicago95/gtk-3.0/gtk-widgets.css index 7c52233..f867fab 100644 --- a/Theme/Chicago95/gtk-3.0/gtk-widgets.css +++ b/Theme/Chicago95/gtk-3.0/gtk-widgets.css @@ -667,11 +667,14 @@ GtkTreeView.view.expander:dir(rtl) { padding: 1px; border: 1px solid black; /* background-color: #808080; */ + box-shadow: 0 0 0; color: @theme_fg_color; } .list-row { - padding: 0; + padding: 2px; + box-shadow: 0 0 0; + border: 1px solid #c0c0c0; } .list-row:selected { @@ -2597,7 +2600,7 @@ GtkColorButton.button { .tooltip * { - background-color: transparent; + background-color: @theme_tooltip_bg_color; } /************ @@ -3200,6 +3203,11 @@ GtkBubbleWindow .toolbar { margin: 2px; } +.window-frame { + border-radius: 0 0 0 0; + box-shadow: none; +} + /* Server-side decoration (SSD) */ .window-frame.ssd { border-radius: 0 0 0 0; @@ -3228,8 +3236,10 @@ GtkBubbleWindow .toolbar { box-shadow: none; } -GtkWindow.csd { +GtkWindow.csd, +GtkWindows.ssd { padding: 4px; + border-radius: 0; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #c0c0c0 #000 #000 #c0c0c0; diff --git a/Theme/Chicago95/index.theme b/Theme/Chicago95/index.theme new file mode 100644 index 0000000..ee9c0d9 --- /dev/null +++ b/Theme/Chicago95/index.theme @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Chicago95 +Type=X-GNOME-Metatheme +Comment=A theme with Windows from 1995. + +[X-GNOME-Metatheme] +GtkTheme=Chicago95 +MetacityTheme=Chicago95 +IconTheme=Chicago95 +CursorTheme=Chicago95_Cursor_White +CursorSize=32 diff --git a/Theme/Chicago95/metacity-1/close_normal.png b/Theme/Chicago95/metacity-1/close_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..51df42728f1c6e7ec6ea580da705a74ca1da452c GIT binary patch literal 226 zcmeAS@N?(olHy`uVBq!ia0vp^f{XE)7O>#0gHeTuO8=Rmxn;1d`}n05R21CCkJvdC~~kae~}=! z*Y8;!>&A#%N^9aXEq=stat1PlgxWKEEj*jjQ^@;bFLQwLlNkbnjxLA3R!J4-&Ujw= z-09u|;R9b&a&Ixlbf`Y(+T^vthHLLRzdqKidEyhRPNioHes|{P(5OGoylRQp9dFR|t<%NIG h-`1|%+V^9&*=8S=+XBmbnt>)Wc)I$ztaD0e0sx6KJo^9u literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/close_pressed.png b/Theme/Chicago95/metacity-1/close_pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..83a6d5f56d55bd6d5d675a98515df2d6ca2f1e82 GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0vp^f{XE)7O>#0gHeTpRwbQ>fb=2JWm(L5R21CCm-ZIV8G#;TVUW` zY+}B7I+xr~czrU8b%oXf(K9jcSe`d^cujcN>GFh0`EF~+iPgr| zw_~{?9jyNT329;>Mz?o9vi*86MWaC Q0BvUQboFyt=akR{0FX0F{{R30 literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/close_pressed_small.png b/Theme/Chicago95/metacity-1/close_pressed_small.png new file mode 100644 index 0000000000000000000000000000000000000000..8523ba67f9c9eb17ce3b26834864d693bbccf934 GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^AT~D#6OcT~)9nwW*pj^6U4S$Y{B+)352QE?JR*yM zs)Rw9kzv*x37{Z*iKnkC`vVpMA$~bo8?p01AwN$S#}J9jwG%FKG8l3=7hgJPG;8tB z$ajk`Og>>6e^H!+>yP&(rU^4APh{Ef%Rp4j{QtvMx1uM7KK-G>SG*@OpEG&y(cR1Y hPlqzdc}_pRm)S<;(vK^)cYr1{c)I$ztaD0e0sv##JGKA- literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/maximize_normal.png b/Theme/Chicago95/metacity-1/maximize_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f99a77610e35bdfece03e056d8c1fa7490293ce5 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^f{XE)7O>#0gHeTkLj$ndwhUGQJyZ2Ar`0KPB!E_V8FrL-_`!H zq(XA8RH>K8sR)0M6Kppbcqg1Wle~$eLBqi%hkM8G6<_ZfY}WnMy!x>4TA!%gTboYm v2YD=_ko8v_{;kkC97C4CLI!~WzoMD1+ + + + + Chicago 95 + Grassmunk + Â 2007 Srivatsa Kanchi <srivatsa_nk@dataone.in>, 2010 Perberos + April 22, 2016 + Windows 95 style theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </draw_ops> + </piece> + </frame_style> + + <frame_style name="normal(maximized)_focused_style" geometry="borderless_geometry" parent="normal_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <button function="maximize" state="normal"> + + <draw_ops> + <image filename="restore_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="pressed"> + <draw_ops> + <image filename="restore_pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + </frame_style> + + <frame_style name="normal_unfocused_style" geometry="normal_geometry" parent="normal_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#ffffff" x1="1" y1="1" x2="1" y2="height" width="1"/> + <line color="#ffffff" x1="1" y1="1" x2="width-2" y2="1" width="1"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height" width="1"/> + <line color="#808080" x1="width-2" y1="1" x2="width-2" y2="height" width="1"/> + <rectangle color="#808080" x="4" y="4" width="width-8" height="height-5" filled="true"/> + </draw_ops> + </piece> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="gtk:bg[NORMAL]"/> + </draw_ops> + </piece> + </frame_style> + + <frame_style name="normal(maximized)_unfocused_style" geometry="borderless_geometry" parent="normal_unfocused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="#808080" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <button function="maximize" state="normal"> + <draw_ops> + <image filename="restore_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + </frame_style> + + <frame_style name="utility_focused_style" geometry="utility_geometry"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="#ffffff" x="1" y="1" width="width-3" height="height-3" filled="false"/> + <line color="#808080" x1="width-2" y1="1" x2="width-2" y2="height-3"/> + <line color="#808080" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height-1"/> + <line color="#808080" x1="0" y1="height-1" x2="width-1" y2="height-1"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[SELECTED]" x="4" y="4" width="width-8" height="height-5" filled="true"/> + </draw_ops> + </piece> + <button function="menu" state="normal"><draw_ops/></button> + <button function="menu" state="pressed"><draw_ops/></button> + + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="#ffffff"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <image filename="close_normal_small.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="close" state="pressed"> + <draw_ops> + <image filename="close_pressed_small.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="normal"><draw_ops/></button> + <button function="maximize" state="pressed"><draw_ops/></button> + <button function="minimize" state="normal"><draw_ops/></button> + <button function="minimize" state="pressed"><draw_ops/></button> + </frame_style> + + <frame_style name="utility_unfocused_style" geometry="utility_geometry" parent="utility_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="#808080" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="gtk:bg[NORMAL]"/> + </draw_ops> + </piece> + </frame_style> + + + <frame_style name="border_style" geometry="border_geometry"> + <button function="close" state="normal"><draw_ops/></button> + <button function="close" state="pressed"><draw_ops/></button> + <button function="maximize" state="normal"><draw_ops/></button> + <button function="maximize" state="pressed"><draw_ops/></button> + <button function="minimize" state="normal"><draw_ops/></button> + <button function="minimize" state="pressed"><draw_ops/></button> + <button function="menu" state="normal"><draw_ops/></button> + <button function="menu" state="pressed"><draw_ops/></button> + </frame_style> + + <!-- system menu icon : default drawn by metacity --> + <menu_icon function="close" state="normal"> + <draw_ops/> + </menu_icon> + + <menu_icon function="maximize" state="normal"> + <draw_ops/> + </menu_icon> + + <menu_icon function="minimize" state="normal"> + <draw_ops/> + </menu_icon> + + <menu_icon function="unmaximize" state="normal"> + <draw_ops/> + </menu_icon> + + <frame_style_set name="normal_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused_style"/> + <frame focus="no" state="normal" resize="both" style="normal_unfocused_style"/> + <frame focus="yes" state="normal" resize="none" style="normal_focused_style"/> + <frame focus="no" state="normal" resize="none" style="normal_unfocused_style"/> + <frame focus="yes" state="maximized" style="normal(maximized)_focused_style"/> + <frame focus="no" state="maximized" style="normal(maximized)_unfocused_style"/> + <frame focus="yes" state="shaded" style="normal_focused_style"/> + <frame focus="no" state="shaded" style="normal_unfocused_style"/> + <frame focus="yes" state="maximized_and_shaded" style="normal(maximized)_focused_style"/> + <frame focus="no" state="maximized_and_shaded" style="normal_unfocused_style"/> + </frame_style_set> + + + <frame_style_set name="border_set"> + <frame focus="yes" state="normal" resize="both" style="border_style" /> + <frame focus="no" state="normal" resize="both" style="border_style" /> + <frame focus="yes" state="normal" resize="none" style="border_style" /> + <frame focus="no" state="normal" resize="none" style="border_style" /> + <frame focus="yes" state="maximized" style="border_style" /> + <frame focus="no" state="maximized" style="border_style" /> + <frame focus="yes" state="shaded" style="border_style" /> + <frame focus="no" state="shaded" style="border_style" /> + <frame focus="yes" state="maximized_and_shaded" style="border_style" /> + <frame focus="no" state="maximized_and_shaded" style="border_style" /> + </frame_style_set> + + <frame_style_set name="utility_set" parent="border_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused_style" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused_style" /> + <frame focus="yes" state="normal" resize="none" style="utility_focused_style" /> + <frame focus="no" state="normal" resize="none" style="utility_unfocused_style" /> + </frame_style_set> + + + <window type="normal" style_set="normal_set"/> + <window type="dialog" style_set="normal_set"/> + <window type="modal_dialog" style_set="normal_set"/> + <window type="menu" style_set="utility_set"/> + <window type="utility" style_set="utility_set"/> + <window type="border" style_set="border_set"/> + +</metacity_theme> diff --git a/Theme/Chicago95/metacity-1/minimize_normal.png b/Theme/Chicago95/metacity-1/minimize_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..873a82d70110962b7014a7cb1a61a583da41c20a GIT binary patch literal 194 zcmeAS@N?(olHy`uVBq!ia0vp^f<P?5!3HEh7*2@?Qfx`y?k)@mKu~Hfdk9d3v%n*= zn1O*?7=#%aX3dcR3bL1Y`ns||U=a`!;!JG*F9H<u_jGX#u{iy9vNhiU0}f~TK)z!a zAEunUvU0vg;FPiz=E@%r2pwROY*6uKKC`0z<e5YV7lweaBR>`6+per$wA=pP(S5$} j)XEeW_bz8=IdVH|&O||#swuJ{+Za4u{an^LB{Ts5b^bf$ literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/minimize_pressed.png b/Theme/Chicago95/metacity-1/minimize_pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..fabcfbd48d21453ed9e90bc1406c8c7a45d1dc73 GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^f<P?5!3HEh7*2@?Qfx`y?k)@mKu~Hfdk9d3v%n*= zn1O*?7=#%aX3dcR3bL1Y`ns||U=a`!lAjvx<q8xE_H=O!u{fQauz)F{<<kF?rVsxA z|Iedi;OFeje3H$=!omOu6nGrPR74E|m3`cJCC{{N5b*MN@!&us^OizRoA(Ku8zmC* j^Z7rX1L~AylVM;ez9uMfIpg{apz#czu6{1-oD!M<Ewnh= literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/restore_normal.png b/Theme/Chicago95/metacity-1/restore_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..029643c2b3ea09ec79ff25491b6626934d4a00d1 GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^f<P?5!3HEh7*2@?Qfx`y?k+$Y2!1;6t_M<_1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPNi-3@jiRJ6ftU#eOPZ!4!i_=>tJMtY+;9zNQYyVkN zBWb(!rK78M(Il3(yS^<gLgnA@pH^a6#IW^RYQxOE`MJDPf|gC2zstzz;?!>2)?3m) zzUe-Qw6^75yr6xi%ZJTnN;ef%CdoLJF)%Rwc&C2u#8m0(wQ?K0k8gefw2{Hn)z4*} HQ$iB}|4l}% literal 0 HcmV?d00001 diff --git a/Theme/Chicago95/metacity-1/restore_pressed.png b/Theme/Chicago95/metacity-1/restore_pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..872eb05e50497c132b415bcb834b05fed02494a1 GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^f<P?5!3HEh7*2@?Qfx`y?k)@mKu~Hfdk9d3v%n*= zn1O*?7=#%aX3dcR3bL1Y`ns||U=a`!)-d^aj~ghI=IP=XVsZLxkR#s#1rBX*`Dd3a zX4$XaepFI5>&~WmEDM*iJYe8yD4VT%@JtWGgLkJ{G?)H98&@PcCopSbaov&Yokxv+ z<%qfq8)>b0EcbACnVZ-m*W$3Z)z;ST$9EY@S*lEIiC@5Q&{cNrvCD$DfHpFCy85}S Ib4q9e0Hjn#r2qf` literal 0 HcmV?d00001