FIX: quote icon in Quote Reply not clickable

This commit is contained in:
Jeff Atwood 2014-09-07 13:55:31 -07:00
parent aa0d14825a
commit 3cf433ab1e
4 changed files with 19 additions and 29 deletions

View File

@ -27,7 +27,6 @@ export default Discourse.View.extend({
@method render
**/
render: function(buffer) {
buffer.push('<i class="fa fa-quote-right"></i>&nbsp;&nbsp;');
buffer.push(I18n.t("post.quote_reply"));
},

View File

@ -81,3 +81,22 @@ aside.quote {
content: "\f061";
}
}
.quote-button {
display: none;
position: absolute;
background-color: scale-color($primary, $lightness: 50%);
color: $secondary;
padding: 10px;
z-index: 401;
&:before {
font-family: "FontAwesome";
content: "\f10e\00a0\00a0";
}
&:hover {
background-color: scale-color($primary, $lightness: 40%);
cursor: pointer;
}
}

View File

@ -513,20 +513,6 @@ button.expand-post {
margin-top: 10px;
}
.quote-button {
display: none;
position: absolute;
background-color: scale-color($primary, $lightness: 50%);
color: $secondary;
padding: 10px;
z-index: 401;
&:hover {
background-color: scale-color($primary, $lightness: 40%);
cursor: pointer;
}
}
.quote-button.visible {
display: block;
}

View File

@ -334,20 +334,6 @@ span.post-count {
}
}
.quote-button {
display: none;
position: absolute;
background-color: scale-color($primary, $lightness: 50%);
color: $primary;
padding: 10px;
z-index: 401;
&:hover {
background-color: scale-color($primary, $lightness: 50%);
cursor: pointer;
}
}
.quote-button.visible {
display: block;
}