更新高密度浏览模式
This commit is contained in:
1 parent
529ad70e11
commit
e58195147f
15 files changed
+1184
-107
No files matched your search
+90
-7
@@ -157,25 +157,25 @@ body.dark-mode .search-result-title {
|
||||
|
||||
.theme-toggle {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
right: 65px;
|
||||
top: 20px;
|
||||
background: white;
|
||||
border: 2px solid #e2e8f0;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 50%;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.3rem;
|
||||
font-size: 1.2rem;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
border-color: #4299e1;
|
||||
}
|
||||
|
||||
@@ -188,6 +188,75 @@ body.dark-mode .theme-toggle:hover {
|
||||
border-color: #63b3ed;
|
||||
}
|
||||
|
||||
/* 视图切换按钮 */
|
||||
.view-toggle {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 20px;
|
||||
background: white;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 50%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.2rem;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.view-toggle:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
border-color: #4299e1;
|
||||
}
|
||||
|
||||
body.dark-mode .view-toggle {
|
||||
background: #2d3748;
|
||||
border-color: #4a5568;
|
||||
}
|
||||
|
||||
body.dark-mode .view-toggle:hover {
|
||||
border-color: #63b3ed;
|
||||
}
|
||||
|
||||
.view-tooltip {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-10px);
|
||||
background: rgba(0, 0, 0, 0.85);
|
||||
color: #fff;
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 0.8rem;
|
||||
white-space: nowrap;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.3s ease;
|
||||
pointer-events: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.view-tooltip::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
.view-toggle:hover .view-tooltip {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateX(-50%) translateY(0);
|
||||
}
|
||||
|
||||
.theme-tooltip {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
@@ -560,7 +629,7 @@ body.dark-mode .beian-divider {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 1.1rem;
|
||||
right: 10px;
|
||||
right: 65px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
@@ -570,6 +639,20 @@ body.dark-mode .beian-divider {
|
||||
bottom: -32px;
|
||||
}
|
||||
|
||||
.view-toggle {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 1.1rem;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.view-tooltip {
|
||||
font-size: 0.75rem;
|
||||
padding: 5px 10px;
|
||||
bottom: -32px;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in new issue
Block a user