mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
add css3 fade in/out transition to post menus
This commit is contained in:
parent
046c330858
commit
7ff7fe3d3c
2 changed files with 9 additions and 0 deletions
|
@ -200,6 +200,7 @@
|
|||
section.post-menu-area {
|
||||
.discourse-no-touch & {
|
||||
opacity: 0.2;
|
||||
@include fade-soft(1s);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -160,6 +160,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin fade-soft($time: 1s) {
|
||||
transition: opacity $time ease-in-out;
|
||||
-moz-transition: opacity $time ease-in-out;
|
||||
-webkit-transition: opacity $time ease-in-out;
|
||||
-ms-transition: opacity $time ease-in-out;
|
||||
-o-transition: opacity $time ease-in-out;
|
||||
}
|
||||
|
||||
@mixin visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
|
|
Loading…
Reference in a new issue