Sha256: 19230a5ee1f30c6d66ab480e9f403ec8cac95f8a8a713abaebf9abf78c4c6d90

Contents?: true

Size: 489 Bytes

Versions: 7

Compression:

Stored size: 489 Bytes

Contents

.flag-icon-background {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.flag-icon {
  @extend .flag-icon-background;
  position: relative;
  display: inline-block;
  width: 1.333333 * 1em;
  line-height: 1em;
  &:before {
    content: '\00a0';
  }
  &.flag-icon-squared {
    width: 1em;
  }
}

@mixin flag-icon($country) {
  .flag-icon-#{$country} {
    background-image: url(#{$flag-icons-path}#{$flag-icons-rect-path}/#{$country}.svg);
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flag_icon-1.5.2 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.5.1 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.5.0 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.4.1 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.4.0 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.3.0 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss
flag_icon-1.0.0 vendor/assets/stylesheets/flag-icons/_flag-icons-base.scss