2019-01-24 19:12:09 -07:00
|
|
|
/*
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2019-2024 New Vector Ltd.
|
2019-01-24 19:12:09 -07:00
|
|
|
|
2025-01-06 11:18:54 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
2024-09-09 14:57:16 +01:00
|
|
|
Please see LICENSE files in the repository root for full details.
|
2019-01-24 19:12:09 -07:00
|
|
|
*/
|
|
|
|
|
|
2022-07-27 14:39:29 +01:00
|
|
|
/* Not actually a component but things shared by settings components */
|
2021-12-17 09:26:32 +00:00
|
|
|
.mx_UserSettingsDialog,
|
|
|
|
|
.mx_RoomSettingsDialog,
|
|
|
|
|
.mx_SpaceSettingsDialog,
|
|
|
|
|
.mx_SpacePreferencesDialog {
|
2019-04-08 19:11:04 +01:00
|
|
|
width: 90vw;
|
2024-03-13 09:38:32 -04:00
|
|
|
max-width: 980px;
|
2022-07-27 14:39:29 +01:00
|
|
|
/* set the height too since tabbed view scrolls itself. */
|
2019-04-08 19:11:04 +01:00
|
|
|
height: 80vh;
|
|
|
|
|
|
2019-04-08 16:48:42 +01:00
|
|
|
.mx_TabbedView {
|
2024-03-13 09:38:32 -04:00
|
|
|
top: 90px;
|
2019-01-24 19:12:09 -07:00
|
|
|
}
|
2019-04-08 16:48:42 +01:00
|
|
|
|
|
|
|
|
.mx_TabbedView .mx_SettingsTab {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
min-width: 580px;
|
|
|
|
|
padding-right: 100px;
|
2021-12-09 18:44:22 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2019-04-08 16:48:42 +01:00
|
|
|
|
2022-07-27 14:39:29 +01:00
|
|
|
/* Put some padding on the bottom to avoid the settings tab from */
|
|
|
|
|
/* colliding harshly with the dialog when scrolled down. */
|
2019-04-08 16:48:42 +01:00
|
|
|
padding-bottom: 100px;
|
|
|
|
|
}
|
2025-06-18 12:20:17 -04:00
|
|
|
|
|
|
|
|
.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);
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-24 19:12:09 -07:00
|
|
|
}
|