Skip to content

Commit

Permalink
fix focus shadow on light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Jan 12, 2024
1 parent 7a94c1e commit 370ea0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/scss/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
&.ibexa-input--text.form-control:focus,
&.ibexa-input--date.form-control:focus {
border-color: var(--ibexa-input-focus-border-color, #{$ibexa-color-primary});
box-shadow: 0 0 0 calculateRem(4px) var(--ibexa-input-focus-shadow-color, #{rgba($ibexa-color-primary, 0.75)});
box-shadow: 0 0 0 calculateRem(4px) var(--ibexa-input-focus-shadow-color, #{rgba($ibexa-color-primary, 0.25)});
}

&:disabled {
Expand Down Expand Up @@ -218,7 +218,7 @@
height: calculateRem(16px);
border-radius: calculateRem(8px);
background: transparent;
box-shadow: 0 0 calculateRem(3px) 0 var(--ibexa-input-focus-shadow-color, #{rgba($ibexa-color-primary, 0.75)});
box-shadow: 0 0 0 calculateRem(4px) var(--ibexa-input-focus-shadow-color, #{rgba($ibexa-color-primary, 0.25)});
}
}
}
Expand Down

0 comments on commit 370ea0d

Please sign in to comment.