2021-12-28 14:09:09 +01:00
|
|
|
.fib {
|
2015-03-02 18:23:52 +01:00
|
|
|
background-size: contain;
|
|
|
|
background-position: 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
2021-12-28 14:09:09 +01:00
|
|
|
.fi {
|
|
|
|
@extend .fib;
|
2015-03-02 18:23:52 +01:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2021-11-25 11:16:12 +01:00
|
|
|
width: 1.333333 * 1em;
|
2015-03-02 18:23:52 +01:00
|
|
|
line-height: 1em;
|
|
|
|
&:before {
|
|
|
|
content: '\00a0';
|
|
|
|
}
|
2021-12-28 14:09:09 +01:00
|
|
|
&.fis {
|
2015-03-02 18:23:52 +01:00
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin flag-icon($country) {
|
2021-12-28 14:09:09 +01:00
|
|
|
.fi-#{$country} {
|
2021-10-24 21:45:01 +02:00
|
|
|
background-image: url(#{$flag-icons-path}#{$flag-icons-rect-path}/#{$country}.svg);
|
2021-12-28 14:09:09 +01:00
|
|
|
&.fis {
|
2021-10-24 21:45:01 +02:00
|
|
|
background-image: url(#{$flag-icons-path}#{$flag-icons-square-path}/#{$country}.svg);
|
2015-03-02 18:23:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|