2016-07-28 05:50:35 +08:00
|
|
|
@import "../../stylesheets/variables/_all";
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.container {
|
2018-04-10 02:28:54 +08:00
|
|
|
order: 1;
|
2016-05-03 06:42:54 +08:00
|
|
|
flex: 2;
|
2018-04-10 02:28:54 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
align-self: stretch;
|
|
|
|
flex: 3;
|
2017-03-24 05:52:36 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: auto;
|
2018-04-10 02:28:54 +08:00
|
|
|
width: 100%;
|
2018-04-17 21:09:00 +08:00
|
|
|
position: relative;
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2017-05-19 03:58:21 +08:00
|
|
|
order: 1;
|
2018-04-10 02:28:54 +08:00
|
|
|
width: 100%;
|
2018-04-18 01:55:07 +08:00
|
|
|
border: 5px solid transparent;
|
2018-04-18 02:04:16 +08:00
|
|
|
border-top: 0 !important;
|
2018-04-17 21:09:00 +08:00
|
|
|
position: relative;
|
2018-04-12 20:41:49 +08:00
|
|
|
|
|
|
|
@include mq($medium-up) {
|
2018-04-18 01:55:07 +08:00
|
|
|
border: 10px solid transparent;
|
2018-04-12 20:41:49 +08:00
|
|
|
}
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hideOverlay {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.floatingOverlay {
|
2018-10-19 04:37:14 +08:00
|
|
|
--overlay-width: 20vw;
|
|
|
|
--overlay-min-width: 235px;
|
|
|
|
--overlay-max-width: 20vw;
|
|
|
|
--overlay-ratio: calc(16 / 9);
|
|
|
|
|
2018-04-10 02:28:54 +08:00
|
|
|
@include mq($medium-up) {
|
2018-04-12 02:50:14 +08:00
|
|
|
z-index: 1;
|
2018-04-10 02:28:54 +08:00
|
|
|
position: fixed;
|
2018-04-12 20:41:49 +08:00
|
|
|
margin: 0;
|
2018-04-10 02:28:54 +08:00
|
|
|
bottom: .8rem;
|
|
|
|
right: .8rem;
|
2018-10-19 04:37:14 +08:00
|
|
|
width: var(--overlay-width);
|
|
|
|
min-width: var(--overlay-min-width);
|
|
|
|
max-width: var(--overlay-max-width);
|
|
|
|
height: calc(var(--overlay-width) / var(--overlay-ratio));
|
|
|
|
min-height: calc(var(--overlay-min-width) / var(--overlay-ratio));
|
|
|
|
max-height: calc(var(--overlay-max-width) / var(--overlay-ratio));
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|