From 0ac411a90ea56ed6fb54256cb6b67b15f79ebba6 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 6 May 2016 13:26:30 +0200 Subject: [PATCH 1/2] cinnamon: fix hot corner indicator (fix #511) --- common/cinnamon/cinnamon-dark.css | 8 +- common/cinnamon/cinnamon.css | 8 +- .../common-assets/misc/corner-ripple-ltr.svg | 125 ------------------ ...orner-ripple-rtl.svg => corner-ripple.svg} | 26 ++-- common/cinnamon/sass/_common.scss | 8 +- 5 files changed, 27 insertions(+), 148 deletions(-) delete mode 100644 common/cinnamon/common-assets/misc/corner-ripple-ltr.svg rename common/cinnamon/common-assets/misc/{corner-ripple-rtl.svg => corner-ripple.svg} (75%) diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css index 21402ae..c6bb2e3 100644 --- a/common/cinnamon/cinnamon-dark.css +++ b/common/cinnamon/cinnamon-dark.css @@ -699,12 +699,10 @@ StScrollBar { width: 60px; } .ripple-box { - width: 52px; - height: 52px; - background-image: url("common-assets/misc/corner-ripple-ltr.svg"); + width: 104px; + height: 104px; + background-image: url("common-assets/misc/corner-ripple.svg"); background-size: contain; } - .ripple-box:rtl { - background-image: url("common-assets/misc/corner-ripple-rtl.svg"); } .lightbox { background-color: rgba(0, 0, 0, 0.4); } diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css index 439d410..a54fd32 100644 --- a/common/cinnamon/cinnamon.css +++ b/common/cinnamon/cinnamon.css @@ -699,12 +699,10 @@ StScrollBar { width: 60px; } .ripple-box { - width: 52px; - height: 52px; - background-image: url("common-assets/misc/corner-ripple-ltr.svg"); + width: 104px; + height: 104px; + background-image: url("common-assets/misc/corner-ripple.svg"); background-size: contain; } - .ripple-box:rtl { - background-image: url("common-assets/misc/corner-ripple-rtl.svg"); } .lightbox { background-color: rgba(0, 0, 0, 0.4); } diff --git a/common/cinnamon/common-assets/misc/corner-ripple-ltr.svg b/common/cinnamon/common-assets/misc/corner-ripple-ltr.svg deleted file mode 100644 index 357a544..0000000 --- a/common/cinnamon/common-assets/misc/corner-ripple-ltr.svg +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/common/cinnamon/common-assets/misc/corner-ripple-rtl.svg b/common/cinnamon/common-assets/misc/corner-ripple.svg similarity index 75% rename from common/cinnamon/common-assets/misc/corner-ripple-rtl.svg rename to common/cinnamon/common-assets/misc/corner-ripple.svg index 57176d2..ff58c92 100644 --- a/common/cinnamon/common-assets/misc/corner-ripple-rtl.svg +++ b/common/cinnamon/common-assets/misc/corner-ripple.svg @@ -11,11 +11,11 @@ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" - width="52" - height="52" + width="104.00001" + height="104" id="svg2" inkscape:version="0.91 r13725" - sodipodi:docname="corner-ripple-rtl.svg"> + sodipodi:docname="corner-ripple.svg"> + id="namedview955" + showgrid="false" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" + inkscape:zoom="2.3864854" + inkscape:cx="-38.639816" + inkscape:cy="27.143174" + inkscape:current-layer="svg2" /> image/svg+xml - + + style="fill:url(#radialGradient3863);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index 5a3f27d..b015078 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -849,12 +849,10 @@ StScrollBar { //Activities Ripples // .ripple-box { - width: 52px; - height: 52px; - background-image: url("common-assets/misc/corner-ripple-ltr.svg"); + width: 104px; + height: 104px; + background-image: url("common-assets/misc/corner-ripple.svg"); background-size: contain; - - &:rtl { background-image: url("common-assets/misc/corner-ripple-rtl.svg"); } } // From e3463fecde0407d390156cf348e6c5368c6759ff Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 6 May 2016 14:18:21 +0200 Subject: [PATCH 2/2] metacity: tweak button placement (fix #492) --- common/metacity-1/metacity-theme-1-dark.xml | 9 ++++----- common/metacity-1/metacity-theme-1.xml | 10 +++++----- common/metacity-1/metacity-theme-2-dark.xml | 9 ++++----- common/metacity-1/metacity-theme-2.xml | 9 ++++----- common/metacity-1/metacity-theme-3.xml | 4 ++-- 5 files changed, 19 insertions(+), 22 deletions(-) diff --git a/common/metacity-1/metacity-theme-1-dark.xml b/common/metacity-1/metacity-theme-1-dark.xml index 36f69f7..5097716 100644 --- a/common/metacity-1/metacity-theme-1-dark.xml +++ b/common/metacity-1/metacity-theme-1-dark.xml @@ -44,13 +44,12 @@ - - + + - - - + + diff --git a/common/metacity-1/metacity-theme-1.xml b/common/metacity-1/metacity-theme-1.xml index 01f4262..71a2695 100644 --- a/common/metacity-1/metacity-theme-1.xml +++ b/common/metacity-1/metacity-theme-1.xml @@ -44,13 +44,13 @@ - - + + - - - + + + diff --git a/common/metacity-1/metacity-theme-2-dark.xml b/common/metacity-1/metacity-theme-2-dark.xml index 36f69f7..5097716 100644 --- a/common/metacity-1/metacity-theme-2-dark.xml +++ b/common/metacity-1/metacity-theme-2-dark.xml @@ -44,13 +44,12 @@ - - + + - - - + + diff --git a/common/metacity-1/metacity-theme-2.xml b/common/metacity-1/metacity-theme-2.xml index 01f4262..9e94016 100644 --- a/common/metacity-1/metacity-theme-2.xml +++ b/common/metacity-1/metacity-theme-2.xml @@ -44,13 +44,12 @@ - - + + - - - + + diff --git a/common/metacity-1/metacity-theme-3.xml b/common/metacity-1/metacity-theme-3.xml index ad01884..6a0aeef 100644 --- a/common/metacity-1/metacity-theme-3.xml +++ b/common/metacity-1/metacity-theme-3.xml @@ -44,8 +44,8 @@ - - + +