Some style changes for omitted posts, also mobile style.

This commit is contained in:
Robin Ward 2013-12-06 12:51:00 -05:00
parent e3660e59b4
commit 314a0e3fad
4 changed files with 16 additions and 7 deletions

View File

@ -25,7 +25,7 @@ Discourse.PostGapComponent = Ember.Component.extend({
if (this.get('loading')) { if (this.get('loading')) {
buffer.push(I18n.t('loading')); buffer.push(I18n.t('loading'));
} else { } else {
buffer.push("<i class='icon icon-cut'></i>" + I18n.t('post.gap', {count: this.get('gap.length')})); buffer.push(I18n.t('post.gap', {count: this.get('gap.length')}));
} }
}, },

View File

@ -3,18 +3,19 @@
.gap { .gap {
background-color: #f9f9f9; background-color: #f9f9f9;
border: 1px solid #eee;
padding: 5px 10px; padding: 5px 10px;
margin-bottom: 10px; margin-bottom: 10px;
color: #555; color: #999;
cursor: pointer; cursor: pointer;
text-align: center;
width: 820px;
&:hover { &:hover {
background-color: #eee; background-color: #eee;
} }
i.icon { @include medium-width {
margin-right: 6px; width: 800px;
} }
} }

View File

@ -1,5 +1,13 @@
@import "common/foundation/variables"; @import "common/foundation/variables";
.gap {
background-color: #f9f9f9;
padding: 5px 15px;
color: #999;
text-align: center;
margin: 0 10px;
}
.topic-post { .topic-post {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
padding: 6px 0 3px 0; padding: 6px 0 3px 0;

View File

@ -817,8 +817,8 @@ en:
deleted_by: "deleted by" deleted_by: "deleted by"
expand_collapse: "expand/collapse" expand_collapse: "expand/collapse"
gap: gap:
one: "1 post was omitted due to your current filter. Click to show it." one: "1 post omitted"
other: "{{count}} posts were omitted due to your current filter. Click to show them." other: "{{count}} posts omitted"
has_replies: has_replies:
one: "Reply" one: "Reply"