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-28 17:43:11 +00:00
|
|
|
.use-new-toolbox {
|
|
|
|
.cxGWJB{
|
2018-04-05 20:54:11 +00:00
|
|
|
bottom: calc(#{$newToolbarSizeWithPadding});
|
2018-03-28 17:43:11 +00:00
|
|
|
}
|
|
|
|
.gXSEsl:nth-child(n+2) {
|
2018-04-05 20:54:11 +00:00
|
|
|
transform: translateX(0) translateY(100%) translateY(16px);
|
|
|
|
-ms-transform: translateX(0) translateY(100%) translateY(16px);
|
|
|
|
-webkit-transform: translateX(0) translateY(100%) translateY(16px);
|
2018-03-28 17:43:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
/**
|
|
|
|
* TODO: when the old filmstrip has been removed, remove the "new-" prefix.
|
|
|
|
*/
|
|
|
|
.new-toolbox {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarBackgroundColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
bottom: calc((#{$newToolbarSize} * 2) * -1);
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-06-12 17:14:21 +00:00
|
|
|
left: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-05-04 20:10:48 +00:00
|
|
|
padding: 12px 8px;
|
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%;
|
|
|
|
z-index: $toolbarZ;
|
|
|
|
|
|
|
|
&.visible {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
2018-04-05 20:54:11 +00:00
|
|
|
font-size: inherit;
|
2018-03-07 00:28:19 +00:00
|
|
|
height: 100%;
|
|
|
|
line-height: inherit;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
i:hover {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i.toggled {
|
2018-03-27 22:30:04 +00:00
|
|
|
background: $newToolbarButtonToggleColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i.toggled:hover {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i.disabled {
|
|
|
|
cursor: initial
|
|
|
|
}
|
|
|
|
|
|
|
|
i.disabled:hover {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-hangup {
|
|
|
|
color: $hangupColor;
|
2018-05-04 20:10:48 +00:00
|
|
|
font-size: $newToolbarHangupFontSize;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.overflow-menu {
|
|
|
|
font-size: 1.2em;
|
|
|
|
list-style-type: none;
|
|
|
|
/**
|
|
|
|
* Undo atlaskit padding by reducing margins.
|
|
|
|
*/
|
|
|
|
margin: -15px -24px;
|
2018-04-16 21:17:03 +00:00
|
|
|
padding: 4px 0;
|
2018-03-07 00:28:19 +00:00
|
|
|
|
|
|
|
.overflow-menu-item {
|
|
|
|
align-items: center;
|
2018-04-05 20:54:11 +00:00
|
|
|
color: #B8C7E0;
|
2018-03-07 00:28:19 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
2018-04-05 20:54:11 +00:00
|
|
|
font-size: 14px;
|
2018-04-16 21:17:03 +00:00
|
|
|
height: 22px;
|
2018-04-05 20:54:11 +00:00
|
|
|
padding: 5px 12px;
|
2018-03-07 00:28:19 +00:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-05 20:54:11 +00:00
|
|
|
background: #313D52;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
&.unclickable:hover {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:16:38 +00:00
|
|
|
.beta-tag {
|
|
|
|
background: #B8C7E0;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: $newToolbarBackgroundColor;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, $baseFontFamily;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
.overflow-menu-item-icon {
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: inline;
|
2018-04-05 20:54:11 +00:00
|
|
|
font-size: 24px;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i:hover {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2018-04-05 20:54:11 +00:00
|
|
|
max-width: 24px;
|
|
|
|
max-height: 24px;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-text {
|
|
|
|
max-width: 150px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button {
|
|
|
|
color: $toolbarButtonColor;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: $newToolbarSize;
|
2018-04-16 21:17:03 +00:00
|
|
|
margin: 0 4px;
|
2018-03-07 00:28:19 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-button-with-badge {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.badge-round {
|
2018-04-17 16:12:10 +00:00
|
|
|
bottom: -5px;
|
2018-04-05 20:54:11 +00:00
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
min-width: 20px;
|
2018-04-17 16:12:10 +00:00
|
|
|
pointer-events: none;
|
2018-03-07 00:28:19 +00:00
|
|
|
position: absolute;
|
2018-04-17 16:12:10 +00:00
|
|
|
right: -5px;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button-wth-dialog {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-icon {
|
|
|
|
height: $newToolbarSize;
|
2018-04-16 21:17:03 +00:00
|
|
|
font-size: 24px;
|
2018-03-07 00:28:19 +00:00
|
|
|
width: $newToolbarSize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-12 21:14:14 +00:00
|
|
|
.always-on-top-toolbox,
|
2018-03-07 00:28:19 +00:00
|
|
|
.filmstrip-toolbox {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarBackgroundColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
z-index: $toolbarZ;
|
|
|
|
|
|
|
|
i {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
i:hover {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i.toggled {
|
2018-03-27 22:30:04 +00:00
|
|
|
background: $newToolbarButtonToggleColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-12 21:14:14 +00:00
|
|
|
i.toggled:hover:not(.disabled) {
|
2018-03-27 22:30:04 +00:00
|
|
|
background-color: $newToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-hangup {
|
|
|
|
color: $hangupColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button {
|
|
|
|
color: $toolbarButtonColor;
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
border-radius: 3px;
|
2018-04-12 21:14:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.always-on-top-toolbox {
|
|
|
|
flex-direction: row;
|
|
|
|
left: 50%;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
z-index: $toolbarZ;
|
|
|
|
|
|
|
|
i {
|
2018-05-04 20:10:48 +00:00
|
|
|
font-size: $newToolbarFontSize;
|
|
|
|
height: $newToolbarSize;
|
|
|
|
line-height: $newToolbarSize;
|
|
|
|
width: $newToolbarSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-hangup {
|
|
|
|
font-size: $newToolbarHangupFontSize;
|
2018-04-12 21:14:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
cursor: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button:first-child i {
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button:last-child i {
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filmstrip-toolbox {
|
|
|
|
i {
|
|
|
|
font-size: 1.9em;
|
|
|
|
height: 37px;
|
|
|
|
line-height: 37px;
|
|
|
|
width: 37px;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
|
|
|
.toolbox-button:first-child i {
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbox-button:last-child i {
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|