@npm_leadtech/legal-lib-components 7.27.1 → 7.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +3 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +5 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +50 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +51 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +20 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +5 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +1 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +5 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +2 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/index.js +2 -0
- package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +2 -0
- package/dist/src/components/organisms/MenuItems/MenuItems.js +2 -2
- package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +280 -47
- package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +280 -47
- package/dist/src/components/organisms/MenuItems/MenuItems.tsx +5 -5
- package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.d.ts +1 -0
- package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.ts +1 -0
- package/dist/src/components/organisms/NavMenu/NavMenu.js +2 -2
- package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +4 -15
- package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +4 -15
- package/dist/src/components/organisms/NavMenu/NavMenu.tsx +3 -0
- package/dist/src/components/organisms/NavMenu/NavMenuProps.types.d.ts +1 -0
- package/dist/src/components/organisms/NavMenu/NavMenuProps.types.ts +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +4 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +4 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +4 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +3 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +2 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +3 -1
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +3 -0
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +5 -0
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +26 -0
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +10 -0
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +1 -0
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +16 -0
- package/dist/src/components/pages/HowItWorksPage/index.d.ts +2 -0
- package/dist/src/components/pages/HowItWorksPage/index.js +2 -0
- package/dist/src/components/pages/HowItWorksPage/index.ts +2 -0
- package/dist/src/components/sections/Header/HeaderProps.types.d.ts +2 -0
- package/dist/src/components/sections/Header/HeaderProps.types.ts +2 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +4 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +12 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +94 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +95 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +69 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +15 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +1 -0
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +16 -0
- package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +2 -0
- package/dist/src/components/sections/LawGeniusCardsSection/index.js +1 -0
- package/dist/src/components/sections/LawGeniusCardsSection/index.ts +2 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +3 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.js +6 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +186 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +187 -0
- package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +28 -0
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +8 -0
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +1 -0
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +9 -0
- package/dist/src/components/sections/TryNowSection/index.d.ts +2 -0
- package/dist/src/components/sections/TryNowSection/index.js +1 -0
- package/dist/src/components/sections/TryNowSection/index.ts +2 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +9 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +4 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +4 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +11 -1
- package/dist/src/components/sections/index.d.ts +3 -0
- package/dist/src/components/sections/index.js +3 -0
- package/dist/src/components/sections/index.ts +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled';
|
|
3
|
+
export const LawGeniusInfoCard = ({ icon, title = '', text = '' }) => {
|
|
4
|
+
return (_jsx(LawGeniusInfoCardStyled, { className: 'info-card', children: _jsx("div", { className: 'info-card-wrapper', children: _jsxs("div", { className: 'content', children: [_jsxs("p", { className: 'title', children: [_jsx("div", { className: 'info-icon', children: icon }), title] }), _jsx("p", { className: 'text', children: text })] }) }) }));
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LawGeniusInfoCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const LawGeniusInfoCardStyled = styled.div `
|
|
3
|
+
width: 100%;
|
|
4
|
+
background-color: var(--others-white);
|
|
5
|
+
border-radius: var(--s-border-radius);
|
|
6
|
+
margin-top: 1rem;
|
|
7
|
+
margin-bottom: 1rem;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
padding: 1rem 1.5rem;
|
|
11
|
+
|
|
12
|
+
.info-card-wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
17
|
+
@supports (-webkit-appearance: none) {
|
|
18
|
+
letter-spacing: -1px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.info-icon {
|
|
23
|
+
margin-top: 0.1rem;
|
|
24
|
+
margin-right: 0.5rem;
|
|
25
|
+
|
|
26
|
+
path {
|
|
27
|
+
fill: var(--primary-main-dark-1);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.title {
|
|
32
|
+
display: flex;
|
|
33
|
+
color: var(--primary-main-dark-1);
|
|
34
|
+
font-size: 1rem;
|
|
35
|
+
font-weight: bold;
|
|
36
|
+
|
|
37
|
+
&.email {
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a {
|
|
42
|
+
color: var(--primary-main-dark-1);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.text {
|
|
47
|
+
font-size: 0.875rem;
|
|
48
|
+
color: var(--neutral-neutral-2);
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const LawGeniusInfoCardStyled = styled.div`
|
|
4
|
+
width: 100%;
|
|
5
|
+
background-color: var(--others-white);
|
|
6
|
+
border-radius: var(--s-border-radius);
|
|
7
|
+
margin-top: 1rem;
|
|
8
|
+
margin-bottom: 1rem;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
padding: 1rem 1.5rem;
|
|
12
|
+
|
|
13
|
+
.info-card-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
18
|
+
@supports (-webkit-appearance: none) {
|
|
19
|
+
letter-spacing: -1px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.info-icon {
|
|
24
|
+
margin-top: 0.1rem;
|
|
25
|
+
margin-right: 0.5rem;
|
|
26
|
+
|
|
27
|
+
path {
|
|
28
|
+
fill: var(--primary-main-dark-1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.title {
|
|
33
|
+
display: flex;
|
|
34
|
+
color: var(--primary-main-dark-1);
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
|
|
38
|
+
&.email {
|
|
39
|
+
text-decoration: underline;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
a {
|
|
43
|
+
color: var(--primary-main-dark-1);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.text {
|
|
48
|
+
font-size: 0.875rem;
|
|
49
|
+
color: var(--neutral-neutral-2);
|
|
50
|
+
}
|
|
51
|
+
`
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { LawGeniusInfoCardProps } from './LawGeniusInfoCardProps'
|
|
4
|
+
import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled'
|
|
5
|
+
|
|
6
|
+
export const LawGeniusInfoCard: React.FC<LawGeniusInfoCardProps> = ({ icon, title = '', text = '' }) => {
|
|
7
|
+
return (
|
|
8
|
+
<LawGeniusInfoCardStyled className='info-card'>
|
|
9
|
+
<div className='info-card-wrapper'>
|
|
10
|
+
<div className='content'>
|
|
11
|
+
<p className='title'>
|
|
12
|
+
<div className='info-icon'>{icon}</div>
|
|
13
|
+
{title}
|
|
14
|
+
</p>
|
|
15
|
+
<p className='text'>{text}</p>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</LawGeniusInfoCardStyled>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@ import { DocumentMainMenu } from '../../../components/organisms/DocumentMainMenu
|
|
|
4
4
|
import { MenuItemsStyled } from './MenuItems.styled';
|
|
5
5
|
import { RatafiaLandingIcon } from '../../atoms/RatafiaLandingIcon';
|
|
6
6
|
import arrowDown from '../../../../images/svg/arrow-down.svg';
|
|
7
|
-
export const MenuItems = ({ hasProducts, seeAllDocumentsText, setCookiePolicyFunc, routes, finalMenu, configVars, navMenuItems, extraMenu }) => {
|
|
8
|
-
return (_jsxs(MenuItemsStyled, { children: [hasProducts && (_jsxs("div", { className: 'navigation-pane__products', children: [_jsxs("div", { className: 'navigation-pane__products__container', children: [_jsx("p", { className: 'navigation-pane__products__title', children: 'Documents' }), _jsx("img", { src: arrowDown, alt: 'arrow-down' })] }),
|
|
7
|
+
export const MenuItems = ({ hasProducts, seeAllDocumentsText, setCookiePolicyFunc, routes, finalMenu, isMobile, configVars, navMenuItems, extraMenu }) => {
|
|
8
|
+
return (_jsxs(MenuItemsStyled, { className: `${isMobile ? 'navigation-pane' : 'left-nav'}`, children: [hasProducts && (_jsxs("div", { className: 'navigation-pane__products', children: [_jsxs("div", { className: 'navigation-pane__products__container', children: [_jsx("p", { className: 'navigation-pane__products__title', children: 'Documents' }), _jsx("img", { src: arrowDown, alt: 'arrow-down' })] }), _jsx("div", { className: 'products__list', children: isMobile ? (_jsx(DocumentListMenu, { routes: routes, seeAllLegalDocs: seeAllDocumentsText?.seeAllLegalDocs ?? '', seeAllTypeDocs: seeAllDocumentsText?.seeAllTypeDocs ?? '', finalMenu: finalMenu, hasSubCategoryPage: configVars.HAS_SUBCATEGORY_PAGE, setCookiePolicyFunc: setCookiePolicyFunc })) : (_jsx(DocumentMainMenu, { seeAllTypeDocs: seeAllDocumentsText?.seeAllTypeDocs ?? '', allLegalDocs: seeAllDocumentsText?.allLegalDocs ?? '', allTypeDocs: seeAllDocumentsText?.allTypeDocs ?? '', setCookiePolicyFunc: setCookiePolicyFunc, routes: routes, hasSubCategoryPage: configVars.HAS_SUBCATEGORY_PAGE, finalMenu: finalMenu })) })] })), !!navMenuItems &&
|
|
9
9
|
navMenuItems.map((item) => (_jsx("div", { className: `navigation-pane__link`, children: _jsxs("a", { className: `navigation-pane__link__title`, title: item.title, "data-qa": item.dataQa, href: item.href, children: [_jsx("p", { children: item.label }), item.label === 'LawGenius' && _jsx(RatafiaLandingIcon, {})] }) }, item.title))), !!extraMenu && extraMenu?.items?.length > 0 && (_jsxs("div", { className: 'navigation-pane__resources', children: [_jsxs("div", { className: 'navigation-pane__resources__container', children: [_jsx("p", { className: 'navigation-pane__resources__title', children: extraMenu.title }), _jsx("img", { src: arrowDown, alt: 'arrow-down' })] }), _jsx("ul", { className: 'resources__list', children: extraMenu.items.map((item) => (_jsx("li", { className: 'menu-items-li', children: _jsx("a", { title: item.title, "data-qa": item.dataQa, href: item.href, children: item.label }) }, item.title))) })] }))] }));
|
|
10
10
|
};
|
|
@@ -6,35 +6,6 @@ export const MenuItemsStyled = styled.div `
|
|
|
6
6
|
justify-content: flex-start;
|
|
7
7
|
align-items: flex-start;
|
|
8
8
|
|
|
9
|
-
@media (min-width: 1024px) {
|
|
10
|
-
gap: 2rem;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media ((min-width: ${size.tab} ) and (max-width: 1024px)) {
|
|
14
|
-
gap: 1rem;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.menu-desktop-wrapper {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
.menu-mobile-wrapper {
|
|
21
|
-
display: block;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media ${device.tablets} {
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
align-items: center;
|
|
27
|
-
position: relative;
|
|
28
|
-
width: 100%;
|
|
29
|
-
|
|
30
|
-
.menu-desktop-wrapper {
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
.menu-mobile-wrapper {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
9
|
&__wrapper {
|
|
39
10
|
width: 100%;
|
|
40
11
|
margin-top: 1rem;
|
|
@@ -52,11 +23,25 @@ export const MenuItemsStyled = styled.div `
|
|
|
52
23
|
}
|
|
53
24
|
}
|
|
54
25
|
|
|
26
|
+
.left-nav {
|
|
27
|
+
position: relative;
|
|
28
|
+
width: 100%;
|
|
29
|
+
display: none;
|
|
30
|
+
flex-flow: row wrap;
|
|
31
|
+
justify-content: flex-end;
|
|
32
|
+
}
|
|
33
|
+
|
|
55
34
|
&__spacer {
|
|
56
35
|
display: flex;
|
|
57
36
|
flex: 1;
|
|
58
37
|
}
|
|
59
38
|
|
|
39
|
+
.left-nav {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 1rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
60
45
|
.header-phone {
|
|
61
46
|
display: flex;
|
|
62
47
|
align-items: center;
|
|
@@ -85,6 +70,14 @@ export const MenuItemsStyled = styled.div `
|
|
|
85
70
|
}
|
|
86
71
|
}
|
|
87
72
|
|
|
73
|
+
@media ${device.tablets} {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
flex-direction: row;
|
|
77
|
+
flex-wrap: nowrap;
|
|
78
|
+
justify-content: flex-start;
|
|
79
|
+
}
|
|
80
|
+
|
|
88
81
|
&.--no-products {
|
|
89
82
|
justify-content: flex-end;
|
|
90
83
|
align-items: center;
|
|
@@ -370,18 +363,67 @@ export const MenuItemsStyled = styled.div `
|
|
|
370
363
|
margin-right: 1rem;
|
|
371
364
|
}
|
|
372
365
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
366
|
+
// mobile pane
|
|
367
|
+
|
|
368
|
+
.navigation-pane {
|
|
369
|
+
.navigation-pane.--is-mobile {
|
|
370
|
+
display: flex;
|
|
371
|
+
|
|
372
|
+
@media (max-width: ${size.tab}) {
|
|
373
|
+
display: none;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.navigation-pane__user-menu {
|
|
377
|
+
display: flex;
|
|
378
|
+
flex-flow: row nowrap;
|
|
379
|
+
justify-content: center;
|
|
380
|
+
margin: 0 1rem;
|
|
381
|
+
padding: 1.5rem 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.navigation-pane__ratafia {
|
|
385
|
+
padding: 1.5rem 1.5rem 0.5rem 1.5rem;
|
|
386
|
+
|
|
387
|
+
.navigation-pane__ratafia__title {
|
|
388
|
+
display: flex;
|
|
389
|
+
justify-content: start;
|
|
390
|
+
align-items: center;
|
|
391
|
+
gap: 0.25rem;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.navigation-pane__resources {
|
|
396
|
+
.resources__list {
|
|
397
|
+
@media ${device['mobile']} {
|
|
398
|
+
margin-bottom: 2rem;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&__trigger {
|
|
405
|
+
display: flex;
|
|
406
|
+
align-content: center;
|
|
407
|
+
flex-flow: row wrap;
|
|
408
|
+
align-items: center;
|
|
409
|
+
font-weight: bold;
|
|
410
|
+
color: var(--button-secondary);
|
|
411
|
+
padding: 4px 8px;
|
|
412
|
+
border: 1px solid var(--neutral-neutral-3);
|
|
413
|
+
border-radius: var(--s-border-radius);
|
|
414
|
+
z-index: 200;
|
|
415
|
+
//Prevent user from copying template
|
|
416
|
+
-webkit-touch-callout: none;
|
|
417
|
+
-moz-user-select: none;
|
|
418
|
+
-webkit-user-select: none;
|
|
419
|
+
-ms-user-select: none;
|
|
420
|
+
-o-user-select: none;
|
|
421
|
+
user-select: none;
|
|
422
|
+
|
|
423
|
+
span {
|
|
424
|
+
margin-right: 0.5rem;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
385
427
|
}
|
|
386
428
|
|
|
387
429
|
.header {
|
|
@@ -392,7 +434,7 @@ export const MenuItemsStyled = styled.div `
|
|
|
392
434
|
}
|
|
393
435
|
}
|
|
394
436
|
|
|
395
|
-
|
|
437
|
+
.--is-open .--is-mobile .navigation-pane {
|
|
396
438
|
.navigation-pane__wrapper {
|
|
397
439
|
width: 100%;
|
|
398
440
|
margin-top: 1rem;
|
|
@@ -403,20 +445,204 @@ export const MenuItemsStyled = styled.div `
|
|
|
403
445
|
overflow: auto;
|
|
404
446
|
height: calc(100% - 65px);
|
|
405
447
|
z-index: 100;
|
|
406
|
-
}
|
|
407
448
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
449
|
+
.search {
|
|
450
|
+
padding-right: 1.5rem;
|
|
451
|
+
padding-left: 1.5rem;
|
|
452
|
+
}
|
|
411
453
|
}
|
|
412
454
|
|
|
413
|
-
|
|
455
|
+
&__user-menu {
|
|
414
456
|
display: flex;
|
|
415
457
|
flex-flow: row nowrap;
|
|
416
458
|
justify-content: center;
|
|
417
459
|
align-content: center;
|
|
418
460
|
padding: 1.5rem 0;
|
|
419
461
|
margin: 0 1rem;
|
|
462
|
+
|
|
463
|
+
.log-in {
|
|
464
|
+
min-width: 120px;
|
|
465
|
+
margin-right: 0.5rem;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
&__ratafia {
|
|
470
|
+
padding: 1.5rem 1.5rem 0.5rem 1.5rem;
|
|
471
|
+
&__title {
|
|
472
|
+
display: flex;
|
|
473
|
+
justify-content: start;
|
|
474
|
+
align-items: center;
|
|
475
|
+
gap: 0.25rem;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
&__esignature {
|
|
480
|
+
padding: 0.5rem 1.5rem 0.5rem 1.5rem;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&__user-name {
|
|
484
|
+
margin-right: 1rem;
|
|
485
|
+
font-weight: bold;
|
|
486
|
+
text-overflow: ellipsis;
|
|
487
|
+
overflow: hidden;
|
|
488
|
+
white-space: nowrap;
|
|
489
|
+
width: 8rem;
|
|
490
|
+
color: var(--primary-main-light-5);
|
|
491
|
+
padding: 0.5rem 1rem;
|
|
492
|
+
border-radius: var(--s-border-radius);
|
|
493
|
+
background-color: var(--primary-main-light-6);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
&__products,
|
|
497
|
+
&__help,
|
|
498
|
+
&__resources {
|
|
499
|
+
p {
|
|
500
|
+
font-weight: bold;
|
|
501
|
+
|
|
502
|
+
img {
|
|
503
|
+
display: none;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
li {
|
|
508
|
+
margin-top: 1rem;
|
|
509
|
+
|
|
510
|
+
&:last-child {
|
|
511
|
+
margin-bottom: 1.5rem;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&__help {
|
|
517
|
+
padding: 1.5rem 0;
|
|
518
|
+
margin: 0 1.5rem;
|
|
519
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&__products__title {
|
|
523
|
+
display: none;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.navigation-pane__resources {
|
|
527
|
+
display: flex;
|
|
528
|
+
flex-direction: column;
|
|
529
|
+
align-items: flex-start;
|
|
530
|
+
padding: 1.5rem 0;
|
|
531
|
+
margin: 0 1.5rem 2rem 1.5rem;
|
|
532
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
533
|
+
border-bottom: 1px solid var(--neutral-neutral-4);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.--is-open {
|
|
538
|
+
.--is-mobile {
|
|
539
|
+
.navigation-pane {
|
|
540
|
+
.navigation-pane__wrapper {
|
|
541
|
+
width: 100%;
|
|
542
|
+
margin-top: 1rem;
|
|
543
|
+
left: 0;
|
|
544
|
+
background: var(--others-white);
|
|
545
|
+
position: fixed;
|
|
546
|
+
box-shadow: var(--box-shadow-menu);
|
|
547
|
+
overflow: auto;
|
|
548
|
+
height: calc(100% - 65px);
|
|
549
|
+
z-index: 100;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.search {
|
|
554
|
+
padding-right: 1.5rem;
|
|
555
|
+
padding-left: 1.5rem;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.navigation-pane__user-menu {
|
|
559
|
+
display: flex;
|
|
560
|
+
flex-flow: row nowrap;
|
|
561
|
+
justify-content: center;
|
|
562
|
+
align-content: center;
|
|
563
|
+
padding: 1.5rem 0;
|
|
564
|
+
margin: 0 1rem;
|
|
565
|
+
|
|
566
|
+
.log-in {
|
|
567
|
+
min-width: 120px;
|
|
568
|
+
margin-right: 0.5rem;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.navigation-pane__ratafia {
|
|
573
|
+
padding: 1.5rem 1.5rem 0.5rem 1.5rem;
|
|
574
|
+
|
|
575
|
+
.navigation-pane__ratafia__title {
|
|
576
|
+
display: flex;
|
|
577
|
+
justify-content: start;
|
|
578
|
+
align-items: center;
|
|
579
|
+
gap: 0.25rem;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.navigation-pane__esignature {
|
|
584
|
+
padding: 0.5rem 1.5rem 0.5rem 1.5rem;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.navigation-pane__user-name {
|
|
588
|
+
margin-right: 1rem;
|
|
589
|
+
font-weight: bold;
|
|
590
|
+
text-overflow: ellipsis;
|
|
591
|
+
overflow: hidden;
|
|
592
|
+
white-space: nowrap;
|
|
593
|
+
width: 8rem;
|
|
594
|
+
color: var(--primary-main-light-5);
|
|
595
|
+
padding: 0.5rem 1rem;
|
|
596
|
+
border-radius: var(--s-border-radius);
|
|
597
|
+
background-color: var(--neutral-neutral-6);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.navigation-pane__products,
|
|
601
|
+
.navigation-pane__help,
|
|
602
|
+
.navigation-pane__resources {
|
|
603
|
+
p {
|
|
604
|
+
font-weight: bold;
|
|
605
|
+
|
|
606
|
+
img {
|
|
607
|
+
display: none;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
li {
|
|
612
|
+
margin-top: 1rem;
|
|
613
|
+
|
|
614
|
+
&:last-child {
|
|
615
|
+
margin-bottom: 1.5rem;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.navigation-pane__help {
|
|
621
|
+
padding: 1.5rem 0;
|
|
622
|
+
margin: 0 1.5rem;
|
|
623
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.navigation-pane__products__title {
|
|
627
|
+
display: none;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.navigation-pane__resources {
|
|
631
|
+
display: flex;
|
|
632
|
+
flex-direction: column;
|
|
633
|
+
align-items: flex-start;
|
|
634
|
+
padding: 1.5rem 0 0 0;
|
|
635
|
+
margin: 0 1.5rem 1.5rem 1.5rem;
|
|
636
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.is-tablet {
|
|
642
|
+
display: none;
|
|
643
|
+
|
|
644
|
+
@media (min-width: ${size.tab}) and (max-width: ${size.md}) {
|
|
645
|
+
display: flex;
|
|
420
646
|
}
|
|
421
647
|
}
|
|
422
648
|
|
|
@@ -449,6 +675,13 @@ export const MenuItemsStyled = styled.div `
|
|
|
449
675
|
}
|
|
450
676
|
|
|
451
677
|
.navigation-pane__user-menu {
|
|
678
|
+
display: flex;
|
|
679
|
+
flex-flow: row nowrap;
|
|
680
|
+
justify-content: center;
|
|
681
|
+
align-content: center;
|
|
682
|
+
padding: 1.5rem 0;
|
|
683
|
+
margin: 0 1rem;
|
|
684
|
+
|
|
452
685
|
.log-in {
|
|
453
686
|
min-width: 120px;
|
|
454
687
|
margin-right: 0.5rem;
|