@wiris/mathtype-ckeditor5 8.9.1 → 8.10.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/README.md +93 -68
- package/dist/browser/index-content.css +0 -0
- package/dist/browser/index-editor.css +502 -0
- package/dist/browser/index.css +650 -0
- package/dist/browser/index.css.map +1 -0
- package/dist/browser/index.js +11211 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/index.umd.js +11215 -0
- package/dist/browser/index.umd.js.map +1 -0
- package/dist/index-content.css +0 -0
- package/dist/index-editor.css +0 -0
- package/dist/index.css +0 -0
- package/dist/index.js +803 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -8
- package/src/commands.js +17 -13
- package/src/index.js +3 -0
- package/src/integration.js +83 -86
- package/src/plugin.js +147 -147
package/README.md
CHANGED
|
@@ -1,68 +1,93 @@
|
|
|
1
|
-
MathType for CKEditor 5 [](https://twitter.com/wirismath)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
'
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
##
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
# MathType for CKEditor 5 [](https://twitter.com/wirismath)
|
|
2
|
+
|
|
3
|
+
Type and handwrite mathematical notation with MathType.
|
|
4
|
+
|
|
5
|
+
Easily include quality math equations in your documents and digital content.
|
|
6
|
+
|
|
7
|
+
# Table of Contents
|
|
8
|
+
|
|
9
|
+
- [Install instructions](#install-instructions)
|
|
10
|
+
- [Services](#services)
|
|
11
|
+
- [Documentation](#documentation)
|
|
12
|
+
- [Displaying on Target Page](#displaying-on-target-page)
|
|
13
|
+
- [Privacy policy](#privacy-policy)
|
|
14
|
+
|
|
15
|
+
## Install instructions
|
|
16
|
+
|
|
17
|
+
1. Install the npm module:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
npm install @wiris/mathtype-ckeditor5
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
2. Update the CKEditor configuration by adding the new plugin and including the MathType and ChemType buttons:
|
|
24
|
+
|
|
25
|
+
Using the legacy methods of installation:
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
import MathType from '@wiris/mathtype-ckeditor5';
|
|
29
|
+
|
|
30
|
+
...
|
|
31
|
+
|
|
32
|
+
ClassicEditor
|
|
33
|
+
.create( editorElement, {
|
|
34
|
+
plugins: [ ..., MathType, ... ],
|
|
35
|
+
toolbar: {
|
|
36
|
+
items: [
|
|
37
|
+
...
|
|
38
|
+
'MathType',
|
|
39
|
+
'ChemType',
|
|
40
|
+
...
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
And when uses `CKEditor5` without legacy methods of installation:
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import { ClassicEditor } from 'ckeditor5';
|
|
49
|
+
import MathType from '@wiris/mathtype-ckeditor5/dist/index.js';
|
|
50
|
+
|
|
51
|
+
...
|
|
52
|
+
|
|
53
|
+
ClassicEditor
|
|
54
|
+
.create( editorElement, {
|
|
55
|
+
plugins: [ ..., MathType, ... ],
|
|
56
|
+
toolbar: {
|
|
57
|
+
items: [
|
|
58
|
+
...
|
|
59
|
+
'MathType',
|
|
60
|
+
'ChemType',
|
|
61
|
+
...
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Services
|
|
67
|
+
|
|
68
|
+
This npm module uses remotely hosted services to render MathML data. In case of wanting to install these services on your own backend, please contact <support@wiris.com>.
|
|
69
|
+
|
|
70
|
+
[comment]: <> (TODO: fill this section when the documentation is ready)
|
|
71
|
+
|
|
72
|
+
## Displaying on Target Page
|
|
73
|
+
|
|
74
|
+
In order to display mathematical formulas on the target page, i.e. the page where content produced by the HTML editor will be visible, the target page needs to include the [MathType script](https://docs.wiris.com/en/mathtype/mathtype_web/integrations/mathml-mode#add_a_script_to_head). For example for the default setting this would be:
|
|
75
|
+
|
|
76
|
+
```html
|
|
77
|
+
<script src="https://www.wiris.net/demo/plugins/app/WIRISplugins.js?viewer=image"></script>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Documentation
|
|
81
|
+
|
|
82
|
+
To find out more information about MathType, please go to the following documentation:
|
|
83
|
+
|
|
84
|
+
[comment]: <> (TODO: link to install instructions)
|
|
85
|
+
|
|
86
|
+
- [MathType documentation](https://docs.wiris.com/en/mathtype/mathtype_web/start?utm_source=npmjs&utm_medium=referral)
|
|
87
|
+
- [Introductory tutorials](https://docs.wiris.com/en/mathtype/mathtype_web/intro_tutorials?utm_source=npmjs&utm_medium=referral)
|
|
88
|
+
- [Service customization](https://docs.wiris.com/en/mathtype/mathtype_web/integrations/config-table?utm_source=npmjs&utm_medium=referral)
|
|
89
|
+
- [Testing](https://docs.wiris.com/en/mathtype/mathtype_web/integrations/html/plugins-test?utm_source=npmjs&utm_medium=referral)
|
|
90
|
+
|
|
91
|
+
## Privacy policy
|
|
92
|
+
|
|
93
|
+
The [MathType Privacy Policy](https://www.wiris.com/en/mathtype-privacy-policy/?utm_source=npmjs&utm_medium=referral) covers the data processing operations for the MathType users. It is an addendum of the company’s general Privacy Policy and the [general Privacy Policy](https://www.wiris.com/en/privacy-policy?utm_source=npmjs&utm_medium=referral) still applies to MathType users.
|
|
File without changes
|
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
.wrs_modal_overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
font-family: arial, sans-serif;
|
|
4
|
+
top: 0;
|
|
5
|
+
right: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
background: rgba(0, 0, 0, 0.8);
|
|
9
|
+
z-index: 999998;
|
|
10
|
+
opacity: 0.65;
|
|
11
|
+
pointer-events: auto;
|
|
12
|
+
}
|
|
13
|
+
.wrs_modal_overlay.wrs_modal_ios {
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.wrs_modal_overlay.wrs_modal_android {
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
.wrs_modal_overlay.wrs_modal_ios.moodle {
|
|
22
|
+
position: fixed;
|
|
23
|
+
}
|
|
24
|
+
.wrs_modal_overlay.wrs_modal_desktop.wrs_stack {
|
|
25
|
+
background: rgba(0, 0, 0, 0);
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
.wrs_modal_overlay.wrs_modal_desktop.wrs_maximized {
|
|
29
|
+
background: rgba(0, 0, 0, 0.8);
|
|
30
|
+
}
|
|
31
|
+
.wrs_modal_overlay.wrs_modal_desktop.wrs_minimized {
|
|
32
|
+
background: rgba(0, 0, 0, 0);
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.wrs_modal_overlay.wrs_modal_desktop.wrs_closed {
|
|
36
|
+
background: rgba(0, 0, 0, 0);
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
.wrs_modal_title {
|
|
40
|
+
color: #fff;
|
|
41
|
+
padding: 5px 0 5px 10px;
|
|
42
|
+
-moz-user-select: none;
|
|
43
|
+
-webkit-user-select: none;
|
|
44
|
+
-ms-user-select: none;
|
|
45
|
+
user-select: none;
|
|
46
|
+
text-align: left;
|
|
47
|
+
}
|
|
48
|
+
.wrs_modal_close_button {
|
|
49
|
+
float: right;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
color: #fff;
|
|
52
|
+
padding: 5px 10px 5px 0;
|
|
53
|
+
margin: 10px 7px 0 0;
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
}
|
|
56
|
+
.wrs_modal_minimize_button {
|
|
57
|
+
float: right;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
color: #fff;
|
|
60
|
+
padding: 5px 10px 5px 0;
|
|
61
|
+
top: inherit;
|
|
62
|
+
margin: 10px 7px 0 0;
|
|
63
|
+
}
|
|
64
|
+
.wrs_modal_stack_button {
|
|
65
|
+
float: right;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
color: #fff;
|
|
68
|
+
margin: 10px 7px 0 0;
|
|
69
|
+
padding: 5px 10px 5px 0;
|
|
70
|
+
top: inherit;
|
|
71
|
+
}
|
|
72
|
+
.wrs_modal_stack_button.wrs_stack {
|
|
73
|
+
visibility: hidden;
|
|
74
|
+
margin: 0;
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
.wrs_modal_stack_button.wrs_minimized {
|
|
78
|
+
visibility: hidden;
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
}
|
|
82
|
+
.wrs_modal_maximize_button {
|
|
83
|
+
float: right;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
color: #fff;
|
|
86
|
+
margin: 10px 7px 0 0;
|
|
87
|
+
padding: 5px 10px 5px 0;
|
|
88
|
+
top: inherit;
|
|
89
|
+
}
|
|
90
|
+
.wrs_modal_maximize_button.wrs_maximized {
|
|
91
|
+
visibility: hidden;
|
|
92
|
+
margin: 0;
|
|
93
|
+
padding: 0;
|
|
94
|
+
}
|
|
95
|
+
.wrs_modal_title_bar {
|
|
96
|
+
display: block;
|
|
97
|
+
background-color: #778e9a;
|
|
98
|
+
}
|
|
99
|
+
.wrs_modal_dialogContainer {
|
|
100
|
+
border: none;
|
|
101
|
+
background: #fafafa;
|
|
102
|
+
z-index: 999999;
|
|
103
|
+
}
|
|
104
|
+
.wrs_modal_dialogContainer.wrs_modal_desktop {
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
}
|
|
107
|
+
.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_maximized {
|
|
108
|
+
position: fixed;
|
|
109
|
+
}
|
|
110
|
+
.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_minimized {
|
|
111
|
+
position: fixed;
|
|
112
|
+
top: inherit;
|
|
113
|
+
margin: 0;
|
|
114
|
+
margin-right: 10px;
|
|
115
|
+
}
|
|
116
|
+
.wrs_modal_dialogContainer.wrs_closed {
|
|
117
|
+
visibility: hidden;
|
|
118
|
+
display: none;
|
|
119
|
+
opacity: 0;
|
|
120
|
+
}
|
|
121
|
+
.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_stack {
|
|
122
|
+
position: fixed;
|
|
123
|
+
bottom: 0;
|
|
124
|
+
right: 0;
|
|
125
|
+
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;
|
|
126
|
+
}
|
|
127
|
+
.wrs_modal_dialogContainer.wrs_drag {
|
|
128
|
+
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;
|
|
129
|
+
}
|
|
130
|
+
.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_drag {
|
|
131
|
+
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;
|
|
132
|
+
}
|
|
133
|
+
.wrs_modal_dialogContainer.wrs_modal_android {
|
|
134
|
+
margin: auto;
|
|
135
|
+
position: fixed;
|
|
136
|
+
width: 99%;
|
|
137
|
+
height: 99%;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
transform: translate(50%, -50%);
|
|
140
|
+
top: 50%;
|
|
141
|
+
right: 50% !important;
|
|
142
|
+
}
|
|
143
|
+
.wrs_modal_dialogContainer.wrs_modal_ios {
|
|
144
|
+
margin: auto;
|
|
145
|
+
position: fixed;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 100%;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
transform: translate(50%, -50%);
|
|
150
|
+
top: 50%;
|
|
151
|
+
right: 50% !important;
|
|
152
|
+
}
|
|
153
|
+
.wrs_content_container.wrs_minimized {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
.wrs_content_container.wrs_modal_android {
|
|
157
|
+
width: 100%;
|
|
158
|
+
height: 0%;
|
|
159
|
+
flex-grow: 1;
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
}
|
|
163
|
+
.wrs_content_container.wrs_modal_android > div:first-child {
|
|
164
|
+
flex-grow: 1;
|
|
165
|
+
}
|
|
166
|
+
.wrs_content_container.wrs_modal_ios > div:first-child {
|
|
167
|
+
flex-grow: 1;
|
|
168
|
+
}
|
|
169
|
+
.wrs_content_container.wrs_modal_desktop > div:first-child {
|
|
170
|
+
flex-grow: 1;
|
|
171
|
+
}
|
|
172
|
+
.wrs_modal_wrapper.wrs_modal_android {
|
|
173
|
+
margin: auto;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
height: 100%;
|
|
177
|
+
width: 100%;
|
|
178
|
+
}
|
|
179
|
+
.wrs_content_container.wrs_modal_desktop {
|
|
180
|
+
width: 100%;
|
|
181
|
+
flex-grow: 1;
|
|
182
|
+
display: flex;
|
|
183
|
+
flex-direction: column;
|
|
184
|
+
}
|
|
185
|
+
.wrs_content_container.wrs_modal_ios {
|
|
186
|
+
width: 100%;
|
|
187
|
+
height: 0%;
|
|
188
|
+
flex-grow: 1;
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
}
|
|
192
|
+
.wrs_modal_wrapper.wrs_modal_ios {
|
|
193
|
+
margin: auto;
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-direction: column;
|
|
196
|
+
height: 100%;
|
|
197
|
+
width: 100%;
|
|
198
|
+
}
|
|
199
|
+
.wrs_virtual_keyboard {
|
|
200
|
+
height: 100%;
|
|
201
|
+
width: 100%;
|
|
202
|
+
top: 0;
|
|
203
|
+
left: 50%;
|
|
204
|
+
transform: translate(-50%, 0%);
|
|
205
|
+
}
|
|
206
|
+
.wrs_modal_dialogContainer.wrs_modal_badStock {
|
|
207
|
+
width: 100%;
|
|
208
|
+
height: 280px;
|
|
209
|
+
margin: 0 auto;
|
|
210
|
+
border-width: 0;
|
|
211
|
+
}
|
|
212
|
+
.wrs_modal_wrapper.wrs_modal_badStock {
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: 280px;
|
|
215
|
+
margin: 0 auto;
|
|
216
|
+
border-width: 0;
|
|
217
|
+
}
|
|
218
|
+
.wrs_noselect {
|
|
219
|
+
-moz-user-select: none;
|
|
220
|
+
-khtml-user-select: none;
|
|
221
|
+
-webkit-user-select: none;
|
|
222
|
+
-ms-user-select: none;
|
|
223
|
+
user-select: none;
|
|
224
|
+
}
|
|
225
|
+
.wrs_bottom_right_resizer {
|
|
226
|
+
width: 10px;
|
|
227
|
+
height: 10px;
|
|
228
|
+
color: #778e9a;
|
|
229
|
+
position: absolute;
|
|
230
|
+
right: 4px;
|
|
231
|
+
bottom: 8px;
|
|
232
|
+
cursor: se-resize;
|
|
233
|
+
-moz-user-select: none;
|
|
234
|
+
-webkit-user-select: none;
|
|
235
|
+
-ms-user-select: none;
|
|
236
|
+
user-select: none;
|
|
237
|
+
}
|
|
238
|
+
.wrs_bottom_left_resizer {
|
|
239
|
+
width: 15px;
|
|
240
|
+
height: 15px;
|
|
241
|
+
color: #778e9a;
|
|
242
|
+
position: absolute;
|
|
243
|
+
left: 0;
|
|
244
|
+
top: 0;
|
|
245
|
+
cursor: se-resize;
|
|
246
|
+
}
|
|
247
|
+
.wrs_modal_controls {
|
|
248
|
+
height: 42px;
|
|
249
|
+
margin: 3px 0;
|
|
250
|
+
overflow: hidden;
|
|
251
|
+
line-height: normal;
|
|
252
|
+
}
|
|
253
|
+
.wrs_modal_links {
|
|
254
|
+
margin: 10px auto;
|
|
255
|
+
margin-bottom: 0;
|
|
256
|
+
font-family: arial, sans-serif;
|
|
257
|
+
padding: 6px;
|
|
258
|
+
display: inline;
|
|
259
|
+
float: right;
|
|
260
|
+
text-align: right;
|
|
261
|
+
}
|
|
262
|
+
.wrs_modal_links > a {
|
|
263
|
+
text-decoration: none;
|
|
264
|
+
color: #778e9a;
|
|
265
|
+
font-size: 16px;
|
|
266
|
+
}
|
|
267
|
+
.wrs_modal_button_cancel {
|
|
268
|
+
min-width: 80px;
|
|
269
|
+
font-size: 14px;
|
|
270
|
+
border-radius: 3px;
|
|
271
|
+
border: 1px solid #778e9a;
|
|
272
|
+
padding: 6px 8px;
|
|
273
|
+
margin: 10px auto;
|
|
274
|
+
margin-left: 5px;
|
|
275
|
+
margin-bottom: 0;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
font-family: arial, sans-serif;
|
|
278
|
+
background-color: #ddd;
|
|
279
|
+
height: 32px;
|
|
280
|
+
}
|
|
281
|
+
.wrs_modal_button_accept {
|
|
282
|
+
min-width: 80px;
|
|
283
|
+
font-size: 14px;
|
|
284
|
+
border-radius: 3px;
|
|
285
|
+
border: 1px solid #778e9a;
|
|
286
|
+
padding: 6px 8px;
|
|
287
|
+
margin: 10px auto;
|
|
288
|
+
margin-right: 5px;
|
|
289
|
+
margin-bottom: 0;
|
|
290
|
+
color: #fff;
|
|
291
|
+
background: #778e9a;
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
font-family: arial, sans-serif;
|
|
294
|
+
height: 32px;
|
|
295
|
+
}
|
|
296
|
+
.wrs_editor_vertical_bar {
|
|
297
|
+
height: 20px;
|
|
298
|
+
float: right;
|
|
299
|
+
background: none;
|
|
300
|
+
width: 20px;
|
|
301
|
+
cursor: pointer;
|
|
302
|
+
}
|
|
303
|
+
.wrs_modal_buttons_container {
|
|
304
|
+
display: inline;
|
|
305
|
+
float: left;
|
|
306
|
+
}
|
|
307
|
+
.wrs_modal_buttons_container.wrs_modalAndroid {
|
|
308
|
+
padding-left: 6px;
|
|
309
|
+
}
|
|
310
|
+
.wrs_modal_buttons_container.wrs_modalDesktop {
|
|
311
|
+
padding-left: 0;
|
|
312
|
+
}
|
|
313
|
+
.wrs_modal_buttons_container > button {
|
|
314
|
+
line-height: normal;
|
|
315
|
+
background-image: none;
|
|
316
|
+
}
|
|
317
|
+
.wrs_modal_wrapper {
|
|
318
|
+
margin: 6px;
|
|
319
|
+
display: flex;
|
|
320
|
+
flex-direction: column;
|
|
321
|
+
}
|
|
322
|
+
.wrs_modal_wrapper.wrs_modal_desktop.wrs_minimized {
|
|
323
|
+
display: none;
|
|
324
|
+
}
|
|
325
|
+
.wrs_popupmessage_overlay_envolture {
|
|
326
|
+
display: none;
|
|
327
|
+
width: 100%;
|
|
328
|
+
}
|
|
329
|
+
.wrs_popupmessage_overlay {
|
|
330
|
+
position: absolute;
|
|
331
|
+
width: 100%;
|
|
332
|
+
height: 100%;
|
|
333
|
+
top: 0;
|
|
334
|
+
left: 0;
|
|
335
|
+
right: 0;
|
|
336
|
+
bottom: 0;
|
|
337
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
338
|
+
z-index: 4;
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
}
|
|
341
|
+
.wrs_popupmessage_panel {
|
|
342
|
+
top: 50%;
|
|
343
|
+
left: 50%;
|
|
344
|
+
transform: translate(-50%, -50%);
|
|
345
|
+
position: absolute;
|
|
346
|
+
background: white;
|
|
347
|
+
max-width: 500px;
|
|
348
|
+
width: 75%;
|
|
349
|
+
border-radius: 2px;
|
|
350
|
+
padding: 20px;
|
|
351
|
+
font-family: sans-serif;
|
|
352
|
+
font-size: 15px;
|
|
353
|
+
text-align: left;
|
|
354
|
+
color: #2e2e2e;
|
|
355
|
+
z-index: 5;
|
|
356
|
+
max-height: 75%;
|
|
357
|
+
overflow: auto;
|
|
358
|
+
}
|
|
359
|
+
.wrs_popupmessage_button_area {
|
|
360
|
+
margin: 10px 0 0 0;
|
|
361
|
+
}
|
|
362
|
+
.wrs_panelContainer * {
|
|
363
|
+
border: 0;
|
|
364
|
+
}
|
|
365
|
+
.wrs_button_cancel {
|
|
366
|
+
min-width: 80px;
|
|
367
|
+
font-size: 14px;
|
|
368
|
+
border-radius: 3px;
|
|
369
|
+
border: 1px solid #778e9a;
|
|
370
|
+
padding: 6px 8px;
|
|
371
|
+
margin: 10px auto;
|
|
372
|
+
margin-left: 5px;
|
|
373
|
+
margin-bottom: 0;
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
font-family: arial, sans-serif;
|
|
376
|
+
background-color: #ddd;
|
|
377
|
+
background-image: none;
|
|
378
|
+
height: 32px;
|
|
379
|
+
}
|
|
380
|
+
.wrs_button_accept {
|
|
381
|
+
min-width: 80px;
|
|
382
|
+
font-size: 14px;
|
|
383
|
+
border-radius: 3px;
|
|
384
|
+
border: 1px solid #778e9a;
|
|
385
|
+
padding: 6px 8px;
|
|
386
|
+
margin: 10px auto;
|
|
387
|
+
margin-right: 5px;
|
|
388
|
+
margin-bottom: 0;
|
|
389
|
+
color: #fff;
|
|
390
|
+
background: #778e9a;
|
|
391
|
+
cursor: pointer;
|
|
392
|
+
font-family: arial, sans-serif;
|
|
393
|
+
height: 32px;
|
|
394
|
+
}
|
|
395
|
+
.wrs_editor button {
|
|
396
|
+
box-shadow: none;
|
|
397
|
+
}
|
|
398
|
+
.wrs_editor .wrs_header button {
|
|
399
|
+
border-bottom: none;
|
|
400
|
+
border-bottom-left-radius: 0;
|
|
401
|
+
border-bottom-right-radius: 0;
|
|
402
|
+
}
|
|
403
|
+
.wrs_modal_overlay.wrs_modal_desktop.wrs_stack.wrs_overlay_active {
|
|
404
|
+
display: block;
|
|
405
|
+
}
|
|
406
|
+
.wrs_toolbar tr:focus {
|
|
407
|
+
background: none;
|
|
408
|
+
}
|
|
409
|
+
.wrs_toolbar tr:hover {
|
|
410
|
+
background: none;
|
|
411
|
+
}
|
|
412
|
+
.wrs_modal_rtl .wrs_modal_button_cancel {
|
|
413
|
+
margin-right: 5px;
|
|
414
|
+
margin-left: 0;
|
|
415
|
+
}
|
|
416
|
+
.wrs_modal_rtl .wrs_modal_button_accept {
|
|
417
|
+
margin-right: 0;
|
|
418
|
+
margin-left: 5px;
|
|
419
|
+
}
|
|
420
|
+
.wrs_modal_rtl .wrs_button_cancel {
|
|
421
|
+
margin-right: 5px;
|
|
422
|
+
margin-left: 0;
|
|
423
|
+
}
|
|
424
|
+
.wrs_modal_rtl .wrs_button_accept {
|
|
425
|
+
margin-right: 0;
|
|
426
|
+
margin-left: 5px;
|
|
427
|
+
}
|
|
428
|
+
.wrs_modal_offline {
|
|
429
|
+
display: none;
|
|
430
|
+
position: fixed;
|
|
431
|
+
z-index: 2;
|
|
432
|
+
padding-top: 150px;
|
|
433
|
+
left: 0;
|
|
434
|
+
top: 0;
|
|
435
|
+
width: 100%;
|
|
436
|
+
height: 100%;
|
|
437
|
+
overflow: auto;
|
|
438
|
+
background-color: rgb(0, 0, 0);
|
|
439
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
440
|
+
margin: auto;
|
|
441
|
+
}
|
|
442
|
+
.wrs_modal_content_offline {
|
|
443
|
+
margin: auto;
|
|
444
|
+
padding: 16px;
|
|
445
|
+
background: #fff7ed;
|
|
446
|
+
border-radius: 6px;
|
|
447
|
+
width: 517px;
|
|
448
|
+
height: 100px;
|
|
449
|
+
position: relative;
|
|
450
|
+
}
|
|
451
|
+
.wrs_modal_offline_close {
|
|
452
|
+
color: #c2410c;
|
|
453
|
+
font-size: 24px;
|
|
454
|
+
font-weight: bold;
|
|
455
|
+
left: 95.7%;
|
|
456
|
+
right: 2.08%;
|
|
457
|
+
top: 7.6%;
|
|
458
|
+
bottom: 75%;
|
|
459
|
+
font-family: "Inter";
|
|
460
|
+
font-style: normal;
|
|
461
|
+
font-weight: 400;
|
|
462
|
+
position: absolute;
|
|
463
|
+
}
|
|
464
|
+
.wrs_modal_offline_warn {
|
|
465
|
+
position: absolute;
|
|
466
|
+
left: 2.08%;
|
|
467
|
+
right: 94%;
|
|
468
|
+
top: 11.6%;
|
|
469
|
+
bottom: 75%;
|
|
470
|
+
font-size: 24px;
|
|
471
|
+
color: #fb923c;
|
|
472
|
+
background-repeat: no-repeat;
|
|
473
|
+
}
|
|
474
|
+
.wrs_modal_offline_text_container {
|
|
475
|
+
position: absolute;
|
|
476
|
+
left: 6.8%;
|
|
477
|
+
right: 6.08%;
|
|
478
|
+
top: 10.4%;
|
|
479
|
+
bottom: 2%;
|
|
480
|
+
}
|
|
481
|
+
.wrs_modal_offline_text {
|
|
482
|
+
font-family: "Inter";
|
|
483
|
+
font-style: normal;
|
|
484
|
+
font-weight: 400;
|
|
485
|
+
font-size: 14px;
|
|
486
|
+
line-height: 20px;
|
|
487
|
+
color: #c2410c;
|
|
488
|
+
}
|
|
489
|
+
.wrs_modal_offline_text_warn {
|
|
490
|
+
height: 25px;
|
|
491
|
+
font-family: "Inter";
|
|
492
|
+
font-style: normal;
|
|
493
|
+
font-size: 14px;
|
|
494
|
+
line-height: 20px;
|
|
495
|
+
font-weight: bold;
|
|
496
|
+
color: #c2410c;
|
|
497
|
+
}
|
|
498
|
+
.wrs_modal_offline_close:hover {
|
|
499
|
+
color: #000;
|
|
500
|
+
text-decoration: none;
|
|
501
|
+
cursor: pointer;
|
|
502
|
+
}
|