singlestat.less 775 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .singlestat-panel {
  2. position: relative;
  3. display: table;
  4. width: 100%;
  5. }
  6. .singlestat-panel-value-container {
  7. padding: 20px;
  8. display: table-cell;
  9. vertical-align: middle;
  10. text-align: center;
  11. position: relative;
  12. z-index: 1;
  13. font-size: 3em;
  14. font-weight: bold;
  15. }
  16. .singlestat-panel-prefix {
  17. padding-right: 20px;
  18. }
  19. .singlestat-panel-table {
  20. width: 100%;
  21. td {
  22. padding: 5px 10px;
  23. white-space: nowrap;
  24. text-align: right;
  25. border-bottom: 1px solid @grafanaListBorderBottom;
  26. }
  27. th {
  28. text-align: right;
  29. padding: 5px 10px;
  30. font-weight: bold;
  31. color: @blue
  32. }
  33. td:first-child {
  34. text-align: left;
  35. }
  36. tr:nth-child(odd) td {
  37. background-color: @grafanaListAccent;
  38. }
  39. tr:last-child td {
  40. border: none;
  41. }
  42. }