From 1fc44a32c0b650a9b6c613ceaadae7f1d4d0d680 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Nov 2017 10:39:12 +0000 Subject: [PATCH 1/3] Fix SVG colours. Add rounded, lowlight outline for clarity. --- src/skins/vector/img/icon-delete-pink.svg | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/skins/vector/img/icon-delete-pink.svg b/src/skins/vector/img/icon-delete-pink.svg index 9d9907d8..aafa87f1 100644 --- a/src/skins/vector/img/icon-delete-pink.svg +++ b/src/skins/vector/img/icon-delete-pink.svg @@ -1,10 +1,19 @@ - + width="512px" height="533px" viewBox="0 -11.5 512 533" xml:space="preserve"> - + + + + From 10b17b7fd099d293cb513f1a664798c37ebbef07 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Nov 2017 13:04:58 +0000 Subject: [PATCH 2/3] TintableSvgButton styling. --- src/skins/vector/css/_common.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/skins/vector/css/_common.scss b/src/skins/vector/css/_common.scss index c598e7cd..e81c2284 100644 --- a/src/skins/vector/css/_common.scss +++ b/src/skins/vector/css/_common.scss @@ -332,3 +332,30 @@ textarea { border: 1px solid gray; background-color: darkred; } + +.mx_TintableSvgButton { + position: relative; + display: flex; + flex-direction: row; + justify-content: center; + align-content: center; +} + +.mx_TintableSvgButton object { + margin: 0; + padding: 0; + width: 100%; + height: 100%; + max-width: 100%; + max-height: 100%; +} + +.mx_TintableSvgButton span { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + opacity: 0; + cursor: pointer; +} From 26231e458eded7603ad9b153976ee57e0e6b6130 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Nov 2017 13:42:36 +0000 Subject: [PATCH 3/3] Add green cancel icon. --- src/skins/vector/img/cancel_green.svg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/skins/vector/img/cancel_green.svg diff --git a/src/skins/vector/img/cancel_green.svg b/src/skins/vector/img/cancel_green.svg new file mode 100644 index 00000000..2e3d759b --- /dev/null +++ b/src/skins/vector/img/cancel_green.svg @@ -0,0 +1,10 @@ + + + + Slice 1 + Created with Sketch. + + + + + \ No newline at end of file