2018-04-12 07:23:35 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2019-2024 New Vector Ltd.
|
2018-04-12 07:23:35 +08:00
|
|
|
Copyright 2017 Vector Creations Ltd
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2016 OpenMarket Ltd
|
2018-04-12 07:23:35 +08:00
|
|
|
|
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.
|
2018-04-12 07:23:35 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_HomePage {
|
|
|
|
max-width: 960px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-04-07 17:48:56 +08:00
|
|
|
|
|
|
|
.mx_HomePage_default {
|
|
|
|
text-align: center;
|
2020-11-12 19:09:08 +08:00
|
|
|
display: flex;
|
2020-04-07 17:48:56 +08:00
|
|
|
|
|
|
|
.mx_HomePage_default_wrapper {
|
2020-11-12 19:09:08 +08:00
|
|
|
margin: auto;
|
2020-04-07 17:48:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2020-04-07 20:34:10 +08:00
|
|
|
height: 48px;
|
2020-04-07 17:48:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-04-07 17:48:56 +08:00
|
|
|
font-size: $font-32px;
|
2023-06-29 18:30:25 +08:00
|
|
|
line-height: 1.375;
|
2020-04-07 17:48:56 +08:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2022-08-10 23:29:53 +08:00
|
|
|
h2 {
|
2020-04-07 17:48:56 +08:00
|
|
|
margin-top: 4px;
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-04-07 17:48:56 +08:00
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-25px;
|
|
|
|
color: $muted-fg-color;
|
|
|
|
}
|
|
|
|
|
2020-11-05 23:42:45 +08:00
|
|
|
.mx_MiniAvatarUploader {
|
2020-11-03 01:24:47 +08:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2020-04-07 17:48:56 +08:00
|
|
|
.mx_HomePage_default_buttons {
|
2021-10-05 22:11:25 +08:00
|
|
|
display: flex;
|
2020-11-12 19:09:08 +08:00
|
|
|
margin: 60px auto 0;
|
2020-04-07 17:48:56 +08:00
|
|
|
width: fit-content;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2022-07-27 21:39:29 +08:00
|
|
|
padding: 73px 8px 15px; /* top: 20px top padding + 40px icon + 13px margin */
|
2020-04-07 17:48:56 +08:00
|
|
|
|
2020-11-03 01:24:47 +08:00
|
|
|
width: 160px;
|
2021-10-05 22:11:25 +08:00
|
|
|
min-height: 132px;
|
2020-11-12 19:09:08 +08:00
|
|
|
margin: 20px;
|
2020-04-07 17:48:56 +08:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 8px;
|
2020-04-07 20:34:10 +08:00
|
|
|
vertical-align: top;
|
2020-04-07 20:40:25 +08:00
|
|
|
word-break: break-word;
|
2020-11-03 01:24:47 +08:00
|
|
|
box-sizing: border-box;
|
2020-04-07 17:48:56 +08:00
|
|
|
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-04-07 17:48:56 +08:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-20px;
|
2022-07-27 21:39:29 +08:00
|
|
|
color: #fff; /* on all themes */
|
2021-11-11 21:37:29 +08:00
|
|
|
background-color: $accent;
|
2020-04-07 17:48:56 +08:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
top: 20px;
|
2022-07-27 21:39:29 +08:00
|
|
|
left: 60px; /* (160px-40px)/2 */
|
2020-04-07 17:48:56 +08:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
|
2022-12-12 19:24:14 +08:00
|
|
|
content: "";
|
2020-04-07 17:48:56 +08:00
|
|
|
position: absolute;
|
2022-07-27 21:39:29 +08:00
|
|
|
background-color: #fff; /* on all themes */
|
2020-04-07 17:48:56 +08:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_HomePage_button_sendDm::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/feedback.svg");
|
2020-04-07 17:48:56 +08:00
|
|
|
}
|
2022-03-25 03:51:18 +08:00
|
|
|
|
2020-04-07 17:48:56 +08:00
|
|
|
&.mx_HomePage_button_explore::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
|
2020-04-07 17:48:56 +08:00
|
|
|
}
|
2022-03-25 03:51:18 +08:00
|
|
|
|
|
|
|
&.mx_HomePage_button_createGroup::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/group-members.svg");
|
2022-03-25 03:51:18 +08:00
|
|
|
}
|
2020-04-07 17:48:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|