element-web/apps/web/res/css/views/auth/_DefaultWelcome.pcss
Michael Telatynski 4b4289e211
Implement new design for Welcome page (#33211)
* Convert welcome.html to React component

In advance of changes to use Compound

* Fix types

* Fix tests

* Update styling to match Figma

* Fix random capitalisation

* Tweak styling

* Regenerate i18n

* Update tests

* Make linter happy

* Iterate
2026-04-22 15:32:05 +00:00

44 lines
988 B
Plaintext

/*
Copyright 2026 Element Creations 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_DefaultWelcome {
text-align: center;
.mx_DefaultWelcome_logo img {
height: 48px;
aspect-ratio: auto;
display: block;
margin: 0 auto;
}
h1 {
margin: var(--cpd-space-4x) 0 var(--cpd-space-2x);
}
p {
color: var(--cpd-color-text-secondary);
margin-top: var(--cpd-space-2x);
}
.mx_DefaultWelcome_buttons {
margin: var(--cpd-space-6x) 0 var(--cpd-space-1x);
padding-bottom: var(--cpd-space-4x);
border-bottom: 1px solid var(--cpd-color-separator-primary);
a {
width: 380px;
margin-bottom: var(--cpd-space-4x);
}
}
}
.mx_WelcomePage_registrationDisabled {
.mx_DefaultWelcome_buttons_register {
display: none;
}
}