2025-10-15 09:34:44 +08:00
|
|
|
.startup-page {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-10-15 18:24:13 +08:00
|
|
|
width: 100%;
|
2025-10-15 09:34:44 +08:00
|
|
|
height: 100vh;
|
2025-10-15 18:24:13 +08:00
|
|
|
background-color: #1e1e1e;
|
|
|
|
|
color: #cccccc;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-header {
|
2025-10-15 18:24:13 +08:00
|
|
|
padding: 60px 40px 40px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-title {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 32px;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
|
letter-spacing: -0.5px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-subtitle {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #858585;
|
|
|
|
|
margin: 0;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
2025-10-15 18:24:13 +08:00
|
|
|
gap: 60px;
|
|
|
|
|
padding: 0 40px;
|
|
|
|
|
overflow: auto;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-actions {
|
|
|
|
|
display: flex;
|
2025-10-15 18:24:13 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
min-width: 280px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-action-btn {
|
2025-10-16 17:10:22 +08:00
|
|
|
position: relative;
|
2025-10-15 09:34:44 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-10-15 18:24:13 +08:00
|
|
|
gap: 12px;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
background-color: #2d2d30;
|
|
|
|
|
border: 1px solid #3e3e42;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
font-size: 13px;
|
2025-10-15 09:34:44 +08:00
|
|
|
cursor: pointer;
|
2025-10-15 18:24:13 +08:00
|
|
|
transition: all 0.15s;
|
|
|
|
|
text-align: left;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-action-btn:hover {
|
2025-10-15 18:24:13 +08:00
|
|
|
background-color: #37373d;
|
|
|
|
|
border-color: #007acc;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-action-btn.primary {
|
2025-10-15 18:24:13 +08:00
|
|
|
background-color: #0e639c;
|
|
|
|
|
border-color: #0e639c;
|
|
|
|
|
color: #ffffff;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-action-btn.primary:hover {
|
2025-10-15 18:24:13 +08:00
|
|
|
background-color: #1177bb;
|
|
|
|
|
border-color: #1177bb;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
2025-10-16 17:10:22 +08:00
|
|
|
.startup-action-btn.disabled {
|
|
|
|
|
background-color: #252526;
|
|
|
|
|
border-color: #3e3e42;
|
|
|
|
|
color: #6e6e6e;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-action-btn.disabled:hover {
|
|
|
|
|
background-color: #252526;
|
|
|
|
|
border-color: #3e3e42;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-coming-soon {
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
padding: 2px 6px;
|
|
|
|
|
background-color: #3e3e42;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
color: #858585;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-15 09:34:44 +08:00
|
|
|
.btn-icon {
|
2025-10-15 18:24:13 +08:00
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
flex-shrink: 0;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-recent {
|
2025-10-15 18:24:13 +08:00
|
|
|
flex: 1;
|
|
|
|
|
max-width: 600px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-title {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 13px;
|
2025-10-15 09:34:44 +08:00
|
|
|
font-weight: 600;
|
2025-10-15 18:24:13 +08:00
|
|
|
color: #cccccc;
|
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.5px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-empty {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 13px;
|
|
|
|
|
color: #858585;
|
|
|
|
|
margin: 0;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-list {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
2025-10-15 18:24:13 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1px;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-10-15 18:24:13 +08:00
|
|
|
gap: 12px;
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
border-radius: 2px;
|
2025-10-15 09:34:44 +08:00
|
|
|
cursor: pointer;
|
2025-10-15 18:24:13 +08:00
|
|
|
transition: background-color 0.15s;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
2025-10-15 18:24:13 +08:00
|
|
|
.recent-item:hover {
|
|
|
|
|
background-color: #2a2d2e;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-icon {
|
2025-10-15 18:24:13 +08:00
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
color: #858585;
|
2025-10-15 09:34:44 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-info {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-name {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 13px;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-path {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 11px;
|
|
|
|
|
color: #6e6e6e;
|
2025-10-15 09:34:44 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-04 14:04:39 +08:00
|
|
|
.recent-remove-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
color: #6e6e6e;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-item:hover .recent-remove-btn {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recent-remove-btn:hover {
|
|
|
|
|
background: rgba(255, 80, 80, 0.15);
|
|
|
|
|
color: #f87171;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-15 09:34:44 +08:00
|
|
|
.startup-footer {
|
2025-11-23 21:45:10 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2025-10-15 18:24:13 +08:00
|
|
|
padding: 20px 40px;
|
2025-11-23 21:45:10 +08:00
|
|
|
border-top: 1px solid #2a2a2f;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-version {
|
2025-10-15 18:24:13 +08:00
|
|
|
font-size: 11px;
|
|
|
|
|
color: #6e6e6e;
|
2025-10-15 09:34:44 +08:00
|
|
|
}
|
2025-11-23 21:45:10 +08:00
|
|
|
|
|
|
|
|
.startup-locale-dropdown {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: 1px solid #3e3e42;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-btn:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.05);
|
|
|
|
|
border-color: #555;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-menu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 100%;
|
|
|
|
|
right: 0;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
background: #252529;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
|
|
|
|
|
padding: 4px 0;
|
2025-11-27 20:42:46 +08:00
|
|
|
z-index: var(--z-index-dropdown);
|
2025-11-23 21:45:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-item {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-item:hover {
|
|
|
|
|
background: #3b82f6;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-item.active {
|
|
|
|
|
color: #3b82f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-locale-item.active:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2025-11-26 11:08:10 +08:00
|
|
|
|
|
|
|
|
/* 更新提示条样式 */
|
|
|
|
|
.startup-update-banner {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 60px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
2025-11-27 20:42:46 +08:00
|
|
|
z-index: var(--z-index-sticky);
|
2025-11-26 11:08:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 10px 16px;
|
|
|
|
|
background: linear-gradient(135deg, #1e5a2f 0%, #1a4a28 100%);
|
|
|
|
|
border: 1px solid #2e8b4a;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
animation: slideUp 0.3s ease-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes slideUp {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(20px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-content svg {
|
|
|
|
|
color: #4ade80;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-text {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 6px 14px;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-btn.primary {
|
|
|
|
|
background: #22c55e;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-btn.primary:hover:not(:disabled) {
|
|
|
|
|
background: #16a34a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-btn:disabled {
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-close {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-close:hover:not(:disabled) {
|
|
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.update-banner-close:disabled {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
2025-12-04 14:04:39 +08:00
|
|
|
|
|
|
|
|
/* 右键菜单样式 | Context Menu Styles */
|
|
|
|
|
.startup-context-menu-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-context-menu {
|
|
|
|
|
position: fixed;
|
|
|
|
|
min-width: 180px;
|
|
|
|
|
background: #252529;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
|
|
|
|
padding: 4px 0;
|
|
|
|
|
z-index: 1001;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-context-menu-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 8px 14px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-context-menu-item:hover {
|
|
|
|
|
background: #3b82f6;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-context-menu-item.danger {
|
|
|
|
|
color: #f87171;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-context-menu-item.danger:hover {
|
|
|
|
|
background: #dc2626;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 对话框样式 | Dialog Styles */
|
|
|
|
|
.startup-dialog-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
z-index: 1002;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog {
|
|
|
|
|
width: 400px;
|
|
|
|
|
background: #2d2d30;
|
|
|
|
|
border: 1px solid #3e3e42;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 16px 20px;
|
|
|
|
|
background: #252526;
|
|
|
|
|
border-bottom: 1px solid #3e3e42;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-header h3 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dialog-icon-danger {
|
|
|
|
|
color: #f87171;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-body {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-body p {
|
|
|
|
|
margin: 0 0 12px 0;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-body p:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-path {
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #858585;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 16px 20px;
|
|
|
|
|
background: #252526;
|
|
|
|
|
border-top: 1px solid #3e3e42;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn {
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border: 1px solid #3e3e42;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #2d2d30;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn:hover {
|
|
|
|
|
background: #37373d;
|
|
|
|
|
border-color: #555;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn.danger {
|
|
|
|
|
background: #dc2626;
|
|
|
|
|
border-color: #dc2626;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn.danger:hover {
|
|
|
|
|
background: #b91c1c;
|
|
|
|
|
border-color: #b91c1c;
|
|
|
|
|
}
|
2025-12-05 14:24:09 +08:00
|
|
|
|
2025-12-13 19:44:08 +08:00
|
|
|
.startup-dialog-btn.primary {
|
|
|
|
|
background: #0e639c;
|
|
|
|
|
border-color: #0e639c;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn.primary:hover:not(:disabled) {
|
|
|
|
|
background: #1177bb;
|
|
|
|
|
border-color: #1177bb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-btn:disabled {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* esbuild 安装对话框样式 | esbuild Installation Dialog Styles */
|
|
|
|
|
.startup-dialog-info {
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
border-left: 3px solid #0e639c;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-progress {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
color: #0e639c;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-dialog-error {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
color: #dc2626;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
border-left: 3px solid #dc2626;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dialog-icon-info {
|
|
|
|
|
color: #0e639c;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-05 14:24:09 +08:00
|
|
|
/* 环境状态指示器样式 | Environment Status Indicator Styles */
|
|
|
|
|
.startup-env-status {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-status.ready {
|
|
|
|
|
color: #4ade80;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-status.ready:hover {
|
|
|
|
|
background: rgba(74, 222, 128, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-status.warning {
|
|
|
|
|
color: #f59e0b;
|
|
|
|
|
animation: pulse 2s infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-status.warning:hover {
|
|
|
|
|
background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
0%, 100% { opacity: 1; }
|
|
|
|
|
50% { opacity: 0.6; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-tooltip {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 100%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
min-width: 200px;
|
|
|
|
|
background: #2d2d30;
|
|
|
|
|
border: 1px solid #3e3e42;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.startup-env-tooltip::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 100%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
border: 6px solid transparent;
|
|
|
|
|
border-top-color: #3e3e42;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.env-tooltip-title {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
border-bottom: 1px solid #3e3e42;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.env-tooltip-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.env-tooltip-item.ok {
|
|
|
|
|
color: #4ade80;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.env-tooltip-item.error {
|
|
|
|
|
color: #f87171;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.env-source {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
}
|