1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

cinnamon: fix hot corner indicator (fix #511)

This commit is contained in:
Horst3180 2016-05-06 13:26:30 +02:00
parent 3798cbce4f
commit 0ac411a90e
5 changed files with 27 additions and 148 deletions

View File

@ -699,12 +699,10 @@ StScrollBar {
width: 60px; } width: 60px; }
.ripple-box { .ripple-box {
width: 52px; width: 104px;
height: 52px; height: 104px;
background-image: url("common-assets/misc/corner-ripple-ltr.svg"); background-image: url("common-assets/misc/corner-ripple.svg");
background-size: contain; } background-size: contain; }
.ripple-box:rtl {
background-image: url("common-assets/misc/corner-ripple-rtl.svg"); }
.lightbox { .lightbox {
background-color: rgba(0, 0, 0, 0.4); } background-color: rgba(0, 0, 0, 0.4); }

View File

@ -699,12 +699,10 @@ StScrollBar {
width: 60px; } width: 60px; }
.ripple-box { .ripple-box {
width: 52px; width: 104px;
height: 52px; height: 104px;
background-image: url("common-assets/misc/corner-ripple-ltr.svg"); background-image: url("common-assets/misc/corner-ripple.svg");
background-size: contain; } background-size: contain; }
.ripple-box:rtl {
background-image: url("common-assets/misc/corner-ripple-rtl.svg"); }
.lightbox { .lightbox {
background-color: rgba(0, 0, 0, 0.4); } background-color: rgba(0, 0, 0, 0.4); }

View File

@ -1,125 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="52"
height="52"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="corner-ripple-ltr.svg">
<defs
id="defs4">
<linearGradient
id="linearGradient3857">
<stop
style="stop-color:#398dd3;stop-opacity:0;"
offset="0"
id="stop3859" />
<stop
style="stop-color:#398cd3;stop-opacity:1;"
offset="1"
id="stop3861" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3857"
id="radialGradient3863"
cx="0"
cy="0"
fx="0"
fy="0"
r="52"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="-19.986036"
inkscape:cy="44.805381"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1055"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
originy="2px" />
<sodipodi:guide
orientation="1,0"
position="52,0"
id="guide2987" />
<sodipodi:guide
orientation="0,1"
position="52,0"
id="guide2989" />
<sodipodi:guide
orientation="0,1"
position="0,52"
id="guide3761" />
<sodipodi:guide
orientation="1,0"
position="0,52"
id="guide3763" />
<sodipodi:guide
orientation="1,0"
position="51,1"
id="guide3773" />
<sodipodi:guide
orientation="0,1"
position="51,1"
id="guide3775" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1000.3622)">
<path
sodipodi:type="arc"
style="fill:url(#radialGradient3863);fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1"
id="path2991"
sodipodi:cx="0"
sodipodi:cy="0"
sodipodi:rx="52"
sodipodi:ry="52"
d="M 52,0 A 52,52 0 1 1 -52,0 52,52 0 1 1 52,0 z"
transform="translate(0,1000.3622)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -11,11 +11,11 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1" version="1.1"
width="52" width="104.00001"
height="52" height="104"
id="svg2" id="svg2"
inkscape:version="0.91 r13725" inkscape:version="0.91 r13725"
sodipodi:docname="corner-ripple-rtl.svg"> sodipodi:docname="corner-ripple.svg">
<sodipodi:namedview <sodipodi:namedview
pagecolor="#ffffff" pagecolor="#ffffff"
bordercolor="#666666" bordercolor="#666666"
@ -27,7 +27,16 @@
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="640" inkscape:window-width="640"
inkscape:window-height="480" inkscape:window-height="480"
id="namedview955" /> 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" />
<defs <defs
id="defs4"> id="defs4">
<linearGradient <linearGradient
@ -59,17 +68,18 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title /> <dc:title></dc:title>
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
<g <g
transform="translate(0,-1000.3622)" transform="translate(4.9999999e-6,-948.3622)"
id="layer1"> id="layer1">
<path <path
d="M 52,0 A 52,52 0 1 1 -52,0 52,52 0 1 1 52,0 z" d="M 52,0 A 52,52 0 1 1 -52,0 52,52 0 1 1 52,0 Z"
transform="translate(52,1000.3622)" transform="translate(52,1000.3622)"
id="path2991" id="path2991"
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-opacity:1;stroke-dasharray:none" /> 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" />
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -849,12 +849,10 @@ StScrollBar {
//Activities Ripples //Activities Ripples
// //
.ripple-box { .ripple-box {
width: 52px; width: 104px;
height: 52px; height: 104px;
background-image: url("common-assets/misc/corner-ripple-ltr.svg"); background-image: url("common-assets/misc/corner-ripple.svg");
background-size: contain; background-size: contain;
&:rtl { background-image: url("common-assets/misc/corner-ripple-rtl.svg"); }
} }
// //