mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-15 03:35:01 -05:00
29 lines
520 B
TypeScript
29 lines
520 B
TypeScript
|
import styled from "styled-components";
|
||
|
|
||
|
export default styled.details`
|
||
|
summary {
|
||
|
outline: none;
|
||
|
list-style: none;
|
||
|
transition: .2s opacity;
|
||
|
|
||
|
&::marker, &::-webkit-details-marker {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
svg {
|
||
|
flex-shrink: 0;
|
||
|
transition: .2s ease transform;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:not([open]) {
|
||
|
summary {
|
||
|
opacity: .7;
|
||
|
}
|
||
|
|
||
|
summary svg {
|
||
|
transform: rotateZ(-90deg);
|
||
|
}
|
||
|
}
|
||
|
`;
|