Commit 90e1d080fb3844c99b925d29a8c65af617752968
1 parent
e95cf261
Exists in
master
and in
2 other branches
Added button to go back on the navigation
Showing
2 changed files
with
29 additions
and
10 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/static/css/header-slim.css
... | ... | @@ -9,7 +9,24 @@ ul#login-menu { |
9 | 9 | div#back-to-software { |
10 | 10 | clear: both; |
11 | 11 | width: 56px; |
12 | - float: left; | |
12 | + height: 40px; | |
13 | + border-right: 2px solid #CACACA; | |
14 | + padding-right: 20px; | |
15 | + padding-left: 10px; | |
16 | + padding-top: 8px; | |
17 | +} | |
18 | +div#back-to-software span#back-arrow { | |
19 | + font-size: 35px; | |
20 | + color: #2C65CD; | |
21 | + cursor: pointer; | |
22 | +} | |
23 | + | |
24 | +div#logo { | |
25 | + min-height: 70px; | |
26 | +} | |
27 | + | |
28 | +div#logo-holder { | |
29 | + margin-left: 10px; | |
13 | 30 | } |
14 | 31 | |
15 | 32 | span#portal-title-1 { | ... | ... |
src/colab-spb-theme-plugin/colab_spb_theme/templates/header-slim.html
... | ... | @@ -13,6 +13,17 @@ |
13 | 13 | </div> |
14 | 14 | <script src="//barra.brasil.gov.br/barra.js" type="text/javascript" defer async></script> |
15 | 15 | <div id="header" role="banner"> |
16 | + <div id="logo"> | |
17 | + <div id="back-to-software" class="pull-left"> | |
18 | + <span onclick="window.location = '/'" id="back-arrow">←</span> | |
19 | + </div> | |
20 | + <div id="logo-holder" class="pull-left"> | |
21 | + <a id="portal-logo" title="" href="/"> | |
22 | + <span id="portal-title-1">Portal do</span> | |
23 | + <h1 id="portal-title" class="corto">Software Público Brasileiro</h1> | |
24 | + </a> | |
25 | + </div> | |
26 | + </div> | |
16 | 27 | <div id="spb-header-content"> |
17 | 28 | <ul id="login-menu"> |
18 | 29 | {% if not user.is_authenticated %} |
... | ... | @@ -40,15 +51,6 @@ |
40 | 51 | {% endif %} |
41 | 52 | </ul> |
42 | 53 | </div> |
43 | - <div id="logo"> | |
44 | - <div id="back-to-software" class="pull-left"> | |
45 | - <i class="fa fa-arrow-left" aria-hidden="true"></i> | |
46 | - </div> | |
47 | - <a id="portal-logo" title="" href="/"> | |
48 | - <span id="portal-title-1">Portal do</span> | |
49 | - <h1 id="portal-title" class="corto">Software Público Brasileiro</h1> | |
50 | - </a> | |
51 | - </div> | |
52 | 54 | </div> |
53 | 55 | </div> |
54 | 56 | </header> | ... | ... |