mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update setting dialog
This commit is contained in:
@ -3,28 +3,53 @@
|
||||
|
||||
.setting-dialog {
|
||||
> .dialog-container {
|
||||
@apply w-168 max-w-full mb-8;
|
||||
@apply w-168 max-w-full mb-8 p-0;
|
||||
|
||||
> .dialog-content-container {
|
||||
.flex(column, flex-start, flex-start);
|
||||
@apply w-full overflow-y-scroll px-3;
|
||||
@apply relative w-full overflow-y-scroll p-0 flex flex-row justify-start items-start;
|
||||
.hide-scroll-bar();
|
||||
|
||||
> .section-container {
|
||||
.flex(column, flex-start, flex-start);
|
||||
@apply w-full my-2;
|
||||
> .close-btn {
|
||||
.flex(column, center, center);
|
||||
@apply absolute top-4 right-4 w-6 h-6 rounded hover:bg-gray-200;
|
||||
|
||||
> .title-text {
|
||||
@apply text-base font-bold mb-2;
|
||||
color: @text-black;
|
||||
> .icon-img {
|
||||
@apply w-5 h-5;
|
||||
}
|
||||
}
|
||||
|
||||
> .form-label {
|
||||
.flex(row, flex-start, center);
|
||||
@apply w-full text-sm mb-2;
|
||||
> .section-selector-container {
|
||||
@apply w-40 h-full shrink-0 rounded-l-lg p-4 bg-gray-100 flex flex-col justify-start items-start;
|
||||
|
||||
> .normal-text {
|
||||
@apply shrink-0;
|
||||
> .section-item {
|
||||
@apply text-sm left-6 mt-2 cursor-pointer hover:opacity-80;
|
||||
|
||||
&.selected {
|
||||
@apply font-bold hover:opacity-100;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .section-content-container {
|
||||
@apply w-auto p-4 grow flex flex-col justify-start items-start;
|
||||
|
||||
> .section-container {
|
||||
.flex(column, flex-start, flex-start);
|
||||
@apply w-full my-2;
|
||||
|
||||
> .title-text {
|
||||
@apply text-base font-bold mb-2;
|
||||
color: @text-black;
|
||||
}
|
||||
|
||||
> .form-label {
|
||||
.flex(row, flex-start, center);
|
||||
@apply w-full text-sm mb-2;
|
||||
|
||||
> .normal-text {
|
||||
@apply shrink-0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user