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')) {
buffer.push(I18n.t('loading'));
} 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 {
background-color: #f9f9f9;
border: 1px solid #eee;
padding: 5px 10px;
margin-bottom: 10px;
color: #555;
color: #999;
cursor: pointer;
text-align: center;
width: 820px;
&:hover {
background-color: #eee;
}
i.icon {
margin-right: 6px;
@include medium-width {
width: 800px;
}
}

View File

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

View File

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