From a52b06155971e1a8768b72904fd26696f5577a06 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Fri, 21 Sep 2018 02:00:32 +0200 Subject: [PATCH] update ui --- data/www/index.html | 2 +- data/www/styles.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/data/www/index.html b/data/www/index.html index 2b38b6b..6455fc8 100644 --- a/data/www/index.html +++ b/data/www/index.html @@ -5,7 +5,7 @@ ESP Kit - + diff --git a/data/www/styles.css b/data/www/styles.css index 56f95d5..91868a7 100644 --- a/data/www/styles.css +++ b/data/www/styles.css @@ -21,6 +21,13 @@ .sui > .content { padding: 16px; } +@media screen and (min-width: 968px) { + .sui > .content { + margin-right: auto; + margin-left: auto; + width: 50%; + } +} .sui label { color: #b3b2b2; } @@ -150,6 +157,9 @@ input[type=range]:focus::-ms-fill-lower { input[type=range]:focus::-ms-fill-upper { background: #0eb4bb; } +.form-row input[type="range"] { + margin-top: 12px; +} /* The switch - the box around the slider */ .switch { position: relative; @@ -274,13 +284,13 @@ form .form-row input[type="checkbox"] { transform: scale(2); } .ColorPicker { - flex: none !important; background-color: transparent; border: 0; height: 42px; width: 42px; } .sui select { + flex: 5; padding: .5em; color: #eeeeee; background: none;