PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.1
WP Coder – Insert & Manage Code Snippets v4.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | assets/css/admin.css +897 -828 3.44.1 View file →
@@ -1,700 +1,684 @@
1 1 @charset "UTF-8";
2 2 :root {
3 - --wowp-blue: #005BBF;
4 - --wowp-yellow: #FFD500;
5 - --wowp-border: #cccccc;
6 - --wowp-dark: #14102C;
7 - --wowp-orange: #E86E2C;
8 - --wowp-bg: #EEF3EB;
9 - --wowp-success: #00BF04;
10 - --wowp-danger: #BF0400;
3 + --wowp-border: #E4E4E7;
4 + --wowp-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
5 + --wowp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
6 + --wowp-gray-500: #6a7282;
7 + --wowp-gray-400: #99a1af;
8 + --wowp-gray-100: #f3f4f6;
9 + --wowp-gray-200: #e5e7eb;
10 + --wowp-gray-900: #101828;
11 + --wowp-gray-700: #364153;
12 + --wowp-color-blue: #2b7fff;
13 + --wowp-color-yellow: #f0b100;
14 + --wowp-color-red: #fb2c36;
15 + --wowp-color-green: #00c950;
11 16 }
12 17
13 -.wowp-box {
14 - padding: 1.5rem 1.25rem;
15 - margin-top: 50px;
16 - position: relative;
17 - box-sizing: border-box;
18 - background: #ffffff;
19 - background-clip: padding-box;
20 - border: solid 2px transparent;
21 - border-radius: 4px;
18 +.wowp {
19 + width: calc(100% - 20px);
22 20 }
23 -.wowp-box::before {
24 - content: "";
25 - position: absolute;
26 - top: 0;
27 - right: 0;
28 - bottom: 0;
29 - left: 0;
30 - z-index: -1;
31 - margin: -2px;
32 - border-radius: inherit;
33 - background: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow));
21 +.wowp .wowp-header {
22 + display: grid;
23 + grid-template-areas: "logo title" "logo links";
24 + grid-template-columns: auto 1fr;
25 + align-items: center;
26 + column-gap: 1rem;
27 + margin-block: 1rem;
28 + row-gap: 0.5rem;
34 29 }
35 -
36 -.wowp-header-border {
37 - height: 5px;
38 - background: linear-gradient(to right, var(--wowp-blue), var(--wowp-yellow));
39 - margin-left: -20px;
30 +.wowp .wowp-header__logo {
31 + grid-area: logo;
40 32 }
41 -
42 -.wowp-header {
43 - position: relative;
44 - padding: 32px 36px;
45 - margin-left: -20px;
33 +.wowp .wowp-header__title {
34 + all: unset;
35 + grid-area: title;
36 + font-size: 1.75rem;
37 + font-weight: 700;
38 + line-height: 1.3;
39 + color: var(--wowp-gray-900);
40 +}
41 +.wowp .wowp-header__title-version {
42 + font-size: 0.75rem;
43 + font-weight: normal;
44 + color: var(--wowp-color-blue);
45 + margin-left: 0.5rem;
46 +}
47 +.wowp .wowp-header__links {
48 + grid-area: links;
46 49 display: flex;
47 - align-items: center;
48 - gap: 1rem;
49 50 flex-wrap: wrap;
51 + gap: 0.5rem;
50 52 }
51 -
52 -.wowp-header-title {
53 +.wowp .wowp-page-header {
53 54 display: flex;
54 55 align-items: center;
55 56 background: #ffffff;
56 - padding: 22px 36px;
57 - margin-left: -20px;
58 - border-top: 1px solid #dcdcdc;
59 - border-bottom: 1px solid #dcdcdc;
57 + margin-inline: -20px;
58 + padding-inline: 20px;
59 + padding-block: 0.75rem;
60 + border-top: 1px solid var(--wowp-border);
61 + border-bottom: 1px solid var(--wowp-border);
62 + gap: 1rem;
60 63 }
61 -.wowp-header-title h2 {
62 - font-size: 22px;
63 - font-weight: 600;
64 +.wowp .wowp-page-header__title {
65 + font-size: 1.25rem;
66 + line-height: 1.75rem;
67 + font-weight: 700;
64 68 margin: 0;
65 69 }
66 -.wowp-header-title .button {
67 - margin-left: 20px;
70 +.wowp .wowp-settings {
71 + background-color: white;
72 + margin-inline-end: 20px;
73 + margin-block: 1.5rem;
74 + border: 1px solid var(--wowp-gray-100);
75 + border-radius: 0.5rem;
76 + box-shadow: var(--wowp-shadow);
77 + padding: 1rem;
68 78 }
69 -.wowp-header-title .wowp-notice-license {
70 - margin-left: 20px;
79 +@media (width >= 48rem) {
80 + .wowp .wowp-settins__tabs > .popover-container {
81 + margin-inline-start: auto;
82 + }
71 83 }
72 -
73 -.wowp-logo {
84 +.wowp .wowp-page-box {
85 + max-width: 1400px;
86 + margin-inline: auto;
87 +}
88 +.wowp .wowp-settings__header {
89 + margin-block: 1.5rem;
90 + margin-inline-end: 20px;
91 + padding: 1rem;
92 + background-color: #ffffff;
93 + border: 1px solid var(--wowp-gray-100);
94 + border-radius: 0.5rem;
95 + box-shadow: var(--wowp-shadow);
96 +}
97 +.wowp .wowp-settings__title {
74 98 display: flex;
75 99 align-items: center;
100 + flex-wrap: wrap;
101 + position: relative;
76 102 }
77 -
78 -.wowp-logo img {
79 - width: 40px;
103 +.wowp .wowp-settings__title #title {
104 + flex: 1;
105 + padding-inline-end: 80px;
80 106 }
81 -
82 -.wowp-header h1 {
83 - position: relative;
84 - margin: 0 35px 0 0;
107 +.wowp .wowp-settings__title input {
108 + height: 40px;
109 + font-size: 16px;
110 + line-height: 1;
85 111 }
86 -
87 -.wowp-version {
112 +.wowp .wowp-settings__title #plugin-activate,
113 +.wowp .wowp-settings__title #submit_settings {
88 114 position: absolute;
89 - transform: translateY(-50%) translateX(50%);
90 - font-size: 12px;
91 - font-weight: normal;
115 + min-height: 32px;
116 + height: 32px;
117 + right: 8px;
118 + margin: 0;
92 119 }
93 -
94 -.wowp-links {
95 - position: absolute;
96 - bottom: 0;
97 - left: 36px;
120 +.wowp .wowp-settings__publish {
121 + margin-inline: -1rem;
122 + padding-inline: 1rem;
123 + margin-block: 1rem;
124 + padding-block: 1rem;
125 + border-block: 1px solid var(--wowp-gray-100);
98 126 display: flex;
127 + flex-direction: column;
128 + flex-wrap: wrap;
129 + gap: 0.5rem;
99 130 }
100 -@media screen and (max-width: 850px) {
101 - .wowp-links {
102 - display: none;
131 +.wowp .wowp-settings__publish .wowp-settings__publish-hide,
132 +.wowp .wowp-settings__publish .wowp-settings__publish-info,
133 +.wowp .wowp-settings__publish .wowp-settings__publish-status {
134 + display: flex;
135 + gap: 0.5rem;
136 +}
137 +.wowp .wowp-settings__publish .wowp-settings__publish-hide {
138 + order: 3;
139 + width: 100%;
140 +}
141 +.wowp .wowp-settings__publish .wowp-settings__publish-info {
142 + flex-direction: column;
143 +}
144 +@media (width >= 48rem) {
145 + .wowp .wowp-settings__publish .wowp-settings__publish-info {
146 + flex-direction: row;
103 147 }
104 148 }
105 -.wowp-links img {
106 - width: 15px;
107 - height: 15px;
149 +@media (width >= 80rem) {
150 + .wowp .wowp-settings__publish {
151 + flex-direction: row;
152 + justify-content: space-between;
153 + }
154 + .wowp .wowp-settings__publish .wowp-settings__publish-status {
155 + order: 2;
156 + }
108 157 }
109 -
110 -.wowp-links a {
111 - text-decoration: none;
158 +.wowp .wowp-settins__tabs {
112 159 display: flex;
160 + flex-wrap: wrap;
113 161 flex-direction: column;
114 - font-size: 12px;
115 - align-items: center;
116 - padding: 5px;
117 - transition: all 0.15s linear;
162 + gap: 0.5rem;
118 163 }
119 -
120 -.wowp-links a:hover {
121 - color: #14102C;
164 +@media (width >= 48rem) {
165 + .wowp .wowp-settins__tabs {
166 + gap: unset;
167 + flex-direction: row;
168 + align-items: center;
169 + }
122 170 }
123 -
124 -.wowp-links .codericon,
125 -.wowp-links .dashicons {
126 - width: 15px;
127 - height: 15px;
128 - font-size: 15px;
129 - color: #596FF9;
171 +.wowp .wowp-settins__tabs-radio {
130 172 display: none;
131 173 }
132 -
133 -.wowp-wrap .nav-tab-wrapper .nav-tab-active {
134 - color: var(--wowp-blue);
174 +.wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab {
175 + color: var(--wowp-gray-700);
176 + position: relative;
135 177 }
136 -
137 -.wowp-list {
138 - padding: 50px 36px 50px 16px;
178 +.wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab:before {
179 + position: absolute;
180 + content: "";
181 + display: block;
182 + width: 100%;
183 + height: 3px;
184 + background-color: var(--wowp-gray-900);
185 + bottom: -9px;
186 + left: 0;
139 187 }
140 -
141 -@media screen and (max-width: 782px) {
142 - .wowp-list td.column-mode span:first-child {
143 - margin-left: 0;
144 - }
188 +.wowp .wowp-settins__tabs-tab {
189 + padding: 0.5rem 1rem;
190 + color: var(--wowp-gray-400);
191 + cursor: pointer;
192 + border-radius: 0.25rem;
193 + font-size: 14px;
145 194 }
146 -.wowp-list .row-actions .duplicate a {
147 - color: green;
195 +.wowp .wowp-settins__tabs-tab:hover {
196 + color: var(--wowp-gray-700);
197 + background-color: var(--wowp-gray-100);
148 198 }
149 -.wowp-list .row-actions .export a {
150 - color: orange;
199 +.wowp .wowp-settins__tabs-content {
200 + position: absolute;
201 + top: -99999px;
202 + left: -99999px;
203 + width: 100%;
204 + border-top: 1px solid var(--wowp-gray-100);
205 + margin-block-start: 0.5rem;
206 + margin-inline: -1rem;
207 + padding-inline: 1rem;
151 208 }
152 -
153 -.wowp-status-on,
154 -.wowp-status-off {
155 - display: inline-block;
156 - width: 14px;
157 - height: 14px;
158 - border-radius: 50%;
209 +.wowp #wowp-tab-html-code:checked ~ [data-content=wowp-tab-html-code],
210 +.wowp #wowp-tab-css-code:checked ~ [data-content=wowp-tab-css-code],
211 +.wowp #wowp-tab-js-code:checked ~ [data-content=wowp-tab-js-code],
212 +.wowp #wowp-tab-php-code:checked ~ [data-content=wowp-tab-php-code],
213 +.wowp #wowp-tab-include:checked ~ [data-content=wowp-tab-include],
214 +.wowp #wowp-tab-settings:checked ~ [data-content=wowp-tab-settings],
215 +.wowp #wowp-tab-attributes:checked ~ [data-content=wowp-tab-attributes],
216 +.wowp #wowp-tab-pro:checked ~ [data-content=wowp-tab-pro] {
217 + position: static;
159 218 }
160 -
161 -.wowp-status-on {
162 - background-color: green;
219 +.wowp .wowp-settings__page {
220 + display: flex;
221 + flex-direction: column;
222 + flex-wrap: wrap;
223 + padding-block: 1.5rem 0;
224 + gap: 1.5rem;
163 225 }
164 -
165 -.wowp-status-off {
166 - background-color: red;
226 +@media (width >= 48rem) {
227 + .wowp .wowp-settings__page {
228 + flex-direction: row;
229 + }
167 230 }
168 -
169 -.wowp-settings #titlewrap input {
170 - padding: 3px 8px;
171 - font-size: 1.7em;
172 - line-height: 100%;
173 - height: 1.7em;
174 - width: 100%;
175 - outline: none;
176 - margin: 0 0 3px;
177 - background-color: #fff;
178 - border-radius: 0;
231 +.wowp .wowp-settings__page-content {
232 + order: 1;
233 + flex: 1;
179 234 }
180 -
181 -.wowp-wrap fieldset {
182 - border: 2px solid var(--wowp-border);
183 - padding: 20px;
235 +.wowp .wowp-settings__page-sidebar {
236 + position: relative;
184 237 display: flex;
185 - flex-wrap: wrap;
186 - gap: 15px;
187 - margin-bottom: 24px;
238 + flex-direction: column;
239 + gap: 1rem;
240 + order: -1;
188 241 }
189 -.wowp-wrap legend {
190 - font-weight: bold;
191 - color: var(--wowp-dark);
192 - padding: 0 8px;
193 - font-size: 15px;
242 +@media (width >= 48rem) {
243 + .wowp .wowp-settings__page-sidebar {
244 + order: 2;
245 + width: 200px;
246 + }
194 247 }
195 -
196 -.wowp-field {
197 - position: relative;
198 - box-sizing: border-box;
248 +.wowp .wowp-settings__page-sidebar .wowp-fields__group {
249 + flex-direction: column;
250 + gap: 1rem;
251 + align-items: initial;
199 252 }
200 -.wowp-field input:not([type=checkbox], [type=radio], .wp-color-picker, .wp-picker-clear, .button),
201 -.wowp-field select {
202 - height: 40px;
203 - line-height: 40px;
204 - width: 100%;
205 - border: 1px solid var(--wowp-blue);
206 - max-width: 100%;
253 +.wowp .wowp-settings__page-sidebar-title {
254 + color: var(--wowp-gray-500);
255 + font-weight: 500;
207 256 }
208 -.wowp-field textarea {
257 +.wowp .wowp-settings__page-footer {
258 + border-top: 1px solid var(--wowp-gray-100);
259 + padding-block-start: 1rem;
260 + margin-inline: -1rem;
261 + padding-inline: 1rem;
262 + order: 3;
209 263 width: 100%;
210 - min-height: 350px;
264 + display: flex;
265 + flex-direction: column;
266 + gap: 1rem;
211 267 }
212 -.wowp-field .label {
213 - position: absolute;
214 - top: 0;
215 - left: 10px;
216 - transform: translateY(-50%);
217 - font-size: 12px;
218 - font-weight: 700;
219 - padding: 0 5px;
220 - color: #004A9B;
221 - z-index: 9;
268 +@media (width >= 64rem) {
269 + .wowp .wowp-settings__page-footer {
270 + flex-direction: row;
271 + align-items: center;
272 + justify-content: space-between;
273 + }
222 274 }
223 -.wowp-field .label:after {
224 - position: absolute;
225 - content: " ";
226 - height: 4px;
227 - background: #fff;
228 - width: 100%;
229 - top: 50%;
230 - left: 0;
231 - z-index: -1;
232 - transform: translateY(-50%);
275 +.wowp .CodeMirror {
276 + min-height: 700px;
277 + font-size: 0.875rem;
278 + line-height: 1.25rem;
279 + box-shadow: var(--wowp-shadow-sm);
280 + border: 1px solid var(--wowp-gray-100);
281 + border-radius: 0.5rem;
233 282 }
234 -.wowp-field .label.wowp-info:before {
235 - position: absolute;
236 - content: "?";
283 +.wowp .wowp-php-nav-menu {
284 + position: sticky;
237 285 top: 0;
238 - left: calc(100% - 5px);
239 - font-size: 10px;
240 - color: var(--wowp-dark);
241 - transform: translateY(calc(-50% ));
242 - font-weight: bold;
286 + margin: 0;
287 + padding-left: 1rem;
243 288 }
244 -.wowp-field .label.wowp-info:hover:before {
245 - position: absolute;
246 - top: 0;
247 - left: 0;
248 - background-color: #2B222A;
249 - border-radius: 5px;
250 - color: #fff;
251 - content: attr(data-info);
252 - padding: 5px 10px;
253 - text-transform: none;
254 - width: 160px;
255 - transform: translateY(calc(-100% - 7px));
256 - word-wrap: break-word;
257 - white-space: break-spaces;
258 - line-height: 1.1;
259 - font-weight: normal;
260 - font-size: 12px;
289 +.wowp .wowp-php-nav-menu li {
290 + position: relative;
261 291 }
262 -.wowp-field .wowp-download-img {
292 +.wowp .wowp-php-nav-menu li:first-child {
293 + padding-top: 0.5rem;
294 +}
295 +.wowp .wowp-php-nav-menu li:first-child:before {
296 + content: "";
263 297 position: absolute;
298 + width: calc(100% + 1rem);
299 + height: 1px;
264 300 top: 0;
265 - right: 5px;
266 - transform: translateY(-100%);
267 - font-weight: 600;
268 - font-size: 8px;
269 - cursor: pointer;
270 - color: var(--wowp-dark);
301 + left: -1rem;
302 + background-color: var(--wowp-gray-100);
271 303 }
272 -
273 -.wowp-field {
274 - width: calc(100%/3 - 15px/2 - 2.5px);
304 +.wowp .wowp-php-nav-menu li:last-child {
305 + padding-bottom: 0.5rem;
275 306 }
276 -@media screen and (max-width: 1024px) {
277 - .wowp-field {
278 - width: 100%;
279 - }
307 +.wowp .wowp-php-nav-menu li:last-child:after {
308 + content: "";
309 + position: absolute;
310 + width: calc(100% + 1rem);
311 + height: 1px;
312 + bottom: 0;
313 + left: -1rem;
314 + background-color: var(--wowp-gray-100);
280 315 }
281 -
282 -.wowp-field.has-checkbox {
283 - display: flex;
284 - padding: 0 8px;
285 - align-items: center;
286 - border: 1px solid var(--wowp-blue);
287 - border-radius: 3px;
288 - height: 40px;
289 - line-height: 40px;
290 - gap: 8px;
291 - width: calc(100%/3 - 15px/2 - 2.5px - 2.5px);
316 +.wowp .wowp-php-nav-menu a {
317 + color: var(--wowp-gray-700);
292 318 }
293 -@media screen and (max-width: 1024px) {
294 - .wowp-field.has-checkbox {
295 - width: 100%;
296 - }
319 +.wowp .wowp-preview {
320 + margin-block: 1.5rem;
321 + margin-inline-end: 20px;
322 + background-color: #ffffff;
323 + border: 1px solid var(--wowp-gray-100);
324 + border-radius: 0.5rem;
325 + box-shadow: var(--wowp-shadow);
297 326 }
298 -.wowp-field.has-checkbox input[type=checkbox] {
299 - margin: 0 8px 0 0;
327 +.wowp .wowp-preview__title {
328 + margin: 0;
329 + padding: 1rem 1rem 0 1rem;
330 + color: var(--wowp-gray-900);
300 331 }
301 -.wowp-field.has-checkbox .label {
302 - line-height: initial;
332 +.wowp .wowp-preview__subtitle {
333 + margin: 0;
334 + color: var(--wowp-gray-500);
335 + padding-inline: 1rem;
303 336 }
304 -
305 -.wowp-field.has-addon {
306 - display: flex;
307 - align-items: center;
337 +.wowp .wowp-preview__iframe {
338 + resize: both;
339 + overflow: auto;
340 + min-height: 450px;
341 + max-width: calc(100% - 1.5rem);
342 + margin: 0.5rem 0.5rem 1rem 0.5rem;
343 + scrollbar-gutter: stable;
344 + scrollbar-width: none;
345 + border: 3px solid #f1f1f1;
346 + border-top-left-radius: 4px;
347 + border-top-right-radius: 4px;
308 348 }
309 -.wowp-field.has-addon .is-addon {
310 - order: -1;
311 - box-sizing: border-box;
312 - height: 40px;
313 - line-height: 40px;
314 - padding: 0 8px;
315 - background-color: #ffffff;
316 - color: var(--wowp-dark);
317 - border: 1px solid var(--wowp-blue);
318 - border-radius: 3px 0 0 3px;
319 - border-right: none;
320 - margin-right: -2px;
349 +.wowp .wowp-preview__iframe.is-toggled {
350 + min-height: auto;
351 + resize: none;
321 352 }
322 -.wowp-field.has-addon select,
323 -.wowp-field.has-addon input:not([type=checkbox], [type=radio]) {
353 +.wowp .wowp-preview__iframe #wowp-preview {
354 + width: 100%;
355 + height: calc(100% - 50px);
356 + min-height: 400px;
324 357 box-sizing: border-box;
325 - border-radius: 0 3px 3px 0;
326 - border-left: none;
327 358 }
328 -.wowp-field.has-addon select[readonly] + .is-addon,
329 -.wowp-field.has-addon input:not([type=checkbox], [type=radio])[readonly] + .is-addon {
330 - background-color: #f0f0f1;
359 +.wowp .wowp-preview__top {
360 + padding: 10px;
361 + background: #f1f1f1;
362 + border-top-left-radius: 4px;
363 + border-top-right-radius: 4px;
364 + display: flex;
365 + gap: 0.5rem;
331 366 }
332 -.wowp-field.has-addon select:focus,
333 -.wowp-field.has-addon input:not([type=checkbox], [type=radio]):focus {
334 - box-shadow: none;
367 +.wowp .wowp-preview__top .wowp-preview__size {
368 + margin-left: auto;
369 + font-size: 11px;
335 370 }
336 -.wowp-field.has-addon:has(input:focus) {
337 - box-shadow: 0 0 0 1px #2271b1;
338 - border-radius: 3px;
371 +.wowp .wowp-preview__dot {
372 + height: 16px;
373 + width: 16px;
374 + background-color: #bbb;
375 + border-radius: 50%;
376 + display: flex;
377 + align-items: center;
378 + justify-content: center;
379 + cursor: pointer;
380 + transition: background-color 0.2s ease-in-out;
339 381 }
340 -.wowp-field.has-addon.has-background .is-addon {
341 - background-color: #DFE2FC;
342 -}
343 -
344 -.wowp-field.has-addon-right label {
382 +.wowp .wowp-preview__dot .dashicons {
383 + font-size: 10px;
345 384 display: flex;
346 385 align-items: center;
386 + justify-content: center;
347 387 }
348 -.wowp-field.has-addon-right label .is-addon {
349 - order: 1;
350 - box-sizing: border-box;
351 - height: 40px;
352 - line-height: 40px;
353 - padding: 0 8px;
354 - background-color: #ffffff;
355 - color: var(--wowp-dark);
356 - border: 1px solid var(--wowp-blue);
357 - border-radius: 0 3px 3px 0;
358 - border-left: none;
359 - margin-left: -2px;
388 +.wowp .wowp-preview__dot .dashicons.is-hidden {
389 + display: none;
360 390 }
361 -.wowp-field.has-addon-right label select,
362 -.wowp-field.has-addon-right label input:not([type=checkbox], [type=radio]) {
363 - border-radius: 3px 0 0 3px;
391 +.wowp .wowp-preview__dot.is-close:hover {
392 + background-color: #ff5f57;
364 393 }
365 -.wowp-field.has-addon-right label select:focus + .is-addon,
366 -.wowp-field.has-addon-right label input:not([type=checkbox], [type=radio]):focus + .is-addon {
367 - box-shadow: 0 0 0 1px #2271b1;
394 +.wowp .wowp-preview__dot.is-toggle:hover, .wowp .wowp-preview__dot.is-toggle.is-active {
395 + background-color: #ffbd2e;
368 396 }
369 -.wowp-field.has-addon-right:has(input:focus) {
370 - box-shadow: 0 0 0 1px #2271b1;
371 - border-radius: 3px;
397 +.wowp .wowp-preview__dot.is-reset:hover {
398 + background-color: #28c840;
372 399 }
373 -.wowp-field.has-addon-right.has-background .is-addon {
374 - background-color: #DFE2FC;
400 +.wowp .wowp-field {
401 + position: relative;
402 + box-sizing: border-box;
403 + display: flex;
375 404 }
376 -
377 -.wowp-field.has-addon .is-addon .dashicons {
378 - line-height: 40px;
405 +.wowp .wowp-field.has-addon {
406 + align-items: center;
379 407 }
380 -
381 -.wowp-field.border-default .is-addon {
382 - background-color: #dcdcde;
383 - color: #50575e;
384 - border-color: #8c8f94;
408 +.wowp .wowp-field.has-addon label {
409 + background-color: transparent;
385 410 }
386 -.wowp-field.border-default input:not([type=checkbox], [type=radio]) {
387 - border: 1px solid #8c8f94;
411 +.wowp .wowp-field.is-column {
412 + flex-direction: column;
413 + gap: 0.5rem;
388 414 }
389 -
390 -.wowp-field.is-full {
415 +.wowp .wowp-field input[type=text],
416 +.wowp .wowp-field input[type=url],
417 +.wowp .wowp-field input[type=time],
418 +.wowp .wowp-field input[type=number],
419 +.wowp .wowp-field input[type=datetime],
420 +.wowp .wowp-field input[type=date],
421 +.wowp .wowp-field select {
422 + height: 40px;
423 + line-height: 40px;
391 424 width: 100%;
425 + max-width: 100%;
426 + min-width: 200px;
427 + padding-inline-start: 12px;
392 428 }
393 -
394 -.wowp-fields-group {
395 - position: relative;
396 - display: flex;
397 - gap: 15px;
398 - flex-wrap: wrap;
399 - width: 100%;
400 - box-sizing: border-box;
429 +.wowp .wowp-field .label {
430 + position: absolute;
431 + top: 0;
432 + left: 8px;
433 + transform: translateY(-50%);
434 + font-size: 12px;
435 + font-weight: 700;
436 + padding-inline: 4px 5px;
437 + color: var(--wowp-gray-900);
438 + z-index: 9;
439 + background-color: #ffffff;
401 440 }
402 -
403 -.wowp-wrap .large-text.code {
404 - background: #32373c;
405 - color: rgba(240, 245, 250, 0.7);
406 - font-size: 12px;
407 - font-family: Menlo, Monaco, monospace;
408 - display: block;
409 - overflow: auto;
410 - white-space: pre;
441 +.wowp .wowp-field label {
411 442 width: 100%;
412 - height: 450px;
413 - padding: 10px;
414 - outline: none;
415 443 }
416 -
417 -.wowp-code-nav {
418 - position: relative;
419 - min-height: 30px;
444 +.wowp .wowp-field.has-checkbox {
445 + align-items: center;
446 + gap: 0.5rem;
447 + border: 1px solid var(--wowp-gray-100);
448 + border-radius: 0.25rem;
449 + padding: 0.5rem;
420 450 }
421 -
422 -.wowp-snippet__list dt {
423 - padding-top: 0.5rem;
451 +.wowp .wowp-field.has-checkbox.is-reverse {
452 + flex-direction: row-reverse;
453 + justify-content: left;
424 454 }
425 -.wowp-snippet__list dt:has(input:checked) {
426 - background-color: #f0f0f1;
427 - margin-inline: -1.25rem;
428 - padding-inline: 1.25rem;
429 - transition: background-color 0.2s ease-out;
455 +.wowp .wowp-field.has-checkbox .label {
456 + left: 0;
457 + padding-inline: 0;
458 + position: static;
459 + transform: unset;
430 460 }
431 -.wowp-snippet__list dt:has(input:checked) + dd {
432 - background-color: #f0f0f1;
433 - margin-inline: -1.25rem;
434 - padding-inline: calc(1.25rem + 24px) 1.25rem;
435 - transition: background-color 0.2s ease-out;
461 +.wowp .wowp-field.has-checkbox .switch {
462 + position: relative;
463 + top: 0;
464 + left: auto;
465 + display: inline-block;
466 + width: 36px;
467 + height: 20px;
468 + transform: unset;
436 469 }
437 -.wowp-snippet__list dt label {
438 - font-weight: 700;
439 - font-size: 16px;
470 +.wowp .wowp-field.has-checkbox .switch input {
471 + opacity: 0;
472 + width: 0;
473 + height: 0;
440 474 }
441 -.wowp-snippet__list dt input {
442 - margin-right: 8px;
475 +.wowp .wowp-field.has-checkbox .slider {
476 + position: absolute;
477 + cursor: pointer;
478 + top: 0;
479 + left: 0;
480 + right: 0;
481 + bottom: 0;
482 + background-color: var(--wowp-gray-400);
483 + -webkit-transition: 0.4s;
484 + transition: 0.4s;
485 + border-radius: 34px;
443 486 }
444 -.wowp-snippet__list dd {
445 - padding-top: 8px;
446 - margin-left: 0;
447 - padding-left: 24px;
487 +.wowp .wowp-field.has-checkbox .slider:before {
488 + position: absolute;
489 + content: "";
490 + height: 16px;
491 + width: 16px;
492 + left: 2px;
493 + bottom: 2px;
494 + background-color: white;
495 + -webkit-transition: 0.4s;
496 + transition: 0.4s;
497 + border-radius: 50%;
448 498 }
449 -.wowp-snippet__list dd:not(:last-child) {
450 - padding-bottom: 8px;
451 - margin-bottom: 0;
452 - border-bottom: 1px dashed #8c8f94;
499 +.wowp .wowp-field.has-checkbox input:checked ~ .slider {
500 + background-color: var(--wowp-gray-700);
453 501 }
454 -
455 -.wowp-notice {
456 - padding: 22px;
457 - border-right: none;
458 - border-top: none;
459 - border-bottom: none;
502 +.wowp .wowp-field.has-checkbox input:focus ~ .slider {
503 + box-shadow: var(--wowp-shadow-sm);
460 504 }
461 -
462 -.wowp-error {
463 - background: #FAD0D0;
464 - color: #14102C;
465 - border-left: 6px solid #E82C2C;
505 +.wowp .wowp-field.has-checkbox input:checked ~ .slider:before {
506 + transform: translateX(16px);
466 507 }
467 -
468 -.wowp-success {
469 - padding: 1.25rem;
470 - background: #D0FAD0;
471 - color: #14102C;
472 - border-left: 6px solid #109610;
473 -}
474 -
475 -.wowp-notice {
476 - --notification-color: var(--wowp-success);
508 +.wowp .wowp-field.has-addon {
477 509 position: relative;
478 - background-color: color-mix(in srgb, var(--notification-color) 7%, white);
479 - border-width: 1px;
480 - border-style: solid;
481 - border-color: var(--notification-color);
482 - padding-block: 1.25rem;
483 - padding-inline: 3rem 1.25rem;
484 - border-radius: 4px;
485 - margin-block: 15px;
486 510 }
487 -.wowp-notice:before {
488 - position: absolute;
489 - left: 0.5rem;
511 +.wowp .wowp-field.has-addon label {
490 512 top: 50%;
491 - transform: translateY(-50%);
492 - content: "";
493 - font-family: dashicons;
494 - font-size: 1.5rem;
495 - width: 2rem;
496 - height: 2rem;
513 + left: 5px;
514 + padding: 0;
515 + height: 32px;
516 + background-color: var(--wowp-gray-200);
497 517 display: flex;
498 518 align-items: center;
499 519 justify-content: center;
500 - color: var(--notification-color);
501 -}
502 -.wowp-notice:after {
503 - position: absolute;
504 - content: "";
505 - left: 0;
506 - top: 50%;
520 + width: 32px;
521 + border-radius: 4px;
507 522 transform: translateY(-50%);
508 - height: 2rem;
509 - width: 3px;
510 - border-radius: 0 3px 3px 0;
511 - background-color: var(--notification-color);
523 + z-index: 2;
512 524 }
513 -
514 -.wowp-file input::file-selector-button {
515 - color: #14102C;
516 - padding: 0.5em;
517 - border: thin solid var(--wowp-yellow);
518 - border-radius: 4px;
525 +.wowp .wowp-field.has-addon input[type=text],
526 +.wowp .wowp-field.has-addon input[type=url] {
527 + padding-inline-start: 42px;
519 528 }
520 -
521 -.wowp-file input[type=file]:valid {
522 - color: var(--wowp-orange);
523 -}
524 -
525 -.wowp-settings #poststuff {
526 - padding-top: 0;
527 - margin-top: 15px;
528 -}
529 -.wowp-settings h4 {
529 +.wowp .wowp-settings__publish-template {
530 530 display: flex;
531 - width: max-content;
532 - gap: 8px;
533 - align-items: center;
534 - margin: 0 0 1.5rem 0;
535 - font-weight: 800;
536 - box-sizing: border-box;
537 - color: var(--wowp-blue);
538 - font-size: 16px;
539 - letter-spacing: -1.08px;
540 - line-height: 18px;
541 - text-align: left;
542 - -webkit-font-smoothing: antialiased;
543 - background-color: var(--wowp-bg);
544 - padding: 4px 8px;
545 - border-radius: 25px;
531 + gap: 0.5rem;
546 532 }
547 -
548 -.codericon {
549 - color: var(--wowp-orange);
533 +.wowp .wowp-settings__publish-template select {
534 + width: auto;
535 + min-width: 200px;
550 536 }
551 -
552 -.nav-tab-wrapper.wowp-tab {
553 - cursor: pointer;
537 +.wowp .wowp-field__title {
538 + color: var(--wowp-gray-900);
539 + font-size: 1rem;
540 + font-weight: 600;
554 541 }
555 -
556 -.wowp-tab .nav-tab-active {
557 - background-color: #ffffff;
558 - border-bottom: 1px solid #ffffff;
542 +.wowp .wowp-fieldset {
543 + border: 1px solid var(--wowp-gray-100);
544 + padding: 1rem;
545 + border-radius: 0.5rem;
546 + box-shadow: var(--wowp-shadow-sm);
547 + margin-block: 1.5rem;
559 548 }
560 -
561 -.wowp-tab-content {
562 - position: relative;
563 - padding: 1.5rem 1.25rem;
564 - background-color: #ffffff;
565 - border-width: 1px;
566 - border-style: solid;
567 - border-image: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow)) 1 100%;
568 -}
569 -.wowp-tab-content .tab-content {
570 - position: absolute;
571 - left: -9999%;
572 -}
573 -.wowp-tab-content .tab-content.tab-content-active {
574 - position: relative;
575 - left: 0;
576 -}
577 -
578 -.wowp-text-helper {
579 - width: 100%;
580 -}
581 -
582 -.wowp-sidebar-pub-section {
549 +.wowp .wowp-fieldset__header {
550 + margin-inline: -1rem;
551 + padding-inline: 1rem;
583 552 display: flex;
584 553 flex-direction: column;
585 - gap: 15px;
554 + gap: 1rem;
586 555 }
587 -
588 -.wowp-sidebar-pub-section .wowp-field {
589 - width: 100%;
556 +@media (width >= 48rem) {
557 + .wowp .wowp-fieldset__header {
558 + flex-direction: row;
559 + justify-content: space-between;
560 + align-items: center;
561 + }
590 562 }
591 -
592 -.wowp-sidebar-pub-section .wowp-field .is-addon {
593 - height: 32px;
594 - line-height: 32px;
563 +.wowp .wowp-fieldset__header + .wowp-fields__group {
564 + margin-top: 1rem;
565 + margin-inline: -1rem;
566 + padding-inline: 1rem;
567 + border-top: 1px solid var(--wowp-gray-100);
595 568 }
596 -.wowp-sidebar-pub-section .wowp-field .is-addon .dashicons {
597 - line-height: 32px;
569 +.wowp .wowp-fieldset__header-title {
570 + font-size: 1.125rem;
571 + line-height: 1.75;
572 + font-weight: 500;
573 + color: var(--wowp-gray-700);
598 574 }
599 -.wowp-sidebar-pub-section .wowp-field .is-addon a {
600 - text-decoration: none;
575 +.wowp .wowp-fieldset__header-title p {
576 + font-size: 0.875rem;
577 + line-height: 1.25rem;
578 + color: var(--wowp-gray-400);
579 + margin: 0;
580 + font-weight: 400;
601 581 }
602 -.wowp-sidebar-pub-section .wowp-field input:not([type=checkbox], [type=radio]) {
603 - height: 32px;
604 - line-height: 32px;
582 +.wowp .wowp-fields__group {
583 + padding-top: 1rem;
584 + display: flex;
585 + gap: 1rem;
586 + align-items: center;
587 + flex-wrap: wrap;
605 588 }
606 -
607 -.wowp-sidebar-pub-section [list]::-webkit-calendar-picker-indicator {
608 - display: none !important;
589 +.wowp .wowp-fields__group.column-3 > *:not(.is-full) {
590 + flex: 1 1 calc(33.333% - 1rem);
591 + min-width: 200px;
609 592 }
610 -
611 -.wowp-sidebar #major-publishing-actions {
612 - margin: 0 -12px -12px -12px;
613 - padding: 12px 24px;
593 +.wowp #wp-support-message-wrap {
594 + width: 100%;
614 595 }
615 -
616 -.wowp-sidebar #minor-publishing-actions {
617 - padding: 0;
596 +.wowp .wowp-button__icon {
597 + --_color: var(--wowp-gray-700);
598 + display: flex;
599 + justify-content: center;
600 + align-items: center;
601 + width: 40px;
602 + height: 40px;
603 + cursor: pointer;
604 + appearance: button;
605 + background-color: color-mix(in srgb, var(--_color) 7%, white);
606 + border-color: var(--_color);
607 + border-width: 1px;
608 + border-style: solid;
609 + border-radius: 0.25rem;
610 + color: var(--_color);
618 611 }
619 -
620 -.button._is-success {
621 - background-color: var(--wowp-success);
622 - border-color: var(--wowp-success);
623 - color: #ffffff;
612 +.wowp .wowp-button__icon:hover {
613 + background-color: color-mix(in srgb, var(--_color) 15%, white);
624 614 }
625 -.button._is-success:focus, .button._is-success:hover {
626 - background-color: #007602;
627 - border-color: #007602;
628 - color: #ffffff;
615 +.wowp .wowp-button__icon.is-remove {
616 + --_color: var(--wowp-color-red);
629 617 }
630 -
631 -.button._is-danger {
632 - background-color: var(--wowp-danger);
633 - border-color: var(--wowp-danger);
634 - color: #ffffff;
618 +.wowp .wowp-button {
619 + display: inline-flex;
620 + align-items: center;
621 + gap: 0.5rem;
635 622 }
636 -.button._is-danger:focus, .button._is-danger:hover {
637 - background-color: #760200;
638 - border-color: #760200;
639 - color: #ffffff;
623 +.wowp .wowp-button.button-secondary {
624 + border-color: transparent;
625 + color: var(--wowp-gray-900);
626 + font-weight: 500;
640 627 }
641 -
642 -.button-editor {
643 - right: 0;
644 - bottom: 2px;
645 - cursor: pointer;
646 - padding: 5px 10px;
647 - background-color: var(--wowp-border);
648 - color: var(--wowp-dark);
649 - border-radius: 4px;
650 - display: block;
628 +.wowp .wowp-button.button-primary {
629 + font-weight: 500;
651 630 }
652 -.button-editor:focus, .button-editor:hover {
653 - background-color: var(--wowp-yellow);
631 +.wowp .wowp-button.button-dark {
632 + font-weight: 500;
633 + border-color: transparent;
634 + background-color: var(--wowp-gray-900);
635 + color: #ffffff;
654 636 }
655 -
656 -.add-img-btn {
657 - align-self: flex-end;
658 - text-align: right;
637 +.wowp .wowp-button.button-dark:hover {
638 + background-color: var(--wowp-gray-700);
659 639 }
660 -
661 -.has-tooltip {
640 +.wowp .wowp-tooltip {
662 641 position: relative;
642 + font-weight: 400;
663 643 cursor: help;
664 644 }
665 -.has-tooltip::before, .has-tooltip::after {
645 +.wowp .wowp-tooltip.is-pointer {
646 + cursor: pointer;
647 +}
648 +.wowp .wowp-tooltip::before, .wowp .wowp-tooltip::after {
666 649 color: #efefef;
667 - font-family: monospace;
668 650 font-size: 12px;
669 651 opacity: 0;
670 652 pointer-events: none;
671 653 text-align: center;
672 654 }
673 -.has-tooltip::before {
655 +.wowp .wowp-tooltip::before {
674 656 position: absolute;
675 657 top: 0;
676 658 left: 50%;
677 - background-color: #2B222A;
678 - border-radius: 5px;
679 - color: #fff;
659 + background-color: rgba(0, 0, 0, 0.85);
660 + border-radius: 2px;
661 + color: #ffffff;
680 662 content: attr(data-tooltip);
681 - padding: 5px 10px;
663 + padding: 10px;
682 664 text-transform: none;
683 665 transition: all 0.5s ease;
684 - width: 160px;
666 + max-width: 200px;
667 + width: max-content;
685 668 transform: translateY(calc(-100% - 7px)) translateX(-50%);
686 669 word-wrap: break-word;
687 670 white-space: break-spaces;
688 - line-height: 1.1;
671 + line-height: 1.5;
672 + text-align: left;
689 673 }
690 -.has-tooltip::after {
674 +.wowp .wowp-tooltip::after {
691 675 position: absolute;
692 676 top: -7px;
693 677 left: 50%;
694 678 border-left: 5px solid transparent;
695 679 border-right: 5px solid transparent;
696 - border-top: 5px solid #2B222A;
680 + border-top: 5px solid var(--wowp-gray-900);
697 681 content: " ";
698 682 font-size: 0;
699 683 line-height: 0;
700 684 margin-left: -5px;
@@ -700,375 +684,404 @@
700 684 margin-left: -5px;
701 685 width: 0;
702 686 transform: translateX(-50%);
703 687 }
704 -.has-tooltip:focus::before, .has-tooltip:focus::after, .has-tooltip:hover::before, .has-tooltip:hover::after {
688 +.wowp .wowp-tooltip:focus-visible::before, .wowp .wowp-tooltip:focus-visible::after, .wowp .wowp-tooltip:focus::before, .wowp .wowp-tooltip:focus::after, .wowp .wowp-tooltip:hover::before, .wowp .wowp-tooltip:hover::after {
705 689 opacity: 1;
706 690 transition: all 0.75s ease;
707 691 }
708 -.has-tooltip.on-right::before {
692 +.wowp .wowp-tooltip.on-right::before {
709 693 top: 50%;
710 694 left: 100%;
711 695 transform: translateY(-50%) translateX(4px);
712 696 }
713 -.has-tooltip.on-right::after {
697 +.wowp .wowp-tooltip.on-right::after {
714 698 top: 50%;
715 699 left: calc(100% + 2px);
716 700 rotate: 90deg;
717 701 transform: translateX(calc(-50% + 2.5px));
718 702 }
719 -.has-tooltip.on-left::before {
703 +.wowp .wowp-tooltip.on-left::before {
720 704 top: 50%;
721 705 left: -2px;
722 706 transform: translateY(-50%) translateX(-100%);
723 707 }
724 -.has-tooltip.on-left::after {
708 +.wowp .wowp-tooltip.on-left::after {
725 709 top: 50%;
726 710 left: 0;
727 711 rotate: -90deg;
728 712 transform: translateX(calc(-50% + 7px));
729 713 }
730 -
731 -.wowp-toogle {
732 - display: flex;
733 - align-items: center;
734 - position: relative;
735 - text-decoration: none;
736 - color: #ffffff;
737 - width: 40px;
738 - height: 28px;
739 - border-radius: 50px;
740 - padding: 0 4px;
714 +.wowp .wowp-tooltip.on-bottom::before {
715 + top: unset;
716 + bottom: 0;
717 + transform: translateY(calc(100% + 7px)) translateX(-50%);
741 718 }
742 -.wowp-toogle:focus, .wowp-toogle:hover {
743 - color: #ffffff;
719 +.wowp .wowp-tooltip.on-bottom::after {
720 + top: unset;
721 + bottom: -7px;
722 + rotate: 180deg;
744 723 }
745 -
746 -.wowp-toogle span {
747 - height: 20px;
748 - width: 20px;
749 - display: flex;
750 - align-items: center;
751 - justify-content: center;
752 - border-radius: 50%;
753 - font-size: 8px;
724 +.wowp .is-hidden {
725 + display: none;
754 726 }
755 -
756 -.wowp-toogle.is-on {
757 - background-color: #BFFFC0;
727 +.wowp .wowp-color-blue {
728 + color: var(--wowp-color-blue);
758 729 }
759 -
760 -.wowp-toogle.is-on span {
761 - background-color: #00BF04;
730 +.wowp .wowp-color-yellow {
731 + color: var(--wowp-color-yellow);
762 732 }
763 -.wowp-toogle.is-on:focus span, .wowp-toogle.is-on:hover span {
764 - background-color: #007602;
733 +.wowp .wowp-color-red {
734 + color: var(--wowp-color-red);
765 735 }
766 -
767 -.wowp-toogle.is-off {
768 - flex-direction: row-reverse;
769 - background-color: #FFC0BF;
736 +.wowp .wowp-color-green {
737 + color: var(--wowp-color-green);
770 738 }
771 -
772 -.wowp-toogle.is-off span {
773 - background-color: #BF0400;
739 +.wowp .is-italic {
740 + font-style: italic;
774 741 }
775 -.wowp-toogle.is-off:focus span, .wowp-toogle.is-off:hover span {
776 - background-color: #760200;
742 +.wowp .is-full {
743 + width: 100%;
777 744 }
778 -
779 -.wowp-input-group {
780 - position: relative;
781 - display: flex;
745 +.wowp .m-w-48 {
746 + max-width: 48rem;
747 + margin-inline: auto;
782 748 }
783 -.wowp-input-group .wowp-copy {
784 - display: flex;
785 - align-items: center;
786 - padding: 0 5px;
787 - cursor: pointer;
788 - color: var(--wowp-blue);
789 - transform: translateX(-100%);
749 +.wowp .m-top {
750 + margin-top: 1.5rem;
790 751 }
791 -.wowp-input-group .wowp-copy:hover {
792 - color: var(--wowp-dark);
752 +.wowp .wowp-command {
753 + max-width: 450px;
754 + width: 100%;
755 + max-height: 380px;
756 + height: 100%;
757 + border: none;
758 + border-radius: 0.5rem;
759 + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
760 + border-color: var(--wowp-gray-100);
761 + padding: 0;
793 762 }
794 -.wowp-input-group input {
795 - padding-right: 21px;
763 +.wowp .wowp-command .wowp-field {
764 + position: sticky;
765 + top: 0;
766 + background: #fff;
767 + z-index: 10;
768 + padding: 8px;
769 + border-bottom: 1px solid #ddd;
796 770 }
797 -
798 -.wpcoder-expand {
799 - margin-top: 8px;
771 +.wowp .wowp-quickcodes-search {
772 + width: 100%;
773 + border: none;
774 + border-radius: 0;
800 775 }
801 -
802 -.wpcoder-expand__title {
803 - color: var(--wowp-blue);
804 - font-weight: 600;
805 - font-size: 14px;
806 - cursor: pointer;
776 +.wowp .wowp-quickcodes-search:focus {
777 + outline: none;
778 + box-shadow: none;
779 + border-color: var(--wowp-gray-100);
807 780 }
808 -
809 -.wpcoder-expand__content {
810 - padding-block: 8px;
781 +.wowp .wowp-qc-list {
782 + margin: 0;
783 + padding: 4px;
784 + max-height: 300px;
785 + /* або інше значення */
786 + overflow-y: auto;
787 + scrollbar-width: thin;
788 + /* Firefox */
789 + scrollbar-color: #ccc transparent;
790 + /* Firefox */
811 791 }
812 -
813 -.wowp-wrap {
814 - padding: 22px 16px 50px 16px;
792 +.wowp .wowp-qc-list li {
793 + padding: 0.375rem 0.75rem;
794 + margin: 0;
795 + color: var(--wowp-gray-900);
796 + font-weight: 500;
797 + display: flex;
798 + flex-direction: column;
815 799 }
816 -.wowp-wrap .has-shadow {
817 - box-shadow: 0 0 10px 3px rgba(0, 91, 191, 0.1);
800 +.wowp .wowp-qc-list li .description {
801 + font-weight: normal;
802 + color: var(--wowp-gray-700);
818 803 }
819 -.wowp-wrap .has-padding {
820 - padding: 10px;
821 - margin: 0 -10px;
804 +.wowp .wowp-qc-list li .description code {
805 + font-size: 0.75rem;
822 806 }
823 -.wowp-wrap .is-hidden {
824 - display: none;
807 +.wowp .wowp-qc-list li.is-active {
808 + background-color: #f0f0f0;
809 + outline: 1px solid #007cba;
825 810 }
826 -.wowp-wrap .has-radius {
811 +.wowp .wowp-qc-list .qc-title {
812 + color: var(--wowp-gray-400);
813 + font-weight: 500;
814 + font-size: 0.75rem;
815 + line-height: 1rem;
816 +}
817 +.wowp .wowp-qc-list .quickcode {
818 + cursor: pointer;
819 + border-radius: 0.25rem;
820 +}
821 +.wowp .wowp-qc-list .quickcode:hover {
822 + background-color: var(--wowp-gray-100);
823 +}
824 +.wowp .wowp-qc-list::-webkit-scrollbar {
825 + width: 6px;
826 +}
827 +.wowp .wowp-qc-list::-webkit-scrollbar-thumb {
828 + background-color: #ccc;
827 829 border-radius: 4px;
828 830 }
829 -.wowp-wrap .w_has-border {
830 - border: 2px solid;
831 - border-image: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow)) 1;
831 +.wowp .wowp-qc-list::-webkit-scrollbar-track {
832 + background: transparent;
832 833 }
833 -.wowp-wrap .w_width-750 {
834 - max-width: 750px;
834 +.wowp .wowp-tools {
835 + max-width: 64rem;
836 + width: 100%;
835 837 }
836 -.wowp-wrap .has-mt {
837 - margin-top: 24px;
838 +.wowp .wowp-tools .wowp-button {
839 + margin-top: 1rem;
838 840 }
839 -.wowp-wrap .color-red {
840 - color: #760200;
841 +.wowp .wowp-snippets {
842 + max-width: 64rem;
843 + width: 100%;
841 844 }
842 -.wowp-wrap .color-green {
843 - color: #109610;
845 +.wowp .wowp-snippets__header {
846 + padding-bottom: 0.75rem;
847 + border-bottom: 1px solid var(--wowp-gray-100);
844 848 }
845 -.wowp-wrap .is-relative {
846 - position: relative;
849 +.wowp .wowp-snippets__header-title {
850 + margin: 0;
847 851 }
848 -.wowp-wrap ._m-is-auto {
849 - margin-inline-start: auto;
852 +.wowp .wowp-snippets__header-description {
853 + font-size: 0.875rem;
854 + line-height: 1.25rem;
855 + color: var(--wowp-gray-400);
856 + margin: 0;
850 857 }
851 -
852 -.w_block {
853 - background-color: #ebf3ff;
854 - padding: 50px 32px;
855 - max-width: 1200px;
856 - margin: 50px auto;
858 +.wowp .wowp-snippet__list {
859 + display: flex;
860 + flex-direction: column;
861 + gap: 0.75rem;
862 + margin-top: 0.75rem;
857 863 }
858 -.w_block-titles {
864 +.wowp .wowp-snippet__item {
859 865 position: relative;
860 - width: max-content;
861 - margin: 0 auto;
862 866 display: flex;
863 - flex-direction: column;
864 - gap: 15px;
867 + justify-content: space-between;
868 + gap: 1rem;
869 + border: 1px solid var(--wowp-gray-100);
870 + border-radius: 0.5rem;
871 + padding: 1rem;
872 + flex-wrap: wrap;
873 + overflow: hidden;
865 874 }
866 -.w_block-subtitle {
867 - color: #f16046;
868 - font-size: 16px;
869 - font-weight: 700;
870 - line-height: 20px;
871 - margin: 0;
875 +.wowp .wowp-snippet__item > .wowp-field.has-checkbox {
876 + border: none;
872 877 }
873 -.w_block-title {
874 - position: relative;
875 - font-size: 40px;
878 +.wowp .wowp-snippet__item:has(> .wowp-field.has-checkbox input[type=checkbox]:checked):before {
879 + content: "";
880 + position: absolute;
881 + top: 0;
882 + left: 0;
883 + height: 100%;
884 + width: 4px;
885 + background-color: var(--wowp-color-blue);
886 +}
887 +.wowp .wowp-snippet__item-header {
888 + flex: 1;
889 +}
890 +.wowp .wowp-snippet__item-header label {
876 891 font-weight: 600;
877 - line-height: 45px;
892 + font-size: 1rem;
893 + line-height: 1.5rem;
894 + color: var(--wowp-gray-900);
895 +}
896 +.wowp .wowp-snippet__item-description {
897 + font-size: 0.8rem;
898 + margin-top: 0.25rem;
899 + margin-bottom: 0;
900 + color: var(--wowp-gray-500);
901 +}
902 +.wowp .wowp-snippet__item-expand {
903 + width: 100%;
904 + border-top: 1px solid var(--wowp-gray-100);
905 + padding-top: 1rem;
906 +}
907 +.wowp .wowp-snippet__expand-title {
908 + font-weight: 500;
909 + font-size: 0.875rem;
878 910 margin: 0;
879 - background: linear-gradient(to right, #14102C 0%, #14102C 30%, #E86E2C 81%, #14102C 100%);
880 - -webkit-background-clip: text;
881 - -webkit-text-fill-color: transparent;
882 - color: #14102C;
883 911 }
884 -.w_block-btns {
885 - width: max-content;
886 - margin: 48px auto 68px;
912 +.wowp .wowp-snippets__tabs {
887 913 display: flex;
888 - gap: 25px;
914 + gap: 2.5rem;
915 + margin-top: 0.75rem;
889 916 }
890 -@media screen and (max-width: 768px) {
891 - .w_block-btns {
892 - flex-direction: column;
893 - }
917 +.wowp .wowp-snippets__tabs-radio {
918 + display: none;
894 919 }
895 -.w_block-btns [class^=w_btn] {
896 - display: inline-block;
897 - width: 220px;
898 - height: 50px;
899 - margin: 0 15px;
900 - line-height: 50px;
901 - font-size: 20px;
902 - text-decoration: none;
903 - color: #fff;
904 - border-width: 1px;
905 - border-style: solid;
906 - text-align: center;
907 - border-radius: 8px;
908 - text-transform: uppercase;
909 - transition: 0.5s;
910 - background-size: 200% auto;
920 +.wowp .wowp-snippets__tabs-labels {
921 + display: flex;
922 + flex-direction: column;
923 + gap: 0.5rem;
924 + width: 15rem;
911 925 }
912 -.w_block-btns [class^=w_btn]:hover {
913 - background-position: right center;
926 +.wowp .wowp-snippets__tabs-tab {
927 + font-weight: 500;
928 + font-size: 0.875rem;
929 + line-height: 1.25rem;
930 + padding: 0.5rem 1rem;
931 + cursor: pointer;
932 + border-radius: 0.25rem;
933 + color: var(--wowp-gray-900);
934 + display: flex;
935 + align-items: center;
936 + gap: 0.75rem;
914 937 }
915 -.w_block-btns .w_btn-pro {
916 - background-image: linear-gradient(to right, #FFD500 0%, #E86E2C 51%, #FFD500 100%);
938 +.wowp .wowp-snippets__tabs-tab .icon {
939 + font-size: 1rem;
917 940 }
918 -.w_block-btns .w_btn-demo {
919 - background-image: linear-gradient(to right, #005BBF 0%, #800080 51%, #005BBF 100%);
941 +.wowp .wowp-snippets__tabs-tab:hover {
942 + color: var(--wowp-color-blue);
920 943 }
921 -
922 -h4.wowp-title {
923 - font-size: 32px;
924 - font-weight: 600;
925 - line-height: 1.125;
926 - margin: 0 0 48px;
927 - padding: 0;
928 - color: var(--wowp-dark);
944 +.wowp .wowp-snippets__tabs-content {
945 + position: absolute;
946 + top: -99999px;
947 + left: -99999px;
948 + max-width: 42rem;
949 + width: 100%;
929 950 }
930 -
931 -.w_card {
932 - position: relative;
933 - background-color: #fff;
934 - border-radius: 6px;
935 - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
936 - padding: 15px;
937 - text-decoration: none;
938 - color: #363636;
951 +.wowp .wowp-snippets__tabs-content > .wowp-button {
952 + margin-top: 1rem;
939 953 }
940 -.w_card-media {
941 - position: absolute;
942 - top: -6px;
943 - left: -12px;
944 - background-color: #fdf2ed;
945 - width: 56px;
946 - height: 56px;
947 - border-radius: 6px;
948 - display: flex;
949 - align-items: center;
950 - color: orange;
951 - font-size: 32px;
952 - justify-content: center;
953 - margin: 0;
954 +.wowp #wowp-tab-content:checked ~ [data-content=wowp-tab-content] {
955 + position: static;
954 956 }
955 -.w_card-content {
956 - display: flex;
957 - gap: 28px;
958 - flex-direction: column;
957 +.wowp #wowp-tab-content:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-content] {
958 + background-color: var(--wowp-gray-100);
959 959 }
960 -.w_card-title {
961 - font-size: 22px;
962 - font-weight: 700;
963 - margin: 0 0 0 44px;
960 +.wowp #wowp-tab-admin:checked ~ [data-content=wowp-tab-admin] {
961 + position: static;
964 962 }
965 -.w_card-description {
966 - font-size: 16px;
967 - display: -webkit-box;
968 - -webkit-line-clamp: 2;
969 - -webkit-box-orient: vertical;
970 - overflow: hidden;
971 - text-overflow: ellipsis;
972 - cursor: pointer;
973 - margin: 0;
963 +.wowp #wowp-tab-admin:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-admin] {
964 + background-color: var(--wowp-gray-100);
974 965 }
975 -.w_card-description.is-open {
976 - overflow: visible;
977 - display: block;
978 - -webkit-line-clamp: unset;
966 +.wowp #wowp-tab-login:checked ~ [data-content=wowp-tab-login] {
967 + position: static;
979 968 }
980 -
981 -[class^=w_boxes] {
982 - display: grid;
983 - gap: 22px;
969 +.wowp #wowp-tab-login:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-login] {
970 + background-color: var(--wowp-gray-100);
984 971 }
985 -
986 -.w_boxes__3-col {
987 - grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
972 +.wowp #wowp-tab-media:checked ~ [data-content=wowp-tab-media] {
973 + position: static;
988 974 }
989 -
990 -.changelog-list {
991 - max-width: 750px;
992 - margin-inline: auto;
975 +.wowp #wowp-tab-media:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-media] {
976 + background-color: var(--wowp-gray-100);
993 977 }
994 -.changelog-list h4 {
995 - font-size: 22px;
996 - padding-bottom: 0.75rem;
997 - border-bottom: 2px solid #FADFD0;
998 - margin-bottom: 1rem;
999 - display: inline-block;
978 +.wowp #wowp-tab-core:checked ~ [data-content=wowp-tab-core] {
979 + position: static;
1000 980 }
1001 -.changelog-list ul li {
1002 - font-size: 16px;
1003 - line-height: 1.5;
1004 - padding-left: 8px;
981 +.wowp #wowp-tab-core:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-core] {
982 + background-color: var(--wowp-gray-100);
1005 983 }
1006 -.changelog-list ul li::marker {
1007 - font-size: 12px;
984 +.wowp #wowp-tab-comments:checked ~ [data-content=wowp-tab-comments] {
985 + position: static;
1008 986 }
1009 -.changelog-list ul li.added::marker {
1010 - content: "✅";
987 +.wowp #wowp-tab-comments:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-comments] {
988 + background-color: var(--wowp-gray-100);
1011 989 }
1012 -.changelog-list ul li.fixed::marker {
1013 - content: "🛠";
990 +.wowp #wowp-tab-optimization:checked ~ [data-content=wowp-tab-optimization] {
991 + position: static;
1014 992 }
1015 -.changelog-list ul li.initial::marker {
1016 - content: "📢";
993 +.wowp #wowp-tab-optimization:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-optimization] {
994 + background-color: var(--wowp-gray-100);
1017 995 }
1018 -
1019 -#code-attributes .dashicons,
1020 -#dequeue .dashicons,
1021 -#includes-files .dashicons,
1022 -#schedule .dashicons,
1023 -#display-rules .dashicons {
1024 - color: var(--wowp-danger);
1025 - cursor: pointer;
996 +.wowp .popover-container {
997 + position: relative;
998 + display: inline-block;
999 +}
1000 +.wowp .popover {
1026 1001 position: absolute;
1002 + top: calc(100% + 0.75rem);
1027 1003 right: 0;
1028 - top: 0;
1029 - transform: translateX(calc(100% + 5px));
1004 + background: white;
1005 + border: 1px solid var(--wowp-gray-100);
1006 + padding: 10px;
1007 + border-radius: 6px;
1008 + box-shadow: var(--wowp-shadow);
1009 + display: none;
1010 + z-index: 1000;
1011 + width: 160px;
1030 1012 }
1031 -
1032 -.CodeMirror {
1033 - border: 1px solid var(--wowp-border);
1034 - font-size: 13px;
1013 +.wowp .wowp-pro {
1014 + margin-block: 1.5rem;
1015 +}
1016 +.wowp .wowp-pro + input[type=submit] {
1017 + display: none;
1018 +}
1019 +.wowp .wowp-pro .wowp-fieldset__header {
1020 + padding-inline: 1.5rem;
1021 +}
1022 +.wowp .wowp-pro__features {
1023 + display: grid;
1024 + grid-template-columns: repeat(1, minmax(0, 1fr));
1025 + margin-top: 2.5rem;
1026 + max-width: 96rem;
1035 1027 width: 100%;
1036 - min-height: 60vh !important;
1037 - height: calc(100vh - 295px) !important;
1038 - box-sizing: border-box;
1028 + margin-inline: auto;
1029 + gap: 2rem;
1030 + padding-inline: 0.5rem;
1039 1031 }
1040 -
1041 -.wpcoder-global-php .CodeMirror-sizer:before {
1042 - content: "<?php\a defined( 'ABSPATH' ) || exit;\a\a";
1043 - white-space: pre;
1032 +@media (width >= 80rem) {
1033 + .wowp .wowp-pro__features {
1034 + grid-template-columns: repeat(2, minmax(0, 1fr));
1035 + }
1044 1036 }
1045 -
1046 -.wpcoder-global-php .CodeMirror-sizer:before {
1047 - color: #848A8A;
1048 - position: absolute;
1037 +.wowp .wowp-pro__feature {
1038 + display: flex;
1039 + gap: 1rem;
1049 1040 }
1050 -
1051 -.wpcoder-global-php .CodeMirror-lines {
1052 - padding-top: 50px;
1041 +.wowp .wowp-pro-feature__icon {
1042 + width: 3rem;
1043 + height: 3rem;
1044 + display: flex;
1045 + align-items: center;
1046 + justify-content: center;
1047 + box-shadow: var(--wowp-shadow);
1048 + border-radius: 0.25rem;
1053 1049 }
1054 -
1055 -.highlighted-gutter {
1056 - background-color: #e8f2ff;
1057 - border-left: 5px solid var(--wowp-orange);
1050 +.wowp .wowp-pro-feature__icon span {
1051 + font-size: 1.5rem;
1052 + color: var(--wowp-gray-900);
1058 1053 }
1054 +.wowp .wowp-pro-feature__content {
1055 + display: flex;
1056 + flex-direction: column;
1057 + gap: 0.25rem;
1058 + flex: 1;
1059 +}
1060 +.wowp .wowp-pro-feature__title {
1061 + color: var(--wowp-gray-900);
1062 + font-weight: 700;
1063 + font-size: 1.25rem;
1064 + line-height: 1.75rem;
1065 +}
1066 +.wowp .wowp-pro-feature__desc {
1067 + color: var(--wowp-gray-500);
1068 + font-weight: 300;
1069 + font-size: 1.25rem;
1070 + line-height: 1.75rem;
1071 +}
1059 1072
1060 1073 .wowp-notification {
1061 - --notification-color: var(--wowp-dark);
1074 + --_color: var(--wowp-gray-900);
1062 1075 position: relative;
1063 - background-color: color-mix(in srgb, var(--notification-color) 7%, white);
1076 + background-color: color-mix(in srgb, var(--_color) 7%, white);
1064 1077 border-width: 1px;
1065 1078 border-style: solid;
1066 - border-color: var(--notification-color);
1079 + border-color: var(--_color);
1067 1080 padding-block: 1.25rem;
1068 1081 padding-inline: 3rem 1.25rem;
1069 1082 border-radius: 4px;
1070 - margin-block: 15px;
1083 + margin-block: 1rem;
1071 1084 }
1072 1085 .wowp-notification:before {
1073 1086 position: absolute;
1074 1087 left: 0.5rem;
@@ -1073,9 +1086,9 @@
1073 1086 position: absolute;
1074 1087 left: 0.5rem;
1075 1088 top: 50%;
1076 1089 transform: translateY(-50%);
1077 - content: "";
1090 + content: "";
1078 1091 font-family: dashicons;
1079 1092 font-size: 1.5rem;
1080 1093 width: 2rem;
1081 1094 height: 2rem;
@@ -1081,9 +1094,9 @@
1081 1094 height: 2rem;
1082 1095 display: flex;
1083 1096 align-items: center;
1084 1097 justify-content: center;
1085 - color: var(--notification-color);
1098 + color: var(--_color);
1086 1099 }
1087 1100 .wowp-notification:after {
1088 1101 position: absolute;
1089 1102 content: "";
@@ -1092,36 +1105,92 @@
1092 1105 transform: translateY(-50%);
1093 1106 height: 2rem;
1094 1107 width: 3px;
1095 1108 border-radius: 0 3px 3px 0;
1096 - background-color: var(--notification-color);
1109 + background-color: var(--_color);
1097 1110 }
1098 -.wowp-notification.-info {
1099 - --notification-color: var(--wowp-blue);
1111 +.wowp-notification.notification-info {
1112 + --_color: var(--wowp-color-blue);
1100 1113 }
1101 -.wowp-notification.-info:before {
1114 +.wowp-notification.notification-info:before {
1102 1115 content: "";
1103 1116 }
1104 -.wowp-notification.-warning {
1105 - --notification-color: var(--wowp-yellow);
1117 +.wowp-notification.notification-warning {
1118 + --_color: var(--wowp-color-yellow);
1106 1119 }
1107 -.wowp-notification.-warning:before {
1120 +.wowp-notification.notification-warning:before {
1108 1121 content: "";
1109 1122 }
1110 -.wowp-notification.-error {
1111 - --notification-color: var(--wowp-danger);
1123 +.wowp-notification.notification-error {
1124 + --_color: var(--wowp-color-red);
1112 1125 }
1113 -.wowp-notification.-error:before {
1126 +.wowp-notification.notification-error:before {
1114 1127 content: "";
1115 1128 }
1116 -.wowp-notification.-lock {
1117 - --notification-color: var(--wowp-danger);
1129 +.wowp-notification.notification-lock {
1130 + --_color: var(--wowp-color-red);
1118 1131 }
1119 -.wowp-notification.-lock:before {
1132 +.wowp-notification.notification-lock:before {
1120 1133 content: "";
1121 1134 }
1122 -.wowp-notification.-success {
1123 - --notification-color: var(--wowp-success);
1135 +.wowp-notification.notification-success {
1136 + --_color: var(--wowp-color-green);
1124 1137 }
1125 -.wowp-notification.-success:before {
1138 +.wowp-notification.notification-success:before {
1126 1139 content: "";
1140 +}
1141 +
1142 +.wowp-list {
1143 + padding: 50px 46px 50px 16px;
1144 +}
1145 +.wowp-list .wowp-field input[type=text] {
1146 + min-width: unset;
1147 + width: auto;
1148 +}
1149 +
1150 +.wowp-toogle {
1151 + display: flex;
1152 + align-items: center;
1153 + position: relative;
1154 + text-decoration: none;
1155 + color: #ffffff;
1156 + width: 40px;
1157 + height: 28px;
1158 + border-radius: 50px;
1159 + padding: 0 4px;
1160 +}
1161 +.wowp-toogle:focus, .wowp-toogle:hover {
1162 + color: #ffffff;
1163 +}
1164 +
1165 +.wowp-toogle span {
1166 + height: 20px;
1167 + width: 20px;
1168 + display: flex;
1169 + align-items: center;
1170 + justify-content: center;
1171 + border-radius: 50%;
1172 + font-size: 8px;
1173 +}
1174 +
1175 +.wowp-toogle.is-on {
1176 + background-color: color-mix(in srgb, var(--wowp-color-green) 20%, white);
1177 +}
1178 +
1179 +.wowp-toogle.is-on span {
1180 + background-color: var(--wowp-color-green);
1181 +}
1182 +.wowp-toogle.is-on:focus span, .wowp-toogle.is-on:hover span {
1183 + background-color: color-mix(in srgb, var(--wowp-color-green) 90%, black);
1184 +}
1185 +
1186 +.wowp-toogle.is-off {
1187 + flex-direction: row-reverse;
1188 + background-color: color-mix(in srgb, var(--wowp-color-red) 20%, white);
1189 +}
1190 +
1191 +.wowp-toogle.is-off span {
1192 + background-color: var(--wowp-color-red);
1193 +}
1194 +.wowp-toogle.is-off:focus span, .wowp-toogle.is-off:hover span {
1195 + background-color: color-mix(in srgb, var(--wowp-color-red) 90%, black);
1127 1196 }