Complete main UI #37

Merged
FatttSnake merged 192 commits from FatttSnake into dev 2024-02-23 16:31:17 +08:00
2 changed files with 30 additions and 23 deletions
Showing only changes of commit ee81f71f47 - Show all commits

View File

@@ -2,33 +2,37 @@
.root-content {
padding: 30px;
gap: 10px;
gap: 20px;
.settings-card {
padding: 20px;
.root-row {
gap: 20px;
> .head {
align-items: center;
gap: 5px;
.settings-card {
padding: 20px;
gap: 20px;
.icon {
font-size: constants.$SIZE_ICON_MD;
flex: 0 0 auto;
}
> .head {
align-items: center;
gap: 5px;
.title {
display: flex;
font-size: 1.2em;
}
.icon {
font-size: constants.$SIZE_ICON_MD;
flex: 0 0 auto;
}
:nth-child(n+3) {
flex: 0 0 auto;
color: constants.$font-main-color;
}
.title {
display: flex;
font-size: 1.2em;
}
.bt-save {
color: constants.$main-color;
:nth-child(n+3) {
flex: 0 0 auto;
color: constants.$font-main-color;
}
.bt-save {
color: constants.$main-color;
}
}
}
}

View File

@@ -198,9 +198,12 @@ const Settings: React.FC = () => {
<FitFullScreen>
<HideScrollbar isShowVerticalScrollbar autoHideWaitingTime={500}>
<FlexBox className={'root-content'}>
<Permission operationCode={'system:settings:query:mail'}>
<MailSettings />
</Permission>
<FlexBox direction={'horizontal'} className={'root-row'}>
<Permission operationCode={'system:settings:query:mail'}>
<MailSettings />
</Permission>
<div />
</FlexBox>
</FlexBox>
</HideScrollbar>
</FitFullScreen>