Revision 01c096d2
b/.gitignore | ||
---|---|---|
4 | 4 |
*~ |
5 | 5 |
*.sw* |
6 | 6 |
bin/ |
7 |
build/ |
|
7 | 8 |
include/ |
8 | 9 |
lib/ |
9 | 10 |
*.pt.py |
b/ui/static/alt-main.css | ||
---|---|---|
10 | 10 |
margin: 0; |
11 | 11 |
padding: 0; |
12 | 12 |
border: 0; |
13 |
outline: 0; |
|
14 | 13 |
font-size: 100%; |
15 | 14 |
vertical-align: baseline; |
16 | 15 |
background: transparent; |
... | ... | |
19 | 18 |
|
20 | 19 |
body { |
21 | 20 |
line-height: 1; |
21 |
background:#fff url(../static/degrade-background.png) repeat scroll 0 0; |
|
22 |
margin: 0; |
|
22 | 23 |
} |
23 | 24 |
|
24 | 25 |
ol, ul { |
... | ... | |
35 | 36 |
content: none; |
36 | 37 |
} |
37 | 38 |
|
38 |
/* remember to define focus styles! */ |
|
39 | 39 |
:focus { |
40 |
outline: 0;
|
|
40 |
outline: 1px dotted #87AADE;
|
|
41 | 41 |
} |
42 | 42 |
|
43 | 43 |
/* remember to highlight inserts somehow! */ |
... | ... | |
55 | 55 |
border-spacing: 0; |
56 | 56 |
} |
57 | 57 |
|
58 |
body { |
|
59 |
background:#fff url(../static/degrade-background.png) repeat scroll 0 0; |
|
60 |
margin: 0; |
|
61 |
} |
|
62 |
|
|
63 | 58 |
h5 { |
64 | 59 |
font-weight: normal; |
65 | 60 |
font-size: 9pt; |
66 | 61 |
margin-bottom:3px; |
67 | 62 |
} |
68 | 63 |
|
69 |
/* get rid of those system borders being generated for A tags */ |
|
70 |
a:active { |
|
71 |
outline:none; |
|
72 |
} |
|
73 |
|
|
74 |
*:focus { |
|
75 |
outline:0 !important; |
|
76 |
} |
|
77 |
|
|
78 | 64 |
/* root element for tabs */ |
79 | 65 |
ul.css-tabs { |
80 | 66 |
margin: 0 0 0 10px; |
... | ... | |
557 | 543 |
color: black !important; |
558 | 544 |
} |
559 | 545 |
|
560 |
.actions:hover a,.instance:hover .actions a { |
|
546 |
.actions a:focus, .actions:hover a,.instance:hover .actions a {
|
|
561 | 547 |
color: #3d3d3d; |
562 | 548 |
} |
563 | 549 |
|
... | ... | |
819 | 805 |
vertical-align: bottom; |
820 | 806 |
position: relative; |
821 | 807 |
top: -1px; |
822 |
*overflow: hidden;
|
|
808 |
overflow: hidden; |
|
823 | 809 |
} |
824 | 810 |
|
825 | 811 |
#misc { |
... | ... | |
876 | 862 |
#networks.seperator { |
877 | 863 |
background-color: #9d6d6a; |
878 | 864 |
} |
865 |
|
|
866 |
.instance h5 { |
|
867 |
margin-left: 84px; |
|
868 |
margin-right: 60px; |
|
869 |
} |
b/ui/templates/home.html | ||
---|---|---|
13 | 13 |
|
14 | 14 |
<body> |
15 | 15 |
<div id="wrapper"> |
16 |
|
|
17 | 16 |
<div id='user'><a href="#">{% trans "username" %}</a> | <a href="#">{% trans "settings" %}</a> |
18 |
{% get_available_languages as LANGUAGES %} |
|
19 |
<form action="/i18n/setlang/" method="post"> |
|
20 |
{% csrf_token %} |
|
21 |
<input name="next" type="hidden" value="/" /> |
|
22 |
<select name="language"> |
|
23 |
{% for language in LANGUAGES %} |
|
24 |
<option value="{{ language.0 }}">{{ language.1 }}::{{ language.0 }}</option> |
|
25 |
{% endfor %} |
|
26 |
</select> |
|
27 |
<input type="submit" value="Go" /> |
|
28 |
</form> |
|
29 |
|
|
30 |
|
|
17 |
{% get_available_languages as LANGUAGES %} |
|
18 |
<form action="/i18n/setlang/" method="post"> |
|
19 |
{% csrf_token %} |
|
20 |
<input name="next" type="hidden" value="/" /> |
|
21 |
<select name="language"> |
|
22 |
{% for language in LANGUAGES %} |
|
23 |
<option value="{{ language.0 }}">{{ language.1 }}::{{ language.0 }}</option> |
|
24 |
{% endfor %} |
|
25 |
</select> |
|
26 |
<input type="submit" value="Go" /> |
|
27 |
</form> |
|
31 | 28 |
</div> |
32 | 29 |
<div id='nefo'><a href="/" class="logo"><img src="static/nefo.png"/></a></div> |
33 | 30 |
<div id="header"> |
... | ... | |
55 | 52 |
$(function() { |
56 | 53 |
if ($("link").attr("href") == "static/alt-main.css") { |
57 | 54 |
$('ul.css-tabs li').hover(function(){ |
58 |
$(this).find('a').animate({top:'0px'},{queue:true, duration:'slow'}); |
|
55 |
$(this).find('a:not(.current)').animate({top:'-3px'},{queue:false,duration:150}); |
|
56 |
}, function(){ |
|
57 |
$(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150}); |
|
59 | 58 |
}); |
60 | 59 |
} |
61 | 60 |
}); |
Also available in: Unified diff