bruno/renderer/components/Sidebar/Collections/Collection/CollectionItem/StyledWrapper.js

54 lines
969 B
JavaScript
Raw Normal View History

2021-12-03 20:37:38 +01:00
import styled from 'styled-components';
const Wrapper = styled.div`
.menu-icon {
display: none;
flex-grow: 1;
justify-content: flex-end;
}
2022-01-01 17:56:56 +01:00
.indent-block {
border-right: solid 1px #e1e1e1;
}
2021-12-03 20:37:38 +01:00
.collection-item-name {
height: 1.875rem;
cursor: pointer;
user-select: none;
.rotate-90 {
transform: rotateZ(90deg);
}
&:hover {
2022-01-21 08:55:39 +01:00
background: #e7e7e7;
.menu-icon {
display: flex;
}
}
.menu-icon {
color: rgb(110 110 110);
}
&.item-focused-in-tab {
2022-01-31 06:06:29 +01:00
background: var(--color-sidebar-collection-item-active-background);
&:hover {
2022-01-31 06:06:29 +01:00
background: var(--color-sidebar-collection-item-active-background) !important;
}
2022-01-01 17:56:56 +01:00
.indent-block {
2022-01-31 06:06:29 +01:00
border-right: solid 1px var(--color-sidebar-collection-item-active-indent-border);
2022-01-01 17:56:56 +01:00
}
}
div.tippy-box {
position: relative;
top: -0.625rem;
}
2021-12-03 20:37:38 +01:00
}
`;
export default Wrapper;