riot-web/res/css/voice-broadcast/molecules/_VoiceBroadcastBody.pcss

76 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-10-14 20:12:26 +02:00
/*
Copyright 2024 New Vector Ltd.
2022-10-14 20:12:26 +02:00
Copyright 2022 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
2022-10-14 20:12:26 +02:00
*/
2022-10-26 13:45:39 +02:00
.mx_VoiceBroadcastBody {
background-color: $quinary-content;
2022-10-14 20:12:26 +02:00
border-radius: 8px;
color: $secondary-content;
2022-10-14 20:12:26 +02:00
display: inline-block;
font-size: $font-12px;
2022-10-14 20:12:26 +02:00
padding: $spacing-12;
2022-12-15 12:43:01 +01:00
width: 271px;
.mx_Clock {
line-height: 1;
}
2022-10-14 20:12:26 +02:00
}
2022-10-26 13:45:39 +02:00
.mx_VoiceBroadcastBody--pip {
background-color: $system;
box-shadow: 0 2px 8px 0 #0000004a;
}
2022-12-15 12:43:01 +01:00
.mx_VoiceBroadcastBody--small {
display: flex;
gap: $spacing-8;
width: 192px;
.mx_VoiceBroadcastHeader {
margin-bottom: 0;
}
.mx_VoiceBroadcastControl {
align-self: center;
}
.mx_LiveBadge {
margin-top: 4px;
}
}
2022-10-26 13:45:39 +02:00
.mx_VoiceBroadcastBody_divider {
2022-10-14 20:12:26 +02:00
background-color: $quinary-content;
border: 0;
height: 1px;
margin: $spacing-12 0;
}
2022-10-26 13:45:39 +02:00
.mx_VoiceBroadcastBody_controls {
align-items: center;
2022-10-14 20:12:26 +02:00
display: flex;
gap: $spacing-32;
justify-content: center;
margin-bottom: $spacing-8;
2022-10-14 20:12:26 +02:00
}
.mx_VoiceBroadcastBody_timerow {
display: flex;
justify-content: space-between;
}
.mx_AccessibleButton.mx_VoiceBroadcastBody_blockButton {
display: flex;
gap: $spacing-8;
}
2022-12-15 12:43:01 +01:00
.mx_VoiceBroadcastBody__small-close {
right: 8px;
position: absolute;
top: 8px;
}