pikvm/kvmd#63: centered blue dot by cursor, added transparency

This commit is contained in:
Maxim Devaev 2021-09-19 23:43:50 +03:00
parent b6a59941c8
commit cfa7aca2bf
2 changed files with 19 additions and 18 deletions

View File

@ -53,7 +53,7 @@ div.stream-box-offline::after {
background: radial-gradient(transparent 20%, black); background: radial-gradient(transparent 20%, black);
} }
div.stream-box-mouse-enabled { div.stream-box-mouse-enabled {
cursor: url("../../svg/stream-mouse-cursor.svg"), pointer; cursor: url("../../svg/stream-mouse-cursor.svg") 5 5, pointer;
} }
img#stream-image, img#stream-image,

View File

@ -2,20 +2,20 @@
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="2.6458335mm" width="2.6458335mm"
height="2.6458335mm" height="2.6458335mm"
viewBox="0 0 2.6458335 2.6458335" viewBox="0 0 2.6458335 2.6458335"
version="1.1" version="1.1"
id="svg8" id="svg8"
sodipodi:docname="stream-mouse-cursor.svg" sodipodi:docname="stream-mouse-cursor.svg"
inkscape:version="0.92.2 2405546, 2018-03-11"> inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs <defs
id="defs2" /> id="defs2" />
<sodipodi:namedview <sodipodi:namedview
@ -26,21 +26,23 @@
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="31.678384" inkscape:zoom="31.678384"
inkscape:cx="13.114187" inkscape:cx="5.3506517"
inkscape:cy="8.129091" inkscape:cy="5.5400553"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="false" showgrid="false"
units="px" units="px"
inkscape:window-width="1920" inkscape:window-width="1366"
inkscape:window-height="1020" inkscape:window-height="714"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="30" inkscape:window-y="28"
inkscape:window-maximized="1" inkscape:window-maximized="1"
fit-margin-top="0" fit-margin-top="0"
fit-margin-left="0" fit-margin-left="0"
fit-margin-right="0" fit-margin-right="0"
fit-margin-bottom="0" /> fit-margin-bottom="0"
inkscape:pagecheckerboard="0"
showguides="false" />
<metadata <metadata
id="metadata5"> id="metadata5">
<rdf:RDF> <rdf:RDF>
@ -49,7 +51,6 @@
<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>
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -59,10 +60,10 @@
id="layer1" id="layer1"
transform="translate(-102.90015,-148.41315)"> transform="translate(-102.90015,-148.41315)">
<circle <circle
style="opacity:1;fill:#5b90bb;fill-opacity:1;stroke:#e8e8e8;stroke-width:0.26458332;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:0.80303034;paint-order:normal" style="opacity:1;fill:#5b90bb;fill-opacity:0.5;stroke:#e8e8e8;stroke-width:0.26458332;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:75.59055328;stroke-opacity:0.80303034;paint-order:normal"
id="path4915" id="path4915"
cx="104.22307"
cy="149.73607" cy="149.73607"
cx="104.22307"
r="1.1906251" /> r="1.1906251" />
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB