支持字体设置大小

This commit is contained in:
YHH
2025-10-17 23:47:04 +08:00
parent 3cf1dab5b9
commit a9f9ad9b94
5 changed files with 118 additions and 19 deletions

View File

@@ -14,7 +14,7 @@
.asset-browser-header h3 {
margin: 0;
font-size: 14px;
font-size: var(--font-size-md);
font-weight: 600;
color: #cccccc;
}
@@ -83,7 +83,7 @@
border: 1px solid #3e3e3e;
border-radius: 3px;
color: #cccccc;
font-size: 13px;
font-size: var(--font-size-base);
outline: none;
}
@@ -103,7 +103,7 @@
justify-content: center;
height: 200px;
color: #858585;
font-size: 13px;
font-size: var(--font-size-base);
}
.asset-list {
@@ -152,7 +152,7 @@
}
.asset-name {
font-size: 12px;
font-size: var(--font-size-sm);
color: #cccccc;
text-align: center;
width: 100%;
@@ -163,7 +163,7 @@
}
.asset-type {
font-size: 10px;
font-size: var(--font-size-xs);
color: #858585;
text-transform: uppercase;
}

View File

@@ -72,7 +72,7 @@
border: none;
outline: none;
color: var(--color-text-primary);
font-size: 11px;
font-size: var(--font-size-xs);
font-family: var(--font-family-mono);
}
@@ -89,7 +89,7 @@
border: 1px solid transparent;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 10px;
font-size: var(--font-size-xs);
font-weight: 500;
transition: all var(--transition-fast);
opacity: 0.5;
@@ -152,7 +152,7 @@
}
.console-filter-btn span {
font-size: 10px;
font-size: var(--font-size-xs);
font-family: var(--font-family-mono);
}
@@ -161,7 +161,7 @@
overflow-y: auto;
overflow-x: hidden;
font-family: var(--font-family-mono);
font-size: 11px;
font-size: var(--font-size-xs);
line-height: 1.4;
}
@@ -177,7 +177,7 @@
.console-empty p {
margin: 0;
font-size: 12px;
font-size: var(--font-size-sm);
}
.log-entry {
@@ -202,7 +202,7 @@
.log-entry-time {
color: var(--color-text-tertiary);
font-size: 10px;
font-size: var(--font-size-xs);
white-space: nowrap;
padding-top: 2px;
flex-shrink: 0;
@@ -211,7 +211,7 @@
.log-entry-source {
color: var(--color-text-secondary);
font-size: 10px;
font-size: var(--font-size-xs);
white-space: nowrap;
padding-top: 2px;
flex-shrink: 0;
@@ -226,7 +226,7 @@
.log-entry-client {
color: #10b981;
font-size: 9px;
font-size: calc(var(--font-size-xs) - 2px);
white-space: nowrap;
padding: 1px 6px;
flex-shrink: 0;
@@ -312,7 +312,7 @@
border-radius: var(--radius-sm);
border: 1px solid var(--color-border-default);
font-family: var(--font-family-mono);
font-size: 11px;
font-size: var(--font-size-xs);
line-height: 1.5;
overflow: auto;
white-space: pre;
@@ -377,7 +377,7 @@
color: var(--color-text-inverse);
border: none;
border-radius: var(--radius-sm);
font-size: 11px;
font-size: var(--font-size-xs);
font-weight: 500;
cursor: pointer;
box-shadow: var(--shadow-md);

View File

@@ -30,7 +30,7 @@
align-items: center;
justify-content: center;
color: #858585;
font-size: 12px;
font-size: var(--font-size-sm);
}
.tree-node {
@@ -38,7 +38,7 @@
align-items: center;
padding: 4px 8px;
cursor: pointer;
font-size: 13px;
font-size: var(--font-size-base);
white-space: nowrap;
transition: background 0.1s ease;
}
@@ -58,13 +58,13 @@
align-items: center;
justify-content: center;
margin-right: 4px;
font-size: 10px;
font-size: var(--font-size-xs);
color: #cccccc;
}
.tree-icon {
margin-right: 6px;
font-size: 14px;
font-size: var(--font-size-md);
}
.tree-label {