diff options
author | raveit65 <[email protected]> | 2014-11-04 21:35:50 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-11-04 21:35:50 +0100 |
commit | cc42a3792cabba52fca9f3e4e2ab7ff11d0f51fc (patch) | |
tree | d6a75b89c439893e67789ccf20532ef512d2ca0c /desktop-themes/BlueMenta | |
parent | 122500e9ef1e812c02de17649b622431beab2d95 (diff) | |
download | mate-themes-cc42a3792cabba52fca9f3e4e2ab7ff11d0f51fc.tar.bz2 mate-themes-cc42a3792cabba52fca9f3e4e2ab7ff11d0f51fc.tar.xz |
Menta themes GTK3: increase windows outerline for CSD apps, for better resizing
Diffstat (limited to 'desktop-themes/BlueMenta')
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 8 | ||||
-rw-r--r-- | desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml | 37 |
2 files changed, 35 insertions, 10 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index a6d19dbc..0eda50ba 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -2332,7 +2332,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { ***************/ .titlebar, GtkCalendar.header, .header-bar { - border-width: 0 0 1px; + border-width: 0px 0px 0px 0px; border-style: solid; border-color: shade(@borders, 0.90); @@ -3894,9 +3894,7 @@ GtkModelButton.button:selected { *******/ .titlebar { text-shadow: 0 1px @wm_title_shadow; - background-image: linear-gradient(to bottom, - @wm_bg_a, - @wm_bg_b); + background-image: none; border-radius: 0; box-shadow: inset 0 -1px alpha(@theme_base_color, 0.4); border-color: @borders; @@ -3957,7 +3955,7 @@ GtkModelButton.button:selected { ****************************************************************************************/ /* .window-frame { - border-radius: 6px 6px 0 0; + border-radius: 0; border-width: 0px; box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; */ diff --git a/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml b/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml index b04c1f14..ef7abb5f 100644 --- a/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml +++ b/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml @@ -50,14 +50,14 @@ </frame_geometry> <frame_geometry name="border" has_title="false"> - <distance name="left_width" value="1"/> - <distance name="right_width" value="1"/> - <distance name="bottom_height" value="1"/> + <distance name="left_width" value="2"/> + <distance name="right_width" value="2"/> + <distance name="bottom_height" value="2"/> <distance name="left_titlebar_edge" value="0"/> <distance name="right_titlebar_edge" value="0"/> <distance name="button_width" value="0"/> <distance name="button_height" value="0"/> - <distance name="title_vertical_pad" value="1"/> + <distance name="title_vertical_pad" value="2"/> <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> @@ -101,6 +101,33 @@ <line color="shade/#3c3c3c/0.9" x1="1" y1="top_height - 0" x2="width - 2" y2="top_height - 0"/> </draw_ops> +<draw_ops name="draw_title-borders"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width" height="top_height"> + <color value="#e8e8e8" /> + <color value="#d2d2d2" /> + </gradient> + + <!-- Titlebar outline --> + <rectangle color="shade/#3c3c3c/1.2" filled="false" x="0" y="0" width="width - 1" height="top_height - 1"/> + + <!-- Topmost lines --> + <line color="shade/#3c3c3c/1.2" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Darkening of the left arch --> + <line color="shade/#3c3c3c/1.2" x1="0" x2="4" y1="1" y2="1"/> + <line color="shade/#3c3c3c/1.2" x1="0" x2="2" y1="2" y2="2"/> + <line color="shade/#3c3c3c/1.2" x1="0" x2="1" y1="3" y2="3"/> + <line color="shade/#3c3c3c/1.2" x1="0" x2="1" y1="4" y2="4"/> + + <line color="shade/#3c3c3c/1.2" x1="width-5" x2="width" y1="1" y2="1"/> + <line color="shade/#3c3c3c/1.2" x1="width-3" x2="width" y1="2" y2="2"/> + <line color="shade/#3c3c3c/1.2" x1="width-2" x2="width" y1="3" y2="3"/> + <line color="shade/#3c3c3c/1.2" x1="width-2" x2="width" y1="4" y2="4"/> + + <line color="shade/#3c3c3c/0.9" x1="1" y1="top_height - 0" x2="width - 2" y2="top_height - 0"/> +</draw_ops> + <draw_ops name="draw_title_unfocused"> <!-- Background gradient --> <gradient type="vertical" x="0" y="0" width="width+9" height="height"> @@ -465,7 +492,7 @@ </frame_style> <frame_style name="border" geometry="border" parent="normal_focused"> - <piece position="title" draw_ops="draw_title"/> + <piece position="title" draw_ops="draw_title-borders"/> <piece position="titlebar" draw_ops="draw_title_inactive"/> </frame_style> |