feat(admin): refine theme settings UI

This commit is contained in:
kate522 committed 2026-08-19 13:11:04 +08:00
1 parent 2e442e20ec
commit 8a738c7998
27 files changed
+425 -337

No files matched your search

+37 -37
View File
@@ -1019,7 +1019,7 @@ function confirmRepeaterModal() {
.aksrt-field__label {
font-size: 13px;
font-weight: 500;
color: #555;
color: var(--aksrt-color-text-secondary);
}
.aksrt-field__required {
@@ -1028,19 +1028,19 @@ function confirmRepeaterModal() {
}
.aksrt-field__help-icon {
color: #c0c4cc;
color: var(--aksrt-color-border-strong);
cursor: help;
transition: color 0.15s;
}
.aksrt-field__help-icon:hover {
color: #1890ff;
color: var(--aksrt-color-primary);
}
.aksrt-field__desc {
margin: -2px 0 8px;
font-size: 12px;
color: #8a909c;
color: var(--aksrt-color-muted);
line-height: 1.5;
}
@@ -1063,7 +1063,7 @@ function confirmRepeaterModal() {
}
.aksrt-field__dimensions-sep {
color: #c0c4cc;
color: var(--aksrt-color-border-strong);
font-size: 14px;
}
@@ -1077,7 +1077,7 @@ function confirmRepeaterModal() {
.aksrt-field__spacing-label {
font-size: 12px;
color: #8a909c;
color: var(--aksrt-color-muted);
text-align: center;
}
@@ -1096,7 +1096,7 @@ function confirmRepeaterModal() {
.aksrt-field__sublabel {
font-size: 12px;
color: #8a909c;
color: var(--aksrt-color-muted);
min-width: 70px;
}
@@ -1113,7 +1113,7 @@ function confirmRepeaterModal() {
align-items: center;
gap: 6px;
padding: 8px;
border: 2px solid #eef1f6;
border: 2px solid var(--aksrt-color-border);
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
@@ -1121,12 +1121,12 @@ function confirmRepeaterModal() {
}
.aksrt-field__image-select-item:hover {
border-color: #1890ff;
border-color: var(--aksrt-color-primary);
}
.aksrt-field__image-select-item--active {
border-color: #1890ff;
background: #e6f7ff;
border-color: var(--aksrt-color-primary);
background: var(--aksrt-color-primary-soft);
}
.aksrt-field__image-select-img {
@@ -1142,14 +1142,14 @@ function confirmRepeaterModal() {
display: flex;
align-items: center;
justify-content: center;
background: #f5f7fb;
background: var(--aksrt-color-canvas);
border-radius: 4px;
color: #c0c4cc;
color: var(--aksrt-color-border-strong);
}
.aksrt-field__image-select-label {
font-size: 11px;
color: #555;
color: var(--aksrt-color-text-secondary);
text-align: center;
}
@@ -1165,12 +1165,12 @@ function confirmRepeaterModal() {
padding: 0;
border: 3px solid #fff;
border-radius: 3px;
box-shadow: 0 0 0 1px #d8d8d8;
box-shadow: 0 0 0 1px var(--aksrt-color-border-strong);
cursor: pointer;
}
.aksrt-field__palette-item.is-active {
box-shadow: 0 0 0 2px #2f8fce;
box-shadow: 0 0 0 2px var(--aksrt-color-primary);
}
.aksrt-field__link {
@@ -1195,14 +1195,14 @@ function confirmRepeaterModal() {
align-items: center;
justify-content: space-between;
padding: 5px 9px;
border: 1px solid #e6e8eb;
border: 1px solid var(--aksrt-color-border);
border-radius: 3px;
background: #fafafa;
background: var(--aksrt-color-canvas);
}
.aksrt-field__sortable-item {
border: 1px solid #e5e5e5;
background: #fff;
border: 1px solid var(--aksrt-color-border);
background: var(--aksrt-color-surface);
}
.aksrt-field__sortable-head {
@@ -1210,7 +1210,7 @@ function confirmRepeaterModal() {
align-items: center;
justify-content: space-between;
padding: 10px 12px;
background: #f7f7f7;
background: var(--aksrt-color-canvas);
cursor: move;
}
@@ -1224,9 +1224,9 @@ function confirmRepeaterModal() {
/* Repeater */
.aksrt-field__fieldset {
padding: 14px;
border: 1px solid #eef1f6;
border: 1px solid var(--aksrt-color-border);
border-radius: 8px;
background: #fafbfc;
background: var(--aksrt-color-canvas);
}
.aksrt-field__repeater {
@@ -1236,10 +1236,10 @@ function confirmRepeaterModal() {
}
.aksrt-field__repeater-item {
border: 1px solid #eef1f6;
border: 1px solid var(--aksrt-color-border);
border-radius: 8px;
padding: 12px;
background: #fafbfc;
background: var(--aksrt-color-canvas);
}
.aksrt-field__repeater-header {
@@ -1252,7 +1252,7 @@ function confirmRepeaterModal() {
.aksrt-field__repeater-index {
font-size: 12px;
font-weight: 600;
color: #1890ff;
color: var(--aksrt-color-primary);
}
.aksrt-field__repeater-fields {
@@ -1264,7 +1264,7 @@ function confirmRepeaterModal() {
/* Content field */
.aksrt-field__content {
font-size: 13px;
color: #555;
color: var(--aksrt-color-text-secondary);
line-height: 1.6;
}
@@ -1307,9 +1307,9 @@ function confirmRepeaterModal() {
align-items: center;
gap: 12px;
padding: 10px 12px;
border: 1px solid #eef1f6;
border: 1px solid var(--aksrt-color-border);
border-radius: 8px;
background: #fafbfc;
background: var(--aksrt-color-canvas);
}
.aksrt-field__repeater-list-actions {
@@ -1335,8 +1335,8 @@ function confirmRepeaterModal() {
display: inline-flex;
align-items: center;
justify-content: center;
background: #eef3ff;
color: #3b82f6;
background: var(--aksrt-color-primary-soft);
color: var(--aksrt-color-primary);
flex-shrink: 0;
overflow: hidden;
font-size: 16px;
@@ -1365,7 +1365,7 @@ function confirmRepeaterModal() {
.aksrt-field__repeater-list-title {
font-size: 13px;
font-weight: 600;
color: #1f2329;
color: var(--aksrt-color-text);
line-height: 1.35;
white-space: nowrap;
overflow: hidden;
@@ -1375,7 +1375,7 @@ function confirmRepeaterModal() {
.aksrt-field__repeater-list-desc {
margin-top: 2px;
font-size: 12px;
color: #8a909c;
color: var(--aksrt-color-muted);
line-height: 1.4;
white-space: nowrap;
overflow: hidden;
@@ -1388,11 +1388,11 @@ function confirmRepeaterModal() {
align-items: center;
gap: 8px;
padding: 22px 12px;
color: #c0c4cc;
color: var(--aksrt-color-border-strong);
font-size: 13px;
border: 1px dashed #e5e7eb;
border: 1px dashed var(--aksrt-color-border);
border-radius: 8px;
background: #fcfcfd;
background: var(--aksrt-color-canvas);
}
.aksrt-field__repeater-modal-fields {
@@ -1410,7 +1410,7 @@ function confirmRepeaterModal() {
gap: 8px;
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid #eef1f6;
border-top: 1px solid var(--aksrt-color-border);
}
</style>