Révision dd2c92cc
Ajouté par Jérôme Schneider il y a plus de 9 ans
mandaye/static/css/toolbar.css | ||
---|---|---|
1 |
#mandaye_toolbar { |
|
1 |
#mandaye-toolbar { |
|
2 |
font-family: 'Open Sans', 'Helvetica Neue', arial, sans-serif; |
|
2 | 3 |
width: 100%; |
3 |
height: 34px; |
|
4 |
margin: 0 auto; |
|
5 |
position: relative; |
|
4 |
position: fixed; |
|
5 |
height: 36px; |
|
6 |
top: 0px; |
|
7 |
margin: 0; |
|
8 |
padding: 0; |
|
6 | 9 |
background: black; |
7 |
font-size: 100%; |
|
8 |
vertical-align: baseline; |
|
9 |
line-height: 1; |
|
10 |
font-size: 13px; |
|
10 |
font-size: 14px; |
|
11 |
z-index: 999; |
|
11 | 12 |
} |
12 | 13 |
|
13 |
.mandaye_toolbar-left {
|
|
14 |
.mandaye-toolbar-left {
|
|
14 | 15 |
float: left; |
15 |
width: 150px; |
|
16 | 16 |
margin: 0; |
17 | 17 |
padding: 0; |
18 | 18 |
border: 0; |
19 | 19 |
font-size: 100%; |
20 |
/* display: inline-block; */ |
|
21 | 20 |
vertical-align: top; |
21 |
padding-left: 12px; |
|
22 |
padding-right: 12px; |
|
22 | 23 |
} |
23 | 24 |
|
24 |
.mandaye_toolbar-right {
|
|
25 |
.mandaye-toolbar-right {
|
|
25 | 26 |
float: right; |
26 |
width: 300px; |
|
27 |
margin: 0; |
|
27 |
margin-right: 15px; |
|
28 | 28 |
padding: 0; |
29 | 29 |
border: 0; |
30 | 30 |
} |
31 | 31 |
|
32 |
.mandaye_toolbar-logo { |
|
33 |
display: inline-block; |
|
34 |
height: 34px; |
|
35 |
width: 150px; |
|
36 |
vertical-align: top; |
|
37 |
text-align: center; |
|
38 |
background-color: transparent; |
|
39 |
background-position: 10px 3px; |
|
40 |
background-repeat: no-repeat; |
|
41 |
background-image: url('../images/eo.png'); |
|
32 |
.mandaye-toolbar-logo { |
|
33 |
float: left; |
|
34 |
padding: 4px 15px 0px 15px; |
|
35 |
} |
|
36 |
|
|
37 |
.mandaye-toolbar-link a:hover { |
|
38 |
background: grey; |
|
39 |
text-decoration: none; |
|
42 | 40 |
} |
43 | 41 |
|
44 |
.mandaye_toolbar-btn_right {
|
|
42 |
.mandaye-toolbar-btn-right {
|
|
45 | 43 |
margin-left: 15px; |
46 | 44 |
vertical-align: top; |
47 |
font-size: 0; |
|
48 | 45 |
z-index: 999; |
49 | 46 |
} |
50 | 47 |
|
51 |
.mandaye_toolbar_link { |
|
52 |
display: inline-block; |
|
48 |
.mandaye-toolbar-link ul { |
|
49 |
vertical-align: top; |
|
50 |
} |
|
51 |
|
|
52 |
.mandaye-toolbar-link li { |
|
53 |
list-style-type: none; |
|
53 | 54 |
float: right; |
54 |
color: #e0e0e0; |
|
55 |
} |
|
56 |
|
|
57 |
.mandaye-toolbar-link a { |
|
58 |
color: white; |
|
55 | 59 |
text-decoration: none; |
60 |
padding: 11px 16px 11px 16px; |
|
61 |
} |
|
62 |
|
|
63 |
.mandaye-toolbar-link { |
|
56 | 64 |
display: inline-block; |
57 |
height: 24px; |
|
58 |
padding: 9px 7px 0 7px; |
|
59 |
vertical-align: top; |
|
60 |
font-size: 13px; |
|
65 |
height: 100%; |
|
66 |
float: right; |
|
67 |
margin: 10px 0 0 0; |
|
61 | 68 |
} |
69 |
|
|
70 |
body { margin: 36px 0 0 0; } |
mandaye/templates/toolbar.html | ||
---|---|---|
1 |
<div id="mandaye_toolbar"> |
|
2 |
<div class="mandaye_toolbar-left"> |
|
3 |
<a href="http://www.entrouvert.com/" class="mandaye_toolbar-logo"></a> |
|
4 |
</div> |
|
5 |
<div class="mandaye_toolbar-right"> |
|
6 |
<a class="mandaye_toolbar_link" href="/mandaye/singleLogout"> Me déconnecter</a> |
|
7 |
<a class="mandaye_toolbar_link" href="${urls['disassociate_url']}"> Me désassocier</a> |
|
1 |
<div id="mandaye-toolbar"> |
|
2 |
<div class="mandaye-toolbar-left"> |
|
3 |
<div class="mandaye-toolbar-logo"> |
|
4 |
<a href="http://www.entrouvert.com/"> |
|
5 |
<img src="${static_url}/images/eo.png" alt="Entr'ouvert" /> |
|
6 |
</a> |
|
8 | 7 |
</div> |
9 | 8 |
</div> |
9 |
<div class="mandaye-toolbar-right"> |
|
10 |
<ul class="mandaye-toolbar-link"> |
|
11 |
<li> |
|
12 |
<a href="/mandaye/logout">Me déconnecter</a> |
|
13 |
</li> |
|
14 |
% if account: |
|
15 |
<li> |
|
16 |
<a href="javascript:mandaye_disassociate_logout('${account.login}', ${account.id})" title="Cliquer ici pour supprimer l'association entre ce compte et votre compte citoyen.">Me désassocier</a> |
|
17 |
</li> |
|
18 |
% endif |
|
19 |
</ul> |
|
20 |
</div> |
|
21 |
</div> |
Formats disponibles : Unified diff
toolbar improving default toolbar