mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-23 16:49:23 +08:00
45094bda7c
* 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>
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
/*
|
|
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);
|
|
}
|