1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

Add option to only show folder in nav side panel (#6541)

* fix conflict

* remove redundant code

* add space at the end of css

* update ui
This commit is contained in:
Aries
2024-08-16 11:59:07 +08:00
committed by GitHub
parent 7543f195f3
commit 0d740cf138
9 changed files with 95 additions and 10 deletions

View File

@@ -0,0 +1,25 @@
.dropdown-item-wrapper {
height: 100%;
display: flex;
align-items: center;
position: relative;
padding-left: 1.5rem;
padding-right: 1rem;
}
.dropdown-item-wrapper .dropdown-item-tick {
width: 1.5rem;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
text-align: center;
color: #666666;
}
.dropdown-item:hover .dropdown-item-tick {
color: #fff;
}

View File

@@ -0,0 +1,25 @@
.view-modes-dropdown-wrapper {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 1.5rem;
padding-right: 1rem;
text-align: center;
}
.view-modes-dropdown-tick {
width: 1.5rem;
height: 1.5rem;
position: absolute;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
}
.view-modes-dropdown-content {
display: flex;
align-items: center;
}