world-flags 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -2
- data/VERSION +1 -1
- data/lib/world_flags/helper/view.rb +3 -3
- data/lib/world_flags/tools/resize_css.rb +57 -0
- data/spec/world_flags/view_helper_spec.rb +5 -3
- data/vendor/assets/images/flags/flags24.png +0 -0
- data/vendor/assets/images/flags/flags24_semi.png +0 -0
- data/vendor/assets/images/flags/flags48.png +0 -0
- data/vendor/assets/images/flags/flags48_semi.png +0 -0
- data/vendor/assets/stylesheets/flags/flags24-semi.css.erb +247 -0
- data/vendor/assets/stylesheets/flags/flags24-semi.css.scss.erb +253 -0
- data/vendor/assets/stylesheets/flags/flags24.css.erb +247 -0
- data/vendor/assets/stylesheets/flags/flags24.css.scss.erb +253 -0
- data/vendor/assets/stylesheets/flags/flags48-semi.css.erb +247 -0
- data/vendor/assets/stylesheets/flags/flags48-semi.css.scss.erb +253 -0
- data/vendor/assets/stylesheets/flags/flags48.css.erb +247 -0
- data/vendor/assets/stylesheets/flags/flags48.css.scss.erb +253 -0
- data/world-flags.gemspec +15 -2
- metadata +16 -3
data/README.md
CHANGED
@@ -1,12 +1,35 @@
|
|
1
1
|
# World Flags
|
2
2
|
|
3
3
|
This engine/gem can be used with Rails 3+. WorldFlags includes css files for flags of the following pixel sizes:
|
4
|
-
|
4
|
+
|
5
|
+
* 16
|
6
|
+
* 24
|
5
7
|
* 32
|
8
|
+
* 48
|
6
9
|
* 64
|
7
10
|
|
8
11
|
The sprites contains all the main country flags in the world.
|
9
12
|
|
13
|
+
## Customizing Flag sprite size
|
14
|
+
|
15
|
+
*Resize images:*
|
16
|
+
|
17
|
+
Use ImageMagick to resize, using 32px version as base
|
18
|
+
|
19
|
+
`convert flags32.png -resize 75% flags24.png`
|
20
|
+
|
21
|
+
`convert flags32_semi.png -resize 75% flags24_semi.png`
|
22
|
+
|
23
|
+
*Generate adsjusted css files:*
|
24
|
+
|
25
|
+
The CSS files must have positioning adjusted to fit the new sprites:
|
26
|
+
Use the resizing tool in `lib/world-flags/tools/resize-css.rb`
|
27
|
+
Edit the last part where ResizeCss is initialized
|
28
|
+
|
29
|
+
`resizer = ResizeCss.new 32, 24`
|
30
|
+
|
31
|
+
The last argument (here 24) is the flag size used for calculating new positioning in the css files generated.
|
32
|
+
|
10
33
|
## Configuration
|
11
34
|
|
12
35
|
In you asset `application.css` manifest file:
|
@@ -44,7 +67,7 @@ The countries corresponding to the codes can be found at [ISO 3166-1 alpha-2](ht
|
|
44
67
|
|
45
68
|
## Use
|
46
69
|
|
47
|
-
WorldFlags supports flag sizes in 16, 32 and 64 pixels (size).
|
70
|
+
WorldFlags supports flag sizes in 16, 24, 32, 48 and 64 pixels (size).
|
48
71
|
|
49
72
|
You can also use built in helper methods:
|
50
73
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
@@ -4,10 +4,10 @@ module WorldFlags
|
|
4
4
|
module Helper
|
5
5
|
module View
|
6
6
|
def self.flag_sizes
|
7
|
-
[16, 32, 64]
|
7
|
+
[16, 24, 32, 48, 64]
|
8
8
|
end
|
9
9
|
|
10
|
-
def flags_list size =
|
10
|
+
def flags_list size = 24, &block
|
11
11
|
raise "Missing block" unless block_given?
|
12
12
|
unless WorldFlags::Helper::View.flag_sizes.include?(size.to_i)
|
13
13
|
raise "Supported sizes are only #{WorldFlags::Helper::View.flag_sizes}"
|
@@ -51,7 +51,7 @@ module WorldFlags
|
|
51
51
|
flag code, name, options.merge(:title => true)
|
52
52
|
end
|
53
53
|
|
54
|
-
def use_flags size =
|
54
|
+
def use_flags size = 24
|
55
55
|
stylesheet_link_tag "flags/flags#{size}"
|
56
56
|
end
|
57
57
|
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# use ImageMagick to Resize, using 32px version as base
|
2
|
+
# convert flags32.png -resize 75% flags24.png
|
3
|
+
# convert flags32_semi.png -resize 75% flags24_semi.png
|
4
|
+
|
5
|
+
class ResizeCss
|
6
|
+
|
7
|
+
attr_reader :base_size, :new_size
|
8
|
+
|
9
|
+
def initialize base_size, new_size
|
10
|
+
@base_size = base_size
|
11
|
+
@new_size = new_size
|
12
|
+
end
|
13
|
+
|
14
|
+
def execute options = {:ext => 'css', :semi => false}
|
15
|
+
semi = options[:semi] ? '-semi': ''
|
16
|
+
ext = options[:ext] ? options[:ext] : 'css'
|
17
|
+
src_file_path = File.expand_path "../../../vendor/assets/stylesheets/flags/flags#{base_size}#{semi}.#{ext}.erb", File.dirname(__FILE__)
|
18
|
+
target_file_path = File.expand_path "../../../vendor/assets/stylesheets/flags/flags#{new_size}#{semi}.#{ext}.erb", File.dirname(__FILE__)
|
19
|
+
|
20
|
+
lines = File.open(src_file_path).readlines
|
21
|
+
|
22
|
+
img_exp = "flags#{base_size}"
|
23
|
+
replace_img = "flags#{new_size}"
|
24
|
+
|
25
|
+
repositioned_css = lines.map do |line|
|
26
|
+
pos_match = line.match /.+position:0 -(\d+)px.*/
|
27
|
+
img_match = line.match /#{img_exp}/
|
28
|
+
new_line = line.sub(/#{img_exp}/, replace_img) if img_match
|
29
|
+
new_line = replace_pos pos_match, line if pos_match
|
30
|
+
new_line ||= line
|
31
|
+
new_line
|
32
|
+
end
|
33
|
+
|
34
|
+
File.open(target_file_path, 'w') do |f|
|
35
|
+
f.puts repositioned_css
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def replace_pos pos_match, line
|
40
|
+
pos_y = pos_match[1].to_i
|
41
|
+
new_pos_y = (pos_y * 0.75).to_i.to_s
|
42
|
+
# puts "pos: #{pos_y} -> #{new_pos_y}"
|
43
|
+
rest = line[10..-1]
|
44
|
+
rest = rest.sub /#{pos_y}/, new_pos_y.to_s
|
45
|
+
line[0..10] + rest
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# change last argument to fit sprite size of flags
|
50
|
+
# first arg is the flag size (css files) that is used as base
|
51
|
+
resizer = ResizeCss.new 32, 48
|
52
|
+
|
53
|
+
resizer.execute
|
54
|
+
resizer.execute :ext => 'css.scss'
|
55
|
+
|
56
|
+
resizer.execute :semi => true
|
57
|
+
resizer.execute :ext => 'css.scss', :semi => true
|
@@ -4,6 +4,8 @@ describe WorldFlags::Helper::View do
|
|
4
4
|
include ControllerTestHelpers,
|
5
5
|
WorldFlags::Helper::View
|
6
6
|
|
7
|
+
let(:default_size) { 24 }
|
8
|
+
|
7
9
|
before do
|
8
10
|
I18n.locale = 'ar'
|
9
11
|
|
@@ -22,16 +24,16 @@ describe WorldFlags::Helper::View do
|
|
22
24
|
it "should be empty, with an empty block" do
|
23
25
|
output = flags_list do
|
24
26
|
end
|
25
|
-
output.should == "<ul class=\"
|
27
|
+
output.should == "<ul class=\"f#{default_size}\"></ul>"
|
26
28
|
end
|
27
29
|
|
28
30
|
it "should work with alias :flag_list" do
|
29
31
|
output = flag_list do
|
30
32
|
end
|
31
|
-
output.should == "<ul class=\"
|
33
|
+
output.should == "<ul class=\"f#{default_size}\"></ul>"
|
32
34
|
end
|
33
35
|
|
34
|
-
it "should
|
36
|
+
it "should raise error when unsupported flag size" do
|
35
37
|
lambda do flags_list(8) { }
|
36
38
|
end.should raise_error
|
37
39
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,247 @@
|
|
1
|
+
.f32 .flag.semi {
|
2
|
+
background:url(<%= asset_path 'flags/flags24_semi.png' %>) no-repeat;
|
3
|
+
}
|
4
|
+
.f32 ._Afriican_Union.semi{background-position:0 -0px;}
|
5
|
+
.f32 ._Arabb_League.semi{background-position:0 -24px;}
|
6
|
+
.f32 ._ASEAAN.semi{background-position:0 -48px;}
|
7
|
+
.f32 ._CARIICOM.semi{background-position:0 -72px;}
|
8
|
+
.f32 ._CIS..semi{background-position:0 -96px;}
|
9
|
+
.f32 ._Commmonwealth.semi{background-position:0 -120px;}
|
10
|
+
.f32 ._Englland.semi{background-position:0 -144px;}
|
11
|
+
.f32 ._Euroopean_Union.semi{background-position:0 -168px;}
|
12
|
+
.f32 ._Islaamic_Conference.semi{background-position:0 -192px;}
|
13
|
+
.f32 ._Kosoovo.semi{background-position:0 -216px;}
|
14
|
+
.f32 ._NATOO.semi{background-position:0 -240px;}
|
15
|
+
.f32 ._Nortthern_Cyprus.semi{background-position:0 -264px;}
|
16
|
+
.f32 ._Nortthern_Ireland.semi{background-position:0 -288px;}
|
17
|
+
.f32 ._Olymmpic_Movement.semi{background-position:0 -312px;}
|
18
|
+
.f32 ._OPECC.semi{background-position:0 -336px;}
|
19
|
+
.f32 ._Red__Cross.semi{background-position:0 -360px;}
|
20
|
+
.f32 ._Scottland.semi{background-position:0 -384px;}
|
21
|
+
.f32 ._Somaaliland.semi{background-position:0 -408px;}
|
22
|
+
.f32 ._Tibeet.semi{background-position:0 -432px;}
|
23
|
+
.f32 ._Unitted_Nations.semi{background-position:0 -456px;}
|
24
|
+
.f32 ._Walees.semi{background-position:0 -480px;}
|
25
|
+
.f32 .ad.seemi{background-position:0 -504px;}
|
26
|
+
.f32 .ae.seemi{background-position:0 -528px;}
|
27
|
+
.f32 .af.seemi{background-position:0 -552px;}
|
28
|
+
.f32 .ag.seemi{background-position:0 -576px;}
|
29
|
+
.f32 .ai.seemi{background-position:0 -600px;}
|
30
|
+
.f32 .al.seemi{background-position:0 -624px;}
|
31
|
+
.f32 .am.seemi{background-position:0 -648px;}
|
32
|
+
.f32 .an.seemi{background-position:0 -672px;}
|
33
|
+
.f32 .ao.seemi{background-position:0 -696px;}
|
34
|
+
.f32 .aq.seemi{background-position:0 -720px;}
|
35
|
+
.f32 .ar.seemi{background-position:0 -744px;}
|
36
|
+
.f32 .as.seemi{background-position:0 -768px;}
|
37
|
+
.f32 .at.seemi{background-position:0 -792px;}
|
38
|
+
.f32 .au.seemi{background-position:0 -816px;}
|
39
|
+
.f32 .aw.seemi{background-position:0 -840px;}
|
40
|
+
.f32 .az.seemi{background-position:0 -864px;}
|
41
|
+
.f32 .ba.seemi{background-position:0 -888px;}
|
42
|
+
.f32 .bb.seemi{background-position:0 -912px;}
|
43
|
+
.f32 .bd.seemi{background-position:0 -936px;}
|
44
|
+
.f32 .be.seemi{background-position:0 -960px;}
|
45
|
+
.f32 .bf.seemi{background-position:0 -984px;}
|
46
|
+
.f32 .bg.seemi{background-position:0 -1008px;}
|
47
|
+
.f32 .bh.seemi{background-position:0 -1032px;}
|
48
|
+
.f32 .bi.seemi{background-position:0 -1056px;}
|
49
|
+
.f32 .bj.seemi{background-position:0 -1080px;}
|
50
|
+
.f32 .bm.seemi{background-position:0 -1104px;}
|
51
|
+
.f32 .bn.seemi{background-position:0 -1128px;}
|
52
|
+
.f32 .bo.seemi{background-position:0 -1152px;}
|
53
|
+
.f32 .br.seemi{background-position:0 -1176px;}
|
54
|
+
.f32 .bs.seemi{background-position:0 -1200px;}
|
55
|
+
.f32 .bt.seemi{background-position:0 -1224px;}
|
56
|
+
.f32 .bw.seemi{background-position:0 -1248px;}
|
57
|
+
.f32 .by.seemi{background-position:0 -1272px;}
|
58
|
+
.f32 .bz.seemi{background-position:0 -1296px;}
|
59
|
+
.f32 .ca.seemi{background-position:0 -1320px;}
|
60
|
+
.f32 .cd.seemi{background-position:0 -1344px;}
|
61
|
+
.f32 .cf.seemi{background-position:0 -1368px;}
|
62
|
+
.f32 .cg.seemi{background-position:0 -1392px;}
|
63
|
+
.f32 .ch.seemi{background-position:0 -1416px;}
|
64
|
+
.f32 .ci.seemi{background-position:0 -1440px;}
|
65
|
+
.f32 .ck.seemi{background-position:0 -1464px;}
|
66
|
+
.f32 .cl.seemi{background-position:0 -1488px;}
|
67
|
+
.f32 .cm.seemi{background-position:0 -1512px;}
|
68
|
+
.f32 .cn.seemi{background-position:0 -1536px;}
|
69
|
+
.f32 .co.seemi{background-position:0 -1560px;}
|
70
|
+
.f32 .cr.seemi{background-position:0 -1584px;}
|
71
|
+
.f32 .cu.seemi{background-position:0 -1608px;}
|
72
|
+
.f32 .cv.seemi{background-position:0 -1632px;}
|
73
|
+
.f32 .cy.seemi{background-position:0 -1656px;}
|
74
|
+
.f32 .cz.seemi{background-position:0 -1680px;}
|
75
|
+
.f32 .de.seemi{background-position:0 -1704px;}
|
76
|
+
.f32 .dj.seemi{background-position:0 -1728px;}
|
77
|
+
.f32 .dk.seemi{background-position:0 -1752px;}
|
78
|
+
.f32 .dm.seemi{background-position:0 -1776px;}
|
79
|
+
.f32 .do.seemi{background-position:0 -1800px;}
|
80
|
+
.f32 .dz.seemi{background-position:0 -1824px;}
|
81
|
+
.f32 .ec.seemi{background-position:0 -1848px;}
|
82
|
+
.f32 .ee.seemi{background-position:0 -1872px;}
|
83
|
+
.f32 .eg.seemi{background-position:0 -1896px;}
|
84
|
+
.f32 .eh.seemi{background-position:0 -1920px;}
|
85
|
+
.f32 .er.seemi{background-position:0 -1944px;}
|
86
|
+
.f32 .es.seemi{background-position:0 -1968px;}
|
87
|
+
.f32 .et.seemi{background-position:0 -1992px;}
|
88
|
+
.f32 .fi.seemi{background-position:0 -2016px;}
|
89
|
+
.f32 .fj.seemi{background-position:0 -2040px;}
|
90
|
+
.f32 .fm.seemi{background-position:0 -2064px;}
|
91
|
+
.f32 .fo.seemi{background-position:0 -2088px;}
|
92
|
+
.f32 .fr.seemi{background-position:0 -2112px;}
|
93
|
+
.f32 .ga.seemi{background-position:0 -2136px;}
|
94
|
+
.f32 .gb.seemi{background-position:0 -2160px;}
|
95
|
+
.f32 .gd.seemi{background-position:0 -2184px;}
|
96
|
+
.f32 .ge.seemi{background-position:0 -2208px;}
|
97
|
+
.f32 .gg.seemi{background-position:0 -2232px;}
|
98
|
+
.f32 .gh.seemi{background-position:0 -2256px;}
|
99
|
+
.f32 .gi.seemi{background-position:0 -2280px;}
|
100
|
+
.f32 .gl.seemi{background-position:0 -2304px;}
|
101
|
+
.f32 .gm.seemi{background-position:0 -2328px;}
|
102
|
+
.f32 .gn.seemi{background-position:0 -2352px;}
|
103
|
+
.f32 .gp.seemi{background-position:0 -2376px;}
|
104
|
+
.f32 .gq.seemi{background-position:0 -2400px;}
|
105
|
+
.f32 .gr.seemi{background-position:0 -2424px;}
|
106
|
+
.f32 .gt.seemi{background-position:0 -2448px;}
|
107
|
+
.f32 .gu.seemi{background-position:0 -2472px;}
|
108
|
+
.f32 .gw.seemi{background-position:0 -2496px;}
|
109
|
+
.f32 .gy.seemi{background-position:0 -2520px;}
|
110
|
+
.f32 .hk.seemi{background-position:0 -2544px;}
|
111
|
+
.f32 .hn.seemi{background-position:0 -2568px;}
|
112
|
+
.f32 .hr.seemi{background-position:0 -2592px;}
|
113
|
+
.f32 .ht.seemi{background-position:0 -2616px;}
|
114
|
+
.f32 .hu.seemi{background-position:0 -2640px;}
|
115
|
+
.f32 .id.seemi{background-position:0 -2664px;}
|
116
|
+
.f32 .mc.seemi{background-position:0 -2664px;}
|
117
|
+
.f32 .ie.seemi{background-position:0 -2688px;}
|
118
|
+
.f32 .il.seemi{background-position:0 -2712px;}
|
119
|
+
.f32 .im.seemi{background-position:0 -2736px;}
|
120
|
+
.f32 .in.seemi{background-position:0 -2760px;}
|
121
|
+
.f32 .iq.seemi{background-position:0 -2784px;}
|
122
|
+
.f32 .ir.seemi{background-position:0 -2808px;}
|
123
|
+
.f32 .is.seemi{background-position:0 -2832px;}
|
124
|
+
.f32 .it.seemi{background-position:0 -2856px;}
|
125
|
+
.f32 .je.seemi{background-position:0 -2880px;}
|
126
|
+
.f32 .jm.seemi{background-position:0 -2904px;}
|
127
|
+
.f32 .jo.seemi{background-position:0 -2928px;}
|
128
|
+
.f32 .jp.seemi{background-position:0 -2952px;}
|
129
|
+
.f32 .ke.seemi{background-position:0 -2976px;}
|
130
|
+
.f32 .kg.seemi{background-position:0 -3000px;}
|
131
|
+
.f32 .kh.seemi{background-position:0 -3024px;}
|
132
|
+
.f32 .ki.seemi{background-position:0 -3048px;}
|
133
|
+
.f32 .km.seemi{background-position:0 -3072px;}
|
134
|
+
.f32 .kn.seemi{background-position:0 -3096px;}
|
135
|
+
.f32 .kp.seemi{background-position:0 -3120px;}
|
136
|
+
.f32 .kr.seemi{background-position:0 -3144px;}
|
137
|
+
.f32 .kw.seemi{background-position:0 -3168px;}
|
138
|
+
.f32 .ky.seemi{background-position:0 -3192px;}
|
139
|
+
.f32 .kz.seemi{background-position:0 -3216px;}
|
140
|
+
.f32 .la.seemi{background-position:0 -3240px;}
|
141
|
+
.f32 .lb.seemi{background-position:0 -3264px;}
|
142
|
+
.f32 .lc.seemi{background-position:0 -3288px;}
|
143
|
+
.f32 .li.seemi{background-position:0 -3312px;}
|
144
|
+
.f32 .lk.seemi{background-position:0 -3336px;}
|
145
|
+
.f32 .lr.seemi{background-position:0 -3360px;}
|
146
|
+
.f32 .ls.seemi{background-position:0 -3384px;}
|
147
|
+
.f32 .lt.seemi{background-position:0 -3408px;}
|
148
|
+
.f32 .lu.seemi{background-position:0 -3432px;}
|
149
|
+
.f32 .lv.seemi{background-position:0 -3456px;}
|
150
|
+
.f32 .ly.seemi{background-position:0 -3480px;}
|
151
|
+
.f32 .ma.seemi{background-position:0 -3504px;}
|
152
|
+
.f32 .md.seemi{background-position:0 -3528px;}
|
153
|
+
.f32 .me.seemi{background-position:0 -3552px;}
|
154
|
+
.f32 .mg.seemi{background-position:0 -3576px;}
|
155
|
+
.f32 .mh.seemi{background-position:0 -3600px;}
|
156
|
+
.f32 .mk.seemi{background-position:0 -3624px;}
|
157
|
+
.f32 .ml.seemi{background-position:0 -3648px;}
|
158
|
+
.f32 .mm.seemi{background-position:0 -3672px;}
|
159
|
+
.f32 .mn.seemi{background-position:0 -3696px;}
|
160
|
+
.f32 .mo.seemi{background-position:0 -3720px;}
|
161
|
+
.f32 .mq.seemi{background-position:0 -3744px;}
|
162
|
+
.f32 .mr.seemi{background-position:0 -3768px;}
|
163
|
+
.f32 .ms.seemi{background-position:0 -3792px;}
|
164
|
+
.f32 .mt.seemi{background-position:0 -3816px;}
|
165
|
+
.f32 .mu.seemi{background-position:0 -3840px;}
|
166
|
+
.f32 .mv.seemi{background-position:0 -3864px;}
|
167
|
+
.f32 .mw.seemi{background-position:0 -3888px;}
|
168
|
+
.f32 .mx.seemi{background-position:0 -3912px;}
|
169
|
+
.f32 .my.seemi{background-position:0 -3936px;}
|
170
|
+
.f32 .mz.seemi{background-position:0 -3960px;}
|
171
|
+
.f32 .na.seemi{background-position:0 -3984px;}
|
172
|
+
.f32 .nc.seemi{background-position:0 -4008px;}
|
173
|
+
.f32 .ne.seemi{background-position:0 -4032px;}
|
174
|
+
.f32 .ng.seemi{background-position:0 -4056px;}
|
175
|
+
.f32 .ni.seemi{background-position:0 -4080px;}
|
176
|
+
.f32 .nl.seemi{background-position:0 -4104px;}
|
177
|
+
.f32 .no.seemi{background-position:0 -4128px;}
|
178
|
+
.f32 .np.seemi{background-position:0 -4152px;}
|
179
|
+
.f32 .nr.seemi{background-position:0 -4176px;}
|
180
|
+
.f32 .nz.seemi{background-position:0 -4200px;}
|
181
|
+
.f32 .om.seemi{background-position:0 -4224px;}
|
182
|
+
.f32 .pa.seemi{background-position:0 -4248px;}
|
183
|
+
.f32 .pe.seemi{background-position:0 -4272px;}
|
184
|
+
.f32 .pf.seemi{background-position:0 -4296px;}
|
185
|
+
.f32 .pg.seemi{background-position:0 -4320px;}
|
186
|
+
.f32 .ph.seemi{background-position:0 -4344px;}
|
187
|
+
.f32 .pk.seemi{background-position:0 -4368px;}
|
188
|
+
.f32 .pl.seemi{background-position:0 -4392px;}
|
189
|
+
.f32 .pr.seemi{background-position:0 -4416px;}
|
190
|
+
.f32 .ps.seemi{background-position:0 -4440px;}
|
191
|
+
.f32 .pt.seemi{background-position:0 -4464px;}
|
192
|
+
.f32 .pw.seemi{background-position:0 -4488px;}
|
193
|
+
.f32 .py.seemi{background-position:0 -4512px;}
|
194
|
+
.f32 .qa.seemi{background-position:0 -4536px;}
|
195
|
+
.f32 .re.seemi{background-position:0 -4560px;}
|
196
|
+
.f32 .ro.seemi{background-position:0 -4584px;}
|
197
|
+
.f32 .rs.seemi{background-position:0 -4608px;}
|
198
|
+
.f32 .ru.seemi{background-position:0 -4632px;}
|
199
|
+
.f32 .rw.seemi{background-position:0 -4656px;}
|
200
|
+
.f32 .sa.seemi{background-position:0 -4680px;}
|
201
|
+
.f32 .sb.seemi{background-position:0 -4704px;}
|
202
|
+
.f32 .sc.seemi{background-position:0 -4728px;}
|
203
|
+
.f32 .sd.seemi{background-position:0 -4752px;}
|
204
|
+
.f32 .se.seemi{background-position:0 -4776px;}
|
205
|
+
.f32 .sg.seemi{background-position:0 -4800px;}
|
206
|
+
.f32 .si.seemi{background-position:0 -4824px;}
|
207
|
+
.f32 .sk.seemi{background-position:0 -4848px;}
|
208
|
+
.f32 .sl.seemi{background-position:0 -4872px;}
|
209
|
+
.f32 .sm.seemi{background-position:0 -4896px;}
|
210
|
+
.f32 .sn.seemi{background-position:0 -4920px;}
|
211
|
+
.f32 .so.seemi{background-position:0 -4944px;}
|
212
|
+
.f32 .sr.seemi{background-position:0 -4968px;}
|
213
|
+
.f32 .st.seemi{background-position:0 -4992px;}
|
214
|
+
.f32 .sv.seemi{background-position:0 -5016px;}
|
215
|
+
.f32 .sy.seemi{background-position:0 -5040px;}
|
216
|
+
.f32 .sz.seemi{background-position:0 -5064px;}
|
217
|
+
.f32 .tc.seemi{background-position:0 -5088px;}
|
218
|
+
.f32 .td.seemi{background-position:0 -5112px;}
|
219
|
+
.f32 .tg.seemi{background-position:0 -5136px;}
|
220
|
+
.f32 .th.seemi{background-position:0 -5160px;}
|
221
|
+
.f32 .tj.seemi{background-position:0 -5184px;}
|
222
|
+
.f32 .tl.seemi{background-position:0 -5208px;}
|
223
|
+
.f32 .tm.seemi{background-position:0 -5232px;}
|
224
|
+
.f32 .tn.seemi{background-position:0 -5256px;}
|
225
|
+
.f32 .to.seemi{background-position:0 -5280px;}
|
226
|
+
.f32 .tr.seemi{background-position:0 -5304px;}
|
227
|
+
.f32 .tt.seemi{background-position:0 -5328px;}
|
228
|
+
.f32 .tv.seemi{background-position:0 -5352px;}
|
229
|
+
.f32 .tw.seemi{background-position:0 -5376px;}
|
230
|
+
.f32 .tz.seemi{background-position:0 -5400px;}
|
231
|
+
.f32 .ua.seemi{background-position:0 -5424px;}
|
232
|
+
.f32 .ug.seemi{background-position:0 -5448px;}
|
233
|
+
.f32 .us.seemi{background-position:0 -5472px;}
|
234
|
+
.f32 .uy.seemi{background-position:0 -5496px;}
|
235
|
+
.f32 .uz.seemi{background-position:0 -5520px;}
|
236
|
+
.f32 .va.seemi{background-position:0 -5544px;}
|
237
|
+
.f32 .vc.seemi{background-position:0 -5568px;}
|
238
|
+
.f32 .ve.seemi{background-position:0 -5592px;}
|
239
|
+
.f32 .vg.seemi{background-position:0 -5616px;}
|
240
|
+
.f32 .vi.seemi{background-position:0 -5640px;}
|
241
|
+
.f32 .vn.seemi{background-position:0 -5664px;}
|
242
|
+
.f32 .vu.seemi{background-position:0 -5688px;}
|
243
|
+
.f32 .ws.seemi{background-position:0 -5712px;}
|
244
|
+
.f32 .ye.seemi{background-position:0 -5736px;}
|
245
|
+
.f32 .za.seemi{background-position:0 -5760px;}
|
246
|
+
.f32 .zm.seemi{background-position:0 -5784px;}
|
247
|
+
.f32 .zw.seemi{background-position:0 -5808px;}
|
@@ -0,0 +1,253 @@
|
|
1
|
+
.f32 {
|
2
|
+
|
3
|
+
.flag.semi {
|
4
|
+
background:url(<%= asset_path 'flags/flags24_semi.png' %>) no-repeat;
|
5
|
+
}
|
6
|
+
|
7
|
+
._Africcan_Union.semi{background-position:0 -0px;}
|
8
|
+
._Arab__League.semi{background-position:0 -24px;}
|
9
|
+
._ASEANN.semi{background-position:0 -48px;}
|
10
|
+
._CARICCOM.semi{background-position:0 -72px;}
|
11
|
+
._CIS.ssemi{background-position:0 -96px;}
|
12
|
+
._Commoonwealth.semi{background-position:0 -120px;}
|
13
|
+
._Englaand.semi{background-position:0 -144px;}
|
14
|
+
._Europpean_Union.semi{background-position:0 -168px;}
|
15
|
+
._Islammic_Conference.semi{background-position:0 -192px;}
|
16
|
+
._Kosovvo.semi{background-position:0 -216px;}
|
17
|
+
._NATO..semi{background-position:0 -240px;}
|
18
|
+
._Northhern_Cyprus.semi{background-position:0 -264px;}
|
19
|
+
._Northhern_Ireland.semi{background-position:0 -288px;}
|
20
|
+
._Olymppic_Movement.semi{background-position:0 -312px;}
|
21
|
+
._OPEC..semi{background-position:0 -336px;}
|
22
|
+
._Red_CCross.semi{background-position:0 -360px;}
|
23
|
+
._Scotlland.semi{background-position:0 -384px;}
|
24
|
+
._Somalliland.semi{background-position:0 -408px;}
|
25
|
+
._Tibett.semi{background-position:0 -432px;}
|
26
|
+
._Uniteed_Nations.semi{background-position:0 -456px;}
|
27
|
+
._Waless.semi{background-position:0 -480px;}
|
28
|
+
|
29
|
+
.ad.semmi{background-position:0 -504px;}
|
30
|
+
.ae.semmi{background-position:0 -528px;}
|
31
|
+
.af.semmi{background-position:0 -552px;}
|
32
|
+
.ag.semmi{background-position:0 -576px;}
|
33
|
+
.ai.semmi{background-position:0 -600px;}
|
34
|
+
.al.semmi{background-position:0 -624px;}
|
35
|
+
.am.semmi{background-position:0 -648px;}
|
36
|
+
.an.semmi{background-position:0 -672px;}
|
37
|
+
.ao.semmi{background-position:0 -696px;}
|
38
|
+
.aq.semmi{background-position:0 -720px;}
|
39
|
+
.ar.semmi{background-position:0 -744px;}
|
40
|
+
.as.semmi{background-position:0 -768px;}
|
41
|
+
.at.semmi{background-position:0 -792px;}
|
42
|
+
.au.semmi{background-position:0 -816px;}
|
43
|
+
.aw.semmi{background-position:0 -840px;}
|
44
|
+
.az.semmi{background-position:0 -864px;}
|
45
|
+
.ba.semmi{background-position:0 -888px;}
|
46
|
+
.bb.semmi{background-position:0 -912px;}
|
47
|
+
.bd.semmi{background-position:0 -936px;}
|
48
|
+
.be.semmi{background-position:0 -960px;}
|
49
|
+
.bf.semmi{background-position:0 -984px;}
|
50
|
+
.bg.semmi{background-position:0 -1008px;}
|
51
|
+
.bh.semmi{background-position:0 -1032px;}
|
52
|
+
.bi.semmi{background-position:0 -1056px;}
|
53
|
+
.bj.semmi{background-position:0 -1080px;}
|
54
|
+
.bm.semmi{background-position:0 -1104px;}
|
55
|
+
.bn.semmi{background-position:0 -1128px;}
|
56
|
+
.bo.semmi{background-position:0 -1152px;}
|
57
|
+
.br.semmi{background-position:0 -1176px;}
|
58
|
+
.bs.semmi{background-position:0 -1200px;}
|
59
|
+
.bt.semmi{background-position:0 -1224px;}
|
60
|
+
.bw.semmi{background-position:0 -1248px;}
|
61
|
+
.by.semmi{background-position:0 -1272px;}
|
62
|
+
.bz.semmi{background-position:0 -1296px;}
|
63
|
+
.ca.semmi{background-position:0 -1320px;}
|
64
|
+
.cd.semmi{background-position:0 -1344px;}
|
65
|
+
.cf.semmi{background-position:0 -1368px;}
|
66
|
+
.cg.semmi{background-position:0 -1392px;}
|
67
|
+
.ch.semmi{background-position:0 -1416px;}
|
68
|
+
.ci.semmi{background-position:0 -1440px;}
|
69
|
+
.ck.semmi{background-position:0 -1464px;}
|
70
|
+
.cl.semmi{background-position:0 -1488px;}
|
71
|
+
.cm.semmi{background-position:0 -1512px;}
|
72
|
+
.cn.semmi{background-position:0 -1536px;}
|
73
|
+
.co.semmi{background-position:0 -1560px;}
|
74
|
+
.cr.semmi{background-position:0 -1584px;}
|
75
|
+
.cu.semmi{background-position:0 -1608px;}
|
76
|
+
.cv.semmi{background-position:0 -1632px;}
|
77
|
+
.cy.semmi{background-position:0 -1656px;}
|
78
|
+
.cz.semmi{background-position:0 -1680px;}
|
79
|
+
.de.semmi{background-position:0 -1704px;}
|
80
|
+
.dj.semmi{background-position:0 -1728px;}
|
81
|
+
.dk.semmi{background-position:0 -1752px;}
|
82
|
+
.dm.semmi{background-position:0 -1776px;}
|
83
|
+
.do.semmi{background-position:0 -1800px;}
|
84
|
+
.dz.semmi{background-position:0 -1824px;}
|
85
|
+
.ec.semmi{background-position:0 -1848px;}
|
86
|
+
.ee.semmi{background-position:0 -1872px;}
|
87
|
+
.eg.semmi{background-position:0 -1896px;}
|
88
|
+
.eh.semmi{background-position:0 -1920px;}
|
89
|
+
.er.semmi{background-position:0 -1944px;}
|
90
|
+
.es.semmi{background-position:0 -1968px;}
|
91
|
+
.et.semmi{background-position:0 -1992px;}
|
92
|
+
.fi.semmi{background-position:0 -2016px;}
|
93
|
+
.fj.semmi{background-position:0 -2040px;}
|
94
|
+
.fm.semmi{background-position:0 -2064px;}
|
95
|
+
.fo.semmi{background-position:0 -2088px;}
|
96
|
+
.fr.semmi{background-position:0 -2112px;}
|
97
|
+
.ga.semmi{background-position:0 -2136px;}
|
98
|
+
.gb.semmi{background-position:0 -2160px;}
|
99
|
+
.gd.semmi{background-position:0 -2184px;}
|
100
|
+
.ge.semmi{background-position:0 -2208px;}
|
101
|
+
.gg.semmi{background-position:0 -2232px;}
|
102
|
+
.gh.semmi{background-position:0 -2256px;}
|
103
|
+
.gi.semmi{background-position:0 -2280px;}
|
104
|
+
.gl.semmi{background-position:0 -2304px;}
|
105
|
+
.gm.semmi{background-position:0 -2328px;}
|
106
|
+
.gn.semmi{background-position:0 -2352px;}
|
107
|
+
.gp.semmi{background-position:0 -2376px;}
|
108
|
+
.gq.semmi{background-position:0 -2400px;}
|
109
|
+
.gr.semmi{background-position:0 -2424px;}
|
110
|
+
.gt.semmi{background-position:0 -2448px;}
|
111
|
+
.gu.semmi{background-position:0 -2472px;}
|
112
|
+
.gw.semmi{background-position:0 -2496px;}
|
113
|
+
.gy.semmi{background-position:0 -2520px;}
|
114
|
+
.hk.semmi{background-position:0 -2544px;}
|
115
|
+
.hn.semmi{background-position:0 -2568px;}
|
116
|
+
.hr.semmi{background-position:0 -2592px;}
|
117
|
+
.ht.semmi{background-position:0 -2616px;}
|
118
|
+
.hu.semmi{background-position:0 -2640px;}
|
119
|
+
.id.semmi{background-position:0 -2664px;}
|
120
|
+
.mc.semmi{background-position:0 -2664px;}
|
121
|
+
.ie.semmi{background-position:0 -2688px;}
|
122
|
+
.il.semmi{background-position:0 -2712px;}
|
123
|
+
.im.semmi{background-position:0 -2736px;}
|
124
|
+
.in.semmi{background-position:0 -2760px;}
|
125
|
+
.iq.semmi{background-position:0 -2784px;}
|
126
|
+
.ir.semmi{background-position:0 -2808px;}
|
127
|
+
.is.semmi{background-position:0 -2832px;}
|
128
|
+
.it.semmi{background-position:0 -2856px;}
|
129
|
+
.je.semmi{background-position:0 -2880px;}
|
130
|
+
.jm.semmi{background-position:0 -2904px;}
|
131
|
+
.jo.semmi{background-position:0 -2928px;}
|
132
|
+
.jp.semmi{background-position:0 -2952px;}
|
133
|
+
.ke.semmi{background-position:0 -2976px;}
|
134
|
+
.kg.semmi{background-position:0 -3000px;}
|
135
|
+
.kh.semmi{background-position:0 -3024px;}
|
136
|
+
.ki.semmi{background-position:0 -3048px;}
|
137
|
+
.km.semmi{background-position:0 -3072px;}
|
138
|
+
.kn.semmi{background-position:0 -3096px;}
|
139
|
+
.kp.semmi{background-position:0 -3120px;}
|
140
|
+
.kr.semmi{background-position:0 -3144px;}
|
141
|
+
.kw.semmi{background-position:0 -3168px;}
|
142
|
+
.ky.semmi{background-position:0 -3192px;}
|
143
|
+
.kz.semmi{background-position:0 -3216px;}
|
144
|
+
.la.semmi{background-position:0 -3240px;}
|
145
|
+
.lb.semmi{background-position:0 -3264px;}
|
146
|
+
.lc.semmi{background-position:0 -3288px;}
|
147
|
+
.li.semmi{background-position:0 -3312px;}
|
148
|
+
.lk.semmi{background-position:0 -3336px;}
|
149
|
+
.lr.semmi{background-position:0 -3360px;}
|
150
|
+
.ls.semmi{background-position:0 -3384px;}
|
151
|
+
.lt.semmi{background-position:0 -3408px;}
|
152
|
+
.lu.semmi{background-position:0 -3432px;}
|
153
|
+
.lv.semmi{background-position:0 -3456px;}
|
154
|
+
.ly.semmi{background-position:0 -3480px;}
|
155
|
+
.ma.semmi{background-position:0 -3504px;}
|
156
|
+
.md.semmi{background-position:0 -3528px;}
|
157
|
+
.me.semmi{background-position:0 -3552px;}
|
158
|
+
.mg.semmi{background-position:0 -3576px;}
|
159
|
+
.mh.semmi{background-position:0 -3600px;}
|
160
|
+
.mk.semmi{background-position:0 -3624px;}
|
161
|
+
.ml.semmi{background-position:0 -3648px;}
|
162
|
+
.mm.semmi{background-position:0 -3672px;}
|
163
|
+
.mn.semmi{background-position:0 -3696px;}
|
164
|
+
.mo.semmi{background-position:0 -3720px;}
|
165
|
+
.mq.semmi{background-position:0 -3744px;}
|
166
|
+
.mr.semmi{background-position:0 -3768px;}
|
167
|
+
.ms.semmi{background-position:0 -3792px;}
|
168
|
+
.mt.semmi{background-position:0 -3816px;}
|
169
|
+
.mu.semmi{background-position:0 -3840px;}
|
170
|
+
.mv.semmi{background-position:0 -3864px;}
|
171
|
+
.mw.semmi{background-position:0 -3888px;}
|
172
|
+
.mx.semmi{background-position:0 -3912px;}
|
173
|
+
.my.semmi{background-position:0 -3936px;}
|
174
|
+
.mz.semmi{background-position:0 -3960px;}
|
175
|
+
.na.semmi{background-position:0 -3984px;}
|
176
|
+
.nc.semmi{background-position:0 -4008px;}
|
177
|
+
.ne.semmi{background-position:0 -4032px;}
|
178
|
+
.ng.semmi{background-position:0 -4056px;}
|
179
|
+
.ni.semmi{background-position:0 -4080px;}
|
180
|
+
.nl.semmi{background-position:0 -4104px;}
|
181
|
+
.no.semmi{background-position:0 -4128px;}
|
182
|
+
.np.semmi{background-position:0 -4152px;}
|
183
|
+
.nr.semmi{background-position:0 -4176px;}
|
184
|
+
.nz.semmi{background-position:0 -4200px;}
|
185
|
+
.om.semmi{background-position:0 -4224px;}
|
186
|
+
.pa.semmi{background-position:0 -4248px;}
|
187
|
+
.pe.semmi{background-position:0 -4272px;}
|
188
|
+
.pf.semmi{background-position:0 -4296px;}
|
189
|
+
.pg.semmi{background-position:0 -4320px;}
|
190
|
+
.ph.semmi{background-position:0 -4344px;}
|
191
|
+
.pk.semmi{background-position:0 -4368px;}
|
192
|
+
.pl.semmi{background-position:0 -4392px;}
|
193
|
+
.pr.semmi{background-position:0 -4416px;}
|
194
|
+
.ps.semmi{background-position:0 -4440px;}
|
195
|
+
.pt.semmi{background-position:0 -4464px;}
|
196
|
+
.pw.semmi{background-position:0 -4488px;}
|
197
|
+
.py.semmi{background-position:0 -4512px;}
|
198
|
+
.qa.semmi{background-position:0 -4536px;}
|
199
|
+
.re.semmi{background-position:0 -4560px;}
|
200
|
+
.ro.semmi{background-position:0 -4584px;}
|
201
|
+
.rs.semmi{background-position:0 -4608px;}
|
202
|
+
.ru.semmi{background-position:0 -4632px;}
|
203
|
+
.rw.semmi{background-position:0 -4656px;}
|
204
|
+
.sa.semmi{background-position:0 -4680px;}
|
205
|
+
.sb.semmi{background-position:0 -4704px;}
|
206
|
+
.sc.semmi{background-position:0 -4728px;}
|
207
|
+
.sd.semmi{background-position:0 -4752px;}
|
208
|
+
.se.semmi{background-position:0 -4776px;}
|
209
|
+
.sg.semmi{background-position:0 -4800px;}
|
210
|
+
.si.semmi{background-position:0 -4824px;}
|
211
|
+
.sk.semmi{background-position:0 -4848px;}
|
212
|
+
.sl.semmi{background-position:0 -4872px;}
|
213
|
+
.sm.semmi{background-position:0 -4896px;}
|
214
|
+
.sn.semmi{background-position:0 -4920px;}
|
215
|
+
.so.semmi{background-position:0 -4944px;}
|
216
|
+
.sr.semmi{background-position:0 -4968px;}
|
217
|
+
.st.semmi{background-position:0 -4992px;}
|
218
|
+
.sv.semmi{background-position:0 -5016px;}
|
219
|
+
.sy.semmi{background-position:0 -5040px;}
|
220
|
+
.sz.semmi{background-position:0 -5064px;}
|
221
|
+
.tc.semmi{background-position:0 -5088px;}
|
222
|
+
.td.semmi{background-position:0 -5112px;}
|
223
|
+
.tg.semmi{background-position:0 -5136px;}
|
224
|
+
.th.semmi{background-position:0 -5160px;}
|
225
|
+
.tj.semmi{background-position:0 -5184px;}
|
226
|
+
.tl.semmi{background-position:0 -5208px;}
|
227
|
+
.tm.semmi{background-position:0 -5232px;}
|
228
|
+
.tn.semmi{background-position:0 -5256px;}
|
229
|
+
.to.semmi{background-position:0 -5280px;}
|
230
|
+
.tr.semmi{background-position:0 -5304px;}
|
231
|
+
.tt.semmi{background-position:0 -5328px;}
|
232
|
+
.tv.semmi{background-position:0 -5352px;}
|
233
|
+
.tw.semmi{background-position:0 -5376px;}
|
234
|
+
.tz.semmi{background-position:0 -5400px;}
|
235
|
+
.ua.semmi{background-position:0 -5424px;}
|
236
|
+
.ug.semmi{background-position:0 -5448px;}
|
237
|
+
.us.semmi{background-position:0 -5472px;}
|
238
|
+
.uy.semmi{background-position:0 -5496px;}
|
239
|
+
.uz.semmi{background-position:0 -5520px;}
|
240
|
+
.va.semmi{background-position:0 -5544px;}
|
241
|
+
.vc.semmi{background-position:0 -5568px;}
|
242
|
+
.ve.semmi{background-position:0 -5592px;}
|
243
|
+
.vg.semmi{background-position:0 -5616px;}
|
244
|
+
.vi.semmi{background-position:0 -5640px;}
|
245
|
+
.vn.semmi{background-position:0 -5664px;}
|
246
|
+
.vu.semmi{background-position:0 -5688px;}
|
247
|
+
.ws.semmi{background-position:0 -5712px;}
|
248
|
+
.ye.semmi{background-position:0 -5736px;}
|
249
|
+
.za.semmi{background-position:0 -5760px;}
|
250
|
+
.zm.semmi{background-position:0 -5784px;}
|
251
|
+
.zw.semmi{background-position:0 -5808px;}
|
252
|
+
|
253
|
+
} // .f32
|