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