No outline on the ZeroBorg div when focused
This commit is contained in:
parent
b863213bd7
commit
e83b21ad33
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
#zb-container {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.zb-controls-container {
|
.zb-controls-container {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
|
|
@ -68,6 +68,9 @@ class GpioZeroborgPlugin(Plugin):
|
||||||
elif 'below_threshold_direction' in sensor:
|
elif 'below_threshold_direction' in sensor:
|
||||||
direction = sensor['below_threshold_direction']
|
direction = sensor['below_threshold_direction']
|
||||||
|
|
||||||
|
logging.info('Sensor: {}\tMeasurement: {}\tDirection: {}'
|
||||||
|
.format(sensor['plugin'], value, direction))
|
||||||
|
|
||||||
return direction
|
return direction
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue