forked from pmcoltrane/MTConnect-JS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataItem.css
More file actions
48 lines (41 loc) · 790 Bytes
/
Copy pathDataItem.css
File metadata and controls
48 lines (41 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[data-role="DataItem"]{
display: inline-block;
background: LightSlateGray;
color: white;
margin: 0 6px 6px 0;
padding: 3px;
min-width: 19%;
list-style-type: none;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
[data-role="DataItem.Name"]{
font-size: large;
margin: 0;
}
[data-role="DataItem.Type"], [data-role="DataItem.Subtype"]{
font-size: smaller;
margin: 0;
text-transform: lowercase;
}
[data-role="DataItem.Value"]{
display: block;
padding: 3px;
}
.UNAVAILABLE{
background: gray;
}
.NORMAL,.AVAILABLE,.ACTIVE,.ARMED{
background: green;
}
.WARNING,.READY{
background: GoldenRod;
}
.FAULT,.STOPPED,.TRIGGERED{
background: FireBrick;
}