From cc66924ac344ee5e79896179f8eb8e59ca55debd Mon Sep 17 00:00:00 2001 From: vinzv Date: Thu, 8 Oct 2020 23:48:25 +0200 Subject: [PATCH] adding svg mask for clipping --- view/theme/frio/css/style.css | 4 ++++ view/theme/frio/img/back-to-top-arrow.svg | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 view/theme/frio/img/back-to-top-arrow.svg diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 11b6d212ee..ae709edd32 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -130,6 +130,10 @@ blockquote { border-radius: 10px; background-color: #aaa; line-height: 1.5; + clip-path: url(/view/theme/frio/img/back-to-top-arrow.svg#clipPath); + mask-size: cover; + width: 1.7em; + height: 1.7em; } #item-delete-selected { diff --git a/view/theme/frio/img/back-to-top-arrow.svg b/view/theme/frio/img/back-to-top-arrow.svg new file mode 100644 index 0000000000..d109382cfb --- /dev/null +++ b/view/theme/frio/img/back-to-top-arrow.svg @@ -0,0 +1,13 @@ + + + + + + image/svg+xml + + + + + + +