Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 1x 1x 308x 308x | import styled from "styled-components";
export const ListItem = styled.div`
display: flex;
align-items: center;
padding: 0 5px;
box-sizing: border-box;
font-size: 11px;
line-height: 21px;
height: 21px;
margin-top: 2px;
margin-left: 5px;
width: calc(100% - 10px);
border-radius: 4px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
&:active {
background: ${(props) => props.theme.colors.list.activeBackground};
}
&[data-selected="true"],
&[data-highlighted="true"] {
background: ${(props) => props.theme.colors.list.selectedBackground};
}
&:focus {
outline: 0 !important;
box-shadow: none !important;
}
`;
|