dashboard.component.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. .dashboard-shell {
  2. display: grid;
  3. gap: 18px;
  4. margin: 0 auto;
  5. max-width: 1420px;
  6. padding: 24px 24px 60px;
  7. }
  8. .console-head,
  9. .module-table,
  10. .quality-panel,
  11. .incident-card {
  12. background: rgba(255, 255, 255, 0.96);
  13. border: 1px solid #e3e8f0;
  14. border-radius: 8px;
  15. box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  16. }
  17. .console-head {
  18. align-items: center;
  19. display: flex;
  20. justify-content: space-between;
  21. padding: 24px;
  22. }
  23. .console-head div:first-child,
  24. .section-head div {
  25. display: grid;
  26. gap: 7px;
  27. }
  28. .eyebrow,
  29. .section-head p {
  30. color: #1f5fbf;
  31. font-size: 13px;
  32. font-weight: 900;
  33. margin: 0;
  34. }
  35. h1,
  36. h2,
  37. p {
  38. margin: 0;
  39. }
  40. h1 {
  41. color: #101828;
  42. font-size: 30px;
  43. line-height: 1.18;
  44. }
  45. h2 {
  46. color: #111827;
  47. font-size: 20px;
  48. }
  49. .console-head span,
  50. small,
  51. .incident-card p {
  52. color: #667085;
  53. line-height: 1.55;
  54. }
  55. .head-actions {
  56. display: flex;
  57. gap: 10px;
  58. }
  59. .head-actions a,
  60. .data-row a {
  61. background: #174ea6;
  62. border-radius: 6px;
  63. color: #fff;
  64. font-weight: 800;
  65. padding: 10px 14px;
  66. text-decoration: none;
  67. }
  68. .head-actions .secondary {
  69. background: #eaf1ff;
  70. color: #174ea6;
  71. }
  72. .metric-grid {
  73. display: grid;
  74. gap: 14px;
  75. grid-template-columns: repeat(4, minmax(0, 1fr));
  76. }
  77. .dashboard-grid {
  78. align-items: start;
  79. display: grid;
  80. gap: 18px;
  81. grid-template-columns: minmax(0, 1fr) 380px;
  82. }
  83. .module-table,
  84. .quality-panel {
  85. display: grid;
  86. gap: 12px;
  87. padding: 18px;
  88. }
  89. .section-head,
  90. .data-row,
  91. .gate-row {
  92. align-items: center;
  93. display: grid;
  94. gap: 14px;
  95. }
  96. .section-head {
  97. grid-template-columns: 1fr auto;
  98. }
  99. .table-head,
  100. .data-row {
  101. grid-template-columns: minmax(320px, 1fr) 110px 100px 76px;
  102. }
  103. .table-head {
  104. background: #f8fafc;
  105. border: 1px solid #e5e7eb;
  106. border-radius: 6px;
  107. color: #475467;
  108. display: grid;
  109. font-size: 13px;
  110. font-weight: 900;
  111. padding: 10px 12px;
  112. }
  113. .data-row,
  114. .gate-row {
  115. border: 1px solid #e5e7eb;
  116. border-radius: 8px;
  117. padding: 13px 12px;
  118. }
  119. .data-row div,
  120. .gate-row div {
  121. display: grid;
  122. gap: 5px;
  123. }
  124. .data-row strong,
  125. .gate-row strong,
  126. .incident-card strong {
  127. color: #101828;
  128. }
  129. .data-row > span,
  130. .gate-row > span {
  131. color: #344054;
  132. font-weight: 800;
  133. }
  134. .gate-row {
  135. grid-template-columns: 1fr auto auto;
  136. }
  137. .incident-strip {
  138. display: grid;
  139. gap: 14px;
  140. grid-template-columns: repeat(3, minmax(0, 1fr));
  141. }
  142. .incident-card {
  143. display: grid;
  144. gap: 8px;
  145. padding: 16px;
  146. }
  147. .incident-card span {
  148. color: #1f5fbf;
  149. font-size: 13px;
  150. font-weight: 900;
  151. }
  152. @media (max-width: 1100px) {
  153. .metric-grid,
  154. .dashboard-grid,
  155. .incident-strip,
  156. .table-head,
  157. .data-row {
  158. grid-template-columns: 1fr;
  159. }
  160. }
  161. @media (max-width: 760px) {
  162. .console-head,
  163. .head-actions {
  164. align-items: flex-start;
  165. flex-direction: column;
  166. }
  167. }