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;
|
|
|
|
}
|
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
/**
|
|
|
|
* TODO: when the old filmstrip has been removed, remove the "new-" prefix.
|
|
|
|
*/
|
|
|
|
.new-toolbox {
|
|
|
|
bottom: calc((#{$newToolbarSize} * 2) * -1);
|
2018-06-12 17:14:21 +00:00
|
|
|
left: 0;
|
2018-03-07 00:28:19 +00:00
|
|
|
position: absolute;
|
2018-06-12 17:14:21 +00:00
|
|
|
right: 0;
|
2018-03-07 00:28:19 +00:00
|
|
|
transition: bottom .3s ease-in;
|
|
|
|
width: 100%;
|
2019-02-20 23:35:19 +00:00
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
|
|
|
|
&.visible {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-14 16:12:08 +00:00
|
|
|
@media (min-width: 581px) {
|
|
|
|
&.shift-right {
|
|
|
|
margin-left: $sidebarWidth;
|
|
|
|
width: calc(100% - #{$sidebarWidth});
|
|
|
|
}
|
2020-03-11 09:45:42 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-content {
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
position: relative;
|
|
|
|
z-index: $toolbarZ;
|
|
|
|
|
|
|
|
.button-group-center,
|
|
|
|
.button-group-left,
|
|
|
|
.button-group-right {
|
|
|
|
display: flex;
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group-center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group-right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button-wth-dialog {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&> div {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button {
|
|
|
|
color: $toolbarButtonColor;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: $newToolbarSize;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-03-11 09:45:42 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
.toolbar-button-with-badge {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.badge-round {
|
|
|
|
bottom: -5px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
min-width: 20px;
|
2019-04-17 13:15:08 +00:00
|
|
|
pointer-events: none;
|
2019-02-20 23:35:19 +00:00
|
|
|
position: absolute;
|
2021-02-23 11:09:22 +00:00
|
|
|
right: -5px;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
.toolbox-content-items {
|
|
|
|
background: #131519;
|
|
|
|
box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.25), 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
|
|
|
|
border-radius: 6px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 6px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
>div {
|
2021-03-11 09:25:49 +00:00
|
|
|
margin-left: 8px;
|
2021-02-23 11:09:22 +00:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
2019-08-30 16:39:06 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-20 23:35:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
.overflow-menu {
|
|
|
|
font-size: 14px;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 8px 0;
|
|
|
|
background-color: $menuBG;
|
|
|
|
|
|
|
|
.profile-text {
|
|
|
|
max-width: 150px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.overflow-menu-item {
|
|
|
|
align-items: center;
|
|
|
|
color: $overflowMenuItemColor;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 8px 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
&:hover {
|
|
|
|
background: $overflowMenuItemBackground;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
&.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
&.disabled {
|
|
|
|
cursor: initial;
|
|
|
|
color: #3b475c;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
&.unclickable:hover {
|
|
|
|
background: inherit;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.beta-tag {
|
|
|
|
background: #36383C;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding: 0 4px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overflow-menu-item-icon {
|
|
|
|
margin-right: 16px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: inline;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
i:hover {
|
|
|
|
background-color: initial;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 24px;
|
|
|
|
max-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: #fff;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.overflow-menu-hr {
|
|
|
|
border-top: 1px solid #4C4D50;
|
|
|
|
border-bottom: 0;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
.toolbox-icon {
|
|
|
|
display: flex;
|
|
|
|
border-radius: 3px;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 24px;
|
|
|
|
height: $newToolbarSize;
|
|
|
|
justify-content: center;
|
|
|
|
width: $newToolbarSize;
|
|
|
|
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
&:hover {
|
|
|
|
background: $newToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.toggled {
|
|
|
|
background: $newToolbarButtonToggleColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
cursor: initial !important;
|
|
|
|
background-color: #36383c !important;
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
svg {
|
|
|
|
fill: #929292 !important;
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
.hangup-button {
|
|
|
|
background-color: $hangupColor;
|
|
|
|
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
&:hover {
|
|
|
|
background-color: $hangupHoverColor;
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
2018-03-07 00:28:19 +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
|
|
|
}
|
2021-02-23 11:09:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Audio and video buttons do not have toggled state.
|
|
|
|
*/
|
|
|
|
.audio-preview,
|
|
|
|
.video-preview {
|
|
|
|
.toolbox-icon.toggled {
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $newToolbarButtonHoverColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|