2015-04-25 06:43:14 +08:00
|
|
|
@import "ui-variables";
|
|
|
|
|
|
|
|
@duration: 1s;
|
|
|
|
|
|
|
|
.empty-state {
|
|
|
|
position:absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
overflow:hidden;
|
|
|
|
|
|
|
|
> div {
|
2015-06-18 04:14:45 +08:00
|
|
|
opacity: 0;
|
2016-03-26 00:54:11 +08:00
|
|
|
transition: opacity @duration ease-in;
|
2016-03-26 01:56:49 +08:00
|
|
|
width: 100%;
|
2015-04-25 06:43:14 +08:00
|
|
|
height: 100%;
|
2015-06-18 04:14:45 +08:00
|
|
|
}
|
|
|
|
|
2016-03-26 00:54:11 +08:00
|
|
|
.perspective-empty-state {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-06-18 04:14:45 +08:00
|
|
|
|
2016-03-26 00:54:11 +08:00
|
|
|
img {
|
|
|
|
background-color: @text-color-subtle;
|
|
|
|
}
|
2015-06-18 04:14:45 +08:00
|
|
|
.message {
|
|
|
|
color: @text-color-very-subtle;
|
2016-03-26 08:49:06 +08:00
|
|
|
margin-top: 1em;
|
2016-03-26 00:54:11 +08:00
|
|
|
font-size: 2em;
|
|
|
|
font-weight: @font-weight-thin;
|
2015-06-18 04:14:45 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-26 00:54:11 +08:00
|
|
|
.inbox-zero-animation {
|
|
|
|
// The animation inside the iframe already contains a fade effect, so we
|
|
|
|
// don't want to animate opacity for this component
|
|
|
|
opacity: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-06-18 04:14:45 +08:00
|
|
|
|
2016-03-26 00:54:11 +08:00
|
|
|
.animation-wrapper {
|
2015-04-25 06:43:14 +08:00
|
|
|
text-align: center;
|
2016-03-26 00:54:11 +08:00
|
|
|
transform: scale(0.8);
|
|
|
|
transition: transform 100ms ease-in;
|
2015-04-25 06:43:14 +08:00
|
|
|
|
2016-03-26 00:54:11 +08:00
|
|
|
iframe {
|
|
|
|
width: 600px;
|
2016-03-26 03:21:12 +08:00
|
|
|
height: 500px;
|
2016-03-26 00:54:11 +08:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.message {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity @duration ease-in;
|
|
|
|
font-size: 3.5em;
|
|
|
|
color: @text-color-subtle;
|
|
|
|
font-weight: @font-weight-thin;
|
2015-04-25 06:43:14 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
> div {
|
2016-03-26 00:54:11 +08:00
|
|
|
opacity: 1;
|
2015-04-25 06:43:14 +08:00
|
|
|
|
|
|
|
.message {
|
2016-03-26 00:54:11 +08:00
|
|
|
opacity: 1 !important;
|
2015-04-25 06:43:14 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-06-18 04:14:45 +08:00
|
|
|
}
|