add back ade-soft CSS transition on post actions

This commit is contained in:
Jeff Atwood 2014-12-23 02:16:57 -08:00
parent 118d33798a
commit e41ae020fa
2 changed files with 8 additions and 1 deletions

View File

@ -82,6 +82,13 @@
}
}
@mixin fade-soft($time: 1s) {
-webkit-transition: opacity $time ease-in-out;
-ms-transition: opacity $time ease-in-out;
transition: opacity $time ease-in-out;
}
@mixin visible {
opacity: 1;
visibility: visible;

View File

@ -51,7 +51,7 @@ h1 .topic-statuses .topic-status i {
div.actions, .post-actions {
.discourse-no-touch & {
opacity: 0.2;
@include transition(opacity linear 0.4s);
@include fade-soft(1s);
}
.discourse-touch & {opacity: 1;}
}