2016-07-28 05:50:35 +08:00
|
|
|
@import "../../stylesheets/variables/_all";
|
2016-05-03 06:42:54 +08:00
|
|
|
|
2016-05-04 22:48:53 +08:00
|
|
|
$navbar-height: 60px; // TODO: Change to NavBar real height
|
|
|
|
$actionsbar-height: 50px; // TODO: Change to ActionsBar real height
|
2016-12-07 03:17:09 +08:00
|
|
|
$bars-padding: $lg-padding-x - .45rem; // -.45 so user-list and chat title is aligned with the presentation title
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.main {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2016-05-04 04:40:46 +08:00
|
|
|
z-index: 10;
|
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
font-size: 1.5rem;
|
2016-12-07 03:17:09 +08:00
|
|
|
padding: $bars-padding;
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
@extend %full-page;
|
2016-05-03 06:42:54 +08:00
|
|
|
|
2016-05-20 21:37:19 +08:00
|
|
|
background-color: $color-background;
|
2016-12-06 02:21:35 +08:00
|
|
|
padding: 0 .25%;
|
2016-05-20 23:02:57 +08:00
|
|
|
// position: relative;
|
2016-05-20 21:37:19 +08:00
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 50%;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .3s;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&: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%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
@include mq($medium-up) {
|
|
|
|
flex: 5;
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
.userList {
|
|
|
|
@extend %full-page;
|
2017-04-11 03:32:48 +08:00
|
|
|
@extend %text-elipsis;
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
z-index: 2;
|
2016-09-02 04:30:11 +08:00
|
|
|
overflow: visible;
|
2016-05-04 04:40:46 +08:00
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
padding-top: $navbar-height;
|
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
|
|
|
|
@include mq($medium-up) {
|
2016-05-20 21:37:19 +08:00
|
|
|
flex: 0 20vw;
|
2016-05-03 06:42:54 +08:00
|
|
|
order: 1;
|
|
|
|
}
|
2016-05-20 21:37:19 +08:00
|
|
|
|
|
|
|
@include mq($xlarge-up) {
|
|
|
|
flex-basis: 15vw;
|
|
|
|
}
|
2016-05-03 06:42:54 +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
|
|
|
}
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
.chat {
|
|
|
|
@extend %full-page;
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
2016-09-02 04:30:11 +08:00
|
|
|
z-index: 3;
|
2016-05-04 04:40:46 +08:00
|
|
|
padding-top: $navbar-height;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2016-05-04 04:40:46 +08:00
|
|
|
.sidebar {
|
|
|
|
@extend %full-page;
|
|
|
|
z-index: 4;
|
|
|
|
|
|
|
|
@include mq($medium-up) {
|
2016-05-20 21:37:19 +08:00
|
|
|
flex: 0 15vw;
|
2016-05-04 04:40:46 +08:00
|
|
|
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%;
|
|
|
|
order: 2;
|
2016-05-04 04:40:46 +08:00
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
padding-bottom: $actionsbar-height;
|
2017-04-11 03:32:48 +08:00
|
|
|
margin-bottom: $actionsbar-height;
|
|
|
|
position: absolute;
|
2016-05-04 04:40:46 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
|
|
|
|
2016-07-23 08:12:31 +08:00
|
|
|
.closedCaptions {
|
2016-12-21 07:54:39 +08:00
|
|
|
order: 3;
|
|
|
|
flex-basis: 20%;
|
|
|
|
max-width: 20%;
|
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;
|
2016-12-07 03:17:09 +08:00
|
|
|
padding: $bars-padding;
|
2016-05-03 06:42:54 +08:00
|
|
|
position: relative;
|
2016-07-23 08:12:31 +08:00
|
|
|
order: 3;
|
2016-05-04 04:40:46 +08:00
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|