Commit bd9047e06b0f6fd008be02e562f82d9d86a48b3e
1 parent
57723688
Exists in
master
and in
5 other branches
Added flags for localization
Showing
4 changed files
with
30 additions
and
0 deletions
Show diff stats
header.rhtml
... | ... | @@ -91,4 +91,8 @@ |
91 | 91 | <div id="categories_menu"> |
92 | 92 | <%= theme_include 'categories' %> |
93 | 93 | </div> |
94 | + <div id="participa-languages"> | |
95 | + <a href="?lang=pt" class="flag-pt" title="Português"><span>Português</span></a> | |
96 | + <a href="?lang=en" class="flag-en" title="English"><span>English</span></a> | |
97 | + </div> | |
94 | 98 | </div> | ... | ... |
2.09 KB
1.71 KB
style.css
... | ... | @@ -3182,3 +3182,29 @@ body.action-embed-index { |
3182 | 3182 | .hub ul.settings li.twitter input{margin-bottom: 10px; margin-right: 5px;} |
3183 | 3183 | |
3184 | 3184 | .hub ul.settings li.twitter input.btn-ok {} |
3185 | + | |
3186 | +/* * Internacionalização * */ | |
3187 | + | |
3188 | +#participa-languages { | |
3189 | + position: absolute; | |
3190 | + top: 12px; | |
3191 | + right: 10px; | |
3192 | + padding: 0px; | |
3193 | + z-index: 100; | |
3194 | +} | |
3195 | + | |
3196 | +#participa-languages a { | |
3197 | + color: #333; | |
3198 | + text-decoration: none; | |
3199 | + cursor: pointer; | |
3200 | + background-repeat: no-repeat; | |
3201 | + display: inline-block; | |
3202 | + height: 17px; | |
3203 | + width: 25px; | |
3204 | + margin-left: 5px; | |
3205 | +} | |
3206 | + | |
3207 | +.flag-en { background-image: url(images/flag-en.png) } | |
3208 | +.flag-pt { background-image: url(images/flag-pt_br.png) } | |
3209 | + | |
3210 | +#participa-languages a span{ display: none } | ... | ... |