style: 优化后台管理页面中输入框和操作按钮的样式
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-08-15 14:42:29 +08:00
1 parent 89d4279507
commit 6c49249ce1
3 files changed
+42 -12

No files matched your search

+14 -4
View File
@@ -367,6 +367,12 @@
text-decoration-color 0.2s; text-decoration-color 0.2s;
} }
.action-btn:hover {
color: var(--accent-color, #419b38);
text-decoration: underline;
text-underline-offset: 4px;
}
.action-btn.delete:hover { .action-btn.delete:hover {
color: #d9534f; color: #d9534f;
text-decoration: underline; text-decoration: underline;
@@ -381,18 +387,22 @@
.edit-input { .edit-input {
width: 100%; width: 100%;
padding: 6px 8px; padding: 8px 10px;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.12);
background: transparent; border-radius: 0;
background: rgba(0, 0, 0, 0.015);
font-family: inherit; font-family: inherit;
font-size: 0.95rem; font-size: 0.95rem;
color: var(--text-color); color: var(--text-color);
box-sizing: border-box; box-sizing: border-box;
border-radius: 4px; transition:
border-color 0.3s ease,
box-shadow 0.3s ease;
} }
.edit-input:focus { .edit-input:focus {
outline: none; outline: none;
border-color: var(--accent-color, #419b38); border-color: var(--accent-color, #419b38);
box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08);
} }
</style> </style>
+14 -4
View File
@@ -357,6 +357,12 @@
text-decoration-color 0.2s; text-decoration-color 0.2s;
} }
.action-btn:hover {
color: var(--accent-color, #419b38);
text-decoration: underline;
text-underline-offset: 4px;
}
.action-btn.delete:hover { .action-btn.delete:hover {
color: #d9534f; color: #d9534f;
text-decoration: underline; text-decoration: underline;
@@ -371,18 +377,22 @@
.edit-input { .edit-input {
width: 100%; width: 100%;
padding: 6px 8px; padding: 8px 10px;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.12);
background: transparent; border-radius: 0;
background: rgba(0, 0, 0, 0.015);
font-family: inherit; font-family: inherit;
font-size: 0.95rem; font-size: 0.95rem;
color: var(--text-color); color: var(--text-color);
box-sizing: border-box; box-sizing: border-box;
border-radius: 4px; transition:
border-color 0.3s ease,
box-shadow 0.3s ease;
} }
.edit-input:focus { .edit-input:focus {
outline: none; outline: none;
border-color: var(--accent-color, #419b38); border-color: var(--accent-color, #419b38);
box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08);
} }
</style> </style>
+14 -4
View File
@@ -301,6 +301,12 @@
text-decoration-color 0.2s; text-decoration-color 0.2s;
} }
.action-btn:hover {
color: var(--accent-color, #419b38);
text-decoration: underline;
text-underline-offset: 4px;
}
.action-btn.delete:hover { .action-btn.delete:hover {
color: #d9534f; color: #d9534f;
text-decoration: underline; text-decoration: underline;
@@ -315,18 +321,22 @@
.edit-input { .edit-input {
width: 100%; width: 100%;
padding: 6px 8px; padding: 8px 10px;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.12);
background: transparent; border-radius: 0;
background: rgba(0, 0, 0, 0.015);
font-family: inherit; font-family: inherit;
font-size: 0.95rem; font-size: 0.95rem;
color: var(--text-color); color: var(--text-color);
box-sizing: border-box; box-sizing: border-box;
border-radius: 4px; transition:
border-color 0.3s ease,
box-shadow 0.3s ease;
} }
.edit-input:focus { .edit-input:focus {
outline: none; outline: none;
border-color: var(--accent-color, #419b38); border-color: var(--accent-color, #419b38);
box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08);
} }
</style> </style>