From 5608e928850769efc807203517af6c3faa1b8a75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 12 Jun 2021 08:09:51 +0200 Subject: [PATCH] Add styling for CallViewSidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/_components.scss | 1 + res/css/views/voip/_CallViewSidebar.scss | 25 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 res/css/views/voip/_CallViewSidebar.scss diff --git a/res/css/_components.scss b/res/css/_components.scss index 418b8f51c9..1cdc8f2954 100644 --- a/res/css/_components.scss +++ b/res/css/_components.scss @@ -263,3 +263,4 @@ @import "./views/voip/_DialPadContextMenu.scss"; @import "./views/voip/_DialPadModal.scss"; @import "./views/voip/_VideoFeed.scss"; +@import "./views/voip/_CallViewSidebar.scss"; diff --git a/res/css/views/voip/_CallViewSidebar.scss b/res/css/views/voip/_CallViewSidebar.scss new file mode 100644 index 0000000000..636c73133b --- /dev/null +++ b/res/css/views/voip/_CallViewSidebar.scss @@ -0,0 +1,25 @@ +/* +Copyright 2021 Šimon Brandner + +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_CallViewSidebar { + position: absolute; + right: 16px; + top: 16px; + z-index: 100; // To be above the primary feed + max-width: 15%; + display: flex; + flex-direction: column; +}