2020-12-24 03:02:01 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-12-24 03:02:01 +08:00
|
|
|
Copyright 2020 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.
|
2020-12-24 03:02:01 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_DialPad {
|
|
|
|
display: grid;
|
2021-07-15 16:55:58 +08:00
|
|
|
row-gap: 16px;
|
|
|
|
column-gap: 0px;
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
/* squeeze the dial pad buttons together horizontally */
|
2020-12-24 03:02:01 +08:00
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DialPad_button {
|
2021-07-15 16:55:58 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
2020-12-24 03:02:01 +08:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2021-08-12 18:03:48 +08:00
|
|
|
background-color: $quinary-content;
|
2020-12-24 03:02:01 +08:00
|
|
|
border-radius: 40px;
|
|
|
|
font-size: 18px;
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-12-24 03:02:01 +08:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2021-07-15 16:55:58 +08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-12-24 03:02:01 +08:00
|
|
|
}
|
|
|
|
|
2021-07-15 16:55:58 +08:00
|
|
|
.mx_DialPad_button .mx_DialPad_buttonSubText {
|
|
|
|
font-size: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DialPad_dialButton {
|
|
|
|
/* Always show the dial button in the center grid column */
|
|
|
|
grid-column: 2;
|
2021-11-11 21:37:29 +08:00
|
|
|
background-color: $accent;
|
2021-07-15 16:55:58 +08:00
|
|
|
|
2020-12-24 03:02:01 +08:00
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
vertical-align: middle;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 20px;
|
|
|
|
mask-position: center;
|
2022-07-27 21:39:29 +08:00
|
|
|
background-color: #fff; /* on all themes */
|
2020-12-24 03:02:01 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/call/voice-call.svg");
|
|
|
|
}
|
|
|
|
}
|