2017-07-18 02:21:45 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/_all";
|
2018-12-11 19:46:42 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/general";
|
|
|
|
@import "/imports/ui/stylesheets/variables/palette";
|
|
|
|
@import "/imports/ui/stylesheets/variables/typography";
|
2019-04-08 22:22:22 +08:00
|
|
|
@import '/imports/ui/stylesheets/mixins/_indicators';
|
2016-05-03 06:42:54 +08:00
|
|
|
|
2018-10-19 04:37:14 +08:00
|
|
|
:root {
|
2019-11-26 03:24:12 +08:00
|
|
|
--navbar-height: 3.9375rem; // TODO: Change to NavBar real height
|
2018-10-19 04:37:14 +08:00
|
|
|
--actionsbar-height: 75px; // TODO: Change to ActionsBar real height
|
|
|
|
--bars-padding: calc(var(--lg-padding-x) - .45rem); // -.45 so user-list and chat title is aligned with the presentation title
|
|
|
|
--userlist-handle-width: 5px; // 5px so user-list and chat resize handle render as the same size
|
2018-10-26 09:40:15 +08:00
|
|
|
--poll-pane-min-width: 20em;
|
2019-01-05 02:29:41 +08:00
|
|
|
--panel-margin-left: 0.1em;
|
2018-10-19 04:37:14 +08:00
|
|
|
}
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.main {
|
2018-12-17 17:13:57 +08:00
|
|
|
position: relative;
|
2016-05-03 06:42:54 +08:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
font-size: 1.5rem;
|
2019-11-15 04:20:02 +08:00
|
|
|
padding: var(--bars-padding) var(--bars-padding) 0 var(--bars-padding);
|
2019-11-29 23:19:48 +08:00
|
|
|
height: 7rem;
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wrapper {
|
2017-04-11 03:40:41 +08:00
|
|
|
position: relative;
|
2016-05-04 04:40:46 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
2016-06-02 05:59:10 +08:00
|
|
|
overflow: hidden;
|
2016-05-03 06:42:54 +08:00
|
|
|
|
|
|
|
@include mq($medium-up) {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
%full-page {
|
|
|
|
position: absolute;
|
2016-05-03 06:42:54 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-05-04 04:40:46 +08:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mq($medium-up) {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-09 23:59:16 +08:00
|
|
|
.content, .noPanelContent {
|
2016-05-04 04:40:46 +08:00
|
|
|
@extend %full-page;
|
2018-02-23 03:56:21 +08:00
|
|
|
order: 3;
|
2016-05-20 21:37:19 +08:00
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 50%;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
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 .3s;
|
|
|
|
}
|
2016-05-20 21:37:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: 0;
|
|
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, .45) -20%, transparent 20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
bottom: 0;
|
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, .45) -20%, transparent 20%);
|
|
|
|
}
|
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
@include mq($medium-up) {
|
|
|
|
flex: 5;
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-09 23:59:16 +08:00
|
|
|
.content{
|
2019-05-14 21:15:54 +08:00
|
|
|
margin:0 0 0 var(--panel-margin-left);
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
margin:0 var(--panel-margin-left) 0 0;
|
|
|
|
}
|
2019-01-09 23:59:16 +08:00
|
|
|
}
|
2018-04-29 09:59:45 +08:00
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
.userList {
|
|
|
|
@extend %full-page;
|
2017-04-11 03:32:48 +08:00
|
|
|
@extend %text-elipsis;
|
2019-04-08 22:22:22 +08:00
|
|
|
@include highContrastOutline();
|
|
|
|
outline-style: solid;
|
2020-02-24 23:20:05 +08:00
|
|
|
z-index: 3;
|
2019-01-05 02:29:41 +08:00
|
|
|
overflow: visible;
|
2018-02-23 03:56:21 +08:00
|
|
|
order: 1;
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
@include mq($small-only) {
|
2018-10-19 04:37:14 +08:00
|
|
|
top: var(--navbar-height);
|
2016-05-04 04:40:46 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
|
|
|
|
@include mq($medium-up) {
|
2017-07-18 21:55:19 +08:00
|
|
|
flex: 0 15vw;
|
2016-05-03 06:42:54 +08:00
|
|
|
order: 1;
|
2019-06-18 02:31:30 +08:00
|
|
|
height: 100vh;
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
2016-05-20 21:37:19 +08:00
|
|
|
|
|
|
|
@include mq($xlarge-up) {
|
2017-07-18 21:55:19 +08:00
|
|
|
flex-basis: 10vw;
|
2019-06-18 02:31:30 +08:00
|
|
|
height: 100vh;
|
2016-05-20 21:37:19 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
|
|
|
|
2018-04-29 01:53:20 +08:00
|
|
|
.userlistPad {
|
2018-10-19 04:37:14 +08:00
|
|
|
background-color: var(--color-off-white);
|
|
|
|
width: var(--userlist-handle-width);
|
2018-04-29 01:53:20 +08:00
|
|
|
}
|
|
|
|
|
2016-09-13 04:12:20 +08:00
|
|
|
.compact {
|
2016-08-26 01:50:37 +08:00
|
|
|
flex-basis: 4.6rem;
|
2016-08-25 02:56:06 +08:00
|
|
|
}
|
|
|
|
|
2018-11-03 05:25:40 +08:00
|
|
|
.poll,
|
2018-10-02 21:48:12 +08:00
|
|
|
.breakoutRoom,
|
2018-12-13 04:10:27 +08:00
|
|
|
.note,
|
2019-05-17 04:11:10 +08:00
|
|
|
.captions,
|
2016-05-04 04:40:46 +08:00
|
|
|
.chat {
|
|
|
|
@extend %full-page;
|
2019-04-08 22:22:22 +08:00
|
|
|
@include highContrastOutline();
|
|
|
|
outline-style: solid;
|
2018-02-23 03:56:21 +08:00
|
|
|
order: 2;
|
2018-07-05 01:12:08 +08:00
|
|
|
height: 100%;
|
2016-05-04 04:40:46 +08:00
|
|
|
@include mq($small-only) {
|
2020-02-24 23:20:05 +08:00
|
|
|
z-index: 4;
|
2018-07-05 01:12:08 +08:00
|
|
|
height: auto;
|
2018-10-19 04:37:14 +08:00
|
|
|
top: var(--navbar-height);
|
2018-07-19 01:42:02 +08:00
|
|
|
overflow: visible;
|
2016-05-04 04:40:46 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
|
|
|
|
@include mq($medium-up) {
|
2016-06-02 00:33:19 +08:00
|
|
|
flex: 0 25vw;
|
2016-05-03 06:42:54 +08:00
|
|
|
order: 1;
|
|
|
|
}
|
2016-05-20 21:37:19 +08:00
|
|
|
|
|
|
|
@include mq($xlarge-up) {
|
2016-06-02 00:33:19 +08:00
|
|
|
flex-basis: 20vw;
|
2016-05-20 21:37:19 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
|
|
|
|
2018-09-15 01:50:18 +08:00
|
|
|
.poll {
|
2018-10-26 01:25:26 +08:00
|
|
|
background-color: var(--color-white);
|
2018-10-26 09:40:15 +08:00
|
|
|
min-width: var(--poll-pane-min-width);
|
2018-10-26 01:25:26 +08:00
|
|
|
padding: 1rem;
|
2018-09-15 01:50:18 +08:00
|
|
|
}
|
|
|
|
|
2018-10-02 21:48:12 +08:00
|
|
|
.breakoutRoom {
|
|
|
|
height: 100%;
|
|
|
|
width: 20vw;
|
2018-10-26 23:16:29 +08:00
|
|
|
background-color: var(--color-white);
|
2018-10-24 01:18:09 +08:00
|
|
|
@include mq($small-only) {
|
|
|
|
width: auto;
|
2019-09-18 03:36:39 +08:00
|
|
|
height: auto;
|
2018-10-24 01:18:09 +08:00
|
|
|
}
|
2018-10-02 21:48:12 +08:00
|
|
|
}
|
|
|
|
|
2017-05-16 05:45:44 +08:00
|
|
|
.sidebar {
|
|
|
|
@extend %full-page;
|
|
|
|
z-index: 4;
|
|
|
|
|
|
|
|
@include mq($medium-up) {
|
|
|
|
flex: 0 15vw;
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.media {
|
2016-05-04 04:40:46 +08:00
|
|
|
@extend %full-page;
|
2017-04-11 03:32:48 +08:00
|
|
|
flex: 1 100%;
|
2017-05-19 04:03:35 +08:00
|
|
|
order: 2;
|
2017-05-13 03:17:08 +08:00
|
|
|
flex-direction: row;
|
|
|
|
position: relative;
|
2019-05-14 21:15:54 +08:00
|
|
|
margin: 0 0 0 var(--panel-margin-right);
|
2019-07-11 21:49:06 +08:00
|
|
|
overflow: hidden;
|
2020-03-07 02:31:54 +08:00
|
|
|
z-index: 0;
|
2019-05-14 21:15:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
margin: 0 var(--panel-margin-right) 0 0;
|
|
|
|
}
|
|
|
|
|
2017-05-13 03:17:08 +08:00
|
|
|
@include mq($portrait) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-17 04:11:10 +08:00
|
|
|
.captionsWrapper {
|
|
|
|
position: absolute;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
bottom: 100px;
|
|
|
|
left: 20%;
|
|
|
|
z-index: 2;
|
2016-07-23 08:12:31 +08:00
|
|
|
}
|
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.actionsbar {
|
2017-04-11 03:32:48 +08:00
|
|
|
flex: 1;
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: var(--bars-padding);
|
2016-05-03 06:42:54 +08:00
|
|
|
position: relative;
|
2016-07-23 08:12:31 +08:00
|
|
|
order: 3;
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|