reza fixed profile and login

master
RezaAshrafi77 3 years ago
parent 6f05664810
commit 975d787694
  1. 22
      src/AppRouter.js
  2. 11
      src/Redux/reducers/user.js
  3. BIN
      src/assets/icons/drawer-qr.png
  4. BIN
      src/assets/icons/home_ar(2).png
  5. BIN
      src/assets/images/images.rar
  6. 9
      src/views/Auth/Profile/index.js
  7. 53
      src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js
  8. 36
      src/views/MyBooks/index.scss
  9. 85
      src/views/Products/Product/index.js
  10. 267
      src/views/Products/Product/index.scss
  11. 17
      src/views/Products/index.js
  12. 26
      src/views/Products/index.scss

@ -34,10 +34,26 @@ class AppRouter extends Component {
state = {}; state = {};
componentDidMount() {
if (this.props.profile) {
return;
} else {
this.props.getProfile();
}
}
render() { render() {
let home = ( let home = (
<Route exact path={"/"}> <Route exact path={"/"}>
{proxy.status() ? <Home /> : <Auth />} {proxy.status() ? (
this.props.profile.status ? (
<Home />
) : (
<Auth page={"profile"} />
)
) : (
<Auth />
)}
</Route> </Route>
); );
@ -115,8 +131,8 @@ class AppRouter extends Component {
export default connect( export default connect(
(state) => ({ (state) => ({
profile: state.user.status.profile || {}, profile: state.user.status || {},
// status: state.user.status, // status: state.user.status,
}), }),
{} { getProfile: user.getProfile }
)(AppRouter); )(AppRouter);

@ -1,4 +1,5 @@
import proxy from "../proxy"; import proxy from "../proxy";
import { ToastContainer, toast } from "react-toastify";
const initialState = { const initialState = {
status: proxy.status(), status: proxy.status(),
loading: false, loading: false,
@ -15,9 +16,16 @@ export default function user(state = initialState, action) {
case "user/register": case "user/register":
case "user/switchRole": case "user/switchRole":
case "user/getProfile": case "user/getProfile":
case "user/login":
case "public/sendOTP": case "public/sendOTP":
case "user/otp/login":
return { ...state, loading: false, status: data, error: null }; return { ...state, loading: false, status: data, error: null };
case "user/otp/login":
return {
...state,
loading: false,
status: data.profile,
error: null,
};
case "user/logout": case "user/logout":
return { ...state, loading: false, status: proxy.status(), error: null }; return { ...state, loading: false, status: proxy.status(), error: null };
case "user/getUserRole": case "user/getUserRole":
@ -34,6 +42,7 @@ export default function user(state = initialState, action) {
case "loading": case "loading":
return { ...state, loading: true }; return { ...state, loading: true };
case "error": case "error":
toast.error(data.message);
return { ...state, loading: false, error: data.message }; return { ...state, loading: false, error: data.message };
default: default:
return state; return state;

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

@ -56,6 +56,10 @@ class Profile extends Component {
}, },
}; };
componentDidMount() {
this.props.getProfile();
}
onChange = (name, value) => { onChange = (name, value) => {
if (name === "gardeId" && this.state.userRoleId === "معلم") { if (name === "gardeId" && this.state.userRoleId === "معلم") {
this.setState((prevState) => ({ this.setState((prevState) => ({
@ -68,11 +72,6 @@ class Profile extends Component {
} }
}; };
async componentDidMount() {
const { getProfile, profile } = this.props;
getProfile();
}
onSubmit = async (e) => { onSubmit = async (e) => {
const { const {
firstName, firstName,

@ -2,24 +2,24 @@ import React, { Component } from "react";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { toast } from "react-toastify"; import { toast } from "react-toastify";
import Avatar from "@material-ui/core/Avatar"; import Avatar from "@material-ui/core/Avatar";
import CheckIcon from '@material-ui/icons/Check'; import CheckIcon from "@material-ui/icons/Check";
import KeyboardArrowUpIcon from "@material-ui/icons/KeyboardArrowUp"; import KeyboardArrowUpIcon from "@material-ui/icons/KeyboardArrowUp";
import KeyboardArrowDownIcon from "@material-ui/icons/KeyboardArrowDown"; import KeyboardArrowDownIcon from "@material-ui/icons/KeyboardArrowDown";
// import { logout } from '../../../../Redux/actions/user'; // import { logout } from '../../../../Redux/actions/user';
// import { connect } from 'react-redux'; // import { connect } from 'react-redux';
import user1 from "../../../../../assets/images/user1.png"; import user1 from "~/assets/images/user1.png";
import user2 from "../../../../../assets/images/user2.png"; import user2 from "~/assets/images/user2.png";
import mobileHome from "../../../../../assets/icons/mobileHome.svg"; import mobileHome from "~/assets/icons/mobileHome.svg";
import mobileAr from "../../../../../assets/icons/mobileAr.svg"; import mobileAr from "~/assets/icons/mobileAr.svg";
import qrcode from "../../../../../assets/icons/qr.svg"; import qrcode from "~/assets/icons/drawer-qr.png";
import mobileBasket from "../../../../../assets/icons/mobileBasket.svg"; import mobileBasket from "~/assets/icons/mobileBasket.svg";
import mobileBlog from "../../../../../assets/icons/mobileBlog.svg"; import mobileBlog from "~/assets/icons/mobileBlog.svg";
import mobileMail from "../../../../../assets/icons/mobileMail.svg"; import mobileMail from "~/assets/icons/mobileMail.svg";
import mobileProfile from "../../../../../assets/icons/mobileProfile.svg"; import mobileProfile from "~/assets/icons/mobileProfile.svg";
import mobileDanger from "../../../../../assets/icons/mobileDanger.svg"; import mobileDanger from "~/assets/icons/mobileDanger.svg";
import mobileLogout from "../../../../../assets/icons/mobileLogout.svg"; import mobileLogout from "~/assets/icons/mobileLogout.svg";
import "./NavbarDrawer.scss"; import "./NavbarDrawer.scss";
class NavbarDrawer extends Component { class NavbarDrawer extends Component {
@ -124,63 +124,63 @@ NavbarDrawer.defaultProps = {
link: "/", link: "/",
icon: <img src={mobileHome} alt="صفحه اصلی" />, icon: <img src={mobileHome} alt="صفحه اصلی" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "واقعیت افزوده", name: "واقعیت افزوده",
link: "/", link: "/",
icon: <img src={mobileAr} alt="واقعیت افزوده" />, icon: <img src={mobileAr} alt="واقعیت افزوده" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "بارکد خوان", name: "بارکد خوان",
link: "/qr-scan", link: "/qr-scan",
icon: <img src={qrcode} alt="بارکد خوان" />, icon: <img src={qrcode} alt="بارکد خوان" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "کتاب الکترونیک", name: "کتاب الکترونیک",
link: "/activation", link: "/activation",
icon: <img src={mobileBlog} alt="کتاب الکترونیک" />, icon: <img src={mobileBlog} alt="کتاب الکترونیک" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "فروشگاه", name: "فروشگاه",
link: "/products", link: "/products",
icon: <img src={mobileBasket} alt="فروشگاه" />, icon: <img src={mobileBasket} alt="فروشگاه" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "بلاگ", name: "بلاگ",
link: "/blog", link: "/blog",
icon: <img src={mobileBlog} alt="بلاگ" />, icon: <img src={mobileBlog} alt="بلاگ" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "پیام رسان", name: "پیام رسان",
link: "/chatroom", link: "/chatroom",
icon: <img src={mobileMail} alt="بلاگ" />, icon: <img src={mobileMail} alt="بلاگ" />,
toast: "", toast: "",
message : "", message: "",
}, },
{ {
name: "ویرایش مشخصات", name: "ویرایش مشخصات",
link: "/profile", link: "/profile",
icon: <img src={mobileProfile} alt="ویرایش مشخصات" />, icon: <img src={mobileProfile} alt="ویرایش مشخصات" />,
toast: "", toast: "",
message : "4 پیام", message: "4 پیام",
}, },
{ {
name: "گزارش ایراد", name: "گزارش ایراد",
link: "/", link: "/",
icon: <img src={mobileDanger} alt="گزارش ایراد" />, icon: <img src={mobileDanger} alt="گزارش ایراد" />,
toast: "", toast: "",
message : "", message: "",
// onClick: this.props.logout, // onClick: this.props.logout,
}, },
{ {
@ -188,7 +188,7 @@ NavbarDrawer.defaultProps = {
link: "/", link: "/",
icon: <img src={mobileLogout} alt="خروج" />, icon: <img src={mobileLogout} alt="خروج" />,
toast: "", toast: "",
message : "", message: "",
// onClick: this.props.logout, // onClick: this.props.logout,
}, },
], ],
@ -221,10 +221,11 @@ const User = (props) => {
{props.data.title} {props.data.title}
</div> </div>
</div> </div>
{ {props.data.status === 1 ? (
props.data.status === 1 ? <div style={{ position: "absolute", left: 24, top: 16 }}>
<div style={{ position: 'absolute', left: 24, top: 16}}><CheckIcon style={{fontSize: 40, color: '#00CC69'}} /></div> : null <CheckIcon style={{ fontSize: 40, color: "#00CC69" }} />
} </div>
) : null}
</div> </div>
); );
}; };

@ -23,26 +23,37 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
&__item { &__item {
background-color: #f2f2f2; margin: 10px auto;
width: calc(100vw / 2 - 15px); height: calc(100vh - 200px);
margin: 5px; max-height: 470px;
border-top-left-radius: 30px; background-color: #fafafa;
border-top-right-radius: 30px; border-radius: 0.5rem;
box-shadow: 0 3px 8px 0 rgb(0 0 0 / 16%);
margin-bottom: 20px; margin-bottom: 20px;
& img { h1 {
width: 100%; font-family: numeralMedium;
height: calc(100vh / 3.5); color: #6f7074;
border-radius: 30px;
max-height: 200px;
margin-bottom: 10px; margin-bottom: 10px;
} }
& img {
height: 60%;
width: 80%;
min-height: 250px;
max-height: 290px;
border-radius: 10px;
margin: 20px auto;
// max-height: 320px;
// margin: 20px 40px;
}
&--buttons { &--buttons {
padding: 5px 9px; // padding: 5px 9px;
width: 80%;
margin: 0px auto;
a { a {
text-decoration: none; text-decoration: none;
width: 100%; width: 100%;
padding: 8px; padding: 8px;
font-family: numeralLight; font-family: numeralMedium;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 10px; border-radius: 10px;
text-align: center; text-align: center;
@ -50,6 +61,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin: 10px 5px;
img { img {
position: absolute; position: absolute;
top: calc(50% - 8px); top: calc(50% - 8px);

@ -9,77 +9,83 @@ const maxMobileSize = 550;
const maxDesktopSize = 1250; const maxDesktopSize = 1250;
const fontSize = { const fontSize = {
mobile : { mobile: {
h1: window.innerWidth > maxMobileSize ? 18 : window.innerWidth / 26, h1: window.innerWidth > maxMobileSize ? 18 : window.innerWidth / 22,
h2: window.innerWidth > maxMobileSize ? 16 : window.innerWidth / 34, h2: window.innerWidth > maxMobileSize ? 16 : window.innerWidth / 34,
div: window.innerWidth > maxMobileSize ? 18 : window.innerWidth / 32, div: window.innerWidth > maxMobileSize ? 18 : window.innerWidth / 32,
a: window.innerWidth > maxMobileSize ? 15 : window.innerWidth / 26,
}, },
desktop : { desktop: {
h1: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 70, h1: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 70,
div: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 85, div: window.innerWidth > maxDesktopSize ? 16 : window.innerWidth / 85,
old: window.innerWidth > maxDesktopSize ? 9 : window.innerWidth / 120, old: window.innerWidth > maxDesktopSize ? 9 : window.innerWidth / 120,
}, },
};
}
export default class Product extends Component { export default class Product extends Component {
render() { render() {
const { product, id } = this.props; const { product, id } = this.props;
return ( return (
<> <>
{window.innerWidth < 1000 ? ( {window.innerWidth < 1000 ? (
<div <div className="mobile-products-product d-flex flex-column">
className="mobile-mybooks__item d-flex flex-column" <img src={product.image} alt={"عکس مجصول"} />
style={{ <div className="mobile-products-product__info d-flex flex-column">
borderBottomLeftRadius: Number(id) % 2 === 1 ? 30 : 0, <h1 style={{ fontSize: fontSize.mobile.h1 }}>{product.title}</h1>
borderBottomRightRadius: Number(id) % 2 === 0 ? 30 : 0, </div>
}} <div className="mobile-products-product__links d-flex mt-2">
> <Link
<img src={product.image} alt={"عکس مجصول"} /> style={{ fontSize: fontSize.mobile.a }}
<div className="mobile-mybooks__item--buttons d-flex flex-column"> className="mobile-products-product__links--physical"
<Link >
style={{ کتاب دیجیتال
background: product.status.digital ? "#FFEE00" : "#FFFFFF", {!product.status.digital ? (
fontSize: fontSize.mobile.a, <img src={basket} alt="افزودن به سبد خرید" />
color: product.status.ar ? "#4D4D4F" : "#4D4D4F", ) : null}
}} </Link>
> <Link
کتاب دیجیتال style={{ fontSize: fontSize.mobile.a }}
{ !product.status.digital ? <img src={basket} alt="افزودن به سبد خرید" /> : null} className="mobile-products-product__links--ar"
</Link> >
<Link واقعیت افزوده
style={{ {!product.status.ar ? (
background: product.status.ar ? "#00CC69" : "#FFFFFF", <img src={basket} alt="افزودن به سبد خرید" />
color: product.status.ar ? "#FFFFFF" : "#4D4D4F", ) : null}
fontSize: fontSize.mobile.a, </Link>
}} </div>
>
واقعیت افزوده
{ !product.status.ar ? <img src={basket} alt="افزودن به سبد خرید" /> : null}
</Link>
</div> </div>
</div>
) : null} ) : null}
{window.innerWidth > 1000 ? ( {window.innerWidth > 1000 ? (
<article className="products-product d-flex flex-column align-items"> <article className="products-product d-flex flex-column align-items">
<Link to={`/products/${product.id}`}> <Link to={`/products/${product.id}`}>
<img src={product.image} alt={product.title} /> <img src={product.image} alt={product.title} />
<h1 style={{ fontSize: fontSize.desktop.h1 }}>{product.title + ' ' + product.subTitle}</h1> <h1 style={{ fontSize: fontSize.desktop.h1 }}>
{product.title + " " + product.subTitle}
</h1>
{product.price ? ( {product.price ? (
<div className="products-product__price d-flex justify-content-center align-items-center"> <div className="products-product__price d-flex justify-content-center align-items-center">
{product.oldPrice ? ( {product.oldPrice ? (
<div> <div>
<div style={{ fontSize: fontSize.desktop.old }} className="products-product__price--old d-flex"> <div
style={{ fontSize: fontSize.desktop.old }}
className="products-product__price--old d-flex"
>
{product.oldPrice} تومان {product.oldPrice} تومان
<span></span> <span></span>
</div> </div>
</div> </div>
) : null} ) : null}
<div style={{ fontSize: fontSize.desktop.div }} className="products-product__price--price"> <div
style={{ fontSize: fontSize.desktop.div }}
className="products-product__price--price"
>
{product.price} تومان {product.price} تومان
</div> </div>
</div> </div>
) : ( ) : (
<div style={{ fontSize: fontSize.desktop.div }} className="products-product__notAvailabe"> <div
style={{ fontSize: fontSize.desktop.div }}
className="products-product__notAvailabe"
>
ناموجود ناموجود
</div> </div>
)} )}
@ -90,4 +96,3 @@ export default class Product extends Component {
); );
} }
} }

@ -1,114 +1,235 @@
.mobile-products-product{ .mobile-products-product {
width: calc(100% / 3); }
.products-product {
width: calc(100% / 4);
padding: 10px; padding: 10px;
a{ margin-bottom: 20px;
width : 100%; a {
width: 100%;
text-decoration: none; text-decoration: none;
&:hover{ &:hover {
} }
img{ img {
width: 100%; width: 100%;
height: 170px; height: 200px;
border-top-left-radius: 15px; border-radius: 30px;
border-top-right-radius: 15px;
} }
h1{ h1 {
font-family: numeralBold; font-family: numeralBold;
margin-top: 15px; margin-top: 15px;
color: #7dc241; color: #02a1a6;
letter-spacing: -1px;
}
h2{
font-family: numeralLight;
margin-top: 10px;
color: #6f7074;
letter-spacing: -1px; letter-spacing: -1px;
text-align: center;
} }
} }
&__notAvailabe{ &__notAvailabe {
font-family: numeralBold; font-family: numeralBold;
width : 100%; width: 100%;
text-align: center; text-align: center;
color: #6f7074; color: #6f7074;
margin-top: 15px; margin-top: 15px;
} }
&__price{ &__price {
width : 100%; width: 100%;
margin-top: 15px; margin-top: 15px;
text-align: center; text-align: center;
&--old{ &--old {
font-family: numeralBold; font-family: numeralBold;
color: #6f7074; color: #6f7074;
position: relative; position: relative;
margin-left: 10px; margin-left: 10px;
align-items:center; align-items: center;
span{ span {
position: absolute; position: absolute;
left: 0px; left: 0px;
width : 100%; width: 100%;
height: 2px; height: 2px;
background-color: rgba(121, 121, 121, 0.534); background-color: rgba(121, 121, 121, 0.534);
transform: rotate(-14deg); transform: rotate(-14deg);
} }
} }
&--price{ &--price {
color: #02733c; color: #4d4d4d;
font-family: numeralBold; font-family: numeralBold;
} }
} }
} }
.products-product{ @media screen and (max-width: 350px) {
width: calc(100% / 4); .mobile-products-product {
padding: 10px; width: 100%;
margin-bottom: 20px; background-color: #fafafa;
a{ margin: 20px;
width : 100%; border-radius: 0.5rem;
text-decoration: none; box-shadow: 0 3px 8px 0 rgb(0 0 0 / 16%);
&:hover{ img {
width: 80%;
margin: 10px auto;
} }
img{ &__info {
width: 100%; width: 80%;
height: 200px; margin: 10px auto;
border-radius: 30px; h1 {
font-family: NumeralLight;
color: #4d4d4d;
letter-spacing: -1px;
}
a {
width: 48%;
padding: 5px 3px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
}
} }
h1{ &__links {
font-family: numeralBold; width: 80%;
margin-top: 15px; margin: 10px auto;
color: #02A1A6; justify-content: space-between;
letter-spacing: -1px; a {
text-align: center; width: 48%;
padding: 5px 3px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
}
} }
} }
&__notAvailabe{ }
font-family: numeralBold;
width : 100%; @media screen and (min-width: 350px) {
text-align: center; .mobile-products-product {
color: #6f7074; width: calc(50% - 20px);
margin-top: 15px; background-color: #fafafa;
margin: 10px;
border-radius: 0.5rem;
box-shadow: 0 3px 8px 0 rgb(0 0 0 / 16%);
img {
width: 80%;
margin: 10px auto;
}
&__info {
width: 80%;
margin: 10px auto;
h1 {
font-family: NumeralLight;
color: #4d4d4d;
letter-spacing: -1px;
}
a {
width: 48%;
padding: 5px 3px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
}
}
&__links {
width: 80%;
margin: 10px auto;
flex-direction: column;
a {
width: 100%;
padding: 10px 5px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
margin-bottom: 5px;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
}
}
} }
&__price{ }
width : 100%;
margin-top: 15px; @media screen and (min-width: 550px) {
text-align: center; .mobile-products-product {
&--old{ width: calc(33% - 20px);
font-family: numeralBold; background-color: #fafafa;
color: #6f7074; margin: 10px;
position: relative; border-radius: 0.5rem;
margin-left: 10px; box-shadow: 0 3px 8px 0 rgb(0 0 0 / 16%);
align-items:center; img {
span{ width: 80%;
position: absolute; margin: 10px auto;
left: 0px; }
width : 100%; &__info {
height: 2px; width: 80%;
background-color: rgba(121, 121, 121, 0.534); margin: 10px auto;
transform: rotate(-14deg); h1 {
font-family: NumeralLight;
color: #4d4d4d;
letter-spacing: -1px;
}
a {
width: 48%;
padding: 5px 3px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
} }
} }
&--price{ &__links {
color: #4d4d4d; width: 80%;
font-family: numeralBold; margin: 10px auto;
flex-direction: column;
a {
width: 100%;
padding: 10px 5px;
border-radius: 7px;
font-family: numeralMedium;
text-decoration: none;
margin-bottom: 5px;
}
&--physical {
background-color: #7fc75d;
color: white;
}
&--ar {
border: 1px solid #7fc75d;
color: #7fc75d;
}
} }
} }
} }

@ -15,8 +15,17 @@ import sciense_7 from "../../assets/images/sciense-7.png";
import sciense_8 from "../../assets/images/sciense-8.png"; import sciense_8 from "../../assets/images/sciense-8.png";
import sciense_9 from "../../assets/images/sciense-9.png"; import sciense_9 from "../../assets/images/sciense-9.png";
import zist_10 from "../../assets/images/zist-10.png"; import zist_10 from "../../assets/images/zist-10.png";
import navbarSearch from "../../assets/icons/navbarSearch.png";
import "./index.scss"; import "./index.scss";
const maxMobileSize = 1250;
const fontSize = {
mobile: {
input: window.innerWidth > maxMobileSize ? 14 : window.innerWidth / 27,
},
};
export default class Products extends Component { export default class Products extends Component {
state = { state = {
selectedSort: null, selectedSort: null,
@ -68,6 +77,14 @@ export default class Products extends Component {
<> <>
<div className="mobile-products d-flex flex-column"> <div className="mobile-products d-flex flex-column">
<Navbar page={"products"} /> <Navbar page={"products"} />
<div className="mobile-products__search d-flex">
<input
type="search"
style={{ fontSize: fontSize.mobile.input }}
placeholder={"جستجو"}
/>
<img src={navbarSearch} alt="جستجو" />
</div>
<div className="mobile-products__filters d-flex"> <div className="mobile-products__filters d-flex">
<div className="d-flex"> <div className="d-flex">
<Select name="first" options={firstFilters} parent={this} /> <Select name="first" options={firstFilters} parent={this} />

@ -23,6 +23,32 @@
direction: rtl; direction: rtl;
overflow-x: hidden; overflow-x: hidden;
padding-top: 70px; padding-top: 70px;
&__search {
// width: 100%;
position: relative;
margin: 15px 10px;
height: 35px;
img {
position: absolute;
left: 7px;
top: 7px;
width: 20px;
}
input {
width: 100%;
padding: 5px 5px 5px 35px;
font-family: numeralMedium;
border: 1px solid #afafaf;
border-radius: 5px;
color: #6f7074;
&:focus {
outline: 0px;
}
&::placeholder {
color: #afafaf;
}
}
}
&__filters { &__filters {
width: 100%; width: 100%;
align-items: center; align-items: center;

Loading…
Cancel
Save