Add files via upload

This commit is contained in:
公明
2026-03-25 19:49:14 +08:00
committed by GitHub
parent 80de8cf748
commit cce64e213f
3 changed files with 149 additions and 43 deletions
+74 -25
View File
@@ -10359,54 +10359,93 @@ header {
flex-direction: column;
gap: 10px;
}
.webshell-db-profile-modal-content {
max-width: 840px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.1);
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
}
#webshell-db-profile-modal .modal-header {
padding: 14px 18px;
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
}
#webshell-db-profile-modal .modal-header h2 {
font-size: 1.08rem;
font-weight: 600;
background: none;
-webkit-text-fill-color: currentColor;
color: #0f172a;
}
#webshell-db-profile-modal .modal-body {
padding: 14px 18px 10px;
}
#webshell-db-profile-modal .modal-footer {
padding: 10px 18px 14px;
border-top: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
}
#webshell-db-profile-modal .modal-footer .btn-secondary,
#webshell-db-profile-modal .modal-footer .btn-primary {
min-width: 78px;
height: 36px;
border-radius: 8px;
}
.webshell-db-toolbar {
display: grid;
grid-template-columns: repeat(4, minmax(160px, 1fr));
gap: 12px;
padding: 14px;
grid-template-columns: repeat(4, minmax(130px, 1fr));
gap: 10px;
padding: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 12px;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
border-radius: 10px;
background: #f8fafc;
box-shadow: none;
}
.webshell-db-toolbar label {
display: flex;
flex-direction: column;
gap: 6px;
gap: 5px;
min-width: 0;
padding: 8px 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.82);
padding: 7px 9px;
border-radius: 8px;
background: #fff;
border: 1px solid rgba(15, 23, 42, 0.08);
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.webshell-db-toolbar label:focus-within {
border-color: rgba(0, 102, 255, 0.38);
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.12);
transform: translateY(-1px);
border-color: rgba(0, 102, 255, 0.32);
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}
.webshell-db-toolbar label span {
font-size: 0.75rem;
color: var(--text-secondary);
font-size: 0.72rem;
color: #64748b;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
letter-spacing: 0.01em;
text-transform: none;
}
.webshell-db-toolbar .form-control {
height: 36px;
border-radius: 8px;
border: 1px solid rgba(15, 23, 42, 0.16);
height: 34px;
border-radius: 7px;
border: 1px solid rgba(15, 23, 42, 0.14);
background: #fff;
font-size: 0.9rem;
font-size: 0.88rem;
padding-left: 10px;
padding-right: 10px;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.webshell-db-toolbar .form-control:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
background: #fff;
}
.webshell-db-toolbar select.form-control {
appearance: auto;
-webkit-appearance: menulist;
-moz-appearance: menulist;
padding-right: 8px;
background-image: none;
}
#webshell-db-sqlite-row {
grid-column: 1 / -1;
}
@@ -10522,7 +10561,7 @@ header {
grid-template-columns: 240px minmax(0, 1fr);
}
.webshell-db-toolbar {
grid-template-columns: repeat(3, minmax(140px, 1fr));
grid-template-columns: repeat(3, minmax(120px, 1fr));
}
}
@media (max-width: 980px) {
@@ -10533,13 +10572,23 @@ header {
min-height: 200px;
}
.webshell-db-toolbar {
grid-template-columns: repeat(2, minmax(140px, 1fr));
grid-template-columns: repeat(2, minmax(120px, 1fr));
}
}
@media (max-width: 700px) {
.webshell-db-toolbar {
grid-template-columns: 1fr;
}
#webshell-db-profile-modal .modal-content {
width: calc(100% - 24px);
margin: 32px auto;
}
#webshell-db-profile-modal .modal-header,
#webshell-db-profile-modal .modal-body,
#webshell-db-profile-modal .modal-footer {
padding-left: 14px;
padding-right: 14px;
}
}
/* 仪表盘页面样式(最佳实践布局 + 视觉增强) */