bruno/renderer/components/Sidebar/StyledWrapper.js

49 lines
918 B
JavaScript
Raw Normal View History

2022-01-02 09:15:13 +01:00
import styled from 'styled-components';
2022-03-22 13:48:20 +01:00
const Wrapper = styled.div`
aside {
background-color: var(--color-sidebar-background);
2022-01-31 06:06:29 +01:00
2022-03-22 13:48:20 +01:00
.collection-title {
line-height: 1.5;
.collection-dropdown {
.dropdown-icon {
display: none;
color: rgb(110 110 110);
}
}
&:hover {
background: #f7f7f7;
.dropdown-icon {
display: flex;
}
2022-01-02 09:15:13 +01:00
}
2022-03-22 13:48:20 +01:00
div.tippy-box {
position: relative;
top: -0.625rem;
2022-01-02 09:15:13 +01:00
}
}
2022-03-22 13:48:20 +01:00
}
div.drag-sidebar {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
cursor: col-resize;
background-color: transparent;
width: 6px;
right: -3px;
2022-01-02 09:15:13 +01:00
2022-03-22 13:48:20 +01:00
&:hover div.drag-request-border{
width: 2px;
height: 100%;
border-left: solid 1px var(--color-request-dragbar-background-active);
2022-01-02 09:15:13 +01:00
}
}
`;
export default Wrapper;