Refine SettingsSection
& SettingsTab
This commit is contained in:
parent
c659afa8db
commit
4958dad672
7 changed files with 112 additions and 9 deletions
|
@ -346,6 +346,7 @@
|
|||
@import "./views/settings/_SetIdServer.pcss";
|
||||
@import "./views/settings/_SetIntegrationManager.pcss";
|
||||
@import "./views/settings/_SettingsFieldset.pcss";
|
||||
@import "./views/settings/_SettingsHeader.pcss";
|
||||
@import "./views/settings/_SpellCheckLanguages.pcss";
|
||||
@import "./views/settings/_ThemeChoicePanel.pcss";
|
||||
@import "./views/settings/_UpdateCheckButton.pcss";
|
||||
|
|
19
res/css/views/settings/_SettingsHeader.pcss
Normal file
19
res/css/views/settings/_SettingsHeader.pcss
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright 2024 New Vector Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
||||
* Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
.mx_SettingsHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--cpd-space-2x);
|
||||
/* Override margin from common.pcss */
|
||||
margin: 0;
|
||||
|
||||
> span {
|
||||
font: var(--cpd-font-body-sm-medium);
|
||||
color: var(--cpd-color-text-action-accent);
|
||||
}
|
||||
}
|
|
@ -15,6 +15,20 @@ Please see LICENSE files in the repository root for full details.
|
|||
a {
|
||||
color: $links;
|
||||
}
|
||||
|
||||
&.mx_SettingsSection_newUi {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--cpd-space-6x);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.mx_SettingsSection_header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--cpd-space-3x);
|
||||
color: var(--cpd-color-text-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.mx_SettingsSection_subSections {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue