PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / trunk
Search Atlas SEO – OTTO AI SEO Automation for WordPress vtrunk
2.6.26 2.6.25 2.6.24 2.6.23 2.6.22 2.6.21 2.6.20 2.6.19 2.6.18 2.6.17 2.6.16 2.6.15 2.6.14 2.6.13 2.6.12 2.6.11 2.6.10 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.5.23 All 138 releases
metasync / custom-pages / css / custom-pages-editor.css

custom-pages-editor.css in Search Atlas SEO – OTTO AI SEO Automation for WordPress trunk, at custom-pages/css/custom-pages-editor.css

363 lines 6.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * MetaSync Custom Pages Editor Styles
3 *
4 * Enhanced styling for the custom HTML pages editor
5 */
6
7 /* Meta Box Container */
8 .metasync-custom-html-container {
9 padding: 15px;
10 background: #fff;
11 }
12
13 /* HTML Mode Toggle */
14 .metasync-html-mode {
15 padding: 15px;
16 background: #f6f7f7;
17 border-left: 4px solid #2271b1;
18 margin-bottom: 20px;
19 }
20
21 .metasync-html-mode label {
22 display: flex;
23 align-items: center;
24 gap: 8px;
25 font-size: 14px;
26 cursor: pointer;
27 }
28
29 .metasync-html-mode input[type="checkbox"] {
30 margin: 0;
31 cursor: pointer;
32 }
33
34 .metasync-html-mode .description {
35 color: #646970;
36 font-weight: normal;
37 }
38
39 /* HTML Controls Section */
40 #metasync-html-controls {
41 margin-top: 20px;
42 }
43
44 /* File Upload Section */
45 .metasync-html-upload {
46 padding: 20px;
47 background: #f9f9f9;
48 border: 1px solid #dcdcde;
49 border-radius: 4px;
50 margin-bottom: 20px;
51 }
52
53 .metasync-html-upload h3 {
54 margin-top: 0;
55 margin-bottom: 10px;
56 color: #1d2327;
57 font-size: 15px;
58 }
59
60 .metasync-file-input {
61 display: block;
62 margin: 15px 0;
63 padding: 8px;
64 border: 2px dashed #c3c4c7;
65 border-radius: 4px;
66 background: #fff;
67 width: 100%;
68 cursor: pointer;
69 transition: border-color 0.2s;
70 }
71
72 .metasync-file-input:hover {
73 border-color: #2271b1;
74 }
75
76 .current-file {
77 padding: 12px;
78 background: #e7f5fe;
79 border-left: 4px solid #2271b1;
80 margin-top: 10px;
81 border-radius: 2px;
82 }
83
84 .current-file strong {
85 color: #1d2327;
86 }
87
88 /* Editor Section */
89 .metasync-html-editor {
90 margin-top: 20px;
91 position: relative;
92 }
93
94 .metasync-html-editor h3 {
95 margin-top: 0;
96 margin-bottom: 10px;
97 color: #1d2327;
98 font-size: 15px;
99 }
100
101 .metasync-html-editor .description {
102 margin-bottom: 12px;
103 color: #646970;
104 }
105
106 /* CodeMirror Enhancements */
107 .metasync-html-editor .CodeMirror {
108 border: 1px solid #dcdcde;
109 border-radius: 4px;
110 font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
111 font-size: 13px;
112 height: auto;
113 min-height: 400px;
114 }
115
116 .metasync-html-editor .CodeMirror-scroll {
117 min-height: 400px;
118 }
119
120 /* Fullscreen Mode */
121 .CodeMirror-fullscreen {
122 position: fixed !important;
123 top: 0;
124 left: 0;
125 right: 0;
126 bottom: 0;
127 height: 100% !important;
128 z-index: 100000;
129 background: #fff;
130 }
131
132 .CodeMirror-fullscreen .CodeMirror-scroll {
133 min-height: 100%;
134 height: 100%;
135 }
136
137 /* Editor Toolbar */
138 .metasync-editor-toolbar {
139 display: flex;
140 justify-content: flex-end;
141 gap: 8px;
142 margin-bottom: 8px;
143 padding: 8px;
144 background: #f6f7f7;
145 border: 1px solid #dcdcde;
146 border-bottom: none;
147 border-radius: 4px 4px 0 0;
148 }
149
150 .metasync-fullscreen-btn {
151 display: inline-flex;
152 align-items: center;
153 gap: 4px;
154 padding: 4px 8px;
155 font-size: 12px;
156 }
157
158 .metasync-fullscreen-btn .dashicons {
159 font-size: 16px;
160 width: 16px;
161 height: 16px;
162 }
163
164 /* Preview Section */
165 .metasync-html-preview {
166 margin-top: 20px;
167 padding-top: 15px;
168 border-top: 1px solid #dcdcde;
169 }
170
171 #metasync-preview-html {
172 font-size: 14px;
173 padding: 8px 16px;
174 }
175
176 /* Keyboard Shortcuts Info */
177 .metasync-keyboard-shortcuts {
178 margin-top: 20px;
179 padding: 15px;
180 background: #f0f6fc;
181 border: 1px solid #c3c4c7;
182 border-radius: 4px;
183 }
184
185 .metasync-keyboard-shortcuts h4 {
186 margin: 0 0 10px 0;
187 color: #1d2327;
188 font-size: 14px;
189 }
190
191 .metasync-keyboard-shortcuts ul {
192 list-style: none;
193 margin: 0;
194 padding: 0;
195 }
196
197 .metasync-keyboard-shortcuts li {
198 padding: 6px 0;
199 font-size: 13px;
200 color: #50575e;
201 }
202
203 .metasync-keyboard-shortcuts kbd {
204 display: inline-block;
205 padding: 2px 6px;
206 font-family: 'Consolas', 'Monaco', monospace;
207 font-size: 11px;
208 background: #fff;
209 border: 1px solid #c3c4c7;
210 border-radius: 3px;
211 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
212 min-width: 20px;
213 text-align: center;
214 }
215
216 /* Admin Notices */
217 .metasync-custom-html-container .notice {
218 margin: 15px 0;
219 padding: 12px;
220 }
221
222 /* Responsive */
223 @media screen and (max-width: 782px) {
224 .metasync-html-mode label {
225 flex-direction: column;
226 align-items: flex-start;
227 }
228
229 .metasync-html-editor .CodeMirror {
230 font-size: 12px;
231 }
232
233 .metasync-editor-toolbar {
234 flex-wrap: wrap;
235 }
236 }
237
238 /* Loading State */
239 .metasync-loading {
240 position: relative;
241 pointer-events: none;
242 opacity: 0.6;
243 }
244
245 .metasync-loading::after {
246 content: "";
247 position: absolute;
248 top: 50%;
249 left: 50%;
250 width: 20px;
251 height: 20px;
252 margin: -10px 0 0 -10px;
253 border: 2px solid #2271b1;
254 border-top-color: transparent;
255 border-radius: 50%;
256 animation: metasync-spin 0.6s linear infinite;
257 }
258
259 @keyframes metasync-spin {
260 to {
261 transform: rotate(360deg);
262 }
263 }
264
265 /* Success/Error States */
266 .metasync-success {
267 padding: 10px;
268 background: #d7f1e0;
269 border-left: 4px solid #00a32a;
270 margin: 10px 0;
271 border-radius: 2px;
272 }
273
274 .metasync-error {
275 padding: 10px;
276 background: #fcf0f1;
277 border-left: 4px solid #d63638;
278 margin: 10px 0;
279 border-radius: 2px;
280 }
281
282 /* Syntax Highlighting Improvements */
283 .cm-s-default .cm-tag {
284 color: #2271b1;
285 }
286
287 .cm-s-default .cm-attribute {
288 color: #d63638;
289 }
290
291 .cm-s-default .cm-string {
292 color: #00a32a;
293 }
294
295 .cm-s-default .cm-comment {
296 color: #787c82;
297 font-style: italic;
298 }
299
300 /* Line Numbers */
301 .CodeMirror-linenumber {
302 color: #787c82;
303 padding: 0 8px;
304 }
305
306 .CodeMirror-gutters {
307 background: #f6f7f7;
308 border-right: 1px solid #dcdcde;
309 }
310
311 /* Active Line Highlight */
312 .CodeMirror-activeline-background {
313 background: #f0f6fc;
314 }
315
316 /* Matching Tag Highlight */
317 .CodeMirror-matchingtag {
318 background: rgba(255, 235, 59, 0.3);
319 }
320
321 /* Scrollbar Styling */
322 .CodeMirror-scrollbar-filler,
323 .CodeMirror-gutter-filler {
324 background-color: #f6f7f7;
325 }
326
327 .CodeMirror-vscrollbar::-webkit-scrollbar,
328 .CodeMirror-hscrollbar::-webkit-scrollbar {
329 width: 10px;
330 height: 10px;
331 }
332
333 .CodeMirror-vscrollbar::-webkit-scrollbar-track,
334 .CodeMirror-hscrollbar::-webkit-scrollbar-track {
335 background: #f6f7f7;
336 }
337
338 .CodeMirror-vscrollbar::-webkit-scrollbar-thumb,
339 .CodeMirror-hscrollbar::-webkit-scrollbar-thumb {
340 background: #c3c4c7;
341 border-radius: 5px;
342 }
343
344 .CodeMirror-vscrollbar::-webkit-scrollbar-thumb:hover,
345 .CodeMirror-hscrollbar::-webkit-scrollbar-thumb:hover {
346 background: #8c8f94;
347 }
348
349 /* WordPress Editor Compatibility */
350 .edit-post-visual-editor .metasync-custom-html-container {
351 margin: 0;
352 }
353
354 /* Post Type Specific Styles */
355 .post-type-metasync_custom_page .editor-styles-wrapper {
356 padding: 20px;
357 }
358
359 .post-type-metasync_custom_page .edit-post-sidebar {
360 z-index: 99999;
361 }
362
363