fix: 统一端口并完善桌面端授权和安装
This commit is contained in:
+4
-71
@@ -182,6 +182,8 @@ select {
|
||||
font-size: 18px;
|
||||
background: linear-gradient(135deg, var(--td-brand-color), #618dff);
|
||||
border-radius: var(--td-radius-default);
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
@@ -352,8 +354,7 @@ select {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.theme-toggle,
|
||||
.restart-btn {
|
||||
.theme-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -376,80 +377,12 @@ select {
|
||||
border-color: var(--td-text-color-secondary);
|
||||
}
|
||||
|
||||
.restart-btn {
|
||||
color: var(--td-error-color);
|
||||
border-color: var(--td-error-color);
|
||||
}
|
||||
|
||||
.restart-btn:hover {
|
||||
color: var(--td-error-color);
|
||||
background: var(--td-error-color-light);
|
||||
}
|
||||
|
||||
.restart-btn:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.theme-toggle svg,
|
||||
.restart-btn svg {
|
||||
.theme-toggle svg {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.restart-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 5000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--td-mask-color);
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.restart-overlay-content {
|
||||
display: flex;
|
||||
min-width: 260px;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
padding: 32px 44px;
|
||||
color: var(--td-text-color-primary);
|
||||
background: var(--td-bg-color-container);
|
||||
border: 1px solid var(--td-border-color-light);
|
||||
border-radius: var(--td-radius-large);
|
||||
box-shadow: var(--td-shadow-3);
|
||||
}
|
||||
|
||||
.restart-overlay-spinner {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 4px solid var(--td-border-color-light);
|
||||
border-top-color: var(--td-brand-color);
|
||||
border-radius: 50%;
|
||||
animation: spinner-rotate 1s linear infinite;
|
||||
}
|
||||
|
||||
.restart-overlay-text {
|
||||
color: var(--td-text-color-primary);
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@keyframes spinner-rotate {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.logout-button {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user