ln.ethercat/ln.ethercat.service/www/static/css/spa.css

121 lines
1.6 KiB
CSS

html, body {
font-family: Arial, Helvetica, sans-serif;
position: relative;
}
header {
display: block;
position: relative;
width: 100%;
border-bottom: 1px solid black;
padding: 16px 0px;
}
header > .wrapper {
display: block;
position: relative;
margin: auto;
}
main, .flex {
display: flex;
}
main > *, .flex > * {
flex-grow: 1;
margin: 0px 8px;
}
main > aside, .flex > .aside{
flex-basis: 25%;
flex-grow: 0;
}
h2 {
border-bottom: 1px solid black;
}
button, span {
display: inline-block;
font-size: 1rem;
font-style: normal;
text-decoration: none;
}
fieldset {
position: relative;
display: flex;
}
fieldset > label {
flex-grow: 0;
}
fieldset > input, fieldset > .value {
flex-grow: 1;
}
.panel {
padding: 6px;
}
.left > .panel {
padding-right: 24px;
border-right: 1px solid #B0B0B0;
}
.right > .panel {
padding-left: 24px;
border-left: 1px solid #B0B0B0;
}
.panel > article {
border-bottom: 1px solid #cccccc;
padding: 8px 0px;
}
.value {
text-align: right;
font-weight: bold;
}
.state {
width: 160px;
padding: 8px 16px;
margin: 2px 8px;
border-radius: 8px;;
background-color: #808080;
}
.state.active {
background-color: #10E010;
}
.state.active.silver {
background-color: #B0B0B0;
}
.state.active.green {
background-color: #10E010;
}
.state.active.orange {
background-color: #e0a810;
}
.OPERATIONAL {
background-color: #10E010;
}
.SAFE_OP {
background-color: #e0a810;
}
.PRE_OP {
background-color: #B0B0B0;
}