Merge pull request #5450 from consuldemocracy/fix_icons_on_ie11

Fix font-awesome icons in Internet Explorer 11
This commit is contained in:
Javi Martín
2024-04-09 14:34:49 +02:00
committed by GitHub

View File

@@ -50,15 +50,20 @@
cursor: pointer; cursor: pointer;
&[aria-pressed=false]:hover, &[aria-pressed=false]:hover,
&[aria-pressed=false]:active, &[aria-pressed=false]:active {
&[aria-pressed=true]:not(:hover, :active) {
@include has-fa-icon($icon, solid); @include has-fa-icon($icon, solid);
} }
&[aria-pressed=true] { &[aria-pressed=true] {
@include has-fa-icon($icon, solid);
background: $pressed-color; background: $pressed-color;
border-color: $pressed-color; border-color: $pressed-color;
color: #fff; color: #fff;
&:hover,
&:active {
@include has-fa-icon($icon, regular);
}
} }
} }
} }