2017-02-16 23:02:40 +00:00
|
|
|
/**
|
|
|
|
* Round badge.
|
|
|
|
*/
|
|
|
|
.badge-round {
|
|
|
|
background-color: $toolbarBadgeBackground;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: $toolbarBadgeColor;
|
|
|
|
// Do not inherit the font-family from the toolbar button, because it's an
|
|
|
|
// icon style.
|
|
|
|
font-family: $baseFontFamily;
|
|
|
|
font-size: 9px;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 13px;
|
|
|
|
min-width: 13px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-container {
|
2016-09-08 17:19:15 +00:00
|
|
|
display: block;
|
2017-02-16 23:02:40 +00:00
|
|
|
left:0;
|
|
|
|
min-height: 100px;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
2016-09-08 17:19:15 +00:00
|
|
|
position: absolute;
|
2017-02-16 23:02:40 +00:00
|
|
|
right:0;
|
2016-09-08 17:19:15 +00:00
|
|
|
text-align: center;
|
|
|
|
top:0;
|
2016-09-13 04:10:18 +00:00
|
|
|
z-index: $toolbarZ;
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
/**
|
2017-04-06 18:43:36 +00:00
|
|
|
* Common toolbar styles.
|
|
|
|
*/
|
2017-02-16 23:02:40 +00:00
|
|
|
.toolbar {
|
2017-07-21 19:45:04 +00:00
|
|
|
color: $modalTextColor;
|
2017-02-16 23:02:40 +00:00
|
|
|
height: 100%;
|
|
|
|
pointer-events: auto;
|
2016-09-08 17:19:15 +00:00
|
|
|
position: relative;
|
2017-02-16 23:02:40 +00:00
|
|
|
z-index: $toolbarZ;
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2017-08-09 19:40:03 +00:00
|
|
|
/**
|
|
|
|
* Ensure nested elements that don't have a button class, maybe because they
|
|
|
|
* are wrapped in a React Element, still display in a line.
|
|
|
|
*/
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
/**
|
2017-07-21 19:45:04 +00:00
|
|
|
* Toolbar button styles.
|
2017-02-16 23:02:40 +00:00
|
|
|
*/
|
2017-07-21 19:45:04 +00:00
|
|
|
.button {
|
|
|
|
color: $toolbarButtonColor;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: $zindex1;
|
2017-02-16 23:02:40 +00:00
|
|
|
display: inline-block;
|
2017-07-21 19:45:04 +00:00
|
|
|
font-size: $toolbarFontSize;
|
|
|
|
height: $defaultToolbarSize;
|
|
|
|
line-height: $defaultToolbarSize;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
top:0px;
|
2017-02-16 23:02:40 +00:00
|
|
|
vertical-align: middle;
|
2017-07-21 19:45:04 +00:00
|
|
|
width: $defaultToolbarSize;
|
|
|
|
|
|
|
|
&_hangup {
|
|
|
|
color: $hangupColor;
|
|
|
|
font-size: $hangupFontSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.toggled) {
|
|
|
|
&:hover, &:active {
|
|
|
|
// sum opacity with background layer should give us 0.8
|
|
|
|
background: $toolbarSelectBackground;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.toggled {
|
|
|
|
background: $toolbarToggleBackground;
|
|
|
|
|
|
|
|
&.icon-camera {
|
|
|
|
@extend .icon-camera-disabled;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.icon-full-screen {
|
|
|
|
@extend .icon-exit-full-screen;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.icon-microphone {
|
|
|
|
@extend .icon-mic-disabled;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&:hover, &:active, &.selected {
|
|
|
|
background: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
2016-11-03 18:47:15 +00:00
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
/**
|
2017-04-06 18:43:36 +00:00
|
|
|
* Primary toolbar styles.
|
|
|
|
*/
|
2017-02-16 23:02:40 +00:00
|
|
|
&_primary {
|
2017-07-21 19:45:04 +00:00
|
|
|
background-color: $toolbarBackground;
|
2017-02-16 23:02:40 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 30px;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
height: $defaultToolbarSize;
|
|
|
|
border-radius: 3px;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
@include transform(translateX(-50%));
|
|
|
|
|
2017-08-15 23:52:42 +00:00
|
|
|
> div:first-child .button {
|
2017-02-16 23:02:40 +00:00
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
}
|
2017-08-15 23:52:42 +00:00
|
|
|
> div:last-child .button {
|
2017-02-16 23:02:40 +00:00
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
&_primary a.button:last-child::after {
|
|
|
|
content: none;
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
/**
|
2017-04-06 18:43:36 +00:00
|
|
|
* Secondary toolbar styles.
|
|
|
|
*/
|
2017-02-16 23:02:40 +00:00
|
|
|
&_secondary {
|
2017-07-21 19:45:04 +00:00
|
|
|
background-color: $secondaryToolbarBg;
|
2017-02-16 23:02:40 +00:00
|
|
|
position: absolute;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: flex-start;
|
|
|
|
left: 0;
|
|
|
|
padding-top: 10px;
|
|
|
|
top: 0;
|
|
|
|
transform: translateX(-100%);
|
|
|
|
width: $defaultToolbarSize;
|
|
|
|
-webkit-transform: translateX(-100%);
|
|
|
|
|
2017-07-21 19:45:04 +00:00
|
|
|
.button {
|
|
|
|
font-size: $secToolbarFontSize;
|
|
|
|
height: $secToolbarLineHeight;
|
|
|
|
line-height: $secToolbarLineHeight;
|
|
|
|
}
|
|
|
|
|
2017-04-05 15:14:26 +00:00
|
|
|
.button.toggled:not(.icon-raised-hand):not(.button-active) {
|
2017-07-21 19:45:04 +00:00
|
|
|
background: $secondaryToolbarBg;
|
2017-02-16 23:02:40 +00:00
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&:hover, &:active, &.selected {
|
|
|
|
background: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2017-04-06 18:43:36 +00:00
|
|
|
/**
|
|
|
|
* Styles the toolbar in filmstrip-only mode.
|
|
|
|
*/
|
|
|
|
&_filmstrip-only {
|
2017-08-02 16:46:03 +00:00
|
|
|
background-color: $toolbarBackground;
|
2017-04-06 18:43:36 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
display: inline-block;
|
|
|
|
height: auto;
|
2017-06-04 03:12:04 +00:00
|
|
|
width: $defaultFilmStripOnlyToolbarSize;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
height: 37px;
|
|
|
|
line-height: 37px !important;
|
|
|
|
width: 37px;
|
|
|
|
}
|
2017-04-06 18:43:36 +00:00
|
|
|
|
|
|
|
.button:first-child {
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
}
|
|
|
|
.button:last-child {
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
/**
|
|
|
|
* Toolbar specific round badge.
|
|
|
|
*/
|
|
|
|
.badge-round {
|
|
|
|
bottom: 9px;
|
|
|
|
position: absolute;
|
|
|
|
right: 9px;
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
2017-07-06 02:07:00 +00:00
|
|
|
.filmstrip-only {
|
|
|
|
.toolbox,
|
|
|
|
.toolbox-toolbars {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
.subject {
|
|
|
|
background: linear-gradient(to bottom, rgba(255,255,255,.85) , rgba(255,255,255,.35));
|
|
|
|
border-bottom-left-radius: 12px;
|
|
|
|
border-bottom-right-radius: 12px;
|
|
|
|
box-shadow: 0 0 2px #000000, 0 0 10px #000000;
|
|
|
|
margin-left: 40%;
|
|
|
|
margin-right: 40%;
|
|
|
|
padding: 5px;
|
2016-09-08 17:19:15 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2017-02-16 23:02:40 +00:00
|
|
|
width: auto;
|
|
|
|
z-index: $zindex3;
|
2016-09-26 20:40:56 +00:00
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
&.subject_slide-in {
|
|
|
|
top: 80px;
|
|
|
|
@include transition(top .3s ease-in);
|
|
|
|
}
|
2016-09-13 23:19:38 +00:00
|
|
|
|
2017-02-16 23:02:40 +00:00
|
|
|
&.subject_slide-out {
|
|
|
|
top: 0;
|
|
|
|
@include transition(top .3s ease-out);
|
|
|
|
}
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
2017-07-21 19:45:04 +00:00
|
|
|
#toolbar_button_profile {
|
|
|
|
height: $toolbarAvatarSize + 2*$toolbarAvatarPadding;
|
|
|
|
}
|
|
|
|
|
2016-09-08 17:19:15 +00:00
|
|
|
a.button>#avatar {
|
|
|
|
border-radius: 50%;
|
2017-07-21 19:45:04 +00:00
|
|
|
padding-bottom: $toolbarAvatarPadding;
|
|
|
|
padding-top: $toolbarAvatarPadding;
|
|
|
|
width: $toolbarAvatarSize;
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#feedbackButton {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in animation for extended toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInX) {
|
2016-09-10 02:26:29 +00:00
|
|
|
0% { transform: translateX(-100%); }
|
|
|
|
100% { transform: translateX(0%); }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideInX {
|
|
|
|
@include animation('slideInX .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutX) {
|
2016-09-10 02:26:29 +00:00
|
|
|
0% { transform: translateX(0%); }
|
|
|
|
100% { transform: translateX(-100%); }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutX {
|
|
|
|
@include animation('slideOutX .5s forwards');
|
|
|
|
}
|
2016-09-10 02:26:29 +00:00
|
|
|
|
|
|
|
@include keyframes(slideInExtX) {
|
|
|
|
0% { transform: translateX(-500%); }
|
|
|
|
100% { transform: translateX(0%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInExtX {
|
|
|
|
@include animation('slideInExtX .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutExtX) {
|
|
|
|
0% { transform: translateX(0%); }
|
|
|
|
100% { transform: translateX(-500%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutExtX {
|
|
|
|
@include animation('slideOutExtX .5s forwards');
|
|
|
|
}
|
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* END of slide out animation for extended toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in / out animation for main toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInY) {
|
|
|
|
100% { transform: translateY(0%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInY {
|
|
|
|
@include animation('slideInY .5s forwards');
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutY) {
|
|
|
|
0% { transform: translateY(0%); }
|
|
|
|
100% { transform: translateY(-100%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutY {
|
|
|
|
@include animation('slideOutY .5s forwards');
|
|
|
|
}
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* END of slide in / out animation for main toolbar.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
|
|
|
* START of slide in animation for extended toolbar panel.
|
|
|
|
*/
|
2016-09-08 17:19:15 +00:00
|
|
|
@include keyframes(slideInExt) {
|
2016-09-10 02:26:29 +00:00
|
|
|
from { width: 0px; }
|
2016-11-10 16:48:34 +00:00
|
|
|
to { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideInExt {
|
|
|
|
@include animation("slideInExt .5s forwards");
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(slideOutExt) {
|
2016-11-10 16:48:34 +00:00
|
|
|
from { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
|
2016-09-10 02:26:29 +00:00
|
|
|
to { width: 0px; }
|
2016-09-08 17:19:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutExt {
|
|
|
|
@include animation("slideOutExt .5s forwards");
|
2016-09-08 22:34:16 +00:00
|
|
|
}
|
2016-09-13 23:19:38 +00:00
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
/**
|
2016-10-25 11:55:43 +00:00
|
|
|
* START of fade in animation for main toolbar
|
2016-09-13 23:19:38 +00:00
|
|
|
*/
|
2016-10-25 11:55:43 +00:00
|
|
|
.fadeIn {
|
2017-02-16 23:02:40 +00:00
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
@include transition(all .3s ease-in);
|
2016-10-25 11:55:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fadeOut {
|
2017-02-16 23:02:40 +00:00
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
@include transition(all .3s ease-out);
|
2016-10-28 17:39:25 +00:00
|
|
|
}
|