import React from "react"; import styled, { keyframes } from 'styled-components'; import SVGIcon from "../../components/UI/Icon/SVGIcon"; import Pagination from "../../components/UI/Pagination"; import { HashLoader } from 'react-spinners'; const ChatSVG = () => { return ; } const Box = styled.div` box-shadow: 0 2px 1px #00000010; border: 1px solid #c2c4c2; border-radius: 14px; `; const BackButton = styled.button` border: 1px solid #c2c4c2; display: inline-block; padding: 12px 16px; border-radius: 14px; background: #ffffff; color: gray; box-shadow: 0 2px 1px #00000010; font-size: 12pt; float: left; & ${SVGIcon} { transform: translate(-4px, 2px) } `; const Title = styled.div` text-align: center; height: 100px; padding-top: 32px; z-index: 1; position: relative; top: 0; & h2 { font-weight: 600; text-align: center; padding: 0; display: inline-block; transform: translateY(6px); } `; const FilterForm = styled.div` display: inline-block; float: right `; const FilterOption = styled(Box)` display: inline-block; border: 1px solid #c2c4c2; border-radius: 14px; padding: 6px 10px; margin: 0 12px; font-size: 11pt; width: 160px; & input[type=text] { margin: 0 8px; display: inline-block; width: 20px; border: 0; border-bottom: 1px solid gray; outline: none; padding-bottom: 2px; } `; const FilterSetting = styled.div` border-top: 1px solid #c2c4c2; margin-top: 6px; padding-top: 8px; font-size: 10pt; transform: translate(4px) `; const FilterButton = styled.button` background: royalblue; width: 40px; height: 40px; border-radius: 20px; float: right; margin: 0 10px; box-shadow: 0 2px 1px #00000020; transition: 250ms ease; transform: translateY(12px); &:hover { box-shadow: 0 2px 2px #00000060; } `; const UserList = styled.div` margin: 32px auto; margin-bottom: 0; display: block; `; const ContactButton = styled.button` background: white; border: 2px solid royalblue; border-radius: 12px; color: royalblue; font-weight: 600; line-height: 20px; transition: 150ms ease; width: 100%; font-size: 10.5pt; height: 36px; opacity: 0; padding: 0px 10px; clip-path: border-box; box-sizing: border-box; & svg { fill: royalblue; margin: 0; margin-right: 6px; transform: translateY(2px); } &:hover { color: white; background: royalblue; } &:hover svg { fill: white } `; const UserAppear = keyframes` 0%, 50% { opacity: 0; transform: scale(1.05) } to { opacity: 1; transform: scale(1) } `; const UserCard = styled(Box)` display: inline-block; padding: 10px; padding-top: 20px; background: white; width: 200px; height: 256px; margin-right: 20px; margin-bottom: 84px; text-align: center; animation: ${UserAppear} 500ms ease; & h4 { margin: 10px 0; font-weight: 600; } & p { margin: 10px 0; height: 74px; color: gray; font-size: 10pt; } transition: 150ms ease; &:hover > ${ContactButton} { opacity: 1; padding: 6px 10px; } &:hover { height: 300px; margin-bottom: 40px; } `; const Badges = styled.div` height: 0px; `; const LeftBadge = styled.div` float: left; transform: translate(90%, -100%); background: lightgray; border: 3px solid white; border-radius: 100px; width: 36px; height: 36px; `; const RightBadge = styled(LeftBadge)` float: right; transform: translate(-75%, -100%); background: limegreen; & p { transform: translateY(6px); font-size: 11pt; font-weight: 600; color: white; text-shadow: 0 2px 1px #00000040; margin: 0; height: auto; } `; const LoadingText = styled.h2` text-align: center; line-height: 3.5em; margin: 0; padding: 100px 0; & span { display: inline; margin: 0px auto } `; class UserDisplay extends React.Component { /** @type {{ value: import('../../API/User').User[] }} */ props; constructor(props) { super(props); } render() { return (
?
No description provided.