Merge remote-tracking branch 'upstream/skeletongobblin' into skeleton

This commit is contained in:
jpope777 2014-01-07 01:06:09 -06:00
commit ec8dbf1dc8
3 changed files with 27 additions and 26 deletions

View File

@ -78,6 +78,11 @@ a.highlight {
color: #fff; color: #fff;
} }
.header_right a {
text-decoration: none;
color: #fff;
}
em { em {
font-style: italic; font-style: italic;
} }
@ -112,10 +117,19 @@ header {
border-bottom: 1px solid #333; border-bottom: 1px solid #333;
} }
.header_left {
width: 47%;
margin: 0 0 0 8px;
display: inline-block;
}
.header_right { .header_right {
margin: 8px; width: 47%;
margin: 8px 8px 4px 0;
display: inline-block; display: inline-block;
float: right; float: right;
text-align: right;
line-height: 1.6em;
} }
.header_dropdown { .header_dropdown {
@ -349,7 +363,7 @@ text-align: center;
border-top: 6px dashed #D49086 border-top: 6px dashed #D49086
} }
.form_field_input input, .form_field_input textarea { /*.form_field_input input,*/ .form_field_input textarea {
width: 100%; width: 100%;
} }
@ -801,26 +815,13 @@ pre {
} }
.button_action, .button_action_highlight, .button_form { .button_action, .button_action_highlight, .button_form {
padding: 9px 14px; padding: 5px 14px;
}
header {
/* text-align: center;*/
}
.header_right {
/* margin-right: 2%;*/
/* float: none;*/
}
a.logo {
/* margin-left: 2%;*/
} }
} }
/* desktop resolutions */ /* desktop resolutions */
@media screen and (min-width: 960px) { @media screen and (min-width: 960px) {
.container .three.columns { /* this needs to be more specific - inplace for the gallery... */ .container .three.columns.media_thumbnail {
width:180px; width:180px;
margin-left:3px; margin-left:3px;
margin-right:3px; margin-right:3px;
@ -828,7 +829,7 @@ pre {
} }
/* Tablet Portrait size to standard 960 (devices and browsers) */ /* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) { @media only screen and (min-width: 768px) and (max-width: 959px) {
.container .three.columns { /* this needs to be more specific - inplace for the gallery... */ .container .three.columns.media_thumbnail {
width:147px; width:147px;
margin-left:2px; margin-left:2px;
margin-right:2px; margin-right:2px;
@ -858,7 +859,7 @@ pre {
} }
.header_right { .header_right {
float: none; text-align: center;
} }
} }

View File

@ -66,11 +66,10 @@
<div class="container"> <div class="container">
<header> <header>
<div class="row hell"> <div class="row hell">
<div class="eight columns alpha omega"> <div class="header_left">
{%- include "mediagoblin/bits/logo.html" -%} {%- include "mediagoblin/bits/logo.html" -%}
{% block mediagoblin_header_title %}{% endblock %} {% block mediagoblin_header_title %}{% endblock %}
</div> </div>
<div class="eight columns alpha omega pull-right">
<div class="header_right"> <div class="header_right">
{%- if request.user %} {%- if request.user %}
{% if request.user and {% if request.user and
@ -118,7 +117,6 @@
</a> </a>
{%- endif %} {%- endif %}
</div> </div>
</div><!--end eight columns pull-right-->
<div class="clear"></div> <div class="clear"></div>
{% if request.user and request.user.has_privilege('active') %} {% if request.user and request.user.has_privilege('active') %}
<div class="header_dropdown"> <div class="header_dropdown">

View File

@ -26,10 +26,12 @@
{% if not report %} {% if not report %}
{% trans %}Sorry, no such report found.{% endtrans %} {% trans %}Sorry, no such report found.{% endtrans %}
{% else %} {% else %}
<div class="row">
<a href="{{ request.urlgen('mediagoblin.moderation.reports') }}" <a href="{{ request.urlgen('mediagoblin.moderation.reports') }}"
class="return_to_panel button_action" class="return_to_panel button_action"
title="Return to Reports Panel"> title="Return to Reports Panel">
{% trans %}Return to Reports Panel{% endtrans %}</a> {% trans %}Return to Reports Panel{% endtrans %}</a>
</div>
<h2>{% trans %}Report{% endtrans %} #{{ report.id }}</h2> <h2>{% trans %}Report{% endtrans %} #{{ report.id }}</h2>
{% if report.is_comment_report() and report.comment %} {% if report.is_comment_report() and report.comment %}
@ -66,7 +68,7 @@
{% elif report.is_media_entry_report() and report.media_entry %} {% elif report.is_media_entry_report() and report.media_entry %}
{% set media_entry = report.media_entry %} {% set media_entry = report.media_entry %}
<div class="media_thumbnail"> <div class="three columns media_thumbnail">
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home', <a href="{{ request.urlgen('mediagoblin.user_pages.media_home',
user=media_entry.get_uploader.username, user=media_entry.get_uploader.username,
media=media_entry.slug_or_id) }}"> media=media_entry.slug_or_id) }}">