Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

143 lignes
3.7 KiB

  1. @use '../atoms/variables' as *;
  2. @use '../atoms/mixins' as *;
  3. // ─── Statistiken-Bubble (Report-Header) ─────────────────────────────────────
  4. .report-stats-bubble {
  5. display: inline-flex;
  6. align-items: center;
  7. gap: $space-2;
  8. padding: $space-2 $space-4;
  9. font-size: $font-size-sm;
  10. font-weight: $font-weight-medium;
  11. color: var(--header-text-muted);
  12. background: var(--header-overlay);
  13. border: 1px solid var(--header-overlay);
  14. border-radius: $radius-pill;
  15. backdrop-filter: blur(6px);
  16. -webkit-backdrop-filter: blur(6px);
  17. white-space: nowrap;
  18. text-decoration: none;
  19. transition: background $transition-fast, color $transition-fast;
  20. cursor: pointer;
  21. &:hover {
  22. color: var(--header-text);
  23. background: rgba(255, 255, 255, 0.28);
  24. }
  25. &--active {
  26. color: var(--header-text);
  27. background: rgba(255, 255, 255, 0.28);
  28. border-color: rgba(255, 255, 255, 0.35);
  29. }
  30. &__icon {
  31. width: 16px;
  32. height: 16px;
  33. flex-shrink: 0;
  34. }
  35. }
  36. // ─── Toolbar ────────────────────────────────────────────────────────────────
  37. .statistics-toolbar {
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. padding: $space-4 $space-5;
  42. border-bottom: 1px solid $color-border;
  43. @include tablet {
  44. flex-wrap: wrap;
  45. gap: $space-3;
  46. }
  47. }
  48. .statistics-toolbar__title {
  49. font-size: $font-size-md;
  50. font-weight: $font-weight-bold;
  51. color: $color-text-dark;
  52. }
  53. .statistics-toolbar__controls {
  54. display: flex;
  55. align-items: center;
  56. gap: $space-3;
  57. }
  58. .statistics-range-select {
  59. appearance: none;
  60. background: $color-input-bg url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a8a9a'/%3E%3C/svg%3E") no-repeat right 12px center;
  61. border: 1px solid $color-input-border;
  62. border-radius: $radius-md;
  63. padding: $space-2 $space-8 $space-2 $space-3;
  64. font-size: $font-size-sm;
  65. font-family: $font-family-base;
  66. color: $color-text-base;
  67. cursor: pointer;
  68. transition: border-color $transition-fast;
  69. &:hover {
  70. border-color: var(--color-primary);
  71. }
  72. &:focus {
  73. outline: none;
  74. border-color: var(--color-primary);
  75. box-shadow: $shadow-focus;
  76. }
  77. }
  78. // ─── Chart ──────────────────────────────────────────────────────────────────
  79. .statistics-chart-wrap {
  80. position: relative;
  81. height: 400px;
  82. padding: $space-6 $space-5;
  83. @include tablet {
  84. height: 300px;
  85. padding: $space-4 $space-3;
  86. }
  87. }
  88. .statistics-error {
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. height: 100%;
  93. color: $color-text-muted;
  94. font-size: $font-size-sm;
  95. }
  96. // ─── Legende ────────────────────────────────────────────────────────────────
  97. .statistics-legend {
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. gap: $space-6;
  102. padding: $space-3 $space-5 $space-5;
  103. }
  104. .statistics-legend__item {
  105. display: inline-flex;
  106. align-items: center;
  107. gap: $space-2;
  108. font-size: $font-size-sm;
  109. color: $color-text-muted;
  110. &::before {
  111. content: '';
  112. display: inline-block;
  113. width: 12px;
  114. height: 12px;
  115. border-radius: $radius-sm;
  116. }
  117. &--billable::before {
  118. background: var(--color-primary);
  119. }
  120. &--non-billable::before {
  121. background: $color-text-light;
  122. }
  123. }