diff --git a/platypush/backend/http/static/css/source/webpanel/plugins/sensors/index.scss b/platypush/backend/http/static/css/source/webpanel/plugins/sensors/index.scss index 9106b20d..e46d2032 100644 --- a/platypush/backend/http/static/css/source/webpanel/plugins/sensors/index.scss +++ b/platypush/backend/http/static/css/source/webpanel/plugins/sensors/index.scss @@ -9,5 +9,29 @@ &:hover { background: $hover-bg; } } } + + .body { + display: flex; + flex-direction: column; + border: $default-border-3; + border-radius: 2rem; + margin: 2rem auto; + width: 80%; + + .metric { + padding: 2rem; + border-bottom: $default-border-3; + border-radius: 2rem; + + &:nth-child(odd) { background: rgba(255, 255, 255, 0.0); } + &:nth-child(even) { background: $default-bg-3; } + &:hover { background: $hover-bg; } + + .value { + text-align: right; + font-weight: bold; + } + } + } } diff --git a/platypush/backend/http/templates/plugins/sensors/index.html b/platypush/backend/http/templates/plugins/sensors/index.html index 43a1403e..09998fe0 100644 --- a/platypush/backend/http/templates/plugins/sensors/index.html +++ b/platypush/backend/http/templates/plugins/sensors/index.html @@ -1,16 +1,16 @@