@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")}; }