SubUsageSummary.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .usage-summary {
  2. margin-top: 12px;
  3. padding: 14px 16px;
  4. background: var(--ant-color-fill-alter);
  5. border: 1px solid var(--ant-color-border-secondary);
  6. border-radius: 12px;
  7. }
  8. .usage-summary.is-inactive {
  9. opacity: 0.7;
  10. border-color: var(--ant-color-error-border);
  11. }
  12. .usage-summary-head {
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. gap: 12px;
  17. margin-bottom: 8px;
  18. }
  19. .usage-summary-labels {
  20. display: flex;
  21. align-items: baseline;
  22. gap: 6px;
  23. font-variant-numeric: tabular-nums;
  24. min-width: 0;
  25. }
  26. .usage-summary-used {
  27. font-size: 18px;
  28. font-weight: 700;
  29. color: var(--ant-color-text);
  30. }
  31. .usage-summary-sep {
  32. color: var(--ant-color-text-quaternary);
  33. font-size: 16px;
  34. }
  35. .usage-summary-total {
  36. font-size: 14px;
  37. color: var(--ant-color-text-secondary);
  38. font-weight: 500;
  39. }
  40. .usage-summary-chips {
  41. display: flex;
  42. align-items: center;
  43. gap: 6px;
  44. flex-shrink: 0;
  45. }
  46. .usage-summary-chips .ant-tag {
  47. margin: 0;
  48. }
  49. .usage-summary-bar.ant-progress {
  50. margin-bottom: 6px;
  51. }
  52. .usage-summary-bar .ant-progress-outer {
  53. padding-inline-end: 0;
  54. }
  55. .usage-summary-bar .ant-progress-inner {
  56. background: var(--ant-color-fill-secondary);
  57. }
  58. .usage-summary-foot {
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. font-size: 12px;
  63. color: var(--ant-color-text-tertiary);
  64. font-variant-numeric: tabular-nums;
  65. min-height: 16px;
  66. }
  67. .usage-summary-remained::before {
  68. content: '';
  69. }
  70. .usage-summary-pct {
  71. font-weight: 600;
  72. color: var(--ant-color-text-secondary);
  73. }