All files / src/features/Merchants/MerchantSidePanel/Modals/MatchReport/styles NewReportView.style.tsx

100% Statements 13/13
100% Branches 0/0
100% Functions 6/6
100% Lines 7/7

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63        11x               11x               11x             14x             11x               4x       4x                                
import { styled } from "@theme/v2/Provider";
import { Box, Stack } from "@mui/system";
import GiveButton from "@shared/Button/GiveButton";
 
const StyledAddNewReportStack = styled(Stack)(({ theme }) => ({
  flexDirection: "row",
  gap: theme.spacing(2.5),
  [theme.breakpoints.down("v2_sm")]: {
    flexDirection: "column",
  },
}));
 
const StyledAddNewReportButton = styled(GiveButton)(({ theme }) => ({
  height: "fit-content",
  width: "75%",
  [theme.breakpoints.down("v2_sm")]: {
    width: "100%",
  },
}));
 
const StyledMatchStatusBoxRoot = styled(Stack)(({ theme }) => ({
  padding: theme.spacing(2),
  backgroundColor: theme.palette?.surface?.secondary,
  borderRadius: theme.customs?.radius.medium,
  gap: theme.spacing(4),
}));
 
const StyledMatchStatusStackContainer = styled(Box)(({ theme }) => ({
  padding: theme.spacing(2.5),
  backgroundColor: theme.palette?.surface?.primary,
  borderRadius: theme.customs?.radius.medium,
  cursor: "pointer",
}));
 
const StyledLatestCheckStack = styled(Stack)(({ theme }) => ({
  borderTop: `1px solid ${theme.palette.border?.primary}`,
  marginTop: theme.spacing(1.5),
  paddingTop: theme.spacing(1.5),
  flexDirection: "row",
  justifyContent: "space-between",
}));
 
const StyledPreviousCheckStack = styled(StyledMatchStatusStackContainer)({
  cursor: "default",
});
 
const StyledPreviousCheckRowContainer = styled(Stack)(({ theme }) => ({
  flexDirection: "row",
  justifyContent: "space-between",
  cursor: "pointer",
  padding: theme.spacing(1.5),
}));
 
export {
  StyledPreviousCheckRowContainer,
  StyledPreviousCheckStack,
  StyledLatestCheckStack,
  StyledMatchStatusStackContainer,
  StyledMatchStatusBoxRoot,
  StyledAddNewReportButton,
  StyledAddNewReportStack,
};