2020-10-30 14:47:43 +01:00
|
|
|
/*
|
2020-11-05 10:25:52 +01:00
|
|
|
Copyright 2015, 2016, 2020 The Matrix.org Foundation C.I.C.
|
2020-10-30 14:47:43 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2021-05-07 21:34:56 +02:00
|
|
|
.mx_VideoFeed_primary {
|
2021-04-27 12:03:01 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-03-07 08:13:35 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-04-26 20:49:11 +02:00
|
|
|
|
2021-06-12 10:48:32 +02:00
|
|
|
&.mx_VideoFeed_voice {
|
|
|
|
// We don't want to collide with the call controls that have 52px of height
|
|
|
|
padding-bottom: 52px;
|
|
|
|
background-color: $inverted-bg-color;
|
|
|
|
}
|
|
|
|
|
2021-04-27 12:03:01 +02:00
|
|
|
&.mx_VideoFeed_video {
|
2021-04-26 20:49:11 +02:00
|
|
|
background-color: #000;
|
|
|
|
}
|
2020-10-30 14:47:43 +01:00
|
|
|
}
|
|
|
|
|
2021-06-12 08:15:26 +02:00
|
|
|
.mx_VideoFeed_secondary {
|
2020-11-12 19:09:56 +01:00
|
|
|
border-radius: 4px;
|
2021-06-12 08:15:26 +02:00
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 12px;
|
2021-04-26 20:49:11 +02:00
|
|
|
|
2021-06-12 10:48:32 +02:00
|
|
|
&.mx_VideoFeed_voice {
|
|
|
|
background-color: #17191c; // Same on both themes
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
min-width: 160px;
|
|
|
|
min-height: 90px;
|
|
|
|
}
|
|
|
|
|
2021-04-27 12:03:01 +02:00
|
|
|
&.mx_VideoFeed_video {
|
2021-04-26 20:49:11 +02:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2020-10-30 14:47:43 +01:00
|
|
|
}
|
|
|
|
|
2020-11-12 19:09:56 +01:00
|
|
|
.mx_VideoFeed_mirror {
|
2020-10-30 14:47:43 +01:00
|
|
|
transform: scale(-1, 1);
|
|
|
|
}
|