SingleStatPanel: renamed panel to singlestat

This commit is contained in:
Torkel Ödegaard
2014-11-06 14:07:32 +01:00
parent ee183d4574
commit f0b7099be3
7 changed files with 18 additions and 18 deletions
+51
View File
@@ -0,0 +1,51 @@
.singlestat-panel {
position: relative;
display: table;
width: 100%;
}
.singlestat-panel-value-container {
padding: 20px;
display: table-cell;
vertical-align: middle;
text-align: center;
position: relative;
z-index: 1;
font-size: 3em;
font-weight: bold;
}
.singlestat-panel-prefix {
padding-right: 20px;
}
.singlestat-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;
}
}