2020-12-23 19:02:01 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
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_DialPad {
|
|
|
|
display: grid;
|
2021-07-15 08:55:58 +00: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-23 19:02:01 +00:00
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DialPad_button {
|
2021-07-15 08:55:58 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
2020-12-23 19:02:01 +00:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2021-08-12 10:03:48 +00:00
|
|
|
background-color: $quinary-content;
|
2020-12-23 19:02:01 +00:00
|
|
|
border-radius: 40px;
|
|
|
|
font-size: 18px;
|
2023-04-21 14:16:00 +00:00
|
|
|
font-weight: var(--font-semi-bold);
|
2020-12-23 19:02:01 +00:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2021-07-15 08:55:58 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-12-23 19:02:01 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 08:55:58 +00: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 13:37:29 +00:00
|
|
|
background-color: $accent;
|
2021-07-15 08:55:58 +00:00
|
|
|
|
2020-12-23 19:02:01 +00:00
|
|
|
&::before {
|
2022-12-12 11:24:14 +00:00
|
|
|
content: "";
|
2020-12-23 19:02:01 +00:00
|
|
|
display: inline-block;
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
vertical-align: middle;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 20px;
|
|
|
|
mask-position: center;
|
2022-12-12 11:24:14 +00:00
|
|
|
background-color: #fff; /* on all themes */
|
|
|
|
mask-image: url("$(res)/img/element-icons/call/voice-call.svg");
|
2020-12-23 19:02:01 +00:00
|
|
|
}
|
|
|
|
}
|