2021-04-26 20:48:24 -06:00
|
|
|
/*
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-04-26 20:48:24 -06:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
2025-01-06 11:18:54 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
2024-09-09 14:57:16 +01:00
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-04-26 20:48:24 -06:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.mx_PlayPauseButton {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
2022-07-27 14:39:29 +01:00
|
|
|
min-width: 32px; /* for when the button is used in a flexbox */
|
|
|
|
|
min-height: 32px; /* for when the button is used in a flexbox */
|
2021-04-26 20:48:24 -06:00
|
|
|
border-radius: 32px;
|
2021-10-16 20:29:03 +02:00
|
|
|
background-color: $system;
|
2025-12-19 11:08:23 +01:00
|
|
|
/* !important override compound icon button */
|
|
|
|
|
padding: var(--cpd-space-1-5x) !important;
|
2025-12-09 13:59:01 +00:00
|
|
|
box-sizing: border-box;
|
2021-04-26 20:48:24 -06:00
|
|
|
|
2025-12-09 13:59:01 +00:00
|
|
|
svg {
|
2024-10-08 13:00:37 +01:00
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
2021-04-26 20:48:24 -06:00
|
|
|
}
|
|
|
|
|
|
2025-12-09 13:59:01 +00:00
|
|
|
&[disabled] svg {
|
2021-04-26 20:48:24 -06:00
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
}
|