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