@openlettermarketing/olc-react-sdk 2.1.4 → 2.1.5-beta.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/.eslintignore +1 -0
- package/.eslintrc.cjs +18 -0
- package/.eslintrc.yml +47 -0
- package/.github/workflows/publish-beta.yml +154 -0
- package/.github/workflows/publish-production.yml +143 -0
- package/.prettierignore +3 -0
- package/.prettierrc.yml +5 -0
- package/CHANGELOG.md +4 -0
- package/babel.config.json +10 -0
- package/build/index.js +82 -82
- package/build/index.js.map +1 -1
- package/build/types/version.d.ts +1 -1
- package/examples/.eslintrc.yml +4 -0
- package/index.html +18 -0
- package/package.json +1 -1
- package/public/vite.svg +1 -0
- package/src/App.tsx +209 -0
- package/src/assets/Fonts/Lexi-Regular.ttf +0 -0
- package/src/assets/images/create-template/prebuilt.svg +13 -0
- package/src/assets/images/create-template/scratch.svg +4 -0
- package/src/assets/images/input/cancel.tsx +20 -0
- package/src/assets/images/input/search.tsx +20 -0
- package/src/assets/images/input/select-cancel.tsx +17 -0
- package/src/assets/images/modal-icons/add.tsx +36 -0
- package/src/assets/images/modal-icons/cancel-file.tsx +12 -0
- package/src/assets/images/modal-icons/cancel-input.tsx +13 -0
- package/src/assets/images/modal-icons/cancel.tsx +35 -0
- package/src/assets/images/modal-icons/close-new.svg +3 -0
- package/src/assets/images/modal-icons/confirm-close-icon.tsx +14 -0
- package/src/assets/images/modal-icons/confirm-new.tsx +22 -0
- package/src/assets/images/modal-icons/confirm.svg +12 -0
- package/src/assets/images/modal-icons/cross.tsx +23 -0
- package/src/assets/images/modal-icons/del.tsx +19 -0
- package/src/assets/images/modal-icons/design-icon.tsx +22 -0
- package/src/assets/images/modal-icons/doc.tsx +43 -0
- package/src/assets/images/modal-icons/docx.tsx +43 -0
- package/src/assets/images/modal-icons/envelope-icon.tsx +26 -0
- package/src/assets/images/modal-icons/info.tsx +19 -0
- package/src/assets/images/modal-icons/jpeg.tsx +43 -0
- package/src/assets/images/modal-icons/jpg.tsx +43 -0
- package/src/assets/images/modal-icons/modal-cros.svg +4 -0
- package/src/assets/images/modal-icons/modal-cross.tsx +37 -0
- package/src/assets/images/modal-icons/new-cancel.tsx +11 -0
- package/src/assets/images/modal-icons/order-download.tsx +42 -0
- package/src/assets/images/modal-icons/pdf.tsx +51 -0
- package/src/assets/images/modal-icons/png.tsx +43 -0
- package/src/assets/images/modal-icons/save.tsx +23 -0
- package/src/assets/images/modal-icons/template-copy.tsx +25 -0
- package/src/assets/images/modal-icons/tool-cancel.tsx +25 -0
- package/src/assets/images/products/bi-new.svg +23 -0
- package/src/assets/images/products/left-arrow.svg +17 -0
- package/src/assets/images/products/personal-new.tsx +31 -0
- package/src/assets/images/products/postcard-new.tsx +27 -0
- package/src/assets/images/products/professional-new.tsx +24 -0
- package/src/assets/images/products/real-new.tsx +30 -0
- package/src/assets/images/products/right-arrow.svg +17 -0
- package/src/assets/images/products/snap-new.svg +31 -0
- package/src/assets/images/templates/actions.svg +3 -0
- package/src/assets/images/templates/address-block-icon.tsx +62 -0
- package/src/assets/images/templates/archive.svg +3 -0
- package/src/assets/images/templates/arrow-down.tsx +27 -0
- package/src/assets/images/templates/back-arrow.tsx +19 -0
- package/src/assets/images/templates/bi-fold-self-mailers.tsx +28 -0
- package/src/assets/images/templates/check.svg +3 -0
- package/src/assets/images/templates/code.svg +10 -0
- package/src/assets/images/templates/content-copy-icon.tsx +24 -0
- package/src/assets/images/templates/custom-add-on-icon.tsx +18 -0
- package/src/assets/images/templates/custom-qr-section-icon.tsx +9 -0
- package/src/assets/images/templates/custom-template.tsx +23 -0
- package/src/assets/images/templates/designer.tsx +43 -0
- package/src/assets/images/templates/dot.tsx +22 -0
- package/src/assets/images/templates/download-v2.svg +4 -0
- package/src/assets/images/templates/download.svg +4 -0
- package/src/assets/images/templates/dummy-template.tsx +76 -0
- package/src/assets/images/templates/dynamic-field.tsx +119 -0
- package/src/assets/images/templates/edit-pencil-icon.tsx +21 -0
- package/src/assets/images/templates/edit.svg +3 -0
- package/src/assets/images/templates/epo-icon.tsx +16 -0
- package/src/assets/images/templates/field.tsx +29 -0
- package/src/assets/images/templates/gsv-icon.tsx +31 -0
- package/src/assets/images/templates/info-icon.tsx +37 -0
- package/src/assets/images/templates/left-arrow.svg +17 -0
- package/src/assets/images/templates/pencil.svg +3 -0
- package/src/assets/images/templates/personal-letter.tsx +53 -0
- package/src/assets/images/templates/postcard.tsx +32 -0
- package/src/assets/images/templates/professional-letter.tsx +53 -0
- package/src/assets/images/templates/qr-code.tsx +13 -0
- package/src/assets/images/templates/real-penned-letters.tsx +57 -0
- package/src/assets/images/templates/right-arrow.svg +17 -0
- package/src/assets/images/templates/size-image-lg.tsx +20 -0
- package/src/assets/images/templates/size-image-mid.tsx +20 -0
- package/src/assets/images/templates/size-image-xl.tsx +20 -0
- package/src/assets/images/templates/size-image.tsx +20 -0
- package/src/assets/images/templates/snap-pack.tsx +67 -0
- package/src/assets/images/templates/template-default-design.tsx +21 -0
- package/src/assets/images/templates/trash-upload.svg +3 -0
- package/src/assets/images/templates/trash.svg +3 -0
- package/src/assets/images/templates/tri-fold-self-mailers.tsx +93 -0
- package/src/assets/images/templates/upload-image.svg +10 -0
- package/src/assets/images/templates/x.svg +3 -0
- package/src/assets/images/thumbnails/one.svg +9 -0
- package/src/assets/images/tooltip/tool-arrow.tsx +25 -0
- package/src/components/CreateTemplate/V2/index.tsx +525 -0
- package/src/components/CreateTemplate/V2/styles.scss +372 -0
- package/src/components/CreateTemplate/index.tsx +508 -0
- package/src/components/CreateTemplate/styles.scss +404 -0
- package/src/components/GenericUIBlocks/Button/index.tsx +54 -0
- package/src/components/GenericUIBlocks/Button/styles.scss +43 -0
- package/src/components/GenericUIBlocks/CircularProgress/index.tsx +18 -0
- package/src/components/GenericUIBlocks/CircularProgress/styles.scss +93 -0
- package/src/components/GenericUIBlocks/CustomTooltip/index.tsx +88 -0
- package/src/components/GenericUIBlocks/CustomTooltip/styles.scss +19 -0
- package/src/components/GenericUIBlocks/Dialog/V2/index.tsx +227 -0
- package/src/components/GenericUIBlocks/Dialog/V2/styles.scss +289 -0
- package/src/components/GenericUIBlocks/Dialog/index.tsx +185 -0
- package/src/components/GenericUIBlocks/Dialog/styles.scss +227 -0
- package/src/components/GenericUIBlocks/Divider/index.tsx +12 -0
- package/src/components/GenericUIBlocks/Divider/styles.scss +7 -0
- package/src/components/GenericUIBlocks/GeneralSelect/index.tsx +114 -0
- package/src/components/GenericUIBlocks/GeneralSelect/styles.scss +406 -0
- package/src/components/GenericUIBlocks/GeneralTooltip/index.tsx +25 -0
- package/src/components/GenericUIBlocks/GeneralTooltip/styles.scss +20 -0
- package/src/components/GenericUIBlocks/GenericSnackbar/Toast/index.tsx +91 -0
- package/src/components/GenericUIBlocks/GenericSnackbar/Toast/styles.scss +92 -0
- package/src/components/GenericUIBlocks/Grid/index.tsx +82 -0
- package/src/components/GenericUIBlocks/Input/index.tsx +269 -0
- package/src/components/GenericUIBlocks/Input/styles.scss +332 -0
- package/src/components/GenericUIBlocks/Tabs/index.tsx +71 -0
- package/src/components/GenericUIBlocks/Tabs/styles.scss +42 -0
- package/src/components/GenericUIBlocks/Typography/index.tsx +18 -0
- package/src/components/GenericUIBlocks/Typography/styles.scss +27 -0
- package/src/components/SidePanel/CustomAddOns/index.tsx +342 -0
- package/src/components/SidePanel/CustomAddOns/styles.scss +86 -0
- package/src/components/SidePanel/CustomBlockColors/index.tsx +211 -0
- package/src/components/SidePanel/CustomBlockColors/styles.scss +80 -0
- package/src/components/SidePanel/CustomFields/customFieldSection.tsx +547 -0
- package/src/components/SidePanel/CustomFields/styles.scss +64 -0
- package/src/components/SidePanel/CustomQRCode/V2/QRCodeModal/index.tsx +172 -0
- package/src/components/SidePanel/CustomQRCode/V2/QRCodeModal/styles.scss +46 -0
- package/src/components/SidePanel/CustomQRCode/index.tsx +1070 -0
- package/src/components/SidePanel/CustomQRCode/styles.scss +149 -0
- package/src/components/SidePanel/CustomUploads/V2/index.tsx +542 -0
- package/src/components/SidePanel/CustomUploads/V2/styles.scss +267 -0
- package/src/components/SidePanel/CustomUploads/index.tsx +301 -0
- package/src/components/SidePanel/Templates/ModalGallery/HireDesigner/index.tsx +424 -0
- package/src/components/SidePanel/Templates/ModalGallery/HireDesigner/styles.scss +180 -0
- package/src/components/SidePanel/Templates/ModalGallery/V2/index.tsx +235 -0
- package/src/components/SidePanel/Templates/ModalGallery/V2/styles.scss +244 -0
- package/src/components/SidePanel/Templates/ModalGallery/index.tsx +231 -0
- package/src/components/SidePanel/Templates/SideBarGallery/index.tsx +233 -0
- package/src/components/SidePanel/Templates/SideBarGallery/styles.scss +152 -0
- package/src/components/SidePanel/Templates/TemplatesCard/V2/index.tsx +149 -0
- package/src/components/SidePanel/Templates/TemplatesCard/V2/styles.scss +156 -0
- package/src/components/SidePanel/Templates/TemplatesCard/index.tsx +160 -0
- package/src/components/SidePanel/Templates/TemplatesCard/styles.scss +98 -0
- package/src/components/SidePanel/Templates/customTemplateSection.tsx +793 -0
- package/src/components/SidePanel/Templates/styles.scss +244 -0
- package/src/components/SidePanel/index.tsx +160 -0
- package/src/components/TemplateBuilder/index.tsx +585 -0
- package/src/components/TemplateBuilder/styles.scss +100 -0
- package/src/components/TemplateTypes/index.tsx +96 -0
- package/src/components/TemplateTypes/styles.scss +91 -0
- package/src/components/TopNavigation/ConfirmNavigateDialog/index.tsx +81 -0
- package/src/components/TopNavigation/ConfirmNavigateDialog/styles.scss +123 -0
- package/src/components/TopNavigation/DuplicateTemplateModal.tsx +103 -0
- package/src/components/TopNavigation/EditTemplateNameModel/index.tsx +71 -0
- package/src/components/TopNavigation/EditTemplateNameModel/styles.scss +88 -0
- package/src/components/TopNavigation/SaveTemplateModel/index.tsx +201 -0
- package/src/components/TopNavigation/SaveTemplateModel/styles.scss +128 -0
- package/src/components/TopNavigation/index.tsx +938 -0
- package/src/components/TopNavigation/styles.scss +303 -0
- package/src/importMeta.d.ts +31 -0
- package/src/index.scss +131 -0
- package/src/index.tsx +238 -0
- package/src/libs/test.ts +7 -0
- package/src/redux/actions/action-types.ts +52 -0
- package/src/redux/actions/customQRCodeActions.ts +54 -0
- package/src/redux/actions/snackbarActions.ts +16 -0
- package/src/redux/actions/templateActions.ts +236 -0
- package/src/redux/reducers/customFieldReducer.ts +99 -0
- package/src/redux/reducers/customQRCodeReducer.ts +58 -0
- package/src/redux/reducers/index.ts +15 -0
- package/src/redux/reducers/snackbarReducer.ts +40 -0
- package/src/redux/reducers/templateReducer.ts +485 -0
- package/src/redux/store.ts +18 -0
- package/src/styles/colors.scss +61 -0
- package/src/test/mocks.js +89 -0
- package/src/test/setupJest.js +1 -0
- package/src/utils/api.ts +36 -0
- package/src/utils/constants.ts +182 -0
- package/src/utils/customStyles.ts +45 -0
- package/src/utils/fetchWrapper.ts +73 -0
- package/src/utils/fonts.json +1597 -0
- package/src/utils/helper.ts +205 -0
- package/src/utils/local-storage.ts +15 -0
- package/src/utils/message.ts +162 -0
- package/src/utils/products.ts +186 -0
- package/src/utils/template-builder.ts +328 -0
- package/src/utils/templateIdentifierArea/biFold.ts +107 -0
- package/src/utils/templateIdentifierArea/index.ts +35 -0
- package/src/utils/templateIdentifierArea/personal.ts +107 -0
- package/src/utils/templateIdentifierArea/postCards.ts +163 -0
- package/src/utils/templateIdentifierArea/professional.ts +125 -0
- package/src/utils/templateIdentifierArea/snapPack.ts +107 -0
- package/src/utils/templateIdentifierArea/triFold.ts +107 -0
- package/src/utils/templateRestrictedArea/biFold.ts +329 -0
- package/src/utils/templateRestrictedArea/nonWindowProfessional.ts +90 -0
- package/src/utils/templateRestrictedArea/personal.ts +90 -0
- package/src/utils/templateRestrictedArea/postCard.ts +334 -0
- package/src/utils/templateRestrictedArea/postCardJumbo.tsx +408 -0
- package/src/utils/templateRestrictedArea/professional.ts +318 -0
- package/src/utils/templateRestrictedArea/realPenned.ts +233 -0
- package/src/utils/templateRestrictedArea/snapPack.ts +1009 -0
- package/src/utils/templateRestrictedArea/triFold.ts +330 -0
- package/src/utils/templateSafetyBorders/biFold.ts +91 -0
- package/src/utils/templateSafetyBorders/index.ts +43 -0
- package/src/utils/templateSafetyBorders/personal.ts +41 -0
- package/src/utils/templateSafetyBorders/postCards.ts +259 -0
- package/src/utils/templateSafetyBorders/professional.ts +78 -0
- package/src/utils/templateSafetyBorders/snapPack.ts +165 -0
- package/src/utils/templateSafetyBorders/triFold.ts +114 -0
- package/src/utils/templateSafetyBorders/types.d.ts +68 -0
- package/src/utils/types.ts +12 -0
- package/src/v2Theme.scss +142 -0
- package/tsconfig.json +29 -0
- package/tsconfig.node.json +12 -0
- package/update-version.js +23 -0
- package/version.js +1 -0
- package/vite.config.ts +8 -0
- package/webpack.config.js +80 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
|
|
3
|
+
// Utils
|
|
4
|
+
import { MESSAGES } from '../../../../utils/message';
|
|
5
|
+
|
|
6
|
+
// // icons
|
|
7
|
+
import Dot from '../../../../assets/images/templates/dot';
|
|
8
|
+
import ArrowDown from '../../../../assets/images/templates/arrow-down';
|
|
9
|
+
import Button from '../../../GenericUIBlocks/Button';
|
|
10
|
+
import Typography from '../../../GenericUIBlocks/Typography';
|
|
11
|
+
|
|
12
|
+
// styles
|
|
13
|
+
import './styles.scss';
|
|
14
|
+
|
|
15
|
+
const TemplatesCard = (props: any) => {
|
|
16
|
+
const {
|
|
17
|
+
templates,
|
|
18
|
+
loading,
|
|
19
|
+
handleLoadTemplateModel,
|
|
20
|
+
platformName,
|
|
21
|
+
currentTemplateType,
|
|
22
|
+
product,
|
|
23
|
+
searchApplied,
|
|
24
|
+
primaryColorRGBA,
|
|
25
|
+
designerQueryAmount,
|
|
26
|
+
} = props;
|
|
27
|
+
|
|
28
|
+
const [isFilpedIds, setIsFlipedIds] = useState<string[]>([]);
|
|
29
|
+
|
|
30
|
+
const singleSideProducts = [2, 4, 5, 16];
|
|
31
|
+
|
|
32
|
+
// handler for Flip
|
|
33
|
+
const handleFlip = (templateId: string) => {
|
|
34
|
+
const existingTemplateIds = isFilpedIds || [];
|
|
35
|
+
let updatedIds: string[];
|
|
36
|
+
if (existingTemplateIds.includes(templateId)) {
|
|
37
|
+
updatedIds = existingTemplateIds.filter((item) => item !== templateId);
|
|
38
|
+
} else {
|
|
39
|
+
updatedIds = [...existingTemplateIds, templateId];
|
|
40
|
+
}
|
|
41
|
+
setIsFlipedIds(updatedIds);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// handler for setting color
|
|
45
|
+
const colorSetter = (templateId: any, side: string) => {
|
|
46
|
+
const result =
|
|
47
|
+
!isFilpedIds.includes(templateId) && side === 'Front'
|
|
48
|
+
? { fill: '#FFFFFF' }
|
|
49
|
+
: isFilpedIds.includes(templateId) && side === 'Back'
|
|
50
|
+
? { fill: '#FFFFFF' }
|
|
51
|
+
: { fill: '#878585' };
|
|
52
|
+
return result;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
// handler for setting rotation
|
|
56
|
+
const transformSetter = (templateId: any) => {
|
|
57
|
+
const result = isFilpedIds.includes(templateId)
|
|
58
|
+
? {
|
|
59
|
+
transform: 'rotateY(0deg)',
|
|
60
|
+
boxShadow: `inset 0 0 0 2px ${primaryColorRGBA}`,
|
|
61
|
+
}
|
|
62
|
+
: {
|
|
63
|
+
transform: 'rotateY(360deg)',
|
|
64
|
+
boxShadow: `inset 0 0 0 2px ${primaryColorRGBA}`,
|
|
65
|
+
};
|
|
66
|
+
return result;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
return (
|
|
70
|
+
<>
|
|
71
|
+
{loading ? (
|
|
72
|
+
<div className="noTemplateGallery">
|
|
73
|
+
<Typography>{MESSAGES.TEMPLATE.LOADING_TEMPLATE}</Typography>
|
|
74
|
+
</div>
|
|
75
|
+
) : templates.length ? (
|
|
76
|
+
templates.map((template: any, index: string) => {
|
|
77
|
+
return (
|
|
78
|
+
<div className="templateCard" key={index}>
|
|
79
|
+
<div className="templateImage">
|
|
80
|
+
<img
|
|
81
|
+
src={
|
|
82
|
+
isFilpedIds.includes(template?.id)
|
|
83
|
+
? template.backThumbnailUrl
|
|
84
|
+
: template.thumbnailUrl
|
|
85
|
+
}
|
|
86
|
+
alt="template"
|
|
87
|
+
style={transformSetter(template?.id)}
|
|
88
|
+
loading="lazy"
|
|
89
|
+
/>
|
|
90
|
+
<Button
|
|
91
|
+
className="tempButton"
|
|
92
|
+
onClick={() => handleLoadTemplateModel(template)}
|
|
93
|
+
>
|
|
94
|
+
Edit Template
|
|
95
|
+
</Button>
|
|
96
|
+
{!singleSideProducts.includes(Number(product?.id)) && (
|
|
97
|
+
<div className="flipWrapper">
|
|
98
|
+
<Dot
|
|
99
|
+
onClick={() => handleFlip(template?.id)}
|
|
100
|
+
style={colorSetter(template?.id, 'Front')}
|
|
101
|
+
/>
|
|
102
|
+
<Dot
|
|
103
|
+
onClick={() => handleFlip(template?.id)}
|
|
104
|
+
style={colorSetter(template?.id, 'Back')}
|
|
105
|
+
/>
|
|
106
|
+
<ArrowDown
|
|
107
|
+
onClick={() => handleLoadTemplateModel(template)}
|
|
108
|
+
/>
|
|
109
|
+
</div>
|
|
110
|
+
)}
|
|
111
|
+
</div>
|
|
112
|
+
<Typography className="templateName">
|
|
113
|
+
{template?.title}
|
|
114
|
+
</Typography>
|
|
115
|
+
<Typography className="templateID">
|
|
116
|
+
Template ID: {template?.id}
|
|
117
|
+
</Typography>
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
120
|
+
})
|
|
121
|
+
) : currentTemplateType?.id === '1' ? (
|
|
122
|
+
<div
|
|
123
|
+
className={`${+product?.id === 5 && designerQueryAmount
|
|
124
|
+
? 'noTemplateGallery more-visible'
|
|
125
|
+
: product?.productType === 'Professional Letters'
|
|
126
|
+
? 'noTemplateGallery noTemplateProfessionalAndPersonal'
|
|
127
|
+
: 'noTemplateGallery'
|
|
128
|
+
}`}
|
|
129
|
+
>
|
|
130
|
+
<Typography>{MESSAGES.TEMPLATE.NO_MY_TEMPLATES}</Typography>
|
|
131
|
+
</div>
|
|
132
|
+
) : currentTemplateType?.id === '2' ? (
|
|
133
|
+
<div
|
|
134
|
+
className={`${+product?.id === 5 && designerQueryAmount ? 'noTemplateGallery more-visible' : 'noTemplateGallery'}`}
|
|
135
|
+
>
|
|
136
|
+
<Typography>{MESSAGES.TEMPLATE.NO_TEAM_TEMPLATES}</Typography>
|
|
137
|
+
</div>
|
|
138
|
+
) : currentTemplateType?.id === '3' ? (
|
|
139
|
+
<div
|
|
140
|
+
className={`${+product?.id === 5 && designerQueryAmount
|
|
141
|
+
? 'noTemplateGallery more-visible'
|
|
142
|
+
: product?.productType === 'Professional Letters'
|
|
143
|
+
? 'noTemplateGallery noTemplateProfessionalAndPersonal'
|
|
144
|
+
: 'noTemplateGallery'
|
|
145
|
+
}`}
|
|
146
|
+
>
|
|
147
|
+
<Typography>
|
|
148
|
+
{platformName
|
|
149
|
+
? `No ${platformName} Templates to show`
|
|
150
|
+
: MESSAGES.TEMPLATE.NO_OLC_TEMPLATES}
|
|
151
|
+
</Typography>
|
|
152
|
+
</div>
|
|
153
|
+
) : (
|
|
154
|
+
<></>
|
|
155
|
+
)}
|
|
156
|
+
</>
|
|
157
|
+
);
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
export default TemplatesCard;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.templateCard {
|
|
2
|
+
width: 316px;
|
|
3
|
+
border-radius: 3px;
|
|
4
|
+
flex: 0 316px;
|
|
5
|
+
|
|
6
|
+
.templateImage {
|
|
7
|
+
position: relative;
|
|
8
|
+
margin-bottom: 5px;
|
|
9
|
+
|
|
10
|
+
img {
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-radius: 7px;
|
|
14
|
+
padding: 1.5px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
.tempButton {
|
|
19
|
+
display: flex !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.flipWrapper {
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tempButton {
|
|
28
|
+
display: none !important;
|
|
29
|
+
transition: 0.3s ease-in all !important;
|
|
30
|
+
position: absolute !important;
|
|
31
|
+
top: 10px !important;
|
|
32
|
+
right: 10px !important;
|
|
33
|
+
max-height: 35px !important;
|
|
34
|
+
background-color: var(--primary-color);
|
|
35
|
+
color: #fff;
|
|
36
|
+
text-transform: capitalize;
|
|
37
|
+
border-radius: 6px;
|
|
38
|
+
transition: 0.3s ease-in all !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.flipWrapper {
|
|
42
|
+
display: none;
|
|
43
|
+
position: absolute;
|
|
44
|
+
bottom: 30px;
|
|
45
|
+
left: 40%;
|
|
46
|
+
width: 60px;
|
|
47
|
+
height: 20px;
|
|
48
|
+
background-color: #00000049;
|
|
49
|
+
border-radius: 99999px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: 2px;
|
|
53
|
+
svg {
|
|
54
|
+
width: 16px;
|
|
55
|
+
height: 16px;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.templateName {
|
|
62
|
+
font-size: 18px;
|
|
63
|
+
margin: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.templateID {
|
|
67
|
+
font-size: 16px !important;
|
|
68
|
+
color: #6a6565 !important;
|
|
69
|
+
font-weight: 300 !important;
|
|
70
|
+
margin-top: 7px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.noTemplateGallery {
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: calc(100vh - 600px);
|
|
80
|
+
|
|
81
|
+
p {
|
|
82
|
+
color: var(--text-color);
|
|
83
|
+
font-size: 18px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 400;
|
|
86
|
+
line-height: normal;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.noTemplateProfessionalAndPersonal {
|
|
91
|
+
height: calc(100vh - 1000px) !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
.more-visible {
|
|
96
|
+
height: calc(100vh - 850px) !important;
|
|
97
|
+
margin-top: -20px !important;
|
|
98
|
+
}
|