mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-26 03:31:56 +01:00
* Show indicator in settings dialog when user doesn't have recovery set up * Update settings headers to use red dot for recommended settings * update recovery setup toast and remember if the user dismisses it * update playwright snapshots * use typed event emitters * reverse logic for the account data flag * fix comment and type
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
/*
|
|
Copyright 2019-2024 New Vector 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.
|
|
*/
|
|
|
|
/* Not actually a component but things shared by settings components */
|
|
.mx_UserSettingsDialog,
|
|
.mx_RoomSettingsDialog,
|
|
.mx_SpaceSettingsDialog,
|
|
.mx_SpacePreferencesDialog {
|
|
width: 90vw;
|
|
max-width: 980px;
|
|
/* set the height too since tabbed view scrolls itself. */
|
|
height: 80vh;
|
|
|
|
.mx_TabbedView {
|
|
top: 90px;
|
|
}
|
|
|
|
.mx_TabbedView .mx_SettingsTab {
|
|
box-sizing: border-box;
|
|
min-width: 580px;
|
|
padding-right: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
/* Put some padding on the bottom to avoid the settings tab from */
|
|
/* colliding harshly with the dialog when scrolled down. */
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
.mx_SettingsDialog_tabLabelsAlert::after {
|
|
display: inline-block;
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--cpd-color-icon-critical-primary);
|
|
clip-path: circle(4px);
|
|
position: absolute;
|
|
right: var(--cpd-space-4x);
|
|
}
|
|
}
|
|
|
|
/* On narrow viewports, the tab labels are hidden, so we need to shift the indicator so it isn't over the tab icon. */
|
|
@media (max-width: 1024px) {
|
|
.mx_UserSettingsDialog,
|
|
.mx_RoomSettingsDialog,
|
|
.mx_SpaceSettingsDialog,
|
|
.mx_SpacePreferencesDialog {
|
|
.mx_SettingsDialog_tabLabelsAlert::after {
|
|
right: var(--cpd-space-1x);
|
|
top: var(--cpd-space-1x);
|
|
}
|
|
}
|
|
}
|