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

51 lines
856 B
JavaScript
Raw Permalink Normal View History

2021-12-03 20:37:38 +01:00
import styled from 'styled-components';
const Wrapper = styled.div`
.collection-name {
height: 1.875rem;
cursor: pointer;
user-select: none;
padding-left: 8px;
font-weight: 600;
2021-12-03 20:37:38 +01:00
.rotate-90 {
transform: rotateZ(90deg);
}
2022-01-01 10:07:34 +01:00
.collection-actions {
2022-03-22 13:48:20 +01:00
.dropdown {
div[aria-expanded="true"] {
visibility: visible;
}
div[aria-expanded="false"] {
visibility: hidden;
}
}
2022-01-01 10:07:34 +01:00
svg {
height: 22px;
color: rgb(110 110 110);
}
}
&:hover {
.collection-actions {
2022-03-22 13:48:20 +01:00
.dropdown {
div[aria-expanded="false"] {
visibility: visible;
}
}
2022-01-01 10:07:34 +01:00
}
}
2022-03-13 13:13:21 +01:00
div.tippy-box {
position: relative;
top: -0.625rem;
font-weight: 400;
}
2021-12-03 20:37:38 +01:00
}
`;
export default Wrapper;