FIX: Reply as New Topic was not fading in properly

This commit is contained in:
Robin Ward 2016-02-09 14:23:12 -05:00
parent 0b84426a3a
commit eeafa67984
1 changed files with 15 additions and 14 deletions

View File

@ -34,16 +34,6 @@ h1 .topic-statuses .topic-status i {
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
} }
.gutter {
.reply-new {
.discourse-no-touch & {
opacity:0;
transition: opacity 0.7s ease-in-out;
}
.discourse-touch & {opacity: 1;}
}
}
.actions .fade-out { .actions .fade-out {
.discourse-no-touch & { .discourse-no-touch & {
opacity: 0.7; opacity: 0.7;
@ -55,14 +45,25 @@ h1 .topic-statuses .topic-status i {
&:hover .actions .fade-out, .selected .actions .fade-out { &:hover .actions .fade-out, .selected .actions .fade-out {
opacity: 1; opacity: 1;
} }
}
&:hover .gutter, .selected .gutter { .topic-post {
.reply-new, .gutter {
.track-link { .reply-new {
opacity:1; .discourse-no-touch & {
opacity:0;
transition: opacity 0.7s ease-in-out;
} }
.discourse-touch & {opacity: 1;}
}
} }
&:hover .gutter, .selected .gutter {
.reply-new,
.track-link {
opacity:1;
}
}
} }
section.post-menu-area { section.post-menu-area {