新增表格排版

This commit is contained in:
MasonLiu committed 2026-06-01 00:24:51 +08:00
1 parent e58195147f
commit b69243e51a
4 files changed
+1019 -11

No files matched your search

+61
View File
@@ -257,6 +257,67 @@ body.dark-mode .view-toggle:hover {
transform: translateX(-50%) translateY(0);
}
/* 视图切换下拉菜单 */
.view-menu {
position: absolute;
top: 70px;
right: 15px;
background: white;
border: 1px solid #e2e8f0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
padding: 8px 0;
min-width: 150px;
z-index: 101;
display: none;
}
body.dark-mode .view-menu {
background: #2d3748;
border-color: #4a5568;
}
.view-menu.show {
display: block;
}
.view-menu-item {
display: flex;
align-items: center;
padding: 10px 16px;
color: #2d3748;
text-decoration: none;
transition: background-color 0.2s ease;
cursor: pointer;
border: none;
background: none;
width: 100%;
font-size: 0.9em;
text-align: left;
}
body.dark-mode .view-menu-item {
color: #e2e8f0;
}
.view-menu-item:hover {
background-color: #f7fafc;
}
body.dark-mode .view-menu-item:hover {
background-color: #4a5568;
}
.view-menu-item.active {
background-color: #4299e1;
color: white;
}
.view-menu-icon {
margin-right: 10px;
font-size: 1.1em;
}
.theme-tooltip {
position: absolute;
bottom: -35px;