2021-02-23 07:39:20 +00:00
|
|
|
/**
|
|
|
|
* Mixins that mimic the way Atlaskit fills the screen with modals at low screen widths.
|
|
|
|
*/
|
|
|
|
@mixin full-size-modal-positioner() {
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin full-size-modal-dialog() {
|
|
|
|
height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2018-06-22 22:12:23 +00:00
|
|
|
/**
|
2019-01-02 17:41:47 +00:00
|
|
|
* Move the @atlaskit/flag container up a little bit so it does not cover the
|
|
|
|
* toolbar with the first notification.
|
2018-06-22 22:12:23 +00:00
|
|
|
*/
|
2021-01-14 16:12:08 +00:00
|
|
|
.atlaskit-portal > #notifications-container {
|
2018-06-22 22:12:23 +00:00
|
|
|
bottom: calc(#{$newToolbarSizeWithPadding}) !important;
|
|
|
|
}
|
2019-01-02 17:41:47 +00:00
|
|
|
|
2018-09-05 21:04:11 +00:00
|
|
|
.modal-dialog-form {
|
|
|
|
/**
|
2018-12-20 04:41:25 +00:00
|
|
|
* Override @atlaskit/dropdown-menu styling when in a modal because the
|
|
|
|
* dropdown backgrounds clash with the modal backgrounds.
|
2018-09-05 21:04:11 +00:00
|
|
|
*/
|
2021-01-14 16:12:08 +00:00
|
|
|
.dropdown-menu div[style*="transform"] {
|
|
|
|
outline: 1px solid #455166;
|
2018-09-05 21:04:11 +00:00
|
|
|
}
|
2021-06-10 12:48:44 +00:00
|
|
|
.dropdown-menu button:not(:active):not(:hover) > span {
|
|
|
|
color: #B8C7E0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Override @atlaskit/tab styling when in a modal because the
|
|
|
|
* tab text color clash with the modal backgrounds.
|
|
|
|
*/
|
|
|
|
div[role="tablist"] > div:not([data-selected]):not(:hover),
|
|
|
|
label > div > span {
|
|
|
|
color: #B8C7E0 !important;
|
|
|
|
}
|
2018-09-05 21:46:28 +00:00
|
|
|
}
|
2019-01-02 17:22:47 +00:00
|
|
|
|
|
|
|
/**
|
2021-01-14 16:12:08 +00:00
|
|
|
* Override @atlaskit/modal-dialog header styling
|
2019-01-02 17:22:47 +00:00
|
|
|
*/
|
2021-01-14 16:12:08 +00:00
|
|
|
.atlaskit-portal [role="dialog"] header {
|
2021-05-06 16:38:08 +00:00
|
|
|
box-shadow: none;
|
2021-01-29 10:22:43 +00:00
|
|
|
.jitsi-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-01-14 16:12:08 +00:00
|
|
|
.jitsi-icon svg {
|
|
|
|
fill: #B8C7E0;
|
|
|
|
}
|
2019-01-02 17:22:47 +00:00
|
|
|
}
|
2019-03-05 14:26:45 +00:00
|
|
|
|
2021-05-06 16:38:08 +00:00
|
|
|
/**
|
|
|
|
* Override @atlaskit/modal-dialog footer styling.
|
|
|
|
*/
|
|
|
|
.atlaskit-portal [role="dialog"] footer {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2021-01-29 10:22:43 +00:00
|
|
|
/**
|
|
|
|
* Make header close button more easily tappable on mobile.
|
|
|
|
*/
|
|
|
|
.mobile-browser .atlaskit-portal [role="dialog"] header .jitsi-icon {
|
|
|
|
display: grid;
|
|
|
|
place-items: center;
|
|
|
|
height: 48px;
|
|
|
|
width: 48px;
|
|
|
|
background: #2a3a4b;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2019-03-05 14:26:45 +00:00
|
|
|
/**
|
2021-01-14 16:12:08 +00:00
|
|
|
* Override @atlaskit/theme styling for the top toolbar so it displays over
|
|
|
|
* the video thumbnail while obscuring as little as possible.
|
2019-03-05 14:26:45 +00:00
|
|
|
*/
|
2021-01-14 16:12:08 +00:00
|
|
|
.videocontainer__toptoolbar > div > div {
|
|
|
|
background: none;
|
2019-03-05 14:26:45 +00:00
|
|
|
}
|
2021-01-04 13:30:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Keep overflow menu within screen vertical bounds and make it scrollable.
|
|
|
|
*/
|
2021-01-14 16:12:08 +00:00
|
|
|
.toolbox-button-wth-dialog > div:nth-child(2) {
|
2021-03-18 06:52:44 +00:00
|
|
|
background: $menuBG;
|
2021-01-14 16:12:08 +00:00
|
|
|
max-height: calc(100vh - #{$newToolbarSizeWithPadding} - 46px);
|
2021-03-11 09:25:49 +00:00
|
|
|
margin-bottom: 4px;
|
2021-03-18 06:52:44 +00:00
|
|
|
padding: 0;
|
2021-01-04 13:30:23 +00:00
|
|
|
overflow-y: auto;
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
|
2021-03-11 09:25:49 +00:00
|
|
|
.audio-preview > div:nth-child(2),
|
|
|
|
.video-preview > div:nth-child(2) {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
outline: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-23 07:39:20 +00:00
|
|
|
/**
|
|
|
|
* The following selectors keep the chat modal full-size anywhere between 100px
|
|
|
|
* and 580px for desktop or 680px for mobile.
|
|
|
|
*/
|
|
|
|
@media (min-width: 100px) and (max-width: 320px) {
|
|
|
|
.smiley-input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.shift-right .focus-lock > div > div {
|
|
|
|
@include full-size-modal-positioner();
|
|
|
|
}
|
|
|
|
|
|
|
|
.shift-right .focus-lock [role="dialog"] {
|
|
|
|
@include full-size-modal-dialog();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 480px) and (max-width: 580px) {
|
|
|
|
.shift-right .focus-lock > div > div {
|
|
|
|
@include full-size-modal-positioner();
|
|
|
|
}
|
|
|
|
|
|
|
|
.shift-right .focus-lock [role="dialog"] {
|
|
|
|
@include full-size-modal-dialog();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-18 13:56:20 +00:00
|
|
|
@media (max-width: 580px) {
|
|
|
|
// Override Atlaskit inline style for the modal background.
|
|
|
|
// Important is unfortunately needed for that.
|
|
|
|
.shift-right .focus-lock [role="dialog"][style] {
|
|
|
|
background-color: $chatBackgroundColor !important;
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
2021-03-18 07:08:34 +00:00
|
|
|
|
2021-03-18 13:56:20 +00:00
|
|
|
// Remove Atlaskit padding from the chat dialog.
|
|
|
|
.shift-right .focus-lock [role="dialog"] > div:first-child > div:nth-child(2) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-03-18 07:08:34 +00:00
|
|
|
}
|
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
div.Tooltip {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 14px;
|
|
|
|
padding: 8px;
|
|
|
|
}
|