Sha256: b1d34a7765a17436005684eaa7628885bd5cc00a6768dfaa0f4c5624c1f8304d

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 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
  <% %w(bf bg cs da de el en es et fa-IR fi-FI fr it ja-JP lt mg nb nl pl-PL pt-BR pt ru sk sr sv uk zh-CN).each do |locale| %>
  &.flag-<%= locale %> {
    background-image: url(asset-path('locomotive/icons/flags/<%= locale %>.png'));
  }
  <% end %>

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-3.3.0 app/assets/stylesheets/locomotive/new/_flags.scss.erb
locomotivecms-3.3.0.rc3 app/assets/stylesheets/locomotive/new/_flags.scss.erb
locomotivecms-3.3.0.rc2 app/assets/stylesheets/locomotive/new/_flags.scss.erb
locomotivecms-3.3.0.rc1 app/assets/stylesheets/locomotive/new/_flags.scss.erb