import { Box } from "@mui/material";
import styled from "styled-components";
import selectedTheme from "../../../../themes";

export const BackgroundTransition = styled(Box)`
  transition-duration: 0.4s;
  transition-property: background-color;
  background-color: ${props => props.animationStage === 1 ? selectedTheme.filterSkeletonBackground : selectedTheme.filterSkeletonBackgroundSecond} !important;
`;

export const SkeletonHeaderContainer = styled(Box)`
  display: ${(props) => (props.skeleton ? "flex" : "none")};
  flex-direction: row;
  justify-content: space-between;
  margin-top: 36px;
`;
export const SkeletonHeaderLine = styled(BackgroundTransition)`
  background-color: ${selectedTheme.filterSkeletonBackground};
  width: 234px;
  height: 18px;
`;
export const SkeletonRowGroup = styled(Box)`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  top: -11px;
`;
export const CircleGroup = styled(Box)`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  top: -3px;
  margin-right: 46px;
`;
export const SkeletonHeaderCircle = styled(BackgroundTransition)`
  width: 40px;
  height: 40px;
  background-color: ${selectedTheme.filterSkeletonBackground};
  border-radius: 100%;
`;
export const SkeletonHeaderRightLine = styled(BackgroundTransition)`
  width: 209px;
  height: 34px;
  background-color: ${selectedTheme.filterSkeletonBackground};
`;
