@norges-domstoler/dds-components 0.0.0-dev-20260313133054 → 0.0.0-dev-20260313135341

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -4010,6 +4010,16 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
4010
4010
  z-index: var(--dds-zindex-sticky);
4011
4011
  }
4012
4012
  }
4013
+ .Table_table--with-stripes {
4014
+ .Table_row--body {
4015
+ &:nth-of-type(even) {
4016
+ background-color: var(--dds-color-surface-subtle);
4017
+ }
4018
+ &:nth-of-type(odd) {
4019
+ background-color: var(--dds-color-surface-default);
4020
+ }
4021
+ }
4022
+ }
4013
4023
  .Table_table--small {
4014
4024
  td,
4015
4025
  th {
@@ -4020,6 +4030,8 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
4020
4030
  letter-spacing: var(--dds-font-heading-xsmall-letter-spacing);
4021
4031
  background-color: var(--dds-color-surface-default);
4022
4032
  }
4033
+ }
4034
+ .Table_table--with-stripes.Table_table--small {
4023
4035
  .Table_row--body {
4024
4036
  &:nth-of-type(odd) {
4025
4037
  background-color: var(--dds-color-surface-subtle);
@@ -4056,12 +4068,7 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
4056
4068
  }
4057
4069
  }
4058
4070
  .Table_row--body {
4059
- &:nth-of-type(even) {
4060
- background-color: var(--dds-color-surface-subtle);
4061
- }
4062
- &:nth-of-type(odd) {
4063
- background-color: var(--dds-color-surface-default);
4064
- }
4071
+ background-color: var(--dds-color-surface-default);
4065
4072
  &.Table_row--sum,
4066
4073
  &.Table_row--sum:nth-of-type(even),
4067
4074
  &.Table_row--sum:nth-of-type(odd) {