fix: UI improvements
- Remove auto-open devtools - Settings as right drawer - DB selector in title bar - Sidebar expand/collapse - Fix dark mode colors for key detail
This commit is contained in:
@@ -33,3 +33,60 @@ body {
|
||||
::-webkit-scrollbar { width: 6px; height: 6px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
|
||||
|
||||
/* Element Plus Dark Mode Fixes */
|
||||
.el-textarea__inner,
|
||||
.el-input__wrapper {
|
||||
background: var(--bg-primary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
color: var(--text-primary) !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.el-textarea__inner:focus,
|
||||
.el-input__wrapper.is-focus {
|
||||
border-color: var(--accent) !important;
|
||||
}
|
||||
|
||||
.el-textarea.is-disabled .el-textarea__inner {
|
||||
background: var(--bg-secondary) !important;
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.el-table {
|
||||
--el-table-bg-color: var(--bg-primary);
|
||||
--el-table-tr-bg-color: var(--bg-primary);
|
||||
--el-table-header-bg-color: var(--bg-secondary);
|
||||
--el-table-row-hover-bg-color: var(--bg-hover);
|
||||
--el-table-text-color: var(--text-primary);
|
||||
--el-table-header-text-color: var(--text-secondary);
|
||||
--el-table-border-color: var(--border-color);
|
||||
}
|
||||
|
||||
.el-dialog {
|
||||
--el-dialog-bg-color: var(--bg-secondary);
|
||||
--el-dialog-title-font-size: 16px;
|
||||
}
|
||||
|
||||
.el-dialog__title {
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.el-form-item__label {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.el-drawer {
|
||||
background: var(--bg-secondary) !important;
|
||||
}
|
||||
|
||||
.el-drawer__header {
|
||||
color: var(--text-primary) !important;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
margin-bottom: 0;
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
.el-drawer__body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user