Skip to content

Commit

Permalink
Update _table.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Feb 19, 2024
1 parent 5304da1 commit accaffd
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions war/src/main/scss/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,39 +240,20 @@
}

&__badge {
margin-left: 1rem !important;
--item-background--hover: color-mix(in srgb, currentColor 10%, transparent);
--item-background--active: color-mix(in srgb, currentColor 15%, transparent);
--item-box-shadow--focus: color-mix(in srgb, currentColor 7.5%, transparent);

&::before {
inset: -5px -8px;
border-radius: 13px;
background: currentColor;
opacity: 0.05;
}
@include mixins.item;

&::after {
inset: -5px -8px;
box-shadow: 0 0 0 10px currentColor;
opacity: 0;
}
margin-left: 1rem !important;

&:hover {
&::before {
background: currentColor;
border-radius: 6px;
}
&::before, &::after {
inset: -5px -8px;
}

&:active,
&:focus {
&::before {
background: currentColor;
border-radius: 6px;
}

&::after {
box-shadow: 0 0 0 5px currentColor;
opacity: 0.025;
}
&::before {
background: color-mix(in srgb, currentColor 5%, transparent);
}
}
}

0 comments on commit accaffd

Please sign in to comment.