Merge remote-tracking branch 'upstream/skeletongobblin' into skeleton
This commit is contained in:
commit
03abcd0841
@ -167,29 +167,21 @@ footer {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media_pane {
|
.thumb_gallery {
|
||||||
width: 640px;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-right: 10px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.media_sidebar {
|
|
||||||
width: 280px;
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile_sidebar {
|
|
||||||
width: 340px;
|
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile_showcase {
|
.profile_showcase .thumb_gallery {
|
||||||
width: 580px;
|
margin-left: 0;
|
||||||
margin-left: 10px;
|
margin-right: 0;
|
||||||
float: left;
|
}
|
||||||
|
|
||||||
|
.media_image {
|
||||||
|
max-width: 100%;
|
||||||
|
margin-left:auto;
|
||||||
|
margin-right:auto;
|
||||||
|
display:block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* common website elements */
|
/* common website elements */
|
||||||
@ -243,6 +235,17 @@ text-align: center;
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.left_align {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pull-right {
|
||||||
|
float: right !important;
|
||||||
|
}
|
||||||
|
.pull-left {
|
||||||
|
float: left !important;
|
||||||
|
}
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
display: block;
|
display: block;
|
||||||
@ -595,11 +598,10 @@ img.media_icon {
|
|||||||
/* navigation */
|
/* navigation */
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
float: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation_button {
|
.navigation_button {
|
||||||
width: 135px;
|
width: 48%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #1d1d1d;
|
background-color: #1d1d1d;
|
||||||
@ -612,7 +614,7 @@ img.media_icon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navigation_left {
|
.navigation_left {
|
||||||
margin-right: 6px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* messages */
|
/* messages */
|
||||||
@ -761,20 +763,12 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Media queries and other responsivisivity */
|
/* Media queries and other responsivisivity */
|
||||||
@media screen and (max-width: 940px) {
|
/* initial GMG max 940 */
|
||||||
.media_pane {
|
@media screen and (max-width: 960px) {
|
||||||
width: 100%;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.media_sidebar {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.media_image {
|
img.media_image {
|
||||||
width: 100%;
|
max-width: 100%;
|
||||||
display: inline;
|
/* display: inline;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.media_thumbnail {
|
.media_thumbnail {
|
||||||
@ -791,26 +785,11 @@ pre {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigation_button {
|
|
||||||
width: 49%;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigation_left {
|
|
||||||
margin-right: 0;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation_button {
|
.navigation_button {
|
||||||
width: 49%;
|
|
||||||
float: right;
|
float: right;
|
||||||
padding: 10px 0 14px;
|
padding: 10px 0 14px;
|
||||||
}
|
}
|
||||||
@ -825,48 +804,60 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
text-align: center;
|
/* text-align: center;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_right {
|
.header_right {
|
||||||
margin-right: 2%;
|
/* margin-right: 2%;*/
|
||||||
float: none;
|
/* float: none;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
a.logo {
|
a.logo {
|
||||||
margin-left: 2%;
|
/* margin-left: 2%;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/* desktop resolutions */
|
||||||
@media screen and (min-width: 960px) {
|
@media screen and (min-width: 960px) {
|
||||||
.container .three.columns {
|
.container .three.columns { /* this needs to be more specific - inplace for the gallery... */
|
||||||
width:180px;
|
width:180px;
|
||||||
margin-left:3px;
|
margin-left:3px;
|
||||||
margin-right:3px;
|
margin-right:3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* 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 {
|
.container .three.columns { /* this needs to be more specific - inplace for the gallery... */
|
||||||
width:147px;
|
width:147px;
|
||||||
margin-left:2px;
|
margin-left:2px;
|
||||||
margin-right:2px;
|
margin-right:2px;
|
||||||
}
|
}
|
||||||
|
.thumb_gallery {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.navigation_button {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
/* All Mobile Sizes (devices and browser) */
|
||||||
@media screen and (max-width: 767px) {
|
@media screen and (max-width: 767px) {
|
||||||
.thumb_row {
|
.thumb_row {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
.thumb_gallery {
|
||||||
@media screen and (max-width: 570px) {
|
margin-left: 0;
|
||||||
.media_thumbnail {
|
margin-right: 0;
|
||||||
width: 29%;
|
}
|
||||||
|
h1,h2,h3,p {
|
||||||
|
margin-bottom: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
header {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 380px) {
|
.header_right {
|
||||||
.media_thumbnail {
|
float: none;
|
||||||
width: 46%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,8 +56,12 @@
|
|||||||
{% block mediagoblin_header %}
|
{% block mediagoblin_header %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header>
|
<header>
|
||||||
|
<div class="row hell">
|
||||||
|
<div class="eight columns alpha omega">
|
||||||
{%- include "mediagoblin/bits/logo.html" -%}
|
{%- include "mediagoblin/bits/logo.html" -%}
|
||||||
{% block mediagoblin_header_title %}{% endblock %}
|
{% block mediagoblin_header_title %}{% endblock %}
|
||||||
|
</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
|
||||||
@ -105,6 +109,7 @@
|
|||||||
</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">
|
||||||
@ -158,6 +163,7 @@
|
|||||||
{% include 'mediagoblin/fragments/header_notifications.html' %}
|
{% include 'mediagoblin/fragments/header_notifications.html' %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div><!-- end row -->
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
{% template_hook("media_head") %}
|
{% template_hook("media_head") %}
|
||||||
{% endblock mediagoblin_head %}
|
{% endblock mediagoblin_head %}
|
||||||
|
|
||||||
{% block mediagoblin_content %}
|
{% block mediagoblin_content %}
|
||||||
<p class="context">
|
<div class="row hell">
|
||||||
|
<p class="eleven columns context">
|
||||||
{%- trans user_url=request.urlgen(
|
{%- trans user_url=request.urlgen(
|
||||||
'mediagoblin.user_pages.user_home',
|
'mediagoblin.user_pages.user_home',
|
||||||
user=media.get_uploader.username),
|
user=media.get_uploader.username),
|
||||||
@ -42,8 +42,11 @@
|
|||||||
❖ Browsing media by <a href="{{user_url}}">{{username}}</a>
|
❖ Browsing media by <a href="{{user_url}}">{{username}}</a>
|
||||||
{%- endtrans -%}
|
{%- endtrans -%}
|
||||||
</p>
|
</p>
|
||||||
{% include "mediagoblin/utils/prev_next.html" %}
|
<div class="five columns">
|
||||||
<div class="media_pane">
|
{% include "mediagoblin/utils/prev_next.html" %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="media_pane eleven columns">
|
||||||
<div class="media_image_container">
|
<div class="media_image_container">
|
||||||
{% block mediagoblin_media %}
|
{% block mediagoblin_media %}
|
||||||
{% set display_media = request.app.public_store.file_url(
|
{% set display_media = request.app.public_store.file_url(
|
||||||
@ -161,8 +164,8 @@
|
|||||||
{{ render_pagination(request, pagination,
|
{{ render_pagination(request, pagination,
|
||||||
media.url_for_self(request.urlgen)) }}
|
media.url_for_self(request.urlgen)) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div><!--end media_pane-->
|
||||||
<div class="media_sidebar">
|
<div class="five columns media_sidebar">
|
||||||
<h3>{% trans %}Added{% endtrans %}</h3>
|
<h3>{% trans %}Added{% endtrans %}</h3>
|
||||||
<p><span title="{{ media.created.strftime("%I:%M%p %Y-%m-%d") }}">
|
<p><span title="{{ media.created.strftime("%I:%M%p %Y-%m-%d") }}">
|
||||||
{%- trans formatted_time=timesince(media.created) -%}
|
{%- trans formatted_time=timesince(media.created) -%}
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block mediagoblin_content -%}
|
{% block mediagoblin_content -%}
|
||||||
|
<div class="six columns">
|
||||||
<h1>
|
<h1>
|
||||||
{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}
|
{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}
|
||||||
</h1>
|
</h1>
|
||||||
@ -81,9 +82,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div><!--end six columns-->
|
||||||
{% if media_entries.count() %}
|
{% if media_entries.count() %}
|
||||||
<div class="profile_showcase">
|
<div class="ten columns profile_showcase">
|
||||||
{{ object_gallery(request, media_entries, pagination,
|
{{ object_gallery(request, media_entries, pagination,
|
||||||
pagination_base_url=user_gallery_url, col_number=3) }}
|
pagination_base_url=user_gallery_url, col_number=3) }}
|
||||||
{% include "mediagoblin/utils/object_gallery.html" %}
|
{% include "mediagoblin/utils/object_gallery.html" %}
|
||||||
@ -101,7 +102,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if request.user and (request.user.id == user.id) %}
|
{% if request.user and (request.user.id == user.id) %}
|
||||||
<div class="profile_showcase empty_space">
|
<div class="ten columns profile_showcase empty_space">
|
||||||
<p>
|
<p>
|
||||||
{% trans -%}
|
{% trans -%}
|
||||||
This is where your media will appear, but you don't seem to have added anything yet.
|
This is where your media will appear, but you don't seem to have added anything yet.
|
||||||
@ -113,7 +114,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="profile_showcase empty_space">
|
<div class="ten columns profile_showcase empty_space">
|
||||||
<p>
|
<p>
|
||||||
{% trans -%}
|
{% trans -%}
|
||||||
There doesn't seem to be any media here yet...
|
There doesn't seem to be any media here yet...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user