chore(ui): redesign interface with SF Pro fonts and modern styling
- Update theme variables and styles for light/dark modes - Implement SF Pro font family across all components - Redesign cards, buttons, forms, and scrollbars - Add backdrop filters and improve visual hierarchy - Optimize spacing, typography, and interactive elements
This commit is contained in:
@@ -46,27 +46,26 @@ export default {
|
||||
|
||||
.main-content {
|
||||
margin-left: 240px;
|
||||
margin-top: 64px;
|
||||
margin-top: 48px;
|
||||
padding: 24px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-track {
|
||||
background: var(--bg-color);
|
||||
border-radius: 0 8px 8px 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb {
|
||||
background: var(--primary-color);
|
||||
border-radius: 4px;
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.main-content::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--sidebar-active-bg);
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -776,8 +776,7 @@ export default {
|
||||
.proxy-item {
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
background: var(--surface-light);
|
||||
}
|
||||
|
||||
.proxy-header {
|
||||
@@ -789,18 +788,24 @@ export default {
|
||||
}
|
||||
|
||||
.proxy-name {
|
||||
font-size: 16px;
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 1.14;
|
||||
letter-spacing: 0.196px;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.proxy-type {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
border-radius: 12px;
|
||||
border-radius: 980px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
background: var(--primary-bg);
|
||||
font-weight: 600;
|
||||
line-height: 1.33;
|
||||
letter-spacing: -0.12px;
|
||||
background: var(--status-running-bg);
|
||||
color: var(--primary-color);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
@@ -809,24 +814,26 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
border: 5px solid var(--border-color);
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
}
|
||||
|
||||
.proxy-key {
|
||||
color: var(--text-secondary);
|
||||
color: var(--text-tertiary);
|
||||
font-weight: 500;
|
||||
min-width: 90px;
|
||||
}
|
||||
|
||||
.proxy-value {
|
||||
color: var(--text-color);
|
||||
font-family: monospace;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, monospace;
|
||||
}
|
||||
|
||||
.log-item {
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.log-time {
|
||||
@@ -835,34 +842,34 @@ export default {
|
||||
|
||||
.log-level {
|
||||
min-width: 60px;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
border-radius: 980px;
|
||||
}
|
||||
|
||||
.log-level.DEBUG {
|
||||
color: #52c41a;
|
||||
background: #f6ffed;
|
||||
color: var(--log-debug-color);
|
||||
background: var(--log-debug-bg);
|
||||
}
|
||||
|
||||
.log-level.INFO {
|
||||
color: #1890ff;
|
||||
background: #e6f7ff;
|
||||
color: var(--log-info-color);
|
||||
background: var(--log-info-bg);
|
||||
}
|
||||
|
||||
.log-level.WARN {
|
||||
color: #faad14;
|
||||
background: #fffbe6;
|
||||
color: var(--log-warn-color);
|
||||
background: var(--log-warn-bg);
|
||||
}
|
||||
|
||||
.log-level.ERROR {
|
||||
color: #ff4d4f;
|
||||
background: #fff1f0;
|
||||
color: var(--log-error-color);
|
||||
background: var(--log-error-bg);
|
||||
}
|
||||
|
||||
.log-level.FATAL {
|
||||
color: #cf1322;
|
||||
background: #fff1f0;
|
||||
color: var(--log-fatal-color);
|
||||
background: var(--log-fatal-bg);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
@@ -877,6 +884,7 @@ export default {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(4px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -885,14 +893,19 @@ export default {
|
||||
|
||||
.modal {
|
||||
background: var(--card-bg);
|
||||
border-radius: 8px;
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.modal h3 {
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
line-height: 1.19;
|
||||
letter-spacing: 0.231px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: var(--text-color);
|
||||
@@ -906,26 +919,34 @@ export default {
|
||||
}
|
||||
|
||||
.cancel-btn {
|
||||
padding: 10px 20px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: 3px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.cancel-btn:hover {
|
||||
background: var(--hover-bg);
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
padding: 10px 20px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
border-radius: 8px;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
@@ -934,7 +955,7 @@ export default {
|
||||
}
|
||||
|
||||
.submit-btn:disabled {
|
||||
background: var(--disabled-bg);
|
||||
opacity: 0.48;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@@ -960,79 +981,183 @@ export default {
|
||||
.status-item {
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
background: var(--surface-light);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.status-key {
|
||||
color: var(--text-secondary);
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
color: var(--text-tertiary);
|
||||
font-weight: 500;
|
||||
min-width: 90px;
|
||||
}
|
||||
|
||||
.status-value {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, monospace;
|
||||
font-size: 14px;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
color: var(--text-color);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.status-value.running {
|
||||
color: #52c41a;
|
||||
color: var(--status-running);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.status-value.stopped {
|
||||
color: #ff4d4f;
|
||||
color: var(--status-stopped);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.common-btn.status-btn {
|
||||
padding: 8px 16px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: #52c41a;
|
||||
border-radius: 8px;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
}
|
||||
|
||||
.common-btn.status-btn:hover {
|
||||
background: #40a412;
|
||||
background: var(--primary-hover);
|
||||
}
|
||||
|
||||
.common-btn.stop-btn {
|
||||
background: #ff4d4f;
|
||||
background: var(--status-stopped);
|
||||
}
|
||||
|
||||
.common-btn.stop-btn:hover {
|
||||
background: #cf1616;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.common-btn.restart-btn {
|
||||
padding: 8px 16px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: #1890ff;
|
||||
color: white;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
}
|
||||
|
||||
.common-btn.restart-btn:hover {
|
||||
background: #096dd9;
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.status-btn i,
|
||||
.restart-btn i {
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.proxy-actions .common-btn {
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.proxy-actions .delete-btn {
|
||||
background: var(--status-stopped-bg);
|
||||
color: var(--status-stopped);
|
||||
}
|
||||
|
||||
.proxy-actions .delete-btn:hover {
|
||||
background: var(--status-stopped);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.proxy-actions .edit-btn {
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.proxy-actions .edit-btn:hover {
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.proxy-actions .add-btn {
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.proxy-actions .add-btn:hover {
|
||||
background: var(--primary-hover);
|
||||
}
|
||||
|
||||
.proxy-details .proxy-detail {
|
||||
background: var(--surface-light);
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.proxy-details .proxy-detail:last-child {
|
||||
background: var(--surface-hover);
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.page-header .common-btn {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
}
|
||||
|
||||
.page-header .common-btn:hover {
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.section h3 .common-btn {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
}
|
||||
|
||||
.section h3 .common-btn:hover {
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.section:last-child .logs-container {
|
||||
@@ -1041,20 +1166,19 @@ export default {
|
||||
}
|
||||
|
||||
.section:last-child .logs-container::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.section:last-child .logs-container::-webkit-scrollbar-track {
|
||||
background: var(--bg-color);
|
||||
border-radius: 0 8px 8px 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.section:last-child .logs-container::-webkit-scrollbar-thumb {
|
||||
background: var(--primary-color);
|
||||
border-radius: 4px;
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.section:last-child .logs-container::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--sidebar-active-bg);
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -339,11 +339,12 @@ export default {
|
||||
background-color: var(--card-bg);
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.instance-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
||||
box-shadow: rgba(0, 0, 0, 0.22) 3px 8px 36px 0px;
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
@@ -353,8 +354,11 @@ export default {
|
||||
}
|
||||
|
||||
.instance-name {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
line-height: 1.19;
|
||||
letter-spacing: 0.231px;
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
transition: color 0.3s;
|
||||
@@ -367,6 +371,7 @@ export default {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(4px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -375,14 +380,19 @@ export default {
|
||||
|
||||
.modal {
|
||||
background: var(--card-bg);
|
||||
border-radius: 8px;
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.modal h3 {
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
line-height: 1.19;
|
||||
letter-spacing: 0.231px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: var(--text-color);
|
||||
@@ -396,26 +406,34 @@ export default {
|
||||
}
|
||||
|
||||
.cancel-btn {
|
||||
padding: 10px 20px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: 3px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.cancel-btn:hover {
|
||||
background: var(--hover-bg);
|
||||
background: var(--surface-hover);
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
padding: 10px 20px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
border-radius: 8px;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
@@ -424,7 +442,7 @@ export default {
|
||||
}
|
||||
|
||||
.submit-btn:disabled {
|
||||
background: var(--disabled-bg);
|
||||
opacity: 0.48;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -136,46 +136,52 @@ export default {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.login-box {
|
||||
background: var(--card-bg, white);
|
||||
background: var(--card-bg);
|
||||
padding: 40px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: var(--card-shadow);
|
||||
width: 400px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
text-align: center;
|
||||
color: var(--text-color, #333);
|
||||
color: var(--text-color);
|
||||
margin-bottom: 30px;
|
||||
font-size: 28px;
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
line-height: 1.10;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid var(--border-color, #e8e8e8);
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
|
||||
.tab {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
flex: 1;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
font-size: 17px;
|
||||
line-height: 1.47;
|
||||
letter-spacing: -0.374px;
|
||||
color: var(--text-tertiary);
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
color: var(--primary-color, #667eea);
|
||||
border-bottom: 2px solid var(--primary-color, #667eea);
|
||||
color: var(--primary-color);
|
||||
border-bottom: 2px solid var(--primary-color);
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
|
||||
@@ -192,45 +198,53 @@ export default {
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
padding: 12px;
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
transition: border-color 0.3s;
|
||||
background: var(--bg-color, #f5f5f5);
|
||||
color: var(--text-color, #333);
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 10px 14px;
|
||||
border: 3px solid var(--border-color);
|
||||
border-radius: 11px;
|
||||
font-size: 17px;
|
||||
line-height: 1.47;
|
||||
letter-spacing: -0.374px;
|
||||
transition: border-color 0.3s, background-color 0.3s;
|
||||
background: var(--surface-light);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.form-group input:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color, #667eea);
|
||||
border-color: var(--primary-color);
|
||||
box-shadow: 0 0 0 2px var(--focus-ring);
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
padding: 12px;
|
||||
background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, #764ba2 100%);
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
padding: 8px 15px;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
border-radius: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 2.41;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.submit-btn:hover:not(:disabled) {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
||||
background: var(--primary-hover);
|
||||
}
|
||||
|
||||
.submit-btn:disabled {
|
||||
opacity: 0.6;
|
||||
opacity: 0.48;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -133,30 +133,29 @@ export default {
|
||||
|
||||
.logs-container {
|
||||
background: var(--card-bg);
|
||||
border-radius: 8px 0 0 8px;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--card-shadow);
|
||||
max-height: calc(100vh - 200px);
|
||||
overflow-y: auto;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.logs-container::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.logs-container::-webkit-scrollbar-track {
|
||||
background: var(--bg-color);
|
||||
border-radius: 0 8px 8px 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.logs-container::-webkit-scrollbar-thumb {
|
||||
background: var(--primary-color);
|
||||
border-radius: 4px;
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.logs-container::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--sidebar-active-bg);
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.log-list {
|
||||
@@ -169,14 +168,16 @@ export default {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
background: #f9f9f9;
|
||||
border-radius: 6px;
|
||||
background: var(--surface-light);
|
||||
border-radius: 8px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, monospace;
|
||||
font-size: 14px;
|
||||
font-family: 'Consolas', 'Monaco', monospace;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
}
|
||||
|
||||
.log-time {
|
||||
color: #999;
|
||||
color: var(--text-tertiary);
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
@@ -185,32 +186,32 @@ export default {
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
border-radius: 980px;
|
||||
}
|
||||
|
||||
.log-level.DEBUG {
|
||||
color: #52c41a;
|
||||
background: #f6ffed;
|
||||
color: var(--log-debug-color);
|
||||
background: var(--log-debug-bg);
|
||||
}
|
||||
|
||||
.log-level.INFO {
|
||||
color: #1890ff;
|
||||
background: #e6f7ff;
|
||||
color: var(--log-info-color);
|
||||
background: var(--log-info-bg);
|
||||
}
|
||||
|
||||
.log-level.WARN {
|
||||
color: #faad14;
|
||||
background: #fffbe6;
|
||||
color: var(--log-warn-color);
|
||||
background: var(--log-warn-bg);
|
||||
}
|
||||
|
||||
.log-level.ERROR {
|
||||
color: #ff4d4f;
|
||||
background: #fff1f0;
|
||||
color: var(--log-error-color);
|
||||
background: var(--log-error-bg);
|
||||
}
|
||||
|
||||
.log-level.FATAL {
|
||||
color: #cf1322;
|
||||
background: #fff1f0;
|
||||
color: var(--log-fatal-color);
|
||||
background: var(--log-fatal-bg);
|
||||
}
|
||||
|
||||
.log-message {
|
||||
|
||||
@@ -276,8 +276,11 @@ export default {
|
||||
}
|
||||
|
||||
.card-value {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
line-height: 1.14;
|
||||
letter-spacing: 0.196px;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
@@ -296,11 +299,14 @@ export default {
|
||||
.network-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
}
|
||||
|
||||
.network-label {
|
||||
color: #666;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.network-value {
|
||||
|
||||
@@ -100,17 +100,19 @@ export default {
|
||||
background-color: var(--card-bg);
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.session-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
|
||||
background: var(--primary-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.session-info {
|
||||
@@ -119,8 +121,11 @@ export default {
|
||||
|
||||
.session-user {
|
||||
margin-left: 8px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
line-height: 1.19;
|
||||
letter-spacing: 0.231px;
|
||||
color: var(--text-color);
|
||||
margin-bottom: 4px;
|
||||
transition: color 0.3s;
|
||||
@@ -128,9 +133,11 @@ export default {
|
||||
|
||||
.session-id {
|
||||
margin-left: 8px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, monospace;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
font-family: 'Consolas', Courier, monospace;
|
||||
line-height: 1.33;
|
||||
letter-spacing: -0.12px;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
|
||||
@@ -199,5 +199,6 @@ export default {
|
||||
|
||||
.card-icon {
|
||||
font-size: 24px;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -230,6 +230,7 @@ export default {
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
background-color: var(--card-bg);
|
||||
box-shadow: var(--card-shadow);
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
@@ -247,8 +248,11 @@ export default {
|
||||
}
|
||||
|
||||
.user-name {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-family: 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 700;
|
||||
line-height: 1.19;
|
||||
letter-spacing: 0.231px;
|
||||
color: var(--text-color);
|
||||
transition: color 0.3s;
|
||||
word-break: break-all;
|
||||
@@ -269,12 +273,14 @@ export default {
|
||||
.meta-item {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.29;
|
||||
letter-spacing: -0.224px;
|
||||
}
|
||||
|
||||
.meta-label {
|
||||
color: var(--text-color);
|
||||
opacity: 0.65;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.meta-value {
|
||||
@@ -286,26 +292,4 @@ export default {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dark .user-item {
|
||||
background-color: var(--card-bg);
|
||||
}
|
||||
|
||||
.dark .meta-label {
|
||||
color: var(--text-color);
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.dark .edit-btn {
|
||||
background: #3d3d3d;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.dark .edit-btn:hover {
|
||||
background: #4d4d4d;
|
||||
}
|
||||
|
||||
.dark .delete-btn:hover {
|
||||
background: #f04142;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user