🎨 styles: box shadow header

:%s
This commit is contained in:
lytrankieio123
2021-09-14 15:29:19 +07:00
parent 87c9a5ffc1
commit 9cb93394d1
2 changed files with 13 additions and 6 deletions

View File

@@ -6,20 +6,28 @@
left: 0; left: 0;
z-index: 9999; z-index: 9999;
margin-bottom: 3.2rem; margin-bottom: 3.2rem;
@screen md {
@apply relative;
}
&.full { &.full {
@apply shadow-none; @apply shadow-none;
border: 1px solid var(--border-line);
} }
.menu { .menu {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
padding-left: 3.2rem; padding-left: 3.2rem;
padding-right: 3.2rem; padding-right: 3.2rem;
} }
.logo { .logo {
@apply font-logo; @apply font-logo;
} }
@screen md {
@apply relative;
&.full {
border: 1px solid var(--border-line);
}
.menu {
@apply shadow-none;
}
}
} }
.headerSticky { .headerSticky {

View File

@@ -1,5 +1,5 @@
import classNames from 'classnames'
import Link from 'next/link' import Link from 'next/link'
import { useRouter } from 'next/router'
import { memo, useMemo } from 'react' import { memo, useMemo } from 'react'
import InputSearch from 'src/components/common/InputSearch/InputSearch' import InputSearch from 'src/components/common/InputSearch/InputSearch'
import MenuDropdown from 'src/components/common/MenuDropdown/MenuDropdown' import MenuDropdown from 'src/components/common/MenuDropdown/MenuDropdown'
@@ -7,7 +7,6 @@ import { IconBuy, IconFilter, IconHeart, IconHistory, IconUser } from 'src/compo
import { ACCOUNT_TAB, QUERY_KEY, ROUTE } from 'src/utils/constanst.utils' import { ACCOUNT_TAB, QUERY_KEY, ROUTE } from 'src/utils/constanst.utils'
import Logo from '../../../Logo/Logo' import Logo from '../../../Logo/Logo'
import s from './HeaderMenu.module.scss' import s from './HeaderMenu.module.scss'
import { useRouter } from 'next/router'
interface Props { interface Props {
children?: any, children?: any,
openModalAuthen: () => void, openModalAuthen: () => void,