mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:42:55 +08:00
Some style changes for omitted posts, also mobile style.
This commit is contained in:
parent
e3660e59b4
commit
314a0e3fad
|
@ -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')}));
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user