Sha256: d8d068e673380e4b4d1a41a626c1898a5861573547d85f0c38057c7032daa1ab

Contents?: true

Size: 658 Bytes

Versions: 15

Compression:

Stored size: 658 Bytes

Contents

.flag {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: 0 0;

  // https://www.iconfinder.com/iconsets/flags_gosquared
  $locales: 'bf' 'bg' 'cs' 'da' 'de' 'el' 'en' 'es' 'et' 'fa-IR' 'fi-FI' 'fr'
    'hr' 'it' 'ja-JP' 'lt' 'mg' 'nb' 'nl' 'pl-PL' 'pt-BR' 'pt' 'ru' 'sk' 'sl'
    'sr' 'sv' 'sv-FI' 'uk' 'zh-CN';

  @each $locale in $locales {
    &.flag-#{$locale} {
      background-image: url(asset-path('locomotive/icons/flags/#{$locale}.png'));
    }
  }

  &.flag-17-17 {
    width: 17px;
    height: 17px;
    background-size: 17px;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.2.0.alpha1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.1.1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.1.0 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.1.0.rc1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.3 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.2 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.0 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.0.rc0 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.0.alpha3 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-3.4.1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.0.alpha2 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-4.0.0.alpha1 app/assets/stylesheets/locomotive/new/_flags.scss
locomotivecms-3.4.0 app/assets/stylesheets/locomotive/new/_flags.scss