@flozy/editor 5.5.8 → 5.6.0
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/Editor/ChatEditor.js +25 -34
- package/dist/Editor/CommonEditor.js +26 -13
- package/dist/Editor/Editor.css +106 -20
- package/dist/Editor/Elements/AI/AIInput.js +0 -1
- package/dist/Editor/Elements/AI/CustomSelect.js +17 -10
- package/dist/Editor/Elements/AI/PopoverAIInput.js +59 -53
- package/dist/Editor/Elements/AI/Styles.js +24 -6
- package/dist/Editor/Elements/Accordion/Accordion.js +8 -1
- package/dist/Editor/Elements/AppHeader/AppHeader.js +6 -6
- package/dist/Editor/Elements/Button/EditorButton.js +6 -1
- package/dist/Editor/Elements/Carousel/CarouselItem.js +11 -3
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +7 -5
- package/dist/Editor/Elements/Color Picker/Styles.js +8 -3
- package/dist/Editor/Elements/Color Picker/defaultColors.js +2 -2
- package/dist/Editor/Elements/DataView/DataView.js +124 -0
- package/dist/Editor/Elements/DataView/DataViewButton.js +23 -0
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +83 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/CheckType.js +33 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +180 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/SimpleSelect.js +62 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/styles.js +68 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/DateType.js +35 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +39 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/NumberType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/PersonType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/SelectType.js +35 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +36 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/index.js +17 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseField.js +29 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +38 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +86 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +71 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/styles.js +138 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +213 -0
- package/dist/Editor/Elements/DataView/Layouts/Formula.js +29 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +113 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +44 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +146 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +79 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/ColumnsList.js +57 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/Constants.js +101 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +174 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +241 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +45 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +32 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +110 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/styles.js +217 -0
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +131 -0
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +253 -0
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +85 -0
- package/dist/Editor/Elements/DataView/Layouts/colStyles.js +10 -0
- package/dist/Editor/Elements/DataView/Layouts/index.js +25 -0
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +277 -0
- package/dist/Editor/Elements/DataView/Utils/globalSearch.js +15 -0
- package/dist/Editor/Elements/DataView/Utils/multiSortRows.js +88 -0
- package/dist/Editor/Elements/DataView/styles.js +169 -0
- package/dist/Editor/Elements/Divider/Divider.js +36 -20
- package/dist/Editor/Elements/Embed/Image.js +51 -16
- package/dist/Editor/Elements/Embed/Video.js +26 -3
- package/dist/Editor/Elements/Form/Form.js +38 -2
- package/dist/Editor/Elements/Form/FormElements/FormCheckbox.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormDate.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormEmail.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormRadioButton.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormText.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +6 -1
- package/dist/Editor/Elements/Form/FormPopup.js +12 -9
- package/dist/Editor/Elements/Form/Workflow/Styles.js +2 -0
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +1 -1
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +4 -2
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +20 -1
- package/dist/Editor/Elements/FreeGrid/breakpointConstants.js +4 -4
- package/dist/Editor/Elements/FreeGrid/styles.js +1 -1
- package/dist/Editor/Elements/Grid/GridButton.js +2 -2
- package/dist/Editor/Elements/Grid/GridItem.js +47 -36
- package/dist/Editor/Elements/Grid/Styles.js +50 -0
- package/dist/Editor/Elements/Link/LinkButton.js +1 -1
- package/dist/Editor/Elements/Search/SearchButton.js +1 -0
- package/dist/Editor/Elements/Signature/Signature.css +1 -1
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -2
- package/dist/Editor/Elements/Signature/SignaturePopup.js +17 -52
- package/dist/Editor/Elements/SimpleText/index.js +3 -2
- package/dist/Editor/Elements/SimpleText/style.js +15 -0
- package/dist/Editor/Elements/Table/AddRowCol.js +77 -0
- package/dist/Editor/Elements/Table/DragButton.js +142 -0
- package/dist/Editor/Elements/Table/DragStyles.js +70 -0
- package/dist/Editor/Elements/Table/Draggable.js +25 -0
- package/dist/Editor/Elements/Table/Droppable.js +53 -0
- package/dist/Editor/Elements/Table/Styles.js +88 -78
- package/dist/Editor/Elements/Table/Table.js +263 -140
- package/dist/Editor/Elements/Table/TableCell.js +365 -111
- package/dist/Editor/Elements/Table/TablePopup.js +9 -3
- package/dist/Editor/Elements/Table/TableRow.js +10 -2
- package/dist/Editor/Elements/Table/TableTool.js +101 -0
- package/dist/Editor/Elements/Table/tableHelper.js +71 -0
- package/dist/Editor/Elements/TopBanner/TopBanner.js +2 -1
- package/dist/Editor/MiniEditor.js +21 -2
- package/dist/Editor/Styles/EditorStyles.js +13 -4
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +10 -0
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +7 -12
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +26 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +3 -0
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +5 -5
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +8 -8
- package/dist/Editor/Toolbar/Mini/Styles.js +9 -1
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/InfinityAITool.js +7 -3
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +6 -4
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +19 -15
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +547 -58
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +28 -16
- package/dist/Editor/Toolbar/PopupTool/index.js +3 -5
- package/dist/Editor/Toolbar/Toolbar.js +6 -0
- package/dist/Editor/Toolbar/toolbarGroups.js +4 -0
- package/dist/Editor/assets/svg/ArrowDownIcon.js +25 -0
- package/dist/Editor/assets/svg/ArrowUpIcon.js +25 -0
- package/dist/Editor/assets/svg/BrainIcon.js +2 -2
- package/dist/Editor/assets/svg/CalenderIconTick.js +64 -0
- package/dist/Editor/assets/svg/ChervDown.js +18 -0
- package/dist/Editor/assets/svg/ChervUp.js +18 -0
- package/dist/Editor/assets/svg/DataTableIcon.js +50 -0
- package/dist/Editor/assets/svg/DuplicateIcon.js +23 -0
- package/dist/Editor/assets/svg/EyeIcon.js +23 -0
- package/dist/Editor/assets/svg/EyeSlash.js +43 -0
- package/dist/Editor/assets/svg/HashtagIcon.js +33 -0
- package/dist/Editor/assets/svg/PlusIcon.js +23 -0
- package/dist/Editor/assets/svg/SelectRoundedIcon.js +24 -0
- package/dist/Editor/assets/svg/SettingsIcon.js +4 -4
- package/dist/Editor/assets/svg/SortByIcon.js +33 -0
- package/dist/Editor/assets/svg/TableIcons.js +220 -0
- package/dist/Editor/assets/svg/TickOutlined.js +23 -0
- package/dist/Editor/assets/svg/TrashCanIcon.js +38 -0
- package/dist/Editor/common/ColorPickerButton.js +85 -45
- package/dist/Editor/common/DnD/Draggable.js +2 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +2 -2
- package/dist/Editor/common/Icon.js +54 -21
- package/dist/Editor/common/ImageSelector/Options/Upload.js +2 -1
- package/dist/Editor/common/ImageSelector/Styles.js +47 -6
- package/dist/Editor/common/ImageSelector/UploadStyles.js +18 -6
- package/dist/Editor/common/LinkSettings/NavComponents.js +2 -1
- package/dist/Editor/common/LinkSettings/index.js +2 -1
- package/dist/Editor/common/MentionsPopup/Styles.js +142 -8
- package/dist/Editor/common/MentionsPopup/index.js +1 -1
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +107 -12
- package/dist/Editor/common/RnD/GuideLines/styles.js +3 -3
- package/dist/Editor/common/RnD/ShadowElement.js +1 -1
- package/dist/Editor/common/RnD/VirtualElement/index.js +5 -1
- package/dist/Editor/common/RnD/index.js +4 -3
- package/dist/Editor/common/Section/index.js +3 -3
- package/dist/Editor/common/Section/styles.js +5 -1
- package/dist/Editor/common/Select/index.js +20 -0
- package/dist/Editor/common/Select/styles.js +17 -0
- package/dist/Editor/common/Shorthands/elements.js +13 -1
- package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +4 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +35 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +15 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +2 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +1 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +2 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/radiusStyle.js +11 -11
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +22 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/selectBox.js +21 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +20 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +12 -2
- package/dist/Editor/common/StyleBuilder/formStyle.js +268 -149
- package/dist/Editor/common/StyleBuilder/index.js +101 -20
- package/dist/Editor/common/StyleBuilder/tableStyle.js +69 -25
- package/dist/Editor/common/SwipeableDrawer/style.js +15 -4
- package/dist/Editor/common/ToolbarIcon.js +1 -1
- package/dist/Editor/common/Uploader.js +39 -37
- package/dist/Editor/common/iconListV2.js +598 -74
- package/dist/Editor/common/iconslist.js +25 -19
- package/dist/Editor/commonStyle.js +421 -15
- package/dist/Editor/helper/deserialize/index.js +31 -2
- package/dist/Editor/helper/enforceDateFormat.js +41 -0
- package/dist/Editor/helper/index.js +15 -2
- package/dist/Editor/helper/theme.js +15 -1
- package/dist/Editor/hooks/useBreakpoints.js +1 -1
- package/dist/Editor/hooks/useTable.js +210 -0
- package/dist/Editor/plugins/withCustomDeleteBackward.js +1 -1
- package/dist/Editor/plugins/withEmbeds.js +30 -26
- package/dist/Editor/plugins/withHTML.js +100 -12
- package/dist/Editor/plugins/withLayout.js +1 -0
- package/dist/Editor/utils/SlateUtilityFunctions.js +31 -11
- package/dist/Editor/utils/brains.js +1 -1
- package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +75 -6
- package/dist/Editor/utils/customHooks/useResize.js +7 -4
- package/dist/Editor/utils/customHooks/useTableResize.js +6 -2
- package/dist/Editor/utils/dataView.js +43 -0
- package/dist/Editor/utils/embed.js +2 -1
- package/dist/Editor/utils/events.js +0 -1
- package/dist/Editor/utils/font.js +11 -4
- package/dist/Editor/utils/formfield.js +8 -4
- package/dist/Editor/utils/helper.js +100 -2
- package/dist/Editor/utils/insertNewLine.js +19 -1
- package/dist/Editor/utils/serializeToText.js +2 -0
- package/dist/Editor/utils/table.js +228 -24
- package/package.json +2 -2
@@ -1,14 +1,15 @@
|
|
1
1
|
const usePopupStyle = theme => ({
|
2
2
|
popupWrapper: {
|
3
|
-
boxShadow: "1px 2px 15px 0px #2563EB40",
|
3
|
+
boxShadow: theme?.palette?.type === "light" ? "1px 2px 15px 0px #2563EB40" : "unset",
|
4
4
|
zIndex: 1300,
|
5
5
|
marginBottom: "12px !important",
|
6
|
-
borderRadius: "
|
7
|
-
border:
|
6
|
+
borderRadius: "20px !important",
|
7
|
+
border: `1px solid ${theme?.palette?.editor?.popUpBorderColor} !important`,
|
8
8
|
maxWidth: "100%",
|
9
9
|
// maxHeight: "40px",
|
10
10
|
"&.fullscreen": {
|
11
11
|
marginBottom: "0px !important",
|
12
|
+
borderRadius: "0px !important",
|
12
13
|
"& .papper-wrpr": {
|
13
14
|
boxShadow: "none"
|
14
15
|
}
|
@@ -17,7 +18,42 @@ const usePopupStyle = theme => ({
|
|
17
18
|
transform: "none !important"
|
18
19
|
},
|
19
20
|
"& .MuiPaper-root": {
|
20
|
-
backgroundColor: theme?.palette?.editor?.
|
21
|
+
backgroundColor: `${theme?.palette?.editor?.textFormatBgColor} !important`,
|
22
|
+
borderRadius: "19px !important"
|
23
|
+
},
|
24
|
+
"& .MuiDialog-paperFullScreen": {
|
25
|
+
borderRadius: "0px !important"
|
26
|
+
},
|
27
|
+
"& .inputField": {
|
28
|
+
height: "29px",
|
29
|
+
"& .MuiIconButton-root": {
|
30
|
+
padding: "5px"
|
31
|
+
},
|
32
|
+
"& .MuiOutlinedInput-root ": {
|
33
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
34
|
+
borderRadius: "8px",
|
35
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`
|
36
|
+
},
|
37
|
+
"& .MuiFormControl-root": {
|
38
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
39
|
+
borderRadius: "8px",
|
40
|
+
height: "29px"
|
41
|
+
},
|
42
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
43
|
+
borderRadius: "8px",
|
44
|
+
border: `1px solid transparent`
|
45
|
+
},
|
46
|
+
"& .MuiOutlinedInput-input": {
|
47
|
+
padding: "3px 35px 4px 2px !important"
|
48
|
+
},
|
49
|
+
"& .MuiInputBase-adornedStart": {
|
50
|
+
padding: "0px 0px 0px 9px"
|
51
|
+
},
|
52
|
+
"& svg": {
|
53
|
+
"& path": {
|
54
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
55
|
+
}
|
56
|
+
}
|
21
57
|
},
|
22
58
|
"&.textSettings": {
|
23
59
|
"@media only screen and (max-width: 600px)": {
|
@@ -26,7 +62,7 @@ const usePopupStyle = theme => ({
|
|
26
62
|
}
|
27
63
|
},
|
28
64
|
"& .MuiTypography-root": {
|
29
|
-
color: theme?.palette?.editor?.
|
65
|
+
color: theme?.palette?.editor?.textFormatTextColor
|
30
66
|
},
|
31
67
|
"& .MuiInputBase-root": {
|
32
68
|
color: theme?.palette?.editor?.textColor,
|
@@ -51,15 +87,25 @@ const usePopupStyle = theme => ({
|
|
51
87
|
"& .buttonsWrpr": {
|
52
88
|
"& button": {
|
53
89
|
color: theme?.palette?.editor?.textColor
|
90
|
+
},
|
91
|
+
"& .more-btn-cbs": {
|
92
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
93
|
+
border: `1px solid ${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
94
|
+
paddingTop: "10px",
|
95
|
+
"& svg": {
|
96
|
+
width: "20px",
|
97
|
+
height: "24px"
|
98
|
+
}
|
54
99
|
}
|
55
100
|
},
|
56
101
|
"@media only screen and (max-width: 599px)": {
|
57
|
-
|
102
|
+
// margin: "10px !important",
|
58
103
|
background: "unset",
|
59
|
-
boxShadow: "unset"
|
60
|
-
border: "none"
|
104
|
+
boxShadow: "unset"
|
105
|
+
// border: "none",
|
61
106
|
}
|
62
107
|
},
|
108
|
+
|
63
109
|
textFormatWrapper: {
|
64
110
|
padding: "0px 16px 16px 16px",
|
65
111
|
width: "323px",
|
@@ -83,6 +129,9 @@ const usePopupStyle = theme => ({
|
|
83
129
|
width: "330px"
|
84
130
|
}
|
85
131
|
},
|
132
|
+
"& .MuiTypography-root": {
|
133
|
+
padding: "0px"
|
134
|
+
},
|
86
135
|
"&.templates": {
|
87
136
|
width: "500px",
|
88
137
|
maxWidth: "100%",
|
@@ -90,13 +139,38 @@ const usePopupStyle = theme => ({
|
|
90
139
|
width: "100%",
|
91
140
|
maxHeight: "fit-content"
|
92
141
|
},
|
142
|
+
"& .MuiTab-root": {
|
143
|
+
textTransform: "capitalize",
|
144
|
+
color: "#64748B",
|
145
|
+
borderBottom: `1.5px solid ${theme?.palette?.editor?.deviderBgColor}`
|
146
|
+
},
|
147
|
+
"& .Mui-selected": {
|
148
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
149
|
+
fontWeight: "700 !important"
|
150
|
+
},
|
151
|
+
"& .MuiTabs-indicator": {
|
152
|
+
background: "#2563EB"
|
153
|
+
},
|
154
|
+
"& .MuiTabScrollButton-horizontal": {
|
155
|
+
borderBottom: "unset !important",
|
156
|
+
width: "10px",
|
157
|
+
"& svg": {
|
158
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke
|
159
|
+
}
|
160
|
+
},
|
93
161
|
"@media only screen and (max-width: 599px)": {
|
94
162
|
width: "330px"
|
163
|
+
},
|
164
|
+
"& .MuiCardContent-root": {
|
165
|
+
color: theme?.palette?.editor?.textColor,
|
166
|
+
fontFamily: "Inter, sans-serif",
|
167
|
+
fontSize: "12px",
|
168
|
+
fontWeight: "500"
|
95
169
|
}
|
96
170
|
},
|
97
171
|
"& .headerContainer": {},
|
98
172
|
"& .textSettingHeader": {
|
99
|
-
borderBottom: "1px solid #DCE4EC",
|
173
|
+
// borderBottom: "1px solid #DCE4EC",
|
100
174
|
padding: "8px 0px 5px",
|
101
175
|
marginBottom: "20px"
|
102
176
|
},
|
@@ -111,8 +185,72 @@ const usePopupStyle = theme => ({
|
|
111
185
|
justifyContent: "start",
|
112
186
|
borderRadius: "10px !important",
|
113
187
|
transition: "background-color 0.3s ease",
|
188
|
+
"& .signatureElementIcon": {
|
189
|
+
"& path": {
|
190
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"& .commonSvgStyle": {
|
194
|
+
"& path": {
|
195
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
196
|
+
}
|
197
|
+
},
|
198
|
+
"& .commonSvgStyle2": {
|
199
|
+
"& path": {
|
200
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"& .colorBoxElementIcon": {
|
204
|
+
"& path": {
|
205
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
206
|
+
fill: "none"
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"& .gridElementIcon": {
|
210
|
+
"& path": {
|
211
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
212
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
213
|
+
}
|
214
|
+
},
|
215
|
+
"& .newLineElementIcon": {
|
216
|
+
"& path": {
|
217
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
218
|
+
}
|
219
|
+
},
|
114
220
|
"&:hover": {
|
115
|
-
backgroundColor:
|
221
|
+
backgroundColor: `${theme?.palette?.editor?.menuOptionHoverBackground} !important`,
|
222
|
+
"& .signatureElementIcon": {
|
223
|
+
"& path": {
|
224
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
225
|
+
}
|
226
|
+
},
|
227
|
+
"& .commonSvgStyle": {
|
228
|
+
"& path": {
|
229
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
230
|
+
}
|
231
|
+
},
|
232
|
+
"& .commonSvgStyle2": {
|
233
|
+
"& path": {
|
234
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"& .colorBoxElementIcon": {
|
238
|
+
"& path": {
|
239
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
240
|
+
fill: "none"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"& .gridElementIcon": {
|
244
|
+
"& path": {
|
245
|
+
stroke: `${theme?.palette?.editor?.textColor}`,
|
246
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
247
|
+
}
|
248
|
+
},
|
249
|
+
"& .newLineElementIcon": {
|
250
|
+
"& path": {
|
251
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
252
|
+
}
|
253
|
+
}
|
116
254
|
},
|
117
255
|
"& svg": {
|
118
256
|
width: "24px",
|
@@ -151,6 +289,14 @@ const usePopupStyle = theme => ({
|
|
151
289
|
},
|
152
290
|
"@media only screen and (max-width: 599px)": {
|
153
291
|
width: "330px"
|
292
|
+
},
|
293
|
+
"& .textFormatMUIIcon": {
|
294
|
+
"& svg": {
|
295
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
296
|
+
}
|
297
|
+
},
|
298
|
+
"& .npr-0": {
|
299
|
+
paddingRight: "0px !important"
|
154
300
|
}
|
155
301
|
},
|
156
302
|
textFormatLabel: {
|
@@ -168,11 +314,24 @@ const usePopupStyle = theme => ({
|
|
168
314
|
},
|
169
315
|
"& .MuiFormControl-root.MuiTextField-root input": {
|
170
316
|
padding: "8px 35px 6px 12px"
|
317
|
+
},
|
318
|
+
"& .toogleFullScreenBtn": {
|
319
|
+
background: `${theme?.palette?.editor?.closeButtonBgColor} !important`,
|
320
|
+
padding: "4px !important",
|
321
|
+
"& .toogleFullScreenSvg": {
|
322
|
+
"& path": {
|
323
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
324
|
+
}
|
325
|
+
}
|
171
326
|
}
|
172
327
|
},
|
328
|
+
textSettingHeader: {
|
329
|
+
display: "flex",
|
330
|
+
borderBottom: `1px solid ${theme?.palette?.editor?.deviderBgColor} !important`
|
331
|
+
},
|
173
332
|
textFormatField: {
|
174
|
-
marginBottom: "
|
175
|
-
marginTop: "
|
333
|
+
marginBottom: "8px",
|
334
|
+
marginTop: "8px"
|
176
335
|
},
|
177
336
|
textFormatField1: {
|
178
337
|
marginBottom: "16px",
|
@@ -182,6 +341,137 @@ const usePopupStyle = theme => ({
|
|
182
341
|
// marginBottom: "16px",
|
183
342
|
marginTop: "10px"
|
184
343
|
},
|
344
|
+
textFormatField3: {
|
345
|
+
marginBottom: "16px"
|
346
|
+
},
|
347
|
+
textAlignButtons: {
|
348
|
+
paddingLeft: "0px",
|
349
|
+
paddingRight: "12px",
|
350
|
+
"&:hover": {
|
351
|
+
background: "unset"
|
352
|
+
},
|
353
|
+
"&:not(.btnActive):hover": {
|
354
|
+
background: "unset",
|
355
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
356
|
+
"& .justifyIcon": {
|
357
|
+
"& path": {
|
358
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
359
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"& .textAlignIconSameStyles": {
|
363
|
+
"& path": {
|
364
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"& .orderedListIcon": {
|
368
|
+
"& .strokePathList": {
|
369
|
+
stroke: `${theme?.palette?.editor?.textColor} !important`
|
370
|
+
},
|
371
|
+
"& .fillPathList": {
|
372
|
+
fill: `${theme?.palette?.editor?.textColor} !important`
|
373
|
+
}
|
374
|
+
},
|
375
|
+
"& .bulletedListTextIcon": {
|
376
|
+
"& path": {
|
377
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
378
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
379
|
+
},
|
380
|
+
"& circle": {
|
381
|
+
fill: `${theme?.palette?.editor?.textColor}`
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"& .checkedListTextIcon": {
|
385
|
+
"& path": {
|
386
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
387
|
+
}
|
388
|
+
},
|
389
|
+
"& .accordianListTextIcon": {
|
390
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`,
|
391
|
+
"& svg": {
|
392
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
393
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
394
|
+
},
|
395
|
+
"& path": {
|
396
|
+
fill: `${theme?.palette?.editor?.textColor}`,
|
397
|
+
stroke: `${theme?.palette?.editor?.textColor}`
|
398
|
+
}
|
399
|
+
}
|
400
|
+
}
|
401
|
+
},
|
402
|
+
autoCompleteaFontFamily: {
|
403
|
+
"& .MuiOutlinedInput-root": {
|
404
|
+
borderRadius: "8px",
|
405
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
406
|
+
fontSize: "12px",
|
407
|
+
fontWeight: "400",
|
408
|
+
height: "36px",
|
409
|
+
paddingLeft: "12px !important"
|
410
|
+
},
|
411
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
412
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
413
|
+
},
|
414
|
+
"& svg": {
|
415
|
+
width: "20px",
|
416
|
+
height: "24px"
|
417
|
+
}
|
418
|
+
},
|
419
|
+
fontFamilyListOptions: {
|
420
|
+
"& .MuiAutocomplete-listbox": {
|
421
|
+
padding: "0px",
|
422
|
+
"&::-webkit-scrollbar-thumb": {
|
423
|
+
background: `none !important`
|
424
|
+
},
|
425
|
+
"&::-webkit-scrollbar-track": {
|
426
|
+
visibility: "hidden"
|
427
|
+
},
|
428
|
+
"&::-webkit-scrollbar-thumb": {
|
429
|
+
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
430
|
+
},
|
431
|
+
"&::-webkit-scrollbar-track": {
|
432
|
+
visibility: "hidden"
|
433
|
+
},
|
434
|
+
"& li": {
|
435
|
+
margin: "5px",
|
436
|
+
borderRadius: "8px",
|
437
|
+
color: theme?.palette?.editor?.menuOptionTextColor,
|
438
|
+
fontSize: '14px',
|
439
|
+
padding: '8px 12px',
|
440
|
+
'&[aria-selected="true"]': {
|
441
|
+
backgroundColor: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`
|
442
|
+
}
|
443
|
+
}
|
444
|
+
},
|
445
|
+
"& .MuiPaper-root": {
|
446
|
+
borderRadius: "8px",
|
447
|
+
background: theme?.palette?.editor?.textWeightPopUpBackground
|
448
|
+
}
|
449
|
+
},
|
450
|
+
textFormatSelect: {
|
451
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
452
|
+
width: "100%",
|
453
|
+
height: "36px",
|
454
|
+
borderRadius: "10px",
|
455
|
+
fontSize: "12px",
|
456
|
+
fontFamily: "Inter, sans-serif",
|
457
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
458
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
459
|
+
},
|
460
|
+
"& svg": {
|
461
|
+
width: "20px",
|
462
|
+
height: "24px"
|
463
|
+
}
|
464
|
+
},
|
465
|
+
textFormatSelectOptions: {
|
466
|
+
margin: "5px !important",
|
467
|
+
borderRadius: "4px !important",
|
468
|
+
fontSize: "12px !important",
|
469
|
+
fontWeight: 500,
|
470
|
+
"&.Mui-selected": {
|
471
|
+
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
472
|
+
color: `${theme?.palette?.editor?.menuOptionTextColor} !important`
|
473
|
+
}
|
474
|
+
},
|
185
475
|
textFormatFieldBorder: {
|
186
476
|
display: "flex",
|
187
477
|
alignItems: "center",
|
@@ -192,13 +482,31 @@ const usePopupStyle = theme => ({
|
|
192
482
|
},
|
193
483
|
dividerGrid: {
|
194
484
|
margin: "5px 0px 10px 0px"
|
485
|
+
// background: `${theme?.palette?.editor?.deviderBgColor} !important`,
|
195
486
|
},
|
487
|
+
|
196
488
|
textFormatColorWrpr: {
|
197
489
|
display: "flex",
|
198
490
|
alignItems: "center",
|
199
491
|
marginBottom: "8px"
|
200
492
|
},
|
201
|
-
textFormatCG: {
|
493
|
+
textFormatCG: {
|
494
|
+
alignItems: "flexStart",
|
495
|
+
justifyContent: "center",
|
496
|
+
flexDirection: "row",
|
497
|
+
"& .accordionIcon": {
|
498
|
+
paddingLeft: "0px",
|
499
|
+
paddingRight: "12px",
|
500
|
+
"&:not(.btnActive):hover": {
|
501
|
+
background: "unset",
|
502
|
+
"& .accordianIconSvgTextFormat": {
|
503
|
+
"& path": {
|
504
|
+
stroke: theme?.palette?.editor?.textColor
|
505
|
+
}
|
506
|
+
}
|
507
|
+
}
|
508
|
+
}
|
509
|
+
},
|
202
510
|
evenSpace: {
|
203
511
|
display: "flex",
|
204
512
|
flexDirection: "row",
|
@@ -210,7 +518,36 @@ const usePopupStyle = theme => ({
|
|
210
518
|
"&.typo-icons": {
|
211
519
|
"& button": {
|
212
520
|
width: "31px",
|
213
|
-
height: "36px"
|
521
|
+
height: "36px",
|
522
|
+
"&:hover": {
|
523
|
+
background: "unset"
|
524
|
+
},
|
525
|
+
"&:not(.btnActive):hover": {
|
526
|
+
background: "unset",
|
527
|
+
"& svg": {
|
528
|
+
color: `${theme?.palette?.editor?.textColor} !important`
|
529
|
+
},
|
530
|
+
"& .linkIcon": {
|
531
|
+
"& path": {
|
532
|
+
stroke: theme?.palette?.editor?.textColor
|
533
|
+
}
|
534
|
+
}
|
535
|
+
}
|
536
|
+
},
|
537
|
+
alignItems: "flexStart",
|
538
|
+
justifyContent: "center",
|
539
|
+
flexDirection: "row",
|
540
|
+
"&:hover": {
|
541
|
+
background: "unset"
|
542
|
+
},
|
543
|
+
"& .customSelectTool": {
|
544
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke,
|
545
|
+
fontWeight: "510",
|
546
|
+
"& svg": {
|
547
|
+
marginTop: "8px",
|
548
|
+
width: "16px",
|
549
|
+
height: "8px"
|
550
|
+
}
|
214
551
|
}
|
215
552
|
},
|
216
553
|
"&.text-decorations-wrpr": {
|
@@ -223,15 +560,24 @@ const usePopupStyle = theme => ({
|
|
223
560
|
fontSize: "14px",
|
224
561
|
marginBottom: "5px",
|
225
562
|
paddingLeft: "5px",
|
563
|
+
marginTop: "4px",
|
226
564
|
fontWeight: 500,
|
227
565
|
color: theme?.palette?.editor?.textColor || "#000"
|
228
566
|
},
|
229
567
|
typoLabel2: {
|
230
568
|
fontSize: "14px",
|
231
|
-
marginBottom: "
|
232
|
-
paddingLeft: "10px",
|
569
|
+
marginBottom: "2px",
|
570
|
+
// paddingLeft: "10px",
|
233
571
|
fontWeight: 500
|
234
572
|
},
|
573
|
+
typoLabel3: {
|
574
|
+
fontSize: "14px",
|
575
|
+
marginBottom: "10px",
|
576
|
+
paddingLeft: "5px",
|
577
|
+
marginTop: "4px",
|
578
|
+
fontWeight: 500,
|
579
|
+
color: theme?.palette?.editor?.textColor || "#000"
|
580
|
+
},
|
235
581
|
templateCard: {
|
236
582
|
borderRadius: "10px",
|
237
583
|
boxShadow: "none",
|
@@ -301,61 +647,110 @@ const usePopupStyle = theme => ({
|
|
301
647
|
}
|
302
648
|
},
|
303
649
|
btnGroup: {
|
304
|
-
|
650
|
+
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
651
|
+
borderRadius: "7px",
|
652
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
653
|
+
height: "36px",
|
305
654
|
"& button": {
|
306
|
-
backgroundColor: theme?.palette?.editor?.
|
655
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
307
656
|
marginRight: "0px",
|
308
657
|
color: theme?.palette?.editor?.textColor,
|
309
|
-
borderColor:
|
658
|
+
borderColor: "#ffffff00 !important",
|
310
659
|
textTransform: "capitalize",
|
311
660
|
marginBottom: "0px",
|
312
|
-
"&:hover": {
|
313
|
-
color: theme?.palette?.editor?.borderColor,
|
314
|
-
background: theme?.palette?.editor?.background
|
315
|
-
},
|
316
661
|
"&.active": {
|
317
662
|
background: theme?.palette?.editor?.background,
|
318
663
|
color: theme?.palette?.editor?.activeColor
|
319
664
|
},
|
320
665
|
"&.no-hover": {
|
321
|
-
border: `1px solid
|
666
|
+
border: `1px solid #ffffff00`
|
322
667
|
}
|
668
|
+
},
|
669
|
+
"& .colorBox": {
|
670
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
671
|
+
borderRadius: "7px 0px 0px 7px",
|
672
|
+
fontSize: "12px !important",
|
673
|
+
fontWeight: 500
|
674
|
+
},
|
675
|
+
"& .colorPicker": {
|
676
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
677
|
+
borderRadius: "0px 7px 7px 0px",
|
678
|
+
padding: "0px"
|
679
|
+
},
|
680
|
+
"& .vl": {
|
681
|
+
background: theme?.palette?.editor?.borderColor,
|
682
|
+
width: "2px",
|
683
|
+
height: "25px",
|
684
|
+
margin: "5px 0px"
|
685
|
+
},
|
686
|
+
"& svg": {
|
687
|
+
width: "20px",
|
688
|
+
height: "24px"
|
323
689
|
}
|
324
690
|
},
|
325
691
|
btnGroup2: {
|
326
|
-
|
692
|
+
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
693
|
+
borderRadius: "7px",
|
694
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
695
|
+
height: "36px",
|
327
696
|
"& button": {
|
328
697
|
backgroundColor: theme?.palette?.editor?.background,
|
329
698
|
marginRight: "0px",
|
330
699
|
color: theme?.palette?.editor?.textColor,
|
331
|
-
borderColor:
|
700
|
+
borderColor: "#ffffff00 !important",
|
332
701
|
textTransform: "capitalize",
|
333
702
|
marginBottom: "0px",
|
334
|
-
"&:hover": {
|
335
|
-
|
336
|
-
|
337
|
-
},
|
703
|
+
// "&:hover": {
|
704
|
+
// color: theme?.palette?.editor?.borderColor,
|
705
|
+
// background: theme?.palette?.editor?.background,
|
706
|
+
// },
|
338
707
|
"&.active": {
|
339
708
|
background: theme?.palette?.editor?.background,
|
340
709
|
color: theme?.palette?.editor?.activeColor
|
341
710
|
},
|
342
711
|
"&.no-hover": {
|
343
|
-
border: `1px solid
|
344
|
-
|
712
|
+
border: `1px solid #ffffff00`,
|
713
|
+
borderRadius: "7px 0px 0px 7px"
|
714
|
+
},
|
715
|
+
"& svg": {
|
716
|
+
width: "20px",
|
717
|
+
height: "24px"
|
345
718
|
}
|
719
|
+
},
|
720
|
+
"& .colorBox": {
|
721
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
722
|
+
borderRadius: "7px 0px 0px 7px",
|
723
|
+
fontSize: "12px !important",
|
724
|
+
fontWeight: 500
|
725
|
+
},
|
726
|
+
"& .colorPicker": {
|
727
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
728
|
+
borderRadius: "0px 7px 7px 0px",
|
729
|
+
padding: "0px"
|
730
|
+
},
|
731
|
+
"& .vl": {
|
732
|
+
background: theme?.palette?.editor?.borderColor,
|
733
|
+
width: "2px",
|
734
|
+
height: "25px",
|
735
|
+
margin: "5px 0px"
|
346
736
|
}
|
347
737
|
},
|
348
738
|
allColor: {
|
739
|
+
borderRadius: "7px !important",
|
349
740
|
"& .buttonsWrpr": {
|
741
|
+
backgroundColor: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
742
|
+
border: `1px solid ${theme?.palette?.editor?.miniToolBarBorder} !important`,
|
743
|
+
borderRadius: "7px !important",
|
350
744
|
"& button": {
|
351
745
|
color: theme?.palette?.editor?.textColor
|
352
746
|
}
|
353
747
|
}
|
354
748
|
},
|
355
749
|
allColorInner: {
|
750
|
+
borderRadius: "7px !important",
|
356
751
|
"& .buttonsWrpr": {
|
357
752
|
"& button": {
|
358
|
-
border: "1px solid #ccc",
|
753
|
+
// border: "1px solid #ccc",
|
359
754
|
margin: "4px",
|
360
755
|
width: "24px",
|
361
756
|
height: "24px",
|
@@ -379,14 +774,14 @@ const usePopupStyle = theme => ({
|
|
379
774
|
textTransform: "none",
|
380
775
|
textDecorationLine: "underline",
|
381
776
|
textUnderlineOffset: "2px",
|
382
|
-
padding: "0px
|
777
|
+
padding: "0px"
|
383
778
|
},
|
384
779
|
defaultBtn2: {
|
385
|
-
color:
|
780
|
+
color: `${theme?.palette?.editor?.deafultColorOptionTextColor} !important`,
|
386
781
|
textTransform: "none",
|
387
782
|
textDecorationLine: "underline",
|
388
783
|
textUnderlineOffset: "2px",
|
389
|
-
padding: "0px
|
784
|
+
padding: "0px"
|
390
785
|
},
|
391
786
|
defaultBtn: {
|
392
787
|
color: "#0F172A",
|
@@ -411,14 +806,16 @@ const usePopupStyle = theme => ({
|
|
411
806
|
padding: "7px 15px",
|
412
807
|
color: "#FFF",
|
413
808
|
width: "100px",
|
414
|
-
marginBottom: "10px"
|
809
|
+
marginBottom: "10px",
|
810
|
+
textTransform: "capitalize"
|
415
811
|
},
|
416
812
|
"& .outlineBtn": {
|
417
813
|
border: "1px solid #D7DBEC",
|
418
814
|
borderRadius: "7px",
|
419
815
|
padding: "7px 15px",
|
420
816
|
color: "#FFF",
|
421
|
-
width: "100px"
|
817
|
+
width: "100px",
|
818
|
+
textTransform: "capitalize"
|
422
819
|
}
|
423
820
|
},
|
424
821
|
searchBox: {
|
@@ -430,52 +827,111 @@ const usePopupStyle = theme => ({
|
|
430
827
|
}
|
431
828
|
},
|
432
829
|
textOptions: {
|
433
|
-
backgroundColor: theme?.palette?.editor?.
|
434
|
-
color: theme?.palette?.editor?.textColor
|
830
|
+
backgroundColor: `${theme?.palette?.editor?.textWeightPopUpBackground} !important`,
|
831
|
+
color: theme?.palette?.editor?.textColor,
|
832
|
+
borderRadius: "8px !important",
|
833
|
+
fontFamily: "Inter, sans-serif",
|
834
|
+
"& .MuiList-root": {
|
835
|
+
padding: "0px !important"
|
836
|
+
}
|
435
837
|
},
|
436
838
|
textSize: {
|
839
|
+
height: "36px !important",
|
840
|
+
"& .MuiOutlinedInput-root": {
|
841
|
+
borderRadius: "8px !important",
|
842
|
+
height: "36px !important",
|
843
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`
|
844
|
+
},
|
845
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
846
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
847
|
+
},
|
437
848
|
"& .textFontArrows": {
|
438
849
|
"& svg": {
|
439
|
-
stroke: theme?.palette?.editor?.
|
850
|
+
stroke: theme?.palette?.editor?.closeButtonSvgStroke,
|
851
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke,
|
852
|
+
width: "10px",
|
853
|
+
height: "12px"
|
440
854
|
}
|
441
855
|
}
|
442
856
|
},
|
443
857
|
closeBtn: {
|
444
|
-
|
445
|
-
color: theme?.palette?.editor?.
|
858
|
+
background: `${theme?.palette?.editor?.closeButtonBgColor} !important`,
|
859
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
446
860
|
},
|
447
861
|
colorPickerPopup: {
|
448
862
|
margin: "30px",
|
449
863
|
"& .MuiPaper-root": {
|
450
864
|
overflow: "auto",
|
451
|
-
backgroundColor: theme?.palette?.editor?.background
|
865
|
+
backgroundColor: theme?.palette?.editor?.background,
|
866
|
+
borderRadius: "14px !important",
|
867
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
452
868
|
},
|
453
869
|
"& .popup_tabs": {
|
454
|
-
backgroundColor: theme?.palette?.editor?.
|
870
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
871
|
+
"@media only screen and (max-width: 899px)": {
|
872
|
+
width: "100% !important"
|
873
|
+
}
|
455
874
|
},
|
456
875
|
"& .popup_tabs-header": {
|
457
|
-
|
876
|
+
fontFamily: "Inter, sans-serif",
|
877
|
+
fontWeight: 700,
|
878
|
+
fontSize: "12px !important",
|
879
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground,
|
458
880
|
"& .popup_tabs-header-label-active": {
|
459
881
|
color: theme?.palette?.editor?.activeColor,
|
460
|
-
backgroundColor: theme?.palette?.editor?.
|
882
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
461
883
|
}
|
462
884
|
},
|
885
|
+
"& .popup_tabs-body": {
|
886
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
887
|
+
},
|
463
888
|
"& .colorpicker": {
|
464
|
-
backgroundColor: theme?.palette?.editor?.
|
889
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
465
890
|
},
|
466
891
|
"& .color-picker-panel": {
|
467
|
-
backgroundColor: theme?.palette?.editor?.
|
892
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
468
893
|
},
|
469
894
|
"& .input_rgba": {
|
470
895
|
"& input": {
|
471
|
-
backgroundColor: theme?.palette?.editor?.
|
472
|
-
color: theme?.palette?.editor?.textColor
|
896
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
897
|
+
color: theme?.palette?.editor?.textColor,
|
898
|
+
height: "32px !important",
|
899
|
+
borderRadius: "10px !important",
|
900
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`,
|
901
|
+
boxShadow: "none",
|
902
|
+
"&:hover": {
|
903
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor} !important`
|
904
|
+
},
|
905
|
+
"&:focus": {
|
906
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`,
|
907
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
908
|
+
boxShadow: "none"
|
909
|
+
}
|
910
|
+
},
|
911
|
+
"& .input_rgba-hex-label": {
|
912
|
+
top: "4px !important"
|
913
|
+
},
|
914
|
+
"& .input_rgba-alpha-label": {
|
915
|
+
top: "6px !important"
|
916
|
+
},
|
917
|
+
"& .input_rgba-label": {
|
918
|
+
display: "none"
|
919
|
+
}
|
920
|
+
},
|
921
|
+
"& .default-color-panel": {
|
922
|
+
gridTemplateColumns: "repeat(auto-fill, 24px)",
|
923
|
+
"& .default-color-panel_item": {
|
924
|
+
borderRadius: "50%",
|
925
|
+
width: "16px",
|
926
|
+
height: "16px"
|
473
927
|
}
|
474
928
|
}
|
475
929
|
},
|
476
930
|
colorPopper: {
|
477
931
|
"& .MuiPaper-root": {
|
478
|
-
backgroundColor: theme?.palette?.editor?.
|
932
|
+
backgroundColor: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
933
|
+
background: `${theme?.palette?.editor?.miniToolBarBackground}`,
|
934
|
+
borderRadius: "7px !important",
|
479
935
|
"@media only screen and (max-width: 600px)": {
|
480
936
|
marginTop: "-40px"
|
481
937
|
}
|
@@ -589,17 +1045,18 @@ const usePopupStyle = theme => ({
|
|
589
1045
|
"& .MuiPopover-paper": {
|
590
1046
|
maxHeight: "140px",
|
591
1047
|
// minWidth: "130px",
|
592
|
-
border: "1px solid #E4E8EB",
|
593
|
-
background: `${theme?.palette?.editor?.
|
1048
|
+
// border: "1px solid #E4E8EB",
|
1049
|
+
background: `${theme?.palette?.editor?.textWeightPopUpBackground} !important`,
|
594
1050
|
overflowY: "scroll",
|
595
|
-
padding: "
|
1051
|
+
padding: "3px 12px 8px 2px",
|
1052
|
+
borderRadius: "8px",
|
596
1053
|
"@media only screen and (max-width: 600px)": {
|
597
1054
|
marginTop: "-40px"
|
598
1055
|
}
|
599
1056
|
},
|
600
1057
|
"& .customSelectOptionLabel": {
|
601
1058
|
color: theme?.palette?.editor?.textColor || "black",
|
602
|
-
margin: "
|
1059
|
+
margin: "6px 6px 0px 6px",
|
603
1060
|
width: "100%",
|
604
1061
|
justifyContent: "start",
|
605
1062
|
paddingRight: "20px",
|
@@ -612,8 +1069,40 @@ const usePopupStyle = theme => ({
|
|
612
1069
|
background: `${theme?.palette?.action?.selected} !important`
|
613
1070
|
},
|
614
1071
|
"&.selected": {
|
615
|
-
color:
|
616
|
-
background:
|
1072
|
+
color: `${theme?.palette?.editor?.menuOptionTextColor} !important`,
|
1073
|
+
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
1074
|
+
"& .orderedListIcon": {
|
1075
|
+
"& .strokePathList": {
|
1076
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1077
|
+
},
|
1078
|
+
"& .fillPathList": {
|
1079
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1080
|
+
}
|
1081
|
+
},
|
1082
|
+
"& .bulletedListTextIcon": {
|
1083
|
+
"& path": {
|
1084
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`,
|
1085
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1086
|
+
},
|
1087
|
+
"& circle": {
|
1088
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1089
|
+
}
|
1090
|
+
},
|
1091
|
+
"& .checkedListTextIcon": {
|
1092
|
+
"& path": {
|
1093
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1094
|
+
}
|
1095
|
+
},
|
1096
|
+
"& .accordianIconSvgTextFormat": {
|
1097
|
+
"& path": {
|
1098
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor} !important`
|
1099
|
+
}
|
1100
|
+
},
|
1101
|
+
"& .textAlignIconSameStyles": {
|
1102
|
+
"& path": {
|
1103
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
1104
|
+
}
|
1105
|
+
}
|
617
1106
|
}
|
618
1107
|
},
|
619
1108
|
"& .menuOptions": {
|