import styled from "styled-components";
import selectedTheme from "../../../../themes";
import { IconButton } from "../../../Buttons/IconButton/IconButton";
import { ReactComponent as Remove } from "../../../../assets/images/svg/trash.svg";

export const CategoryRemoveButtonContainer = styled(IconButton)`
  width: 40px;
  height: 40px;
  background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
  border-radius: 100%;
  position: relative;
  top: 22px;
  margin-right: 18px;
  padding-top: 2px;
  text-align: center;
  @media (max-width: 600px) {
    width: 32px;
    height: 32px;
    top: 18px;
    right: 12px;
    padding: 0;
    ${(props) =>
      props.vertical &&
      `
      display: none;
    `}
    & button svg {
      width: 16px;
      height: 16px;
      position: relative;
      top: -3px;
      left: -2.5px;
    }
  }
`;
export const RemoveIcon = styled(Remove)`
  & path {
    ${(props) =>
      props.disabled &&
      `stroke: ${selectedTheme.colors.iconStrokePurpleDisabledColor};`}
  }
`;
