2021-06-24 09:34:34 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-06-24 09:34:34 +08:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-06-24 09:34:34 +08:00
|
|
|
*/
|
|
|
|
|
2021-07-22 04:47:27 +08:00
|
|
|
.mx_MediaBody.mx_AudioPlayer_container {
|
2021-07-01 04:51:18 +08:00
|
|
|
padding: 16px 12px 12px 12px;
|
2021-06-24 09:34:34 +08:00
|
|
|
|
|
|
|
.mx_AudioPlayer_primaryContainer {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.mx_PlayPauseButton {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AudioPlayer_mediaInfo {
|
|
|
|
flex: 1;
|
2022-07-27 21:39:29 +08:00
|
|
|
overflow: hidden; /* makes the ellipsis on the file name work */
|
2021-06-24 09:34:34 +08:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AudioPlayer_mediaName {
|
2021-08-12 17:27:12 +08:00
|
|
|
color: $primary-content;
|
2021-06-24 09:34:34 +08:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2022-07-27 21:39:29 +08:00
|
|
|
padding-bottom: 4px; /* mimics the line-height differences in the Figma */
|
2021-06-24 09:34:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AudioPlayer_byline {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AudioPlayer_seek {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.mx_SeekBar {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Clock {
|
2022-07-27 21:39:29 +08:00
|
|
|
min-width: $font-42px; /* for flexbox */
|
|
|
|
padding-left: $spacing-4; /* isolate from seek bar */
|
2022-05-11 18:58:07 +08:00
|
|
|
text-align: justify;
|
|
|
|
white-space: nowrap;
|
2021-06-24 09:34:34 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|