style(css): 移除导航折叠组件的边框样式
- 移除了导航折叠项的 border-block 样式 - 移除了导航折叠内容区域的 border-block 样式 - 移除了导航折叠内容区域的 border-top 样式 - 将导航折叠内容区域的边框设置为 border: 0
This commit is contained in:
+3
-2
@@ -84,6 +84,7 @@
|
|||||||
transform: translateY(-10px);
|
transform: translateY(-10px);
|
||||||
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease;
|
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease;
|
||||||
display: none;
|
display: none;
|
||||||
|
border-block: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-collapse-item:hover .nav-collapse-content,
|
.nav-collapse-item:hover .nav-collapse-content,
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
border-block: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-collapse-content .nav-link:last-child {
|
.nav-collapse-content .nav-link:last-child {
|
||||||
@@ -237,13 +239,12 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: white;
|
background: white;
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: max-height 0.3s ease;
|
transition: max-height 0.3s ease;
|
||||||
border-block: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-collapse-content.show {
|
.nav-collapse-content.show {
|
||||||
|
|||||||
Reference in New Issue
Block a user