table.scss 3.0 KB

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