_panel_piechart.scss 718 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .piechart-panel {
  2. position: relative;
  3. display: table;
  4. width: 100%;
  5. height: 100%;
  6. .piechart-container {
  7. top: 10px;
  8. margin: auto;
  9. svg {
  10. width: 100%;
  11. height: 100%;
  12. }
  13. }
  14. .piechart-tooltip {
  15. white-space: nowrap;
  16. font-size: 12px;
  17. background-color: #141414;
  18. color: #d8d9da;
  19. opacity: 0;
  20. position: absolute;
  21. width: 300px;
  22. .piechart-tooltip-time {
  23. text-align: center;
  24. position: relative;
  25. top: -3px;
  26. padding: 0.2rem;
  27. font-weight: bold;
  28. color: #d8d9da;
  29. .piechart-tooltip-value {
  30. display: table-cell;
  31. font-weight: bold;
  32. padding-left: 15px;
  33. text-align: right;
  34. }
  35. }
  36. }
  37. }