.details, .stateOff => config.less
This commit is contained in:
parent
cd84f25577
commit
4fd227b19c
@ -13,8 +13,7 @@
|
|||||||
<div class="switchOff" (click)="deviceService.setState(device, false)"></div>
|
<div class="switchOff" (click)="deviceService.setState(device, false)"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="timestamp">
|
<div class="timestamp details">
|
||||||
{{ device.stateProperty?.state?.timestamp | relative:now }}
|
|
||||||
{{ device.stateProperty?.lastValueChange | relative:now }}
|
{{ device.stateProperty?.lastValueChange | relative:now }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
clear: left;
|
clear: left;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
color: gray;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
@ -41,17 +40,4 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.stateOn {
|
|
||||||
background-color: palegreen;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stateOff {
|
|
||||||
background-color: indianred;
|
|
||||||
|
|
||||||
.timestamp {
|
|
||||||
color: lightgray;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,34 +10,6 @@
|
|||||||
margin-bottom: @space;
|
margin-bottom: @space;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
|
||||||
font-size: 80%;
|
|
||||||
color: gray;
|
|
||||||
|
|
||||||
.stackLeft {
|
|
||||||
float: left;
|
|
||||||
margin-right: @space;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stackRight {
|
|
||||||
float: right;
|
|
||||||
margin-left: @space;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.stateOn {
|
|
||||||
background-color: palegreen;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stateOff {
|
|
||||||
background-color: indianred;
|
|
||||||
|
|
||||||
.details {
|
|
||||||
color: lightgray;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
@space: 0.4em;
|
@space: 0.4em;
|
||||||
@border: 0.1em;
|
@border: 0.05em;
|
||||||
|
|
||||||
.flexBox {
|
.flexBox {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -16,6 +16,34 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.details {
|
||||||
|
font-size: 80%;
|
||||||
|
color: gray;
|
||||||
|
|
||||||
|
.stackLeft {
|
||||||
|
float: left;
|
||||||
|
margin-right: @space;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stackRight {
|
||||||
|
float: right;
|
||||||
|
margin-left: @space;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.stateOn {
|
||||||
|
background-color: palegreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stateOff {
|
||||||
|
background-color: indianred;
|
||||||
|
|
||||||
|
.details {
|
||||||
|
color: #575757;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tileContainer {
|
.tileContainer {
|
||||||
padding: calc(@space / 2);
|
padding: calc(@space / 2);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user