| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import styled from "styled-components";
- import { List, Box, Typography, Grid } from "@mui/material";
-
- import selectedTheme from "../../../themes";
-
- export const ReviewsBox = styled(Box)`
- width: 100%;
- height: calc(100% - 90px);
- max-height: 100vh;
- padding-top: 20px;
- @media (max-width: 1200px) {
- padding: 0;
- }
- @media (max-width: 600px) {
- position: relative;
- top: -45px;
- overflow: hidden;
- height: 350px;
- max-height: 350px;
- padding: 0;
- }
- `;
- export const ReviewsHeader = styled(Grid)`
- @media (max-width: 800px) {
- display: none;
- }
- `;
-
- export const ReviewsTitle = styled(Typography)`
- font-family: ${selectedTheme.fonts.textFont};
- font-size: 16px;
- @media (max-width: 800px) {
- display: none;
- }
- `;
-
- export const ReviewList = styled(List)`
- background: white;
- padding: 2rem;
- border-radius: 4px 0 0 4px;
- height: 100%;
- width: 100%;
- border: 1px solid ${selectedTheme.colors.borderNormal};
-
- /* overflow-y: auto; */
- &::-webkit-scrollbar {
- width: 5px;
- }
- &::-webkit-scrollbar-track {
- background: #ddd;
- }
- &::-webkit-scrollbar-thumb {
- background: #777;
- }
- scrollbar-width: thin;
- scrollbar-color: #ddd;
- `;
-
- export const NoReviewsContainer = styled(Box)``;
- export const NoReviewsText = styled(Typography)`
- color: ${selectedTheme.colors.primaryPurple};
- font-size: 24px;
- font-family: ${selectedTheme.fonts.textFont};
- text-align: center;
- font-weight: 700;
- width: 100%;
- `;
- export const NoReviewsAltText = styled(Typography)`
- font-size: 12px;
- color: ${selectedTheme.colors.primaryDarkText};
- font-family: ${selectedTheme.fonts.textFont};
- text-align: center;
- width: 100%;
- margin-bottom: 36px;
- `;
|