From 10b17b7fd099d293cb513f1a664798c37ebbef07 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Nov 2017 13:04:58 +0000 Subject: [PATCH] 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 c598e7cddc..e81c228430 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; +}