From a2f676d31741f51d037fa4031855f63e1c43f2b3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 2 Jan 2020 23:48:52 +0200 Subject: Improved ColorInput to showcase transparent color, improved global input styles a bit --- src/components/style_switcher/style_switcher.scss | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/components/style_switcher') diff --git a/src/components/style_switcher/style_switcher.scss b/src/components/style_switcher/style_switcher.scss index 7291a884..987245a2 100644 --- a/src/components/style_switcher/style_switcher.scss +++ b/src/components/style_switcher/style_switcher.scss @@ -23,20 +23,15 @@ margin: .5em; } + .color-input { + flex: 0 0 0; + } + input, select { min-width: 3em; margin: 0; flex: 0; - &[type=color] { - padding: 1px; - cursor: pointer; - height: 29px; - min-width: 2em; - border: none; - align-self: stretch; - } - &[type=number] { min-width: 5em; } @@ -44,9 +39,6 @@ &[type=range] { flex: 1; min-width: 3em; - } - - &:not([type=number]):not([type=text]) { align-self: flex-start; } } -- cgit v1.2.3-70-g09d2