From cfa7aca2bf04cdf2394eda08288291ddd3c6de59 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 19 Sep 2021 23:43:50 +0300 Subject: pikvm/kvmd#63: centered blue dot by cursor, added transparency --- web/share/css/kvm/stream.css | 2 +- web/share/svg/stream-mouse-cursor.svg | 35 ++++++++++++++++++----------------- 2 files changed, 19 insertions(+), 18 deletions(-) (limited to 'web/share') diff --git a/web/share/css/kvm/stream.css b/web/share/css/kvm/stream.css index f75eded4..0df306f2 100644 --- a/web/share/css/kvm/stream.css +++ b/web/share/css/kvm/stream.css @@ -53,7 +53,7 @@ div.stream-box-offline::after { background: radial-gradient(transparent 20%, black); } 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, diff --git a/web/share/svg/stream-mouse-cursor.svg b/web/share/svg/stream-mouse-cursor.svg index ff852ef6..f52cb89d 100644 --- a/web/share/svg/stream-mouse-cursor.svg +++ b/web/share/svg/stream-mouse-cursor.svg @@ -2,20 +2,20 @@ + 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/"> + fit-margin-bottom="0" + inkscape:pagecheckerboard="0" + showguides="false" /> @@ -49,7 +51,6 @@ image/svg+xml - @@ -59,10 +60,10 @@ id="layer1" transform="translate(-102.90015,-148.41315)"> -- cgit v1.2.3