1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

Folded side panel (#6321)

* [user panel - header] update

* [folded side panel] modified UI details
This commit is contained in:
llj
2024-07-09 18:35:43 +08:00
committed by GitHub
parent d8ade9acb6
commit 2a312e02fe
3 changed files with 10 additions and 7 deletions

View File

@@ -113,6 +113,6 @@ export const PRIVATE_FILE_TYPE = {
const TAG_COLORS = ['#FBD44A', '#EAA775', '#F4667C', '#DC82D2', '#9860E5', '#9F8CF1', '#59CB74', '#ADDF84',
'#89D2EA', '#4ECCCB', '#46A1FD', '#C2C2C2'];
export const SIDE_PANEL_FOLDED_WIDTH = 69;
export const SIDE_PANEL_FOLDED_WIDTH = 71;
export { KeyCodes, zIndexes, TAG_COLORS };

View File

@@ -33,8 +33,12 @@
height: 49px;
}
.user-panel {
position: relative;
}
.positioned-top-logo {
position: fixed;
position: absolute;
top: .5rem;
left: 1rem;
z-index: 101;

View File

@@ -667,6 +667,10 @@ a, a:hover { color: #ec8000; }
margin: 0!important;
}
.side-panel-folded .nav .nav-item {
margin-bottom: 4px;
}
.side-panel-folded .heading,
.side-panel-folded .nav-item#share-admin-nav,
.side-panel-folded .nav-item .nav-text,
@@ -728,11 +732,6 @@ a, a:hover { color: #ec8000; }
margin: 0;
}
.side-panel-folded .nav .nav-item .nav-link {
height: 36px;
}
.side-nav-con .active .sharp,
.side-nav-con .active .nav-text {
font-weight: bold;