classic-ui/assets/styles/components/_flag.scss
FreezyEx b32527e057 Revert "minor fixes"
This reverts commit 7f8f7c2aa15c8b8c6a7449d177f46f8a417e2f67.
2022-10-13 16:03:54 +02:00

25 lines
489 B
SCSS

.flag-icon {
background-size: contain;
background-position: 50%;
background-repeat: no-repeat;
position: relative;
display: inline-block;
height: 24px;
width: 24px;
&:before {
content: '\00a0';
}
}
// https://github.com/HatScripts/circle-flags/
@mixin flag-icon($country) {
.flag-icon-#{$country} {
background-image: url('../img/flags/#{$country}.svg');
}
}
$countries: es fr gb ru tr uk cn;
@each $country in $countries {
@include flag-icon($country);
}