Commit 39bfa74c281b567b43fe4cefab34adb05917c26b
Exists in
master
and in
5 other branches
Merge branch 'bandeiras' into 'master'
Bandeiras Added flags for localization
Showing
4 changed files
with
30 additions
and
0 deletions
Show diff stats
header.rhtml
@@ -91,4 +91,8 @@ | @@ -91,4 +91,8 @@ | ||
91 | <div id="categories_menu"> | 91 | <div id="categories_menu"> |
92 | <%= theme_include 'categories' %> | 92 | <%= theme_include 'categories' %> |
93 | </div> | 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 | </div> | 98 | </div> |
2.09 KB
1.71 KB
style.css
@@ -3193,3 +3193,29 @@ body.action-embed-index { | @@ -3193,3 +3193,29 @@ body.action-embed-index { | ||
3193 | .hub ul.settings li.twitter input{margin-bottom: 10px; margin-right: 5px;} | 3193 | .hub ul.settings li.twitter input{margin-bottom: 10px; margin-right: 5px;} |
3194 | 3194 | ||
3195 | .hub ul.settings li.twitter input.btn-ok {} | 3195 | .hub ul.settings li.twitter input.btn-ok {} |
3196 | + | ||
3197 | +/* * Internacionalização * */ | ||
3198 | + | ||
3199 | +#participa-languages { | ||
3200 | + position: absolute; | ||
3201 | + top: 12px; | ||
3202 | + right: 10px; | ||
3203 | + padding: 0px; | ||
3204 | + z-index: 100; | ||
3205 | +} | ||
3206 | + | ||
3207 | +#participa-languages a { | ||
3208 | + color: #333; | ||
3209 | + text-decoration: none; | ||
3210 | + cursor: pointer; | ||
3211 | + background-repeat: no-repeat; | ||
3212 | + display: inline-block; | ||
3213 | + height: 17px; | ||
3214 | + width: 25px; | ||
3215 | + margin-left: 5px; | ||
3216 | +} | ||
3217 | + | ||
3218 | +.flag-en { background-image: url(images/flag-en.png) } | ||
3219 | +.flag-pt { background-image: url(images/flag-pt_br.png) } | ||
3220 | + | ||
3221 | +#participa-languages a span{ display: none } |