| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- @use "sass:map";
- @use "src/css/quasar.variables.scss";
- .softpar-table {
- --table-border-color: #{map.get($colors, "surface-light")};
- --table-header-color: #{map.get($colors, "text")};
- --table-ring-color: #c0c0c0c0;
- padding-left: 16px !important;
- padding-right: 16px !important;
- border-radius: 8px !important;
- box-shadow: 0 0 0 1px var(--table-ring-color);
- background-color: transparent;
- :deep(.q-table) {
- thead tr:first-child th {
- background-color: $primary !important;
- }
- thead tr th {
- text-transform: uppercase;
- position: sticky;
- z-index: 1;
- }
- thead tr:first-child th {
- top: 0;
- }
- &.q-table--loading thead tr:last-child th {
- top: 48px;
- }
- }
- tr {
- background-color: var(--table-bg-color) !important;
- }
- .q-table__top {
- padding-top: 16px;
- padding-left: 0px;
- padding-right: 0px;
- padding-bottom: 16px;
- }
- .q-table th {
- font-weight: normal;
- font-family: "Roboto";
- font-style: normal;
- font-weight: 500;
- font-size: 14px;
- line-height: 16px;
- letter-spacing: 0.1px;
- color: var(--table-header-color);
- }
- }
- .ativo {
- justify-content: center;
- padding: 5px 12px;
- gap: 10px;
- border-radius: 24px;
- width: fit-content;
- margin-right: auto;
- margin-left: auto;
- background: #{map.get($colors, "positive-1")};
- border: none;
- }
- .inativo {
- justify-content: center;
- padding: 5px 12px;
- gap: 10px;
- border-radius: 24px;
- width: fit-content;
- margin-right: auto;
- margin-left: auto;
- background: #{map.get($colors, "negative-1")};
- border: none;
- }
- .rejeitado {
- justify-content: center;
- padding: 5px 12px;
- gap: 10px;
- border-radius: 24px;
- width: fit-content;
- margin-right: auto;
- margin-left: auto;
- background: #{map.get($colors, "negative-1")};
- border: none;
- }
- .gerado {
- justify-content: center;
- padding: 5px 12px;
- gap: 10px;
- border-radius: 24px;
- width: fit-content;
- margin-right: auto;
- margin-left: auto;
- background: #{map.get($colors, "primary-1")};
- border: none;
- }
- .pendente {
- justify-content: center;
- padding: 5px 12px;
- gap: 10px;
- border-radius: 24px;
- width: fit-content;
- margin-right: auto;
- margin-left: auto;
- background: #{map.get($colors, "warning")};
- border: none;
- }
- .table-bottom {
- .q-table__top {
- background: #{map.get($colors, "page")};
- }
- .q-table__bottom {
- background: #{map.get($colors, "page")};
- }
- }
- .q-table__grid-item-card {
- background: #{map.get($colors, "dark")};
- }
|