mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
9abb2f5ff4
* $accent-color -> $accent Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $accent-bg-color Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * $notice-primary-color -> $alert Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $notice-primary-bg-color Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $accent-50pct Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * $warning-color -> $alert Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $accent-darker Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $orange-warning-color Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $warning-bg-color Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove $info-bg-color Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
67 lines
1.7 KiB
SCSS
67 lines
1.7 KiB
SCSS
/*
|
|
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;
|
|
row-gap: 16px;
|
|
column-gap: 0px;
|
|
margin-top: 24px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
/* squeeze the dial pad buttons together horizontally */
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.mx_DialPad_button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: $quinary-content;
|
|
border-radius: 40px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.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;
|
|
background-color: $accent;
|
|
|
|
&::before {
|
|
content: '';
|
|
display: inline-block;
|
|
height: 40px;
|
|
width: 40px;
|
|
vertical-align: middle;
|
|
mask-repeat: no-repeat;
|
|
mask-size: 20px;
|
|
mask-position: center;
|
|
background-color: #FFF; // on all themes
|
|
mask-image: url('$(res)/img/element-icons/call/voice-call.svg');
|
|
}
|
|
}
|