Commit 1a3b0a9b authored by Riccardo Padovani's avatar Riccardo Padovani

Modificato il layout generale.

Personalizzati i badges e le relative pagine
Bugfixs sparsi
parent 23136387
...@@ -87,12 +87,12 @@ a:hover { ...@@ -87,12 +87,12 @@ a:hover {
text-align: right; text-align: right;
} }
.spacer3 { /*.spacer3 {
clear: both; clear: both;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
visibility: hidden; visibility: hidden;
} }*/
h1 { h1 {
font-size: 160%; font-size: 160%;
...@@ -407,13 +407,13 @@ padding-top: 4px; ...@@ -407,13 +407,13 @@ padding-top: 4px;
} }
#room { #room {
background-color: #FFFFFF; border: 1px solid #DD4814;
border-bottom: 1px solid #777777; background-color: #E7E7E7;
padding: 5px;
} }
#CALeft { #CALeft {
float: left; float: left;
position: relative;
width: 84%; width: 84%;
} }
...@@ -425,8 +425,6 @@ padding-top: 4px; ...@@ -425,8 +425,6 @@ padding-top: 4px;
#CAFull { #CAFull {
float: left; float: left;
width: 100%; width: 100%;
border: 1px solid #DD4814;
background-color: #E7E7E7;
} }
#ground { #ground {
...@@ -566,12 +564,12 @@ padding-top: 4px; ...@@ -566,12 +564,12 @@ padding-top: 4px;
} }
.boxC { .boxC {
background: none repeat scroll 0 0 #E5EBF8; background-color: #D7D7D7;
border-color: #EEEEEC #A9ACA5 #BABDB6 #EEEEEC; border-left: 1px solid #DD4814;
border-style: solid; border-bottom: 1px solid #DD4814;
border-width: 1px;
margin-bottom: 8px;
padding: 10px; padding: 10px;
margin-right: -5px;
margin-top: -5px;
} }
.boxC p { .boxC p {
...@@ -688,11 +686,8 @@ padding-top: 4px; ...@@ -688,11 +686,8 @@ padding-top: 4px;
} }
.medal { .medal {
background: none repeat scroll 0 0 #FFFFCD; background: none repeat scroll 0 0 #DD4818;
border-color: #EEEEEE #CCCCCC #CCCCCC #EEEEEE; border: #DD4818 solid 1px;
border-left: 1px solid #EEEEEE;
border-style: solid;
border-width: 1px;
color: #333333; color: #333333;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
...@@ -702,16 +697,14 @@ padding-top: 4px; ...@@ -702,16 +697,14 @@ padding-top: 4px;
a.medal { a.medal {
text-decoration: none; text-decoration: none;
color: #333333; color: white;
} }
a.medal:hover { a.medal:hover {
background: url("../images/medala_on.gif") no-repeat scroll 0 0 transparent; /*background: url("../images/medala_on.gif") no-repeat scroll 0 0 transparent;*/
border-color: #E7E296 #D1CA3D #D1CA3D #E7E296; background-color: white;
border-left: 1px solid #E7E296; border: #DD4818 solid 1px;
border-style: solid; color: #DD4818;
border-width: 1px;
color: #333333;
text-decoration: none; text-decoration: none;
} }
...@@ -765,7 +758,7 @@ a.medal:hover { ...@@ -765,7 +758,7 @@ a.medal:hover {
} }
.tabsA a:hover { .tabsA a:hover {
background: none repeat scroll 0 0 #356FCB; background: none repeat scroll 0 0 #DD4818;
color: #FFFFFF; color: #FFFFFF;
} }
...@@ -939,11 +932,15 @@ div.question-body p, div.answer-body p { ...@@ -939,11 +932,15 @@ div.question-body p, div.answer-body p {
} }
.badge-list a { .badge-list a {
color: #3060A8; color: #DD4818;
} }
.badge-list a.medal { .badge-list a.medal {
color: #333333; color: white;
}
.badge-list a.medal:hover {
color: #DD4818;
} }
#medalList .badgeListDescription { #medalList .badgeListDescription {
...@@ -1282,16 +1279,13 @@ ins { ...@@ -1282,16 +1279,13 @@ ins {
margin-left: 0px; margin-left: 0px;
} }
#subheader .silver, .badge2 { #top .bronze, .badge3, #top .silver, .badge2 {
float: left;
line-height: 40px; line-height: 40px;
margin-left: 0px; margin-left: 0px;
} }
#subheader .bronze, .badge3 { #top .bronze, #top .silver {
float: left; float: left;
line-height: 40px;
margin-left: 0px;
} }
#subheader .badgecount { #subheader .badgecount {
...@@ -1931,8 +1925,8 @@ div.dialog, .context-menu-dropdown { ...@@ -1931,8 +1925,8 @@ div.dialog, .context-menu-dropdown {
background-color: #EEEEEE; background-color: #EEEEEE;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 2px 2px 5px #3060A8; -moz-box-shadow: 2px 2px 5px #DD4818;
-webkit-box-shadow: 2px 2px 5px #3060A8; -webkit-box-shadow: 2px 2px 5px #DD4818;
} }
.context-menu-dropdown { .context-menu-dropdown {
...@@ -1964,7 +1958,7 @@ div.dialog, .context-menu-dropdown { ...@@ -1964,7 +1958,7 @@ div.dialog, .context-menu-dropdown {
} }
.context-menu-dropdown li.item:hover { .context-menu-dropdown li.item:hover {
background-color: #3060A8; background-color: #DD4818;
color: white; color: white;
} }
...@@ -1999,7 +1993,7 @@ div.dialog .dialog-buttons { ...@@ -1999,7 +1993,7 @@ div.dialog .dialog-buttons {
margin: 0 3px 5px 3px; margin: 0 3px 5px 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
background-color: #3060A8; background-color: #DD4818;
color: white; color: white;
line-height: 20px; line-height: 20px;
vertical-align: baseline; vertical-align: baseline;
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
background-color: #EEEEEE; background-color: #EEEEEE;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 2px 2px 5px #3060A8; -moz-box-shadow: 2px 2px 5px #DD4818;
-webkit-box-shadow: 2px 2px 5px #3060A8; -webkit-box-shadow: 2px 2px 5px #DD4818;
} }
div.dialog.award-rep-points table { div.dialog.award-rep-points table {
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
</script> </script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div id="main-bar" class="headNormal"> <div id="mainbar-full">
<div class="headUser">
{% trans "Badge" %} {% trans "Badge" %}
</div> </div>
<div id="main-body" style="width:100%;margin-bottom:20px"> <div id="main-body" style="width:100%;margin-bottom:20px">
...@@ -32,7 +33,7 @@ ...@@ -32,7 +33,7 @@
<p style="width:220px;float:left">{% user_signature award.user "badges" %}<span class="tag-number"> &#215; {{ award.count|intcomma }}</span></p> <p style="width:220px;float:left">{% user_signature award.user "badges" %}<span class="tag-number"> &#215; {{ award.count|intcomma }}</span></p>
{% endfor %} {% endfor %}
</div> </div>
</div>
</div> </div>
{% endblock %} {% endblock %}
<!-- end template badge.html --> <!-- end template badge.html -->
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
{% load i18n %} {% load i18n %}
{% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %} {% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %}
{% block content %} {% block content %}
<div class="headlineA"> <div class="headUser">
<span class="headMedals">{% trans "Badges" %}</span> {% trans "Badges" %}
</div> </div>
<div class="badges" id="main-body" style="width:100%"> <div class="badges" id="main-body" style="width:100%">
<p> <p>
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
<div class="spacer3"></div> <!--<div class="spacer3"></div>-->
</div> </div>
{% endblock %} {% endblock %}
{% if settings.USE_CUSTOM_FOOTER|or_preview:request %} {% if settings.USE_CUSTOM_FOOTER|or_preview:request %}
......
...@@ -26,11 +26,6 @@ ...@@ -26,11 +26,6 @@
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" /> <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
<link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/> <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
{% endif %} {% endif %}
<style type="text/css">
#room {
border: 0;
}
</style>
{% block userjs %}{% endblock %} {% block userjs %}{% endblock %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div id="mainbar-full"> <div id="mainbar-full">
<div id="subheader" class="headUser"> <div class="headUser">
{{ user.username }} - {% trans "edit profile" %} {{ user.username }} - {% trans "edit profile" %}
</div> </div>
<div id="main-body" style="width:100%"> <div id="main-body" style="width:100%">
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{% load markup %} {% load markup %}
{% load user_tags %} {% load user_tags %}
<div id="subheader" class="headUser{% if view_user.is_suspended %} suspended-user{% endif %}"> <div class="headUser{% if view_user.is_suspended %} suspended-user{% endif %}">
{{view_user.decorated_name}} {{view_user.decorated_name}}
</div> </div>
<table class="user-info-table" width="100%"> <table class="user-info-table" width="100%">
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="tabBar"> <div class="tabBar">
<div class="headUsers">{% trans "Users" %}</div> <div class="headUser">{% trans "Users" %}</div>
{{ users.paginator.sort_tabs }} {{ users.paginator.sort_tabs }}
</div> </div>
<div id="main-body" style="width:100%"> <div id="main-body" style="width:100%">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment