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;
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-background {
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.no-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-background {
|
|
|
|
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
|
|
|
|
transition: bottom .3s ease-in;
|
|
|
|
height: 160px;
|
|
|
|
width: 100%;
|
|
|
|
bottom: -160px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: $toolbarBackgroundZ;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-content {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 20px 16px;
|
|
|
|
position: relative;
|
2018-03-07 00:28:19 +00:00
|
|
|
width: 100%;
|
2019-02-20 23:35:19 +00:00
|
|
|
z-index: $toolbarZ;
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.button-group-center,
|
|
|
|
.button-group-left,
|
|
|
|
.button-group-right {
|
|
|
|
display: flex;
|
|
|
|
width: 33%;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.button-group-center {
|
|
|
|
justify-content: center;
|
|
|
|
.toolbox-icon {
|
2019-02-21 17:08:19 +00:00
|
|
|
margin: 0px 4px;
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.button-group-right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
i {
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
font-size: inherit;
|
|
|
|
height: 100%;
|
|
|
|
line-height: inherit;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-06-15 18:10:22 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
i:hover {
|
|
|
|
background: $newToolbarButtonHoverColor;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
i.toggled {
|
|
|
|
background: $newToolbarButtonToggleColor;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
i.toggled:hover {
|
|
|
|
background: $newToolbarButtonHoverColor;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.icon-hangup {
|
|
|
|
background-color: #e12d2d;
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: #e54b4b;
|
2018-06-28 13:25:58 +00:00
|
|
|
}
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
|
|
|
i.disabled, .disabled i {
|
|
|
|
cursor: initial;
|
|
|
|
color: #fff;
|
|
|
|
background-color: #a4b8d1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-mic-disabled, .icon-microphone, .icon-camera-disabled, .icon-camera {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #5e6d7a;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 1px solid #d1dbe8;
|
|
|
|
width: 38px;
|
|
|
|
height: 38px;
|
2018-06-28 13:25:58 +00:00
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
&:hover {
|
2019-02-20 23:35:19 +00:00
|
|
|
background-color: #daebfa;
|
|
|
|
border: 1px solid #daebfa;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
&.toggled {
|
|
|
|
background: #2a3a4b;
|
|
|
|
color: #fff;
|
|
|
|
border: 1px solid #5e6d7a;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #5e6d7a;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
2019-02-20 23:35:19 +00:00
|
|
|
|
|
|
|
&.disabled, .disabled & {
|
2018-06-15 18:10:22 +00:00
|
|
|
cursor: initial;
|
2019-02-20 23:35:19 +00:00
|
|
|
color: #fff;
|
|
|
|
background-color: #a4b8d1;
|
2018-06-15 18:10:22 +00:00
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.overflow-menu {
|
|
|
|
font-size: 1.2em;
|
|
|
|
list-style-type: none;
|
2019-02-21 17:27:51 +00:00
|
|
|
background-color: $overflowMenuBG;
|
2019-02-20 23:35:19 +00:00
|
|
|
/**
|
|
|
|
* Undo atlaskit padding by reducing margins.
|
|
|
|
*/
|
2019-02-21 17:27:51 +00:00
|
|
|
margin: -16px -24px;
|
2019-02-20 23:35:19 +00:00
|
|
|
padding: 4px 0;
|
2018-05-21 22:16:38 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.overflow-menu-item {
|
|
|
|
align-items: center;
|
2019-02-21 17:27:51 +00:00
|
|
|
color: $overflowMenuItemColor;
|
2019-02-20 23:35:19 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 5px 12px;
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-02-21 17:27:51 +00:00
|
|
|
background-color: $overflowMenuItemHoverBG;
|
|
|
|
color: $overflowMenuItemHoverColor;
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.unclickable {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
&.unclickable:hover {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
&.disabled {
|
|
|
|
cursor: initial;
|
|
|
|
color: #3b475c;
|
|
|
|
}
|
2019-03-05 14:26:45 +00:00
|
|
|
|
|
|
|
i.toggled {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
i.toggled:hover {
|
|
|
|
background: inherit;
|
|
|
|
}
|
2019-02-20 23:35:19 +00:00
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.beta-tag {
|
2019-02-21 17:27:51 +00:00
|
|
|
background: $overflowMenuItemColor;
|
2019-02-20 23:35:19 +00:00
|
|
|
border-radius: 2px;
|
2019-02-21 17:27:51 +00:00
|
|
|
color: $overflowMenuBG;
|
2019-02-20 23:35:19 +00:00
|
|
|
font-size: 11px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding: 0 6px;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.overflow-menu-item-icon {
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: inline;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
i:hover {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 24px;
|
|
|
|
max-height: 24px;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.profile-text {
|
|
|
|
max-width: 150px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-button {
|
|
|
|
color: $toolbarButtonColor;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: $newToolbarSize;
|
|
|
|
margin: 0 8px;
|
|
|
|
text-align: center;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbar-button-with-badge {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.badge-round {
|
|
|
|
bottom: -5px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
min-width: 20px;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
right: -5px;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-button-wth-dialog {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
|
2019-02-20 23:35:19 +00:00
|
|
|
.toolbox-icon {
|
|
|
|
height: $newToolbarSize;
|
|
|
|
font-size: 24px;
|
|
|
|
width: $newToolbarSize;
|
|
|
|
}
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2019-02-20 23:35:19 +00:00
|
|
|
background-color: $AOTToolbarButtonHoverColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i.toggled {
|
2019-02-20 23:35:19 +00:00
|
|
|
background: $AOTToolbarButtonToggleColor;
|
2018-03-07 00:28:19 +00:00
|
|
|
}
|
|
|
|
|
2018-04-12 21:14:14 +00:00
|
|
|
i.toggled:hover:not(.disabled) {
|
2019-02-20 23:35:19 +00:00
|
|
|
background-color: $AOTToolbarButtonHoverColor;
|
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
|
|
|
/**
|
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
|
|
|
}
|