From bd9047e06b0f6fd008be02e562f82d9d86a48b3e Mon Sep 17 00:00:00 2001 From: Daniela Feitosa Date: Tue, 15 Apr 2014 19:02:25 +0000 Subject: [PATCH] Added flags for localization --- header.rhtml | 4 ++++ images/flag-en.png | Bin 0 -> 2140 bytes images/flag-pt_br.png | Bin 0 -> 1750 bytes style.css | 26 ++++++++++++++++++++++++++ 4 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 images/flag-en.png create mode 100644 images/flag-pt_br.png diff --git a/header.rhtml b/header.rhtml index 95df905..7d725db 100644 --- a/header.rhtml +++ b/header.rhtml @@ -91,4 +91,8 @@
<%= theme_include 'categories' %>
+
+ Português + English +
diff --git a/images/flag-en.png b/images/flag-en.png new file mode 100644 index 0000000..0f4fb95 Binary files /dev/null and b/images/flag-en.png differ diff --git a/images/flag-pt_br.png b/images/flag-pt_br.png new file mode 100644 index 0000000..f0e0221 Binary files /dev/null and b/images/flag-pt_br.png differ diff --git a/style.css b/style.css index a1e916c..e1f3b95 100644 --- a/style.css +++ b/style.css @@ -3182,3 +3182,29 @@ body.action-embed-index { .hub ul.settings li.twitter input{margin-bottom: 10px; margin-right: 5px;} .hub ul.settings li.twitter input.btn-ok {} + +/* * Internacionalização * */ + +#participa-languages { + position: absolute; + top: 12px; + right: 10px; + padding: 0px; + z-index: 100; +} + +#participa-languages a { + color: #333; + text-decoration: none; + cursor: pointer; + background-repeat: no-repeat; + display: inline-block; + height: 17px; + width: 25px; + margin-left: 5px; +} + +.flag-en { background-image: url(images/flag-en.png) } +.flag-pt { background-image: url(images/flag-pt_br.png) } + +#participa-languages a span{ display: none } -- libgit2 0.21.2