mirror of
https://github.com/tornadocash/tornado-initiation-ui.git
synced 2024-11-29 15:39:25 +01:00
25 lines
497 B
SCSS
25 lines
497 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/tree/master/flags
|
|
|
|
@mixin flag-icon($country) {
|
|
.flag-icon-#{$country} {
|
|
background-image: url('../images/flags/#{$country}.svg');
|
|
}
|
|
}
|
|
$countries: gb ru cn;
|
|
@each $country in $countries {
|
|
@include flag-icon($country);
|
|
}
|