@norges-domstoler/dds-components 23.1.2 → 23.1.3

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
@@ -3106,22 +3106,24 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
3106
3106
  box-shadow var(--dds-motion-micro-state);
3107
3107
  }
3108
3108
  }
3109
- .Table_row--body {
3110
- background-color: var(--dds-color-surface-default);
3111
- &.Table_row--sum,
3112
- &.Table_row--sum:nth-of-type(even),
3113
- &.Table_row--sum:nth-of-type(odd) {
3114
- border-bottom: 1px solid var(--dds-color-border-default);
3115
- border-top: 1px solid var(--dds-color-border-default);
3116
- background: var(--dds-color-surface-default);
3117
- }
3118
- &.Table_row--selected,
3119
- &.Table_row--selected:nth-of-type(even),
3120
- &.Table_row--selected:nth-of-type(odd) {
3121
- background-color: var(--dds-color-surface-selected-default);
3122
- }
3123
- &.Table_row--hoverable:hover {
3124
- background-color: var(--dds-color-surface-hover-default);
3109
+ .Table_table {
3110
+ .Table_row--body {
3111
+ background-color: var(--dds-color-surface-default);
3112
+ &.Table_row--sum,
3113
+ &.Table_row--sum:nth-of-type(even),
3114
+ &.Table_row--sum:nth-of-type(odd) {
3115
+ border-bottom: 1px solid var(--dds-color-border-default);
3116
+ border-top: 1px solid var(--dds-color-border-default);
3117
+ background: var(--dds-color-surface-default);
3118
+ }
3119
+ &.Table_row--selected,
3120
+ &.Table_row--selected:nth-of-type(even),
3121
+ &.Table_row--selected:nth-of-type(odd) {
3122
+ background-color: var(--dds-color-surface-selected-default);
3123
+ }
3124
+ &.Table_row--hoverable:hover {
3125
+ background-color: var(--dds-color-surface-hover-default);
3126
+ }
3125
3127
  }
3126
3128
  }
3127
3129
  .Table_cell--head {
@@ -4209,7 +4211,7 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
4209
4211
  background-color var(--dds-motion-micro-state),
4210
4212
  var(--dds-focus-transition);
4211
4213
  }
4212
- &:hover {
4214
+ &&:hover:not(.Tabs_tab--active) {
4213
4215
  color: var(--dds-color-text-default);
4214
4216
  background-color: var(--dds-color-surface-hover-default);
4215
4217
  }
@@ -4239,6 +4241,7 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
4239
4241
  color: var(--dds-color-text-default);
4240
4242
  border-color: var(--dds-color-surface-action-selected);
4241
4243
  box-shadow: inset 0px -2px 0px 0px var(--dds-color-surface-action-selected);
4244
+ cursor: default;
4242
4245
  }
4243
4246
 
4244
4247
  /* src/components/Tag/Tag.module.css */