Commit 510e6ae1845627600bfa9cda32d5ee4d724771e3
1 parent
ddb28dba
Exists in
master
and in
2 other branches
Fixed header-slim
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
3 changed files
with
17 additions
and
3 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/static/css/header-slim.css
1 | + | |
1 | 2 | header div#header { |
2 | 3 | height: 70px; |
3 | 4 | } |
... | ... | @@ -15,6 +16,7 @@ header div#back-to-software { |
15 | 16 | padding-left: 10px; |
16 | 17 | padding-top: 8px; |
17 | 18 | } |
19 | + | |
18 | 20 | header div#back-to-software span#back-arrow { |
19 | 21 | font-size: 35px; |
20 | 22 | color: #2C65CD; |
... | ... | @@ -26,7 +28,7 @@ header #logo { |
26 | 28 | } |
27 | 29 | |
28 | 30 | header div#logo-holder { |
29 | - margin-left: 10px; | |
31 | + margin-left: 105px; | |
30 | 32 | } |
31 | 33 | |
32 | 34 | header span#portal-title-1 { |
... | ... | @@ -36,3 +38,9 @@ header span#portal-title-1 { |
36 | 38 | header h1#portal-title { |
37 | 39 | font-size: 24px; |
38 | 40 | } |
41 | + | |
42 | +.header-slim #login-menu-box { | |
43 | + right: 0; | |
44 | + left: auto; | |
45 | + padding: 10px 5px; | |
46 | +} | ... | ... |
src/colab-spb-theme-plugin/colab_spb_theme/static/css/header.css
... | ... | @@ -25,6 +25,10 @@ header #header > div { |
25 | 25 | display: block; |
26 | 26 | } |
27 | 27 | |
28 | +.header-slim #header > div { | |
29 | + max-width: 1170px; | |
30 | +} | |
31 | + | |
28 | 32 | header #header * li { |
29 | 33 | display: inline; |
30 | 34 | } |
... | ... | @@ -203,7 +207,7 @@ header #logo { |
203 | 207 | float: left; |
204 | 208 | padding: 0; |
205 | 209 | width: 70%; |
206 | - min-height: 101px; | |
210 | + height: 101px; | |
207 | 211 | } |
208 | 212 | |
209 | 213 | header #logo span { | ... | ... |
src/colab-spb-theme-plugin/colab_spb_theme/templates/header-slim.html
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | <link rel="stylesheet" href="{% static 'css/header-slim.css' %}"> |
6 | 6 | {% endblock %} |
7 | 7 | |
8 | -<header> | |
8 | +<header class="header-slim"> | |
9 | 9 | <div class="colab-style"> |
10 | 10 | <div id="barra-brasil"> |
11 | 11 | <a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Software Público Brasileiro</a> |
... | ... | @@ -13,9 +13,11 @@ |
13 | 13 | <script src="//barra.brasil.gov.br/barra.js" type="text/javascript" defer async></script> |
14 | 14 | <div id="header" role="banner"> |
15 | 15 | <div id="logo"> |
16 | + <!-- | |
16 | 17 | <div id="back-to-software" class="pull-left"> |
17 | 18 | <span id="back-arrow"><a href="{{request.META.HTTP_REFERER}}">←</a></span> |
18 | 19 | </div> |
20 | + --> | |
19 | 21 | <div id="logo-holder" class="pull-left"> |
20 | 22 | <a id="portal-logo" title="" href="/"> |
21 | 23 | <span id="portal-title-1">Portal do</span> | ... | ... |