This commit is contained in:
2023-10-12 23:27:21 +08:00
parent 36b5acfea9
commit 1c05de7f20
3 changed files with 26 additions and 23 deletions

View File

@@ -17,10 +17,6 @@
} }
} }
::-webkit-scrollbar {
display: none;
}
.scrollbar { .scrollbar {
position: absolute; position: absolute;
z-index: 1000; z-index: 1000;

View File

@@ -6,10 +6,16 @@ body {
} }
.left-panel { .left-panel {
display: flex;
flex-direction: column;
width: 16%; width: 16%;
background-color: constants.$origin-color; background-color: constants.$origin-color;
user-select: none; user-select: none;
.hide-scrollbar-selection {
height: 100% !important;
}
.title { .title {
font-size: 2em; font-size: 2em;
text-align: center; text-align: center;
@@ -61,8 +67,8 @@ body {
} }
.submenu { .submenu {
display: none; display: block;
position: fixed; position: absolute;
padding-left: 20px; padding-left: 20px;
left: 100%; left: 100%;
top: 0; top: 0;
@@ -99,7 +105,9 @@ body {
} }
&:hover { &:hover {
background-color: constants.$background-color; a {
background-color: constants.$background-color;
}
.submenu { .submenu {
display: block; display: block;
@@ -119,20 +127,19 @@ body {
} }
} }
} }
.separate {
height: 0;
margin: 10px 5px;
border: {
width: 1px;
color: constants.$font-secondary-color;
style: solid;
};
opacity: 0.4;
}
} }
} }
} }
.separate {
height: 0;
margin: 10px 5px;
border: {
width: 1px;
color: constants.$font-secondary-color;
style: solid;
};
opacity: 0.4;
}
} }
.right-panel { .right-panel {

View File

@@ -10,13 +10,11 @@ const ToolsFramework: React.FC = () => {
<> <>
<FitFullScreen className={'flex-horizontal'}> <FitFullScreen className={'flex-horizontal'}>
<div className={'left-panel'}> <div className={'left-panel'}>
<HideScrollbar> <div className={'title'}></div>
<div className={'title'}></div> <div style={{ marginTop: '0' }} className={'separate'} />
<HideScrollbar isShowVerticalScrollbar={true} isShowHorizontalScrollbar={true}>
<div className={'content'}> <div className={'content'}>
<ul> <ul>
<li>
<div style={{ marginTop: '0' }} className={'separate'} />
</li>
<li className={'item'}> <li className={'item'}>
<div className={'menu-bt'}> <div className={'menu-bt'}>
<NavLink <NavLink
@@ -126,6 +124,8 @@ const ToolsFramework: React.FC = () => {
</ul> </ul>
</div> </div>
</HideScrollbar> </HideScrollbar>
<div className={'title'}></div>
</div> </div>
<div className={'right-panel'}></div> <div className={'right-panel'}></div>
</FitFullScreen> </FitFullScreen>