2022-06-07 13:15:55 +00:00
|
|
|
import styled from "styled-components";
|
|
|
|
|
2022-07-22 19:01:25 +00:00
|
|
|
import { desktop } from "@docspace/components/utils/device";
|
2022-06-07 13:15:55 +00:00
|
|
|
|
|
|
|
const StyledRow = styled.div`
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 22px 1fr 16px;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-column-gap: ${(props) => props.gap || "8px"};
|
|
|
|
margin-bottom: 22px;
|
|
|
|
justify-items: center;
|
|
|
|
align-items: center;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const StyledBox1 = styled.div`
|
|
|
|
.rectangle-content {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ${desktop} {
|
|
|
|
.rectangle-content {
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
const StyledBox2 = styled.div`
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: 16px;
|
|
|
|
grid-row-gap: 4px;
|
|
|
|
justify-items: left;
|
|
|
|
align-items: left;
|
|
|
|
|
|
|
|
.first-row-content__mobile {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ${desktop} {
|
|
|
|
grid-template-rows: 16px;
|
|
|
|
grid-row-gap: 0;
|
|
|
|
|
|
|
|
.first-row-content__mobile {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.second-row-content__mobile {
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export { StyledRow, StyledBox1, StyledBox2 };
|