2020-09-02 02:46:13 +08:00
|
|
|
@import "../../../stylesheets/variables/breakpoints";
|
2016-07-28 05:50:35 +08:00
|
|
|
|
|
|
|
.contentRatio {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-bottom: calc(100% * 9 / 16);
|
|
|
|
}
|
|
|
|
|
|
|
|
.contentWrapper {
|
|
|
|
flex-basis: 90%;
|
|
|
|
|
2018-10-19 04:37:14 +08:00
|
|
|
@include mq(var(--large-up)) {
|
2016-07-28 05:50:35 +08:00
|
|
|
flex-basis: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.defaultContent {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: var(--line-height-computed);
|
2016-07-28 05:50:35 +08:00
|
|
|
border: 0.25rem dashed;
|
|
|
|
border-radius: 1.5rem;
|
|
|
|
color: rgba(255, 255, 255, .5);
|
|
|
|
text-align: center;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2020-05-12 22:42:34 +08:00
|
|
|
.hideContent {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2016-07-28 05:50:35 +08:00
|
|
|
.appear {
|
|
|
|
opacity: 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
.appearActive {
|
|
|
|
opacity: 1;
|
2019-03-05 10:46:37 +08:00
|
|
|
|
2019-04-11 23:04:10 +08:00
|
|
|
:global(.animationsEnabled) & {
|
2019-03-05 10:46:37 +08:00
|
|
|
transition: opacity 700ms ease-in;
|
|
|
|
}
|
2016-07-28 05:50:35 +08:00
|
|
|
}
|