Introduce room knocks bar (#11475)
* Introduce room knocks bar Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net> * Apply PR feedback Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net> --------- Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
This commit is contained in:
parent
f948a8f798
commit
45094bda7c
6 changed files with 522 additions and 1 deletions
|
@ -298,6 +298,7 @@
|
|||
@import "./views/rooms/_RoomCallBanner.pcss";
|
||||
@import "./views/rooms/_RoomHeader.pcss";
|
||||
@import "./views/rooms/_RoomInfoLine.pcss";
|
||||
@import "./views/rooms/_RoomKnocksBar.pcss";
|
||||
@import "./views/rooms/_RoomList.pcss";
|
||||
@import "./views/rooms/_RoomListHeader.pcss";
|
||||
@import "./views/rooms/_RoomPreviewBar.pcss";
|
||||
|
|
50
res/css/views/rooms/_RoomKnocksBar.pcss
Normal file
50
res/css/views/rooms/_RoomKnocksBar.pcss
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
Copyright 2023 Nordeck IT + Consulting GmbH
|
||||
|
||||
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_RoomKnocksBar {
|
||||
background-color: var(--cpd-color-bg-subtle-secondary);
|
||||
display: flex;
|
||||
padding: var(--cpd-space-2x) var(--cpd-space-4x);
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_content {
|
||||
flex-grow: 1;
|
||||
margin: 0 var(--cpd-space-3x);
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_paragraph {
|
||||
color: $secondary-content;
|
||||
font-size: var(--cpd-font-size-body-sm);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_link {
|
||||
margin-left: var(--cpd-space-3x);
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_action,
|
||||
.mx_RoomKnocksBar_avatar {
|
||||
align-self: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_action + .mx_RoomKnocksBar_action {
|
||||
margin-left: var(--cpd-space-3x);
|
||||
}
|
||||
|
||||
.mx_RoomKnocksBar_avatar + .mx_RoomKnocksBar_avatar {
|
||||
margin-left: calc(var(--cpd-space-4x) * -1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue