diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-02 23:48:52 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-02 23:48:52 +0200 |
| commit | a2f676d31741f51d037fa4031855f63e1c43f2b3 (patch) | |
| tree | e2f06878f59f3c83a22798004792ada1380deee3 /src/components/style_switcher | |
| parent | c7e9f21da0eb035b73a165e16f77a9cd18036305 (diff) | |
Improved ColorInput to showcase transparent color, improved global input styles
a bit
Diffstat (limited to 'src/components/style_switcher')
| -rw-r--r-- | src/components/style_switcher/style_switcher.scss | 16 |
1 files changed, 4 insertions, 12 deletions
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; } } |
