mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +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:
25
frontend/src/css/item-dropdown-menu.css
Normal file
25
frontend/src/css/item-dropdown-menu.css
Normal 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;
|
||||
}
|
25
frontend/src/css/view-modes.css
Normal file
25
frontend/src/css/view-modes.css
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user