diff options
author | Aron Budea <aron.budea@collabora.com> | 2020-06-25 09:25:53 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-06-29 22:22:06 +0200 |
commit | 48d3b79c60c322459bfc161f282b2e7631b54498 (patch) | |
tree | 5603f11e1beac702c122a3b643582eef56c84b62 | |
parent | Sidebar-panel has fixed width that is bigger than its contents, better fix (diff) | |
download | online-48d3b79c60c322459bfc161f282b2e7631b54498.tar.gz online-48d3b79c60c322459bfc161f282b2e7631b54498.zip |
loleaflet: use correct extension for default user avatar
Regression from 8bfa1318b246d7c9df2b1d22d2e8094205a53acd
Change-Id: I8be2ea394fd35c418b33aed42555cfa37d7bc7c9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97086
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit edaea8a3896ba37fab38ecb11644f98c14076f60)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97383
-rw-r--r-- | loleaflet/css/loleaflet.css | 2 | ||||
-rw-r--r-- | loleaflet/images/user.png | bin | 979 -> 0 bytes | |||
-rw-r--r-- | loleaflet/images/user.svg | 24 |
3 files changed, 25 insertions, 1 deletions
diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css index 41e9459fc4..de1d246e1b 100644 --- a/loleaflet/css/loleaflet.css +++ b/loleaflet/css/loleaflet.css @@ -372,7 +372,7 @@ body { box-sizing: border-box; width: 32px; /* Width of new image */ height: 32px; /* Height of new image */ - background: url(images/user.png) center 3px no-repeat; + background: url(images/user.svg) center 3px no-repeat; } .leaflet-container .leaflet-pane.leaflet-calc-background-pane { diff --git a/loleaflet/images/user.png b/loleaflet/images/user.png Binary files differdeleted file mode 100644 index 88d9050d02..0000000000 --- a/loleaflet/images/user.png +++ /dev/null diff --git a/loleaflet/images/user.svg b/loleaflet/images/user.svg new file mode 100644 index 0000000000..f91ec33da0 --- /dev/null +++ b/loleaflet/images/user.svg @@ -0,0 +1,24 @@ +<svg width="8.4667mm" height="8.4667mm" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <defs> + <linearGradient id="linearGradient1524" x1="291.71" x2="318.78" y1="742.23" y2="742.23" gradientTransform="matrix(1.1429 0 0 1 -43.674 0)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#aaa" stop-opacity=".084" offset="0"/> + <stop stop-color="#aaa" offset=".2389"/> + <stop stop-color="#aaa" offset=".49998"/> + <stop stop-color="#aaa" offset=".75984"/> + <stop stop-color="#aaa" stop-opacity=".044" offset="1"/> + </linearGradient> + <radialGradient id="radialGradient1558" cx="16" cy="28.281" r="13" gradientTransform="matrix(1.2308 0 0 .69231 -3.6923 9.4209)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#afafaf" offset="0"/> + <stop stop-color="#a0a0a0" offset="1"/> + </radialGradient> + <radialGradient id="radialGradient1584" cx="305.95" cy="719.11" r="4.9469" gradientTransform="matrix(1.1156 0 0 .80618 -35.51 137.9)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#c7c7c7" offset="0"/> + <stop stop-color="#c7c7c7" stop-opacity="0" offset="1"/> + </radialGradient> + </defs> + <g transform="translate(-289.71 -712.23)"> + <path d="m292.71 741.23h-3l3 1-1 1h27v-1l3-1h-3z" color="#000000" color-rendering="auto" dominant-baseline="auto" fill="url(#linearGradient1524)" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;isolation:auto;mix-blend-mode:normal;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/> + <path transform="translate(289.71 712.23)" d="m16 2.9492c-2.9083 0-5.606 1.7356-5.5 4.0508-0.44134 1.2582 0.59978 4.2841 0 4 0 0-0.44452 0.66615 0 2l2 2.5s0.1368 3.3681 0 3.5c-0.49282 2.3328-8.375 4.4464-9 6.5v4h25v-4c-0.625-2.0536-8.5072-4.1672-9-6.5-0.1368-0.13194 0-3.5 0-3.5l2-2.5c0.44452-1.3339 0-2 0-2-0.59978 0.2841 0.44134-2.7418 0-4-0.48901-2.3471-2.5917-4.0508-5.5-4.0508z" fill="url(#radialGradient1558)" stroke="#868686" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".98431" style="paint-order:normal"/> + <path d="m310.16 719.13c-0.39519-1.686-2.0945-2.9097-4.4448-2.9097v0c-2.3503 0-4.5305 1.2467-4.4449 2.9097" fill="none" stroke="url(#radialGradient1584)" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".98431" style="paint-order:normal"/> + </g> +</svg> |