mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-06 09:51:09 +01:00
* Replace element-icons/chat-bubbles.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/chat-bubbles.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace external-link.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/hide.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/explore.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/hash-*.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/share.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/group-members.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/mask-as-*.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/low-priority.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/plus-circle.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace element-icons/roles.svg with compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update jest snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
100 lines
2.5 KiB
Plaintext
100 lines
2.5 KiB
Plaintext
/*
|
|
Copyright 2019-2024 New Vector Ltd.
|
|
Copyright 2017 Vector Creations Ltd
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
.mx_HomePage {
|
|
max-width: 960px;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.mx_HomePage_default {
|
|
text-align: center;
|
|
display: flex;
|
|
|
|
.mx_HomePage_default_wrapper {
|
|
margin: auto;
|
|
}
|
|
|
|
img {
|
|
height: 48px;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
font-size: $font-32px;
|
|
line-height: 1.375;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 4px;
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
font-size: $font-18px;
|
|
line-height: $font-25px;
|
|
color: $muted-fg-color;
|
|
}
|
|
|
|
.mx_MiniAvatarUploader {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.mx_HomePage_default_buttons {
|
|
display: flex;
|
|
margin: 60px auto 0;
|
|
width: fit-content;
|
|
|
|
.mx_AccessibleButton {
|
|
padding: 73px 8px 15px; /* top: 20px top padding + 40px icon + 13px margin */
|
|
|
|
width: 160px;
|
|
min-height: 132px;
|
|
margin: 20px;
|
|
position: relative;
|
|
display: inline-block;
|
|
border-radius: 8px;
|
|
vertical-align: top;
|
|
word-break: break-word;
|
|
box-sizing: border-box;
|
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
font-size: $font-15px;
|
|
line-height: $font-20px;
|
|
color: #fff; /* on all themes */
|
|
background-color: $accent;
|
|
|
|
&::before {
|
|
top: 20px;
|
|
left: 60px; /* (160px-40px)/2 */
|
|
width: 40px;
|
|
height: 40px;
|
|
|
|
content: "";
|
|
position: absolute;
|
|
background-color: #fff; /* on all themes */
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
}
|
|
|
|
&.mx_HomePage_button_sendDm::before {
|
|
mask-image: url("$(res)/img/element-icons/feedback.svg");
|
|
}
|
|
|
|
&.mx_HomePage_button_explore::before {
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/explore.svg");
|
|
}
|
|
|
|
&.mx_HomePage_button_createGroup::before {
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/group.svg");
|
|
}
|
|
}
|
|
}
|
|
}
|