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 {
position: absolute;
z-index: 1000;

View File

@@ -6,10 +6,16 @@ body {
}
.left-panel {
display: flex;
flex-direction: column;
width: 16%;
background-color: constants.$origin-color;
user-select: none;
.hide-scrollbar-selection {
height: 100% !important;
}
.title {
font-size: 2em;
text-align: center;
@@ -61,8 +67,8 @@ body {
}
.submenu {
display: none;
position: fixed;
display: block;
position: absolute;
padding-left: 20px;
left: 100%;
top: 0;
@@ -99,7 +105,9 @@ body {
}
&:hover {
background-color: constants.$background-color;
a {
background-color: constants.$background-color;
}
.submenu {
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 {

View File

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