table.scss 2.9 KB

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