2022-04-19 10:57:56 +05:30
|
|
|
import { grey } from '@ant-design/colors';
|
|
|
|
|
import styled from 'styled-components';
|
|
|
|
|
|
|
|
|
|
export const HeaderContainer = styled.div<{ hover: boolean }>`
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: ${({ hover }): string => (hover ? `${grey[0]}66` : 'inherit')};
|
|
|
|
|
padding: 0.25rem 0;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
cursor: all-scroll;
|
|
|
|
|
position: absolute;
|
2023-07-18 08:55:01 +05:30
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
2022-04-19 10:57:56 +05:30
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const HeaderContentContainer = styled.span`
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: relative;
|
|
|
|
|
text-align: center;
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const ArrowContainer = styled.span<{ hover: boolean }>`
|
|
|
|
|
visibility: ${({ hover }): string => (hover ? 'visible' : 'hidden')};
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -1rem;
|
|
|
|
|
`;
|