add css3 fade in/out transition to post menus
This commit is contained in:
parent
046c330858
commit
7ff7fe3d3c
|
@ -200,6 +200,7 @@
|
||||||
section.post-menu-area {
|
section.post-menu-area {
|
||||||
.discourse-no-touch & {
|
.discourse-no-touch & {
|
||||||
opacity: 0.2;
|
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 {
|
@mixin visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
|
Loading…
Reference in New Issue