_panel_singlestat.scss 787 B

1234567891011121314151617181920212223242526272829303132333435
  1. .singlestat-panel {
  2. position: relative;
  3. display: table;
  4. width: 100%;
  5. height: 100%;
  6. }
  7. .singlestat-panel-value-container {
  8. // line-height 0 is imporant here as the font-size is on this
  9. // level but overriden one level deeper and but the line-height: is still
  10. // based on the base font size on this level. Using line-height: 0 fixes that
  11. line-height: 0;
  12. display: table-cell;
  13. vertical-align: middle;
  14. text-align: center;
  15. position: relative;
  16. z-index: 1;
  17. font-weight: $font-weight-semi-bold;
  18. font-size: 38px;
  19. }
  20. // Helps
  21. .panel-container--no-title {
  22. .singlestat-panel-value-container {
  23. padding-bottom: 0;
  24. }
  25. }
  26. .singlestat-panel-prefix {
  27. padding-right: 20px;
  28. }
  29. #flotGagueValue0 {
  30. font-weight: $font-weight-semi-bold; //please dont hurt me for this!
  31. }