Skip to content

Commit

Permalink
Merge pull request #9511 from camptocamp/reduced-motion
Browse files Browse the repository at this point in the history
Better reduced-motion
  • Loading branch information
sbrunner authored Oct 23, 2024
2 parents 9454ba8 + ebb5f7c commit 16fd5da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/controllers/common.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@media (prefers-reduced-motion: reduce) {
html .fa-spin {
animation-duration: 5s;
animation-iteration-count: infinite;
}
}
1 change: 1 addition & 0 deletions src/controllers/desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

@import './vars_desktop.scss';

@import './common.scss';
@import 'ol/ol.css';
@import 'gmf/css/reset.css';
@import 'gmf/sass/gmf-font.scss';
Expand Down
1 change: 1 addition & 0 deletions src/controllers/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

@import './vars_mobile.scss';

@import './common.scss';
@import 'ol/ol.css';
@import 'gmf/css/reset.css';
@import 'gmf/sass/gmf-font.scss';
Expand Down

0 comments on commit 16fd5da

Please sign in to comment.