Skip to content

Commit

Permalink
Fixing css (#11362)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamThorenfeldt authored Oct 13, 2023
1 parent 9e56666 commit b3ef05b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@

outline: var(--fds-focus-border-width) solid var(--fds-outer-focus-border-color);
outline-offset: var(--fds-focus-border-width);
box-shadow: 8px 0 0 0 var(--fds-semantic-border-action-primary-active) inset,
box-shadow:
8px 0 0 0 var(--fds-semantic-border-action-active) inset,
0 0 0 var(--fds-focus-border-width) var(--fds-inner-focus-border-color);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.selected {
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-primary-default) inset;
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-default) inset;
box-shadow: var(--fdsc-alert-box-shadow-left);
}

.selected:focus:not(:focus-visible) {
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-primary-active) inset;
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-active) inset;
box-shadow: var(--fdsc-alert-box-shadow-left);
}

Expand All @@ -21,7 +21,7 @@
}

.newPage:focus-within {
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-primary-active) inset;
--fdsc-alert-box-shadow-left: 8px 0 0 0 var(--fds-semantic-border-action-active) inset;
box-shadow: var(--fdsc-alert-box-shadow-left);
}

Expand Down

0 comments on commit b3ef05b

Please sign in to comment.