@markopolo_ai_inc/markopolo-email-editor 1.0.3 → 1.0.5
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/package.json +1 -3
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -50
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/src/App.js +0 -15
- package/src/components/EmailEditor/assets/App.css +0 -339
- package/src/components/EmailEditor/assets/Columns.css +0 -309
- package/src/components/EmailEditor/assets/Header.css +0 -174
- package/src/components/EmailEditor/assets/ImageBlock.css +0 -12
- package/src/components/EmailEditor/assets/Preview.css +0 -30
- package/src/components/EmailEditor/assets/RichText.css +0 -199
- package/src/components/EmailEditor/assets/RightSettings.css +0 -520
- package/src/components/EmailEditor/assets/Sidebar.css +0 -195
- package/src/components/EmailEditor/components/BlockItems/ButtonBlock.js +0 -25
- package/src/components/EmailEditor/components/BlockItems/DividerBlock.js +0 -19
- package/src/components/EmailEditor/components/BlockItems/HeadingBlock.js +0 -16
- package/src/components/EmailEditor/components/BlockItems/ImageBlock.js +0 -28
- package/src/components/EmailEditor/components/BlockItems/MenuBlock.js +0 -52
- package/src/components/EmailEditor/components/BlockItems/SocialLinkBlocks.js +0 -26
- package/src/components/EmailEditor/components/BlockItems/SpacerBlock.js +0 -23
- package/src/components/EmailEditor/components/BlockItems/TextBlock.js +0 -16
- package/src/components/EmailEditor/components/BlockItems/index.js +0 -25
- package/src/components/EmailEditor/components/ColorPicker/index.js +0 -26
- package/src/components/EmailEditor/components/Column/index.js +0 -253
- package/src/components/EmailEditor/components/Header/index.js +0 -243
- package/src/components/EmailEditor/components/LeftSideBar/index.js +0 -253
- package/src/components/EmailEditor/components/Main/index.js +0 -281
- package/src/components/EmailEditor/components/Preview/index.js +0 -97
- package/src/components/EmailEditor/components/RichText/Bold.js +0 -37
- package/src/components/EmailEditor/components/RichText/FontColor.js +0 -39
- package/src/components/EmailEditor/components/RichText/InsertOrderedList.js +0 -36
- package/src/components/EmailEditor/components/RichText/InsertUnorderedList.js +0 -36
- package/src/components/EmailEditor/components/RichText/Italic.js +0 -36
- package/src/components/EmailEditor/components/RichText/Link.js +0 -99
- package/src/components/EmailEditor/components/RichText/RichTextLayout.js +0 -53
- package/src/components/EmailEditor/components/RichText/Strikethrough.js +0 -36
- package/src/components/EmailEditor/components/RichText/TextAlign.js +0 -58
- package/src/components/EmailEditor/components/RichText/Underline.js +0 -36
- package/src/components/EmailEditor/components/RichText/index.js +0 -210
- package/src/components/EmailEditor/components/RightSetting/index.js +0 -126
- package/src/components/EmailEditor/components/StyleSettings/ButtonStyleSettings.js +0 -141
- package/src/components/EmailEditor/components/StyleSettings/ColumnStyleSettings.js +0 -241
- package/src/components/EmailEditor/components/StyleSettings/DividerStyleSettings.js +0 -111
- package/src/components/EmailEditor/components/StyleSettings/HeadingStyleSettings.js +0 -162
- package/src/components/EmailEditor/components/StyleSettings/ImageStyleSettings.js +0 -217
- package/src/components/EmailEditor/components/StyleSettings/MenuStyleSettings.js +0 -177
- package/src/components/EmailEditor/components/StyleSettings/PaddingSettings.js +0 -30
- package/src/components/EmailEditor/components/StyleSettings/SocialLinkSettings.js +0 -250
- package/src/components/EmailEditor/components/StyleSettings/SpacerStyleSettings.js +0 -38
- package/src/components/EmailEditor/components/StyleSettings/TextStyleSettings.js +0 -108
- package/src/components/EmailEditor/components/StyleSettings/index.js +0 -32
- package/src/components/EmailEditor/configs/getBlockConfigsList.js +0 -263
- package/src/components/EmailEditor/configs/getColumnConfigFunc.js +0 -59
- package/src/components/EmailEditor/configs/getColumnsSettings.js +0 -246
- package/src/components/EmailEditor/configs/useDataSource.js +0 -19
- package/src/components/EmailEditor/index.js +0 -93
- package/src/components/EmailEditor/reducers/index.js +0 -173
- package/src/components/EmailEditor/translation/en.js +0 -166
- package/src/components/EmailEditor/translation/index.js +0 -39
- package/src/components/EmailEditor/translation/zh.js +0 -166
- package/src/components/EmailEditor/utils/classNames.js +0 -5
- package/src/components/EmailEditor/utils/dataToHTML.js +0 -323
- package/src/components/EmailEditor/utils/exportValidation.js +0 -296
- package/src/components/EmailEditor/utils/helpers.js +0 -48
- package/src/components/EmailEditor/utils/pexels.js +0 -20
- package/src/components/EmailEditor/utils/useSection.js +0 -24
- package/src/components/EmailEditor/utils/useStyleLayout.js +0 -82
- package/src/index.css +0 -99
- package/src/index.js +0 -15
- package/src/logo.svg +0 -1
- package/src/pages/AppPage/index.js +0 -10
- package/src/pages/Dashboard/Header.js +0 -192
- package/src/pages/Dashboard/defaultBlockList.json +0 -1758
- package/src/pages/Dashboard/index.js +0 -48
- package/src/reportWebVitals.js +0 -13
- package/src/setupTests.js +0 -5
package/package.json
CHANGED
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/index.html
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<link rel="icon" href="https://img.icons8.com/bubbles/344/new-post.png" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
<meta name="theme-color" content="#000000" />
|
|
9
|
-
<meta name="description" content="Web site created using create-react-app" />
|
|
10
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
11
|
-
<!--
|
|
12
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
13
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
14
|
-
-->
|
|
15
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
16
|
-
<!--
|
|
17
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
18
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
19
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
20
|
-
|
|
21
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
22
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
23
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
24
|
-
-->
|
|
25
|
-
<title>Markopolo Email Template Editor</title>
|
|
26
|
-
</head>
|
|
27
|
-
<style>
|
|
28
|
-
* {
|
|
29
|
-
padding: 0;
|
|
30
|
-
margin: 0;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
}
|
|
33
|
-
</style>
|
|
34
|
-
|
|
35
|
-
<body>
|
|
36
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
37
|
-
<div id="root"></div>
|
|
38
|
-
<!--
|
|
39
|
-
This HTML file is a template.
|
|
40
|
-
If you open it directly in the browser, you will see an empty page.
|
|
41
|
-
|
|
42
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
43
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
44
|
-
|
|
45
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
46
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
47
|
-
-->
|
|
48
|
-
</body>
|
|
49
|
-
|
|
50
|
-
</html>
|
package/public/logo192.png
DELETED
|
Binary file
|
package/public/logo512.png
DELETED
|
Binary file
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "Email Editor",
|
|
3
|
-
"name": "Email Editor - Design your own email",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/public/robots.txt
DELETED
package/src/App.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AppPage from "./pages/AppPage";
|
|
2
|
-
import { createBrowserHistory } from "history";
|
|
3
|
-
import { Router } from "react-router-dom";
|
|
4
|
-
|
|
5
|
-
function App() {
|
|
6
|
-
const history = createBrowserHistory();
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<Router history={history}>
|
|
10
|
-
<AppPage />
|
|
11
|
-
</Router>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default App;
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
@import "./RichText.css";
|
|
2
|
-
@import "./ImageBlock.css";
|
|
3
|
-
@import "./Sidebar.css";
|
|
4
|
-
@import "./Preview.css";
|
|
5
|
-
@import "./Header.css";
|
|
6
|
-
@import "./Columns.css";
|
|
7
|
-
@import "./RightSettings.css";
|
|
8
|
-
|
|
9
|
-
.email-editor * {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* Email editor design tokens aligned to Nabiq dark theme (globals.scss .dark). */
|
|
14
|
-
:root {
|
|
15
|
-
color-scheme: dark;
|
|
16
|
-
|
|
17
|
-
/* Nabiq dark semantic tokens */
|
|
18
|
-
--ee-bg: #0a0a0a;
|
|
19
|
-
--ee-foreground: #fafafa;
|
|
20
|
-
--ee-primary: #d8fe91;
|
|
21
|
-
--ee-primary-foreground: #171717;
|
|
22
|
-
--ee-card: #171717;
|
|
23
|
-
--ee-muted: #262626;
|
|
24
|
-
--ee-muted-foreground: #a1a1a1;
|
|
25
|
-
--ee-border: #282828;
|
|
26
|
-
--ee-border-width: 1px;
|
|
27
|
-
--ee-radius: 0.5rem;
|
|
28
|
-
--ee-shadow:
|
|
29
|
-
0px 1px 3px 0px rgba(0, 0, 0, 0.25), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
|
|
30
|
-
--ee-shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
|
31
|
-
|
|
32
|
-
--block-active-border: var(--ee-primary);
|
|
33
|
-
--block-hover-border: #b8e67a;
|
|
34
|
-
--block-empty-content-color: #374151;
|
|
35
|
-
--block-empty-content-background: rgba(216, 254, 145, 0.12);
|
|
36
|
-
|
|
37
|
-
--start-content-background: var(--ee-muted);
|
|
38
|
-
--start-content-font-color: var(--ee-muted-foreground);
|
|
39
|
-
|
|
40
|
-
--left-sidebar-background: var(--ee-muted);
|
|
41
|
-
--left-sidebar-tabs-background: var(--ee-card);
|
|
42
|
-
--left-sidebar-tab-color: var(--ee-foreground);
|
|
43
|
-
--left-sidebar-tab-hover-background: #404040;
|
|
44
|
-
--left-sidebar-tab-active-color: var(--ee-primary);
|
|
45
|
-
--rich-text-icon: rgba(216, 254, 145, 0.35);
|
|
46
|
-
|
|
47
|
-
--tools-font-color: var(--ee-primary-foreground);
|
|
48
|
-
--option-hover-color: rgba(216, 254, 145, 0.15);
|
|
49
|
-
--border-color: var(--ee-border);
|
|
50
|
-
|
|
51
|
-
--header-bg-color: var(--ee-card);
|
|
52
|
-
--header-icon-hover-color: var(--ee-foreground);
|
|
53
|
-
--header-icon-active-color: var(--ee-primary);
|
|
54
|
-
--header-icon-disabled-color: var(--ee-muted-foreground);
|
|
55
|
-
--header-drawer-close-bg-color: var(--ee-muted-foreground);
|
|
56
|
-
--header-drawer-close-color: var(--ee-foreground);
|
|
57
|
-
--header-drawer-close-hover-bg-color: #404040;
|
|
58
|
-
--header-drawer-head-bg-color: var(--ee-muted);
|
|
59
|
-
|
|
60
|
-
--right-settings-font-color: var(--ee-foreground);
|
|
61
|
-
--right-settings-title-font-color: var(--ee-muted-foreground);
|
|
62
|
-
--right-settings-block-title-font-color: var(--ee-foreground);
|
|
63
|
-
--right-settings-block-title-background-color: var(--ee-muted);
|
|
64
|
-
|
|
65
|
-
--column-background: var(--ee-muted);
|
|
66
|
-
--column-active-border: var(--ee-primary);
|
|
67
|
-
--column-un-active-border: var(--ee-border);
|
|
68
|
-
--column-divider-color: var(--ee-muted-foreground);
|
|
69
|
-
|
|
70
|
-
--align-style-item-active-color: var(--ee-primary);
|
|
71
|
-
--align-style-item-un-active-color: var(--ee-border);
|
|
72
|
-
|
|
73
|
-
--blue-500: var(--ee-primary);
|
|
74
|
-
--gray-400: var(--ee-muted-foreground);
|
|
75
|
-
--slate-100: var(--ee-muted);
|
|
76
|
-
--red-100: rgba(248, 113, 113, 0.2);
|
|
77
|
-
--red-500: #f87070;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
img {
|
|
81
|
-
max-width: 100%;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.hover-visible {
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 100%;
|
|
87
|
-
position: absolute;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.font-semibold {
|
|
91
|
-
font-weight: 600;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.width-full {
|
|
95
|
-
width: 100%;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.margin-y-30 {
|
|
99
|
-
margin-top: 30px;
|
|
100
|
-
margin-bottom: 30px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.margin-top-6 {
|
|
104
|
-
margin-top: 6px;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.margin-top-12 {
|
|
108
|
-
margin-top: 12px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.margin-top-18 {
|
|
112
|
-
margin-top: 18px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.margin-top-32 {
|
|
116
|
-
margin-top: 32px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.height-full {
|
|
120
|
-
height: 100%;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.relative {
|
|
124
|
-
position: relative;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.absolute {
|
|
128
|
-
position: absolute;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.select-none {
|
|
132
|
-
user-select: none;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.margin-auto {
|
|
136
|
-
margin: auto;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.text-left {
|
|
140
|
-
text-align: left;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.text-center {
|
|
144
|
-
text-align: center;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.text-right {
|
|
148
|
-
text-align: right;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.inline-block {
|
|
152
|
-
display: inline-block;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.flex {
|
|
156
|
-
display: flex;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.justify-center {
|
|
160
|
-
justify-content: center;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.justify-between {
|
|
164
|
-
justify-content: space-between;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.items-center {
|
|
168
|
-
align-items: center;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.cursor-default {
|
|
172
|
-
cursor: default;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.cursor-pointer {
|
|
176
|
-
cursor: pointer;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.cursor-grab {
|
|
180
|
-
cursor: grab;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.border-transparent {
|
|
184
|
-
border-color: transparent;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
ol {
|
|
188
|
-
list-style: auto;
|
|
189
|
-
margin-left: 11px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
ul {
|
|
193
|
-
list-style: disc;
|
|
194
|
-
margin-left: 11px;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
a:hover {
|
|
198
|
-
text-decoration: underline;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
@keyframes shake {
|
|
202
|
-
0%,
|
|
203
|
-
100% {
|
|
204
|
-
transform: translateX(0) rotate(0);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
5%,
|
|
208
|
-
30%,
|
|
209
|
-
50%,
|
|
210
|
-
70%,
|
|
211
|
-
90% {
|
|
212
|
-
transform: rotate(5deg);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
20%,
|
|
216
|
-
40%,
|
|
217
|
-
60%,
|
|
218
|
-
80% {
|
|
219
|
-
transform: rotate(-5deg);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.ant-btn-primary {
|
|
224
|
-
background-color: var(--ee-primary);
|
|
225
|
-
border-color: var(--ee-primary);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.block-style_settings-collapse .ant-collapse-header {
|
|
229
|
-
font-weight: bold;
|
|
230
|
-
background-color: var(--start-content-background);
|
|
231
|
-
color: var(--start-content-font-color) !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.block-style_settings-collapse .ant-collapse-item {
|
|
235
|
-
margin-bottom: 12px;
|
|
236
|
-
padding: 0;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.block-style_settings-collapse .ant-collapse-content-box {
|
|
240
|
-
padding: 0 !important;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/* Dark theme for confirmation modals (Delete Column, Add Link, etc.) */
|
|
244
|
-
.ee-modal-dark .ant-modal-content {
|
|
245
|
-
background-color: var(--ee-card) !important;
|
|
246
|
-
border: var(--ee-border-width) solid var(--ee-border);
|
|
247
|
-
border-radius: var(--ee-radius);
|
|
248
|
-
box-shadow: var(--ee-shadow);
|
|
249
|
-
}
|
|
250
|
-
.ee-modal-dark .ant-modal-header {
|
|
251
|
-
background-color: var(--ee-card) !important;
|
|
252
|
-
border-bottom: var(--ee-border-width) solid var(--ee-border);
|
|
253
|
-
border-radius: var(--ee-radius) var(--ee-radius) 0 0;
|
|
254
|
-
}
|
|
255
|
-
.ee-modal-dark .ant-modal-title {
|
|
256
|
-
color: var(--ee-foreground) !important;
|
|
257
|
-
}
|
|
258
|
-
.ee-modal-dark .ant-modal-body {
|
|
259
|
-
background-color: var(--ee-card) !important;
|
|
260
|
-
color: var(--ee-foreground);
|
|
261
|
-
}
|
|
262
|
-
.ee-modal-dark .ant-modal-body p,
|
|
263
|
-
.ee-modal-dark .ant-modal-body .column-modal-context {
|
|
264
|
-
color: var(--ee-foreground);
|
|
265
|
-
}
|
|
266
|
-
.ee-modal-dark .ant-modal-close-x {
|
|
267
|
-
color: var(--ee-muted-foreground);
|
|
268
|
-
}
|
|
269
|
-
.ee-modal-dark .ant-modal-close-x:hover {
|
|
270
|
-
color: var(--ee-foreground);
|
|
271
|
-
}
|
|
272
|
-
.ee-modal-dark .ant-modal-footer {
|
|
273
|
-
background-color: var(--ee-card) !important;
|
|
274
|
-
border-top: var(--ee-border-width) solid var(--ee-border);
|
|
275
|
-
}
|
|
276
|
-
.ee-modal-dark .ant-modal-footer .ant-btn-default {
|
|
277
|
-
background-color: var(--ee-muted) !important;
|
|
278
|
-
border-color: var(--ee-border) !important;
|
|
279
|
-
color: var(--ee-foreground);
|
|
280
|
-
}
|
|
281
|
-
.ee-modal-dark .ant-modal-footer .ant-btn-default:hover {
|
|
282
|
-
border-color: var(--ee-primary);
|
|
283
|
-
color: var(--ee-primary);
|
|
284
|
-
}
|
|
285
|
-
.ee-modal-dark .ant-modal-footer .ant-btn-primary {
|
|
286
|
-
background-color: var(--ee-primary) !important;
|
|
287
|
-
border-color: var(--ee-primary) !important;
|
|
288
|
-
color: var(--ee-primary-foreground) !important;
|
|
289
|
-
}
|
|
290
|
-
.ee-modal-dark .ant-modal-footer .ant-btn-primary:hover {
|
|
291
|
-
background-color: #b8e67a !important;
|
|
292
|
-
border-color: #b8e67a !important;
|
|
293
|
-
color: var(--ee-primary-foreground) !important;
|
|
294
|
-
}
|
|
295
|
-
/* Input inside modal (e.g. Add Link) */
|
|
296
|
-
.ee-modal-dark .ant-modal-body .ant-input,
|
|
297
|
-
.ee-modal-dark .ant-modal-body .ant-input-affix-wrapper {
|
|
298
|
-
background-color: var(--ee-muted) !important;
|
|
299
|
-
border-color: var(--ee-border) !important;
|
|
300
|
-
color: var(--ee-foreground) !important;
|
|
301
|
-
}
|
|
302
|
-
.ee-modal-dark .ant-modal-body .ant-input:focus,
|
|
303
|
-
.ee-modal-dark .ant-modal-body .ant-input-affix-wrapper-focused {
|
|
304
|
-
border-color: var(--ee-primary) !important;
|
|
305
|
-
box-shadow: 0 0 0 1px var(--ee-primary) !important;
|
|
306
|
-
}
|
|
307
|
-
.ee-modal-dark .ant-modal-body .ant-input-group-addon {
|
|
308
|
-
background-color: var(--ee-muted) !important;
|
|
309
|
-
border-color: var(--ee-border) !important;
|
|
310
|
-
color: var(--ee-foreground);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/* Export validation modal: severity headings and location text (dark theme) */
|
|
314
|
-
.ee-modal-dark .export-validation-errors-heading {
|
|
315
|
-
color: var(--red-500);
|
|
316
|
-
}
|
|
317
|
-
.ee-modal-dark .export-validation-warnings-heading {
|
|
318
|
-
color: #fbbf24;
|
|
319
|
-
}
|
|
320
|
-
.ee-modal-dark .export-validation-info-heading {
|
|
321
|
-
color: #60a5fa;
|
|
322
|
-
}
|
|
323
|
-
.ee-modal-dark .export-validation-location {
|
|
324
|
-
color: var(--ee-muted-foreground);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/* Force InputNumber unit addon (px/%) dark – antd uses .ant-input-number-group-addon with #fafafa */
|
|
328
|
-
.email-editor .right-settings .ant-input-number-group-addon,
|
|
329
|
-
.email-editor
|
|
330
|
-
.right-settings
|
|
331
|
-
.ant-input-number-group-wrapper
|
|
332
|
-
.ant-input-number-group-addon {
|
|
333
|
-
background-color: var(--ee-muted) !important;
|
|
334
|
-
border-color: var(--ee-border) !important;
|
|
335
|
-
color: var(--ee-foreground) !important;
|
|
336
|
-
}
|
|
337
|
-
.email-editor .right-settings .ant-input-number-group-addon * {
|
|
338
|
-
color: var(--ee-foreground) !important;
|
|
339
|
-
}
|