grafana/src/css/less/stats-panel.less

59 lines
843 B
Plaintext
Raw Normal View History

.stats-panel {
position: relative;
display: table;
width: 100%;
}
.stats-panel-value-container {
padding: 20px;
display: table-cell;
vertical-align: middle;
text-align: center;
position: relative;
z-index: 1;
}
.stats-panel-value {
font-size: 3em;
font-weight: bold;
}
.stats-panel-value:not(:first-child) {
padding-left: 20px;
}
.stats-panel-value-small {
font-size: 50%;
}
.stats-panel-table {
width: 100%;
td {
padding: 5px 10px;
white-space: nowrap;
text-align: right;
border-bottom: 1px solid @grafanaListBorderBottom;
}
th {
text-align: right;
padding: 5px 10px;
font-weight: bold;
color: @blue
}
td:first-child {
text-align: left;
}
tr:nth-child(odd) td {
background-color: @grafanaListAccent;
}
tr:last-child td {
border: none;
}
}