mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 07:56:28 +00:00
webkit scrollbar style (file tabs)
This commit is contained in:
@@ -51,13 +51,33 @@ const LeftPanel = styled.div`
|
|||||||
const TabsPanelContainer = styled.div`
|
const TabsPanelContainer = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
overflow-x: auto;
|
|
||||||
top: ${theme.toolBar.height}px;
|
top: ${theme.toolBar.height}px;
|
||||||
left: ${(props) => props.contentLeft}px;
|
left: ${(props) => props.contentLeft}px;
|
||||||
height: ${theme.tabsPanel.height}px;
|
height: ${theme.tabsPanel.height}px;
|
||||||
right: 0;
|
right: 0;
|
||||||
background-color: ${theme.tabsPanel.background};
|
background-color: ${theme.tabsPanel.background};
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
|
|
||||||
|
overflow-x: auto;
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
height: 7px;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
// -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
|
||||||
|
border-radius: 1px;
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 1px;
|
||||||
|
// -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
|
||||||
|
background-color: #aaa;
|
||||||
|
&:hover {
|
||||||
|
background-color: #99c;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StausBarContainer = styled.div`
|
const StausBarContainer = styled.div`
|
||||||
|
|||||||
Reference in New Issue
Block a user