Add screensharing behind a feature flag
This commit is contained in:
parent
7c7f7ee5a0
commit
ceffc2380c
49 changed files with 2044 additions and 164 deletions
35
stylesheets/components/CallingScreenSharingController.scss
Normal file
35
stylesheets/components/CallingScreenSharingController.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
.module-CallingScreenSharingController {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 4px 16px;
|
||||
-webkit-app-region: drag;
|
||||
|
||||
&__text {
|
||||
@include font-body-2;
|
||||
color: $color-gray-05;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
width: 212px;
|
||||
}
|
||||
|
||||
&__buttons {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
&__close {
|
||||
@include button-reset;
|
||||
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-25);
|
||||
cursor: pointer;
|
||||
margin-left: 12px;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,84 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
.module-CallingSelectPresentingSourcesModal {
|
||||
// specificity
|
||||
&.module-Modal {
|
||||
max-width: 665px;
|
||||
position: relative;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
&__footer {
|
||||
background-color: $color-gray-95;
|
||||
bottom: 0;
|
||||
margin-left: -16px;
|
||||
margin-top: 0;
|
||||
padding: 16px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__sources {
|
||||
margin-bottom: 20px;
|
||||
margin-left: -6px;
|
||||
margin-right: -6px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
&__source {
|
||||
@include button-reset();
|
||||
|
||||
border-radius: 4px;
|
||||
border: 1px solid $color-gray-60;
|
||||
margin-bottom: 14px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
overflow: hidden;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
width: 200px;
|
||||
|
||||
&--selected {
|
||||
background-color: $ultramarine-ui-dark;
|
||||
border: 1px solid $ultramarine-ui-dark;
|
||||
}
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
&__screenshot {
|
||||
max-height: 102px;
|
||||
max-width: 184px;
|
||||
}
|
||||
|
||||
&__name {
|
||||
&--container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
&--text {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&--icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue