table.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. .softpar-table {
  2. padding-left: 16px !important;
  3. padding-right: 16px !important;
  4. .body--dark & {
  5. --table-bg-color: #181818;
  6. --table-border-color: #3b3b3b;
  7. --table-header-color: #f9f9f9;
  8. }
  9. .body--light & {
  10. background-color: #eef4f8;
  11. --table-bg-color: #f9f9f9;
  12. --table-border-color: #e0e0e0;
  13. --table-header-color: #717171;
  14. }
  15. :deep(.q-table) {
  16. thead tr:first-child th {
  17. background-color: var(-q--primary) !important;
  18. }
  19. thead tr th {
  20. text-transform: uppercase;
  21. position: sticky;
  22. z-index: 1;
  23. }
  24. thead tr:first-child th {
  25. top: 0;
  26. }
  27. &.q-table--loading thead tr:last-child th {
  28. top: 48px;
  29. }
  30. }
  31. tr {
  32. background-color: var(--table-bg-color) !important;
  33. }
  34. .q-table__middle {
  35. border: 0.5px solid var(--table-border-color);
  36. box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
  37. border-radius: 4px;
  38. }
  39. .q-table__top {
  40. padding-top: 8px;
  41. padding-left: 0px;
  42. padding-right: 0px;
  43. padding-bottom: 16px;
  44. }
  45. .q-table th {
  46. font-weight: normal;
  47. font-family: "Roboto";
  48. font-style: normal;
  49. font-weight: 500;
  50. font-size: 14px;
  51. line-height: 16px;
  52. letter-spacing: 0.1px;
  53. color: var(--table-header-color);
  54. }
  55. }
  56. .ativo {
  57. justify-content: center;
  58. padding: 5px 12px;
  59. gap: 10px;
  60. border-radius: 24px;
  61. width: fit-content;
  62. margin-right: auto;
  63. margin-left: auto;
  64. .body--dark & {
  65. background: none;
  66. border: 1px solid #cfdab7;
  67. }
  68. .body--light & {
  69. background: #cfdab7;
  70. border: none;
  71. }
  72. }
  73. .inativo {
  74. justify-content: center;
  75. padding: 5px 12px;
  76. gap: 10px;
  77. border-radius: 24px;
  78. width: fit-content;
  79. margin-right: auto;
  80. margin-left: auto;
  81. .body--dark & {
  82. background: none;
  83. border: 1px solid #f7cfbb;
  84. }
  85. .body--light & {
  86. background: #f7cfbb;
  87. border: none;
  88. }
  89. }
  90. .rejeitado {
  91. justify-content: center;
  92. padding: 5px 12px;
  93. gap: 10px;
  94. border-radius: 24px;
  95. width: fit-content;
  96. margin-right: auto;
  97. margin-left: auto;
  98. .body--dark & {
  99. background: none;
  100. border: 1px solid #f9e3e3;
  101. }
  102. .body--light & {
  103. background: #f9e3e3;
  104. border: none;
  105. }
  106. }
  107. .gerado {
  108. justify-content: center;
  109. padding: 5px 12px;
  110. gap: 10px;
  111. border-radius: 24px;
  112. width: fit-content;
  113. margin-right: auto;
  114. margin-left: auto;
  115. .body--dark & {
  116. background: none;
  117. border: 1px solid #e1e9f0;
  118. }
  119. .body--light & {
  120. background: #e1e9f0;
  121. border: none;
  122. }
  123. }
  124. .pendente {
  125. justify-content: center;
  126. padding: 5px 12px;
  127. gap: 10px;
  128. border-radius: 24px;
  129. width: fit-content;
  130. margin-right: auto;
  131. margin-left: auto;
  132. .body--dark & {
  133. background: none;
  134. border: 1px solid #faf4bf;
  135. }
  136. .body--light & {
  137. background: #faf4bf;
  138. border: none;
  139. }
  140. }
  141. .table-bottom {
  142. .q-table__top {
  143. .body--light & {
  144. background: #f9f9f9;
  145. }
  146. .body--dark & {
  147. background: #181818;
  148. }
  149. }
  150. .q-table__bottom {
  151. .body--light & {
  152. background: #f9f9f9;
  153. }
  154. .body--dark & {
  155. background: #181818;
  156. }
  157. }
  158. }