Add ability to change audio and video devices during a call (#7173)
This commit is contained in:
parent
ce3bc9dc07
commit
3c36a7f704
12 changed files with 247 additions and 24 deletions
27
res/css/views/context_menus/_DeviceContextMenu.scss
Normal file
27
res/css/views/context_menus/_DeviceContextMenu.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_DeviceContextMenu {
|
||||
max-width: 252px;
|
||||
|
||||
.mx_DeviceContextMenu_device_icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mx_IconizedContextMenu_label {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
}
|
|
@ -25,6 +25,11 @@ limitations under the License.
|
|||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.mx_IconizedContextMenu_optionList_label {
|
||||
font-size: $font-15px;
|
||||
font-weight: $font-semi-bold;
|
||||
}
|
||||
|
||||
// the notFirst class is for cases where the optionList might be under a header of sorts.
|
||||
&:nth-child(n + 2), .mx_IconizedContextMenu_optionList_notFirst {
|
||||
// This is a bit of a hack when we could just use a simple border-top property,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue