From c566d3afc08fbf4b7ae8f1e466d4f649d51bbdc1 Mon Sep 17 00:00:00 2001 From: Valessio Brito Date: Wed, 29 Oct 2014 01:17:35 -0200 Subject: [PATCH] Ajustando links para alternar idiomas do ambiente --- cabecalho-juventude.css | 7 +++++++ header.html.erb | 21 +++++++++++++-------- style.css | 24 +++--------------------- 3 files changed, 23 insertions(+), 29 deletions(-) diff --git a/cabecalho-juventude.css b/cabecalho-juventude.css index d85e607..fbc2cd8 100644 --- a/cabecalho-juventude.css +++ b/cabecalho-juventude.css @@ -95,6 +95,7 @@ } /* Site Actions */ +#portal-lang, #portal-siteactions { display: block; float: right; @@ -106,6 +107,7 @@ text-align: center; } +#portal-lang a, #portal-siteactions a { color: #FFF; text-decoration: none; @@ -114,17 +116,22 @@ font-family: 'Open Sans', Arial, Helvetica, sans-serif; } +#portal-lang a:hover, #portal-siteactions a:hover { color: yellow; } +#portal-lang li, #portal-siteactions li { display: inline; } +#portal-lang li a:hover, #portal-siteactions li a:hover { color: yellow; } + +#portal-lang li a, #portal-siteactions li a { padding: 4px 0px; } diff --git a/header.html.erb b/header.html.erb index 098f101..0bad8fb 100644 --- a/header.html.erb +++ b/header.html.erb @@ -1,5 +1,5 @@
- Portal do Governo Brasileiro + Portal do Governo Brasileiro
@@ -31,6 +31,17 @@ + - + diff --git a/style.css b/style.css index c7c9d0c..66b2a56 100644 --- a/style.css +++ b/style.css @@ -3109,26 +3109,8 @@ body.action-embed-index { /* * Internacionalização * */ -#participa-languages { - position: absolute; - top: 12px; - right: 10px; - padding: 0px; - z-index: 100; +#portal-lang { + font-size: 0.88em; + margin-left: 15px; } -#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