[Frontend] Add optional delay parameter to dialog service

Issue #1168
This commit is contained in:
David Hudson
2016-09-13 16:36:25 +09:00
parent ea35395d7e
commit 2740b6f957
5 changed files with 16 additions and 10 deletions

View File

@@ -62,6 +62,9 @@ $ueDesktopMinW: 600px;
$ovrTopBarH: 45px;
$ovrFooterH: 24px;
$overlayMargin: 25px;
/*************** Progress Overlay */
$durEntryMs: 100ms;
$delayEntryMs: 100ms;
/*************** Items */
$ueBrowseGridItemLg: 200px;
$ueBrowseGridItemTopBarH: 20px;

View File

@@ -22,15 +22,14 @@
.overlay {
font-size: 90%;
z-index: 5;
@include keyframes(fadeInFromNone) {
0% { display: none; opacity: 0; }
1% { display: block; opacity: 0; }
95% { display: block; opacity: 0; }
100% { display: block; opacity: 1; }
&.delayEntry100ms {
@include keyframes(fadeInFromNone) {
0% { display: none; opacity: 0; }
100% { display: block; opacity: 1; }
}
@include animation-delay($delayEntryMs);
@include animation(fadeInFromNone $durEntryMs ease-in);
}
@include animation(fadeInFromNone 100ms ease-in);
.blocker {
background: $colorOvrBlocker;
z-index: 100;