Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed btn-primary icon with focus-visible #565

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
- La tendina delle select nel blocco Form non si sovrappone più ai campi sottostanti.
- Sistemato alert di errore nel blocco Form che nascondeva il form quando un campo non era valido, ora continua a visualizzarsi anche la form.
- Migliorato il testo alternativo per il logo NextGenerationEU nel footer.
- Sistemato il contrasto delle icone nei pulsanti "primary" quando si attiva il focus col tab da tastiera

## Versione 11.5.1 (19/02/2024)

Expand Down
1 change: 1 addition & 0 deletions src/theme/bootstrap-override/_bootstrap-italia-site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
@import 'bootstrap-italia/src/scss/custom/calendar';
@import 'bootstrap-italia/src/scss/custom/alert';
@import 'bootstrap-italia/src/scss/custom/buttons';
@import './bootstrap-italia/buttons';
@import 'bootstrap-italia/src/scss/custom/font';
@import 'bootstrap-italia/src/scss/custom/forms';
@import 'bootstrap-italia/src/scss/custom/form-input-file';
Expand Down
8 changes: 8 additions & 0 deletions src/theme/bootstrap-override/bootstrap-italia/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
button.btn.btn-primary:focus-visible,
.btn.btn-primary:focus-visible {
&:not(:hover) {
svg.icon {
fill: var(--bs-btn-hover-color);
}
}
}
Loading