| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- import { Box, Typography } from "@mui/material";
- import styled from "styled-components";
- import selectedTheme from "../../../../themes";
- import { ReactComponent as Location } from "../../../../assets/images/svg/location.svg";
- import { ReactComponent as Phone } from "../../../../assets/images/svg/phone.svg";
- import { IconButton } from "../../../Buttons/IconButton/IconButton";
-
- export const DirectChatContentHeaderContainer = styled(Box)`
- height: 90px;
- background-color: ${selectedTheme.colors.chatHeaderColor};
- width: 100%;
- display: flex;
- flex-direction: row;
- padding: 17px;
- padding-left: 35px;
- justify-content: space-between;
- `;
- export const DirectChatContentHeaderFlexContainer = styled(Box)`
- display: flex;
- flex-direction: row;
- `;
- export const ProfileImage = styled.img`
- width: 54px;
- height: 54px;
- border-radius: 100%;
- overflow: hidden;
- cursor: pointer;
- `;
- export const ProfileDetails = styled(Box)`
- display: flex;
- flex-direction: column;
- margin-left: 18px;
- `;
- export const ProfileName = styled(Box)`
- font-weight: 600;
- font-family: ${selectedTheme.fonts.textFont};
- font-size: 16px;
- color: ${selectedTheme.colors.primaryPurple};
- cursor: pointer;
- `;
- export const ProfileLocation = styled(Box)`
- display: flex;
- flex-direction: row;
- `;
- export const ProfileLocationText = styled(Box)`
- color: ${selectedTheme.colors.primaryDarkText};
- font-size: 12px;
- font-family: ${selectedTheme.fonts.textFont};
- margin-left: 5.5px;
- `;
- export const ProfileLocationIcon = styled(Location)`
- width: 12px;
- height: 12px;
- position: relative;
- top: 2px;
- `;
- export const PhoneIcon = styled(Phone)`
- position: relative;
- top: 2.5px;
- left: 1.5px;
- @media (max-width: 600px) {
- width: 14px;
- height: 14px;
- top: -2px;
- left: -2px;
- }
- `;
- export const PhoneIconContainer = styled(IconButton)`
- background-color: ${(props) =>
- props.disabled ? selectedTheme.colors.primaryIconBackgroundColor : "white"};
- width: 40px;
- height: 40px;
- border-radius: 100%;
- transition: 0.2s all;
- ${(props) =>
- props.disabled &&
- `
- & svg path {
- stroke: ${selectedTheme.colors.iconStrokeDisabledColor};
- }
- `}
- &:hover button:hover {
- background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
- }
- &:hover {
- background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
- cursor: pointer;
- }
- @media (max-width: 600px) {
- width: 32px;
- height: 32px;
- }
- `;
- export const DirectChatHeaderStatusContainer = styled(Box)`
- background-color: ${selectedTheme.colors.primaryPurple};
- /* height: 39px; */
- width: 100%;
- padding: 9px 36px;
- `;
- export const DirectChatHeaderStatusText = styled(Typography)`
- font-family: ${selectedTheme.fonts.textFont};
- font-style: italic;
- font-size: 16px;
- line-height: 21px;
- color: white;
- `;
|