|
|
@@ -1,14 +1,63 @@ |
|
|
|
|
|
|
|
.navigation-container { |
|
|
|
overflow-x: auto; /* 水平方向上的滚动条 */ |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
width: 100%; |
|
|
|
padding-left: 2rem; |
|
|
|
white-space: nowrap; /* 防止菜单项换行 */ |
|
|
|
} |
|
|
|
|
|
|
|
/* 调整滚动条大小 */ |
|
|
|
::-webkit-scrollbar { |
|
|
|
width: 8px; /* 调整滚动条的宽度 */ |
|
|
|
height: 8px; /* 调整滚动条的高度 */ |
|
|
|
} |
|
|
|
|
|
|
|
/* 调整滚动条轨道的样式 */ |
|
|
|
::-webkit-scrollbar-track { |
|
|
|
background: #f1f1f1; |
|
|
|
border-radius: 4px; |
|
|
|
} |
|
|
|
|
|
|
|
/* 调整滚动条滑块的样式 */ |
|
|
|
::-webkit-scrollbar-thumb { |
|
|
|
background: #888; |
|
|
|
border-radius: 4px; |
|
|
|
} |
|
|
|
|
|
|
|
/* 当鼠标悬停在滑块上时,改变滑块的颜色 */ |
|
|
|
::-webkit-scrollbar-thumb:hover { |
|
|
|
background: #555; |
|
|
|
} |
|
|
|
|
|
|
|
/* 调整菜单与滚动条的间距 */ |
|
|
|
.navigation-container ul { |
|
|
|
padding-right: 12px; /* 增加右侧内边距以增加间距 */ |
|
|
|
} |
|
|
|
|
|
|
|
.dropdown-submenu { |
|
|
|
display: inline-block; /* 使菜单项在一行内显示 */ |
|
|
|
} |
|
|
|
|
|
|
|
.scrollable-menu ul { |
|
|
|
padding-right: 20px; /* 右侧内边距,根据需要调整 */ |
|
|
|
} |
|
|
|
|
|
|
|
[nz-button] { |
|
|
|
margin-right: 8px; |
|
|
|
margin-bottom: 12px; |
|
|
|
} |
|
|
|
|
|
|
|
.nz-button-group [nz-button] { |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
ul { |
|
|
|
display: inline-flex; |
|
|
|
width: max-content; |
|
|
|
margin-right: auto; |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 0; |
|
|
|
|
|
|
|
li { |
|
|
|