mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
Folded side panel (#6321)
* [user panel - header] update * [folded side panel] modified UI details
This commit is contained in:
@@ -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 };
|
||||
|
@@ -33,8 +33,12 @@
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
.user-panel {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.positioned-top-logo {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
top: .5rem;
|
||||
left: 1rem;
|
||||
z-index: 101;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user