From 2efa4755d397d86963e80a42f722a99039223cdd Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Thu, 1 Jun 2017 10:30:39 +0100 Subject: [PATCH] Improve styleing of stat selection Style the stat selection the smae as element selection. This imporves looks and makes sure tooltips appear in the correct place (for first in list). --- tabs/osd.css | 12 ++++++------ tabs/osd.html | 7 ++++--- tabs/osd.js | 8 ++++---- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/tabs/osd.css b/tabs/osd.css index 368f4172..6560f3c0 100644 --- a/tabs/osd.css +++ b/tabs/osd.css @@ -355,19 +355,19 @@ button { top: .8em; } -.tab-osd .display-field { +.tab-osd .switchable-field { padding: 3px; border: 1px solid transparent; border-bottom: 1px solid #ddd; } -.tab-osd .display-field.mouseover { +.tab-osd .switchable-field.mouseover { background: #fff; border: 1px solid #ccc; font-weight: 800; } -.tab-osd .display-field input { +.tab-osd .switchable-field input { float: right; width: 50px; border-radius: 3px; @@ -378,12 +378,12 @@ button { } -.tab-osd .display-field label { +.tab-osd .switchable-field label { margin-left: 5px; } -.tab-osd .display-fields { +.tab-osd .switchable-fields { float: left; margin-top: 5px; margin-bottom: 8px; @@ -406,7 +406,7 @@ button { } -.tab-osd .display-field:last-child { +.tab-osd .switchable-field:last-child { border-bottom: 0px; } diff --git a/tabs/osd.html b/tabs/osd.html index cce894b1..2129fa6c 100755 --- a/tabs/osd.html +++ b/tabs/osd.html @@ -22,7 +22,7 @@
-
+
@@ -72,13 +72,14 @@