platypush/platypush/backend/http/static/css/source/webpanel/plugins/sensors/index.scss

37 lines
751 B
SCSS

@import 'common/vars';
.sensors {
.head {
text-align: right;
button {
border: 0;
&:hover { background: $hover-bg; }
}
}
.body {
display: flex;
flex-direction: column;
margin: 2rem auto;
width: 80%;
.metric {
margin-bottom: .75rem;
padding: 2rem;
border: $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;
}
}
}
}