mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:32:45 +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')) {
|
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')}));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user