From: Ole Artz Date: Thu, 17 Aug 2017 13:19:17 +0000 (+0200) Subject: DASH: whitespace fixes in style.css X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=4093fea9c98e1a173f86f67a6c7fd0280320c8fe;p=mvd_epics.git DASH: whitespace fixes in style.css --- diff --git a/python_suite/dashboard/static/css/style.css b/python_suite/dashboard/static/css/style.css index 7384701..c296e1d 100644 --- a/python_suite/dashboard/static/css/style.css +++ b/python_suite/dashboard/static/css/style.css @@ -38,29 +38,29 @@ table, th { /* MENU_BAR*/ .menu_bar { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; - background-color: #0509fc; + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #0509fc; } .menu_bar a { - color: white; - text-align: left; - padding: 14px 16px; - text-decoration: none; + color: white; + text-align: left; + padding: 14px 16px; + text-decoration: none; } .menu_bar a:hover:not { - background-color: #111; + background-color: #111; } .menu_bar { - cursor: pointer; + cursor: pointer; } .active { - background-color:#4CAF50; + background-color:#4CAF50; } /* ALARMS */ .invalid_alarm:after { @@ -102,38 +102,38 @@ table, th { display: inline-block; width: 8em; padding: 0.125em; - } - .toggle input { - position: absolute; - visibility: hidden; - } - .toggle span { - position: relative; - left: 0%; - display: block; - text-transform: uppercase; - text-align: center; - - -webkit-transition: left 200ms ease-out; - -moz-transition: left 200ms ease-out; - -o-transition: left 200ms ease-out; - transition: left 200ms ease-out; - } - .toggle :checked + span { - left: 50%; - } +} +.toggle input { + position: absolute; + visibility: hidden; +} +.toggle span { + position: relative; + left: 0%; + display: block; + text-transform: uppercase; + text-align: center; + + -webkit-transition: left 200ms ease-out; + -moz-transition: left 200ms ease-out; + -o-transition: left 200ms ease-out; + transition: left 200ms ease-out; +} +.toggle :checked + span { + left: 50%; +} - .toggle span:before { - content: attr(data-unchecked); - display: block; - width: 50%; - background-color: #525252; - border-radius: 0.15em; - box-shadow: inset 0 0.1em 0 rgba(255, 255, 255, 0.3); - color: white; - } +.toggle span:before { + content: attr(data-unchecked); + display: block; + width: 50%; + background-color: #525252; + border-radius: 0.15em; + box-shadow: inset 0 0.1em 0 rgba(255, 255, 255, 0.3); + color: white; +} - .toggle :checked + span:before { - content: attr(data-checked); - background-color: #0099CC; - } +.toggle :checked + span:before { + content: attr(data-checked); + background-color: #0099CC; +}