Debian Codegraph @

3rdparty/flag-icons/sass/_flag-icons-base.scss

raw
1 .fib {
2 background-size: contain;
3 background-position: 50%;
4 background-repeat: no-repeat;
5 }
6
7 .fi {
8 @extend .fib;
9 position: relative;
10 display: inline-block;
11 width: 1.333333 * 1em;
12 line-height: 1em;
13 &:before {
14 content: "\00a0";
15 }
16 &.fis {
17 width: 1em;
18 }
19 }
20
21 @mixin flag-icon($country) {
22 .fi-#{$country} {
23 background-image: url(#{$flag-icons-path}#{$flag-icons-rect-path}/#{$country}.svg);
24
25 @if $flag-icons-use-square {
26 &.fis {
27 background-image: url(#{$flag-icons-path}#{$flag-icons-square-path}/#{$country}.svg);
28 }
29 }
30 }
31 }