From 488fe62f158a9e0a0bced2b678ada5d43cf3998e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 14 Dec 2016 12:58:20 +0100 Subject: [PATCH] fix(singletat): fixed/polished layout in singlestat ui options tab --- .../app/plugins/panel/singlestat/editor.html | 39 ++++++++----------- public/sass/base/_forms.scss | 9 +++++ 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/public/app/plugins/panel/singlestat/editor.html b/public/app/plugins/panel/singlestat/editor.html index 6b68a03cd6d..50f18ea6146 100644 --- a/public/app/plugins/panel/singlestat/editor.html +++ b/public/app/plugins/panel/singlestat/editor.html @@ -4,7 +4,7 @@
- +
@@ -17,7 +17,7 @@
- +
@@ -27,26 +27,21 @@
- +
-
- -
-
Unit
-
-
-
-
-
- - -
-
+
+ +
+
+
+ + +
@@ -86,7 +81,7 @@
Spark lines
- +
@@ -104,10 +99,10 @@
Gauge
- +
- +
- +
- - + +
diff --git a/public/sass/base/_forms.scss b/public/sass/base/_forms.scss index 3891adc4085..3c74c7d81ef 100644 --- a/public/sass/base/_forms.scss +++ b/public/sass/base/_forms.scss @@ -97,6 +97,15 @@ input[type="checkbox"]:focus { @include tab-focus(); } +// not a big fan of number fields +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +input[type="number"] { + -moz-appearance: textfield; +} // Placeholder // -------------------------