Commit ee961ba5 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

parents f7605306 6f8f63cc
......@@ -12,14 +12,6 @@ body {
min-width: 985px;
margin: 0 1px 0 0;
padding: 0;
scrollbar-3dlight-color: orange;
scrollbar-arrow-color: #313131;
scrollbar-base-color: red;
scrollbar-darkshadow-color: #80FFFF;
scrollbar-face-color: red;
scrollbar-highlight-color: rgb(50,0,1);
scrollbar-shadow-color: rgb(112,22,21);
scrollbar-track-color: black;
}
div {
......@@ -165,6 +157,10 @@ blockquote blockquote {
padding: 0;
}
#main-body {
clear: both;
}
.shadowed {
box-shadow: 0 1px 3px #989898;
-webkit-box-shadow: 0 1px 3px #989898;
......@@ -371,6 +367,7 @@ padding-top: 4px;
-webkit-box-shadow: 0 1px 1px #DFDFDF;
-moz-box-shadow: 0 1px 1px #DFDFDF;
font-size: 12px;
min-width: 974px;
}
#top {
......@@ -438,11 +435,10 @@ padding-top: 4px;
color: black;
}
#listA {
float: left;
padding: 0 0;
width: auto;
width: 100%;
}
.thousand {
......@@ -470,6 +466,7 @@ padding-top: 4px;
color: #DD4814;
font-family: "Trebuchet MS", "segoe ui", arial, sans-serif;
font-size: 17px;
float: left;
}
.short-summary .userinfo {
......@@ -494,15 +491,16 @@ padding-top: 4px;
font-weight: bold;
}
.short-summary .question-summary-wrapper {
/*.short-summary .question-summary-wrapper {
float: left;
width: 100%;
}*/
.short-summary-title {
float: left;
width: 565px;
}
.short-summary .votes, .short-summary .status, .short-summary .views {
-moz-border-radius: 5px 5px 5px 5px;
border-bottom: 1px solid #CCCCCC;
border-right: 1px solid #CCCCCC;
float: left;
font-size: 11px;
height: 42px;
......@@ -619,31 +617,36 @@ padding-top: 4px;
}
.paginator .page, .paginator .page a:visited, .paginator .curr {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
color: #777777;
font: 0.875em verdana;
background-color: white;
border: 1px solid #DD4818;
color: #DD4818;
font: 0.875em Ubuntu;
margin: 0 0.25em;
padding: 0.25em;
}
.paginator .curr {
background-color: #777777;
border: 1px solid #777777;
background-color: #DD4818;
border: 1px solid #DD4818;
color: #FFFFFF;
font-weight: bold;
}
.paginator .page:hover, .paginator .prev a:hover, .paginator .next a:hover {
background-color: #777777;
border: 1px solid #777777;
color: #FFFFFF;
background-color: #DD4818;
border: 1px solid #DD4818;
color: white !important;
text-decoration: none;
}
.paginator .page:hover a {
color: white;
text-decoration: none;
}
.paginator .text {
color: #777777;
font: bold 100% sans-serif;
font: bold 100% Ubuntu;
padding: 0.3em;
}
......@@ -658,7 +661,12 @@ padding-top: 4px;
margin-top: 5px;
}
.tags a, span.tag {
.tags-summary {
font-family: sans-serif;
float: left;
}
.tags a, span.tag, .tags-summary a {
background-color: #EEEEEE;
border-bottom: 1px solid #CCCCCC;
border-right: 1px solid #CCCCCC;
......@@ -670,14 +678,15 @@ padding-top: 4px;
white-space: nowrap;
}
.tags a:hover {
background-color: #356FCB;
.tags a:hover, .tags-summary a:hover {
background-color: #DD4818;
color: #FFFFFF;
}
.tag-number {
font-family: sans-serif;
font-weight: 700;
margin-right: 25px;
}
.marked-tags {
......@@ -754,7 +763,7 @@ a.medal:hover {
.tabsA a.on, .tabsA a:hover {
background: none repeat scroll 0 0 #FFFFFF;
color: #A40000;
color: #DD4818;
}
.tabsA a:hover {
......@@ -822,7 +831,8 @@ a.medal:hover {
font-weight: 800;
margin-bottom: 12px;
padding: 5px;
text-align: left;
float: left;
width: auto;
}
.questions-related {
......@@ -896,18 +906,29 @@ div.question-body p, div.answer-body p {
}
.answered {
background: none repeat scroll 0 0 #E5EBF8;
color: #314362;
background-image: url(../images/light/answered.png);
background-repeat: no-repeat;
color: black;
}
.answered-accepted, .answer-votes.answered-accepted {
background: none repeat scroll 0 0 #E6F8DD;
color: #3A6231;
background-image: url(../images/light/answered-accepted.png);
background-repeat: no-repeat;
color: white;
}
.unanswered {
background: none repeat scroll 0 0 #F3E3E1;
color: #6B2B28;
background: url(../images/light/unanswered.png);
background-repeat: no-repeat;
color: white;
}
.answer-summary .answered {
background-color: #DD4818;
}
.answer-summary .answered-accepted {
background-color: #2DB651;
}
.focusedAnswer {
......@@ -961,7 +982,7 @@ div.question-body p, div.answer-body p {
}
#medalList .intoMyBadges {
float: left;
min-width: 5%;
min-width: 25px;
text-align: right;
height:30px;
}
......@@ -1166,6 +1187,7 @@ ins {
.relativetime {
text-decoration: none;
float: right;
}
.answer-summary {
......@@ -2031,7 +2053,13 @@ div.dialog.prompt .dialog-content select, div.dialog.prompt .dialog-content text
.feed-icon {
width: 14px;
height: 14px;
display: inline-block;
float: left;
}
.feed-icon-big {
width: 28px;
height: 28px;
float: left;
}
div#subscription_list {
......
......@@ -89,10 +89,10 @@
{% endblock %}
{% block content %}
<div id="main-bar" class="headNormal">
<div id="main-bar" class="headUser" >
{% trans "Ask a question" %}
</div>
<div id="main-body" class="ask-body">
<div id="main-body" class="ask-body" style="clear:both;">
<div id="askform">
<form id="fmask" action="" method="post" accept-charset="utf-8">
{% csrf_token %}
......
......@@ -20,7 +20,7 @@
{{ provider.pre_code|safe }}
{% endif %}
{% endfor %}
<div class="headNormal">
<div class="headUser">
{% trans "User login" %}
</div>
{% if msg %}
......@@ -36,7 +36,7 @@
{% if top_stackitem_providers %}
<h3 class="or_label">{% trans 'Or...' %}</h3>
{% endif %}
<div style="width:600px;float:left;margin-bottom:5px;">
<div style="width:600px;float:left;margin-bottom:5px;clear:both;">
{% blocktrans %}
External login services use <b><a href="http://openid.net/">OpenID</a></b> technology, where your password always stays confidential between
you and your login provider and you don't have to remember another one.
......
......@@ -8,7 +8,7 @@
<div class="headUser">
{% trans "Badges" %}
</div>
<div class="badges" id="main-body" style="width:100%">
<div class="badges" id="main-body" style="width:100%; clear: both;">
<p>
{% trans "Community gives you awards for your questions, answers and votes." %}
{% blocktrans %}Below is the list of available badges and number of times each type of badge has been awarded.
......
......@@ -20,21 +20,23 @@
</div>
</div>
<div class="question-summary-wrapper">
<h2><a {% if not question_summary %}title="{{ question.summary }}"{% endif %} href="{{ question.get_absolute_url }}">{{question.headline}}</a></h2>
<div class="userinfo">
{% if question.last_activity_by %}{% user_signature question.last_activity_by signature_type %}{% endif %} <br/>
<span class="relativetime" title="{{question.last_activity_at}}">{% diff_date question.last_activity_at %}</span>
</div>
<div class="short-summary-title">
<h2><a {% if not question_summary %}title="{{ question.summary }}"{% endif %} href="{{ question.get_absolute_url }}">{% if question.headline|wordcount >= 10 %} {{ question.headline|truncatewords:10 }} {% else %} {{ question.headline }} {% endif %} </a></h2>
{% if question_summary %}
<div class="summary">
{{ question.summary }}
</div>
{% endif %}
<div class="userinfo">
<span class="relativetime" title="{{question.last_activity_at}}">{% diff_date question.last_activity_at %}</span>
{% if question.last_activity_by %}{% user_signature question.last_activity_by signature_type %}{% endif %}
</div>
<div class="tags">{% for tag in question.tagname_list %}
<br/><br/>
<div class="tags-summary">{% for tag in question.tagname_list %}
<a class="tag-link-{{ tag }}" href="{% url tag_questions tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}'" rel="tag">{{ tag }}</a>{% endfor %}
</div>
</div>
</div>
{% load i18n %}
<div class="headQuestions">
<div class="headUser">
{% if searchtag %}
{% trans "Found by tags" %}
{% else %}
......
......@@ -21,7 +21,7 @@
<div class="tabBar">
{% include "question_list/title.html" %}
<a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');" href="{{ feed_url }}" title="{% trans "subscribe to question RSS feed" %}"></a>
<a class="feed-icon-big" style="background-image:url('{% media "media/images/feed-icon.png" %}');" href="{{ feed_url }}" title="{% trans "subscribe to question RSS feed" %}"></a>
{{ questions.paginator.sort_tabs }}
</div>
<div id="listA">{% for question in questions.paginator.page %}
......
......@@ -26,7 +26,7 @@
{% block content %}
<!-- Tabs -->
<div class="tabBar">
<div class="headQuestions">{% trans "Tag list" %}</div>
<div class="headUser">{% trans "Tag list" %}</div>
{{ tags.paginator.sort_tabs }}
</div>
<div id="searchtags">
......
......@@ -6,6 +6,8 @@
{% load humanize %}
{% load question_list_tags %}
{% block usercontent %}
<a class="feed-icon-big" style="background-image:url('{% media "media/images/feed-icon.png" %}');"
href="{{ view_user.get_asked_url }}?type=rss" title="{% trans "subscribe to question RSS feed" %}"></a>
<div id="questionsBlock" class="userSection">
<a name="questions"></a>
{% spaceless %}
......@@ -15,12 +17,10 @@
{% plural %}
<span class="count">{{counter}}</span> Questions
{% endblocktrans %}
<a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"
href="{{ view_user.get_asked_url }}?type=rss" title="{% trans "subscribe to question RSS feed" %}"></a>
</h2>
{% endspaceless %}
<div id="questionTabs">{{ questions.paginator.sort_tabs }}</div>
<div id="listA" class="user-stats-table">
<div id="listA">
{% for question in questions.paginator.page %}
{% question_list_item question favorite_count=yes signature_type=badges %}
{% endfor %}
......@@ -42,7 +42,6 @@
</h2>
{% endspaceless %}
<div id="answerTabs">{{ answers.paginator.sort_tabs }}</div>
<div class="user-stats-table">
{% for answer in answers.paginator.page %}
<div class="answer-summary">
<a title="{{answer.question.title}}"
......@@ -59,7 +58,6 @@
</div>
</div>
{% endfor %}
</div>
<br clear="all"/>
<div class="pager">{{ answers.paginator.page_numbers }}</div>
<br clear="all"/>
......@@ -76,7 +74,6 @@
{% endblocktrans %}
</h2>
{% endspaceless %}
<div class="user-stats-table">
<table>
<tr>
<td width="60">
......@@ -91,7 +88,6 @@
</td>
</tr>
</table>
</div>
<a name="tags"></a>
{% spaceless %}
<h2>
......@@ -102,7 +98,6 @@
{% endblocktrans %}
</h2>
{% endspaceless %}
<div class="user-stats-table">
<table class="tags">
<tr style="vertical-align: top;">
<td valign="top" style="padding-right: 20px;">
......@@ -111,16 +106,17 @@
class="tag-link-{{ tag.name }}"
title="{% blocktrans with tag.name as tag_name %}see other questions with {{view_user}}'s contributions tagged '{{ tag_name }}' {% endblocktrans %}"
href="{% url tag_questions tag|urlencode %}?user={{view_user.username}}">{{tag.name}}</a>
<span class="tag-number">&#215; {{ tag.user_tag_usage_count|intcomma }}</span><br/>
{% if forloop.counter|divisibleby:"10" %}
<span class="tag-number">&#215; {{ tag.user_tag_usage_count|intcomma }}</span>
{% if forloop.counter|divisibleby:"5" %}
</td>
</tr>
<tr>
<td width="180" valign="top">
{% endif %}
{% endfor %}
</td>
</tr>
</table>
</div>
<a name="badges"></a>
{% spaceless %}
<h2>
......@@ -131,7 +127,6 @@
{% endblocktrans %}
</h2>
{% endspaceless %}
<div class="user-stats-table">
<table>
<tr style="vertical-align: top;">
<td style="line-height:35px; padding-right: 20px;">
......@@ -152,6 +147,5 @@
</td>
</tr>
</table>
</div>
{% endblock %}
<!-- end user_stats.html -->
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