You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HeaderPopover.styled.js 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import { Avatar, Box, Button, List, ListItem, ListItemAvatar, ListItemText, Typography } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. import { ReactComponent as Eye } from "../../../assets/images/svg/eye-striked.svg";
  5. import { ProfileAvatar } from "../MyProfile/MyProfile.styled";
  6. export const HeaderPopoverContainer = styled(Box)`
  7. `
  8. export const PopoverTitle = styled(Typography)`
  9. background-color: ${selectedTheme.primaryPurple};
  10. color: white;
  11. width: 100%;
  12. min-width: 270px;
  13. font-family: "Open Sans";
  14. `
  15. export const PopoverList = styled(List)`
  16. width: 100%;
  17. max-width: 360px;
  18. background-color: "white";
  19. `
  20. export const PopoverListItem = styled(ListItem)`
  21. align-items: flex-start;
  22. `
  23. export const PopoverListItemAvatar = styled(Avatar)`
  24. position: relative;
  25. top: 4px;
  26. `
  27. export const PopoverListItemProfileAvatar = styled(ProfileAvatar)`
  28. `
  29. export const PopoverListItemAvatarContainer = styled(ListItemAvatar)`
  30. `
  31. export const PopoverButton = styled(Button)`
  32. text-decoration: underline;
  33. color: ${selectedTheme.primaryPurple};
  34. font-weight: 500;
  35. text-align: right;
  36. height: 20px;
  37. `
  38. export const PopoverListItemTextContainer = styled(ListItemText)`
  39. & span {
  40. font-weight: 700;
  41. color: ${selectedTheme.primaryPurple};
  42. }
  43. & p {
  44. font-size: 0.81rem;
  45. & svg {
  46. position: relative;
  47. top: 2px;
  48. }
  49. }
  50. `
  51. export const EyeIcon = styled(Eye)`
  52. & path {
  53. stroke: ${selectedTheme.primaryYellow};
  54. }
  55. `
  56. export const PopoverButtonsContainer = styled(Box)`
  57. flex-direction: column;
  58. display: flex;
  59. align-items: flex-end;
  60. `
  61. export const PopoverNoItemsText = styled(Typography)`
  62. text-align: center;
  63. width: 100%;
  64. font-weight: 600;
  65. padding-top: 5px;
  66. font-size: 13px;
  67. font-family: "Open Sans";
  68. `