mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
add back ade-soft CSS transition on post actions
This commit is contained in:
parent
118d33798a
commit
e41ae020fa
@ -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;
|
||||
|
@ -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;}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user