PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.4
CookieAdmin – Cookie Consent Banner v1.2.4
1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
← All changes | assets/css/cookie.css +1089 -651 1.0.41.2.4 View file →
@@ -1,114 +1,653 @@
1 1 :root {
2 - --cookieadmin-primary-color: #001d39;
3 - --cookieadmin-primary-hover-color: #985e23;
4 -
5 - --cookieadmin-secondary-color: #0046b2;
6 - --cookieadmin-secondary-hover-color: #0065ff;
7 -
8 - --cookieadmin-txcolor: #0f172a;
9 -
10 - --cookieadmin-green-txtcolor: #3a8356;
11 - --cookieadmin-warning-txtcolor: #9c7930;
12 - --cookieadmin-red-txtcolor: #b55355;
13 -
14 - --cookieadmin-green-color: #15a448;
15 - --cookieadmin-warning-color: #e9b306;
16 - --cookieadmin-red-color: #dd2727;
2 + --cookieadmin-primary: #001d39;
3 + --cookieadmin-primary-hover: #002a54;
4 + --cookieadmin-primary-light: #f0f4f8;
5 +
6 + --cookieadmin-surface: #ffffff;
7 + --cookieadmin-surface-secondary: #f8fafc;
8 + --cookieadmin-border: #e2e8f0;
9 + --cookieadmin-border-light: #f1f5f9;
10 +
11 + --cookieadmin-text: #1e293b;
12 + --cookieadmin-text-muted: #64748b;
13 + --cookieadmin-text-soft: #94a3b8;
14 +
15 + --cookieadmin-success: #16a34a;
16 + --cookieadmin-success-bg: #f0fdf4;
17 + --cookieadmin-success-border: #bbf7d0;
18 +
19 + --cookieadmin-warning: #f59e0b;
20 + --cookieadmin-warning-bg: #fffbeb;
21 + --cookieadmin-warning-border: #fde68a;
22 +
23 + --cookieadmin-danger: #dc2626;
24 + --cookieadmin-danger-bg: #fef2f2;
25 + --cookieadmin-danger-border: #fecaca;
26 +
27 + --cookieadmin-info: #2563eb;
28 + --cookieadmin-info-bg: #eff6ff;
29 + --cookieadmin-info-border: #bfdbfe;
30 +
31 + --cookieadmin-radius: 6px;
32 + --cookieadmin-radius-lg: 8px;
33 + --cookieadmin-radius-sm: 4px;
34 +
35 + --cookieadmin-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
36 + --cookieadmin-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
37 + --cookieadmin-shadow-md: 0 4px 12px rgba(0,0,0,.06);
38 +
39 + --cookieadmin-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
17 40 }
18 41
19 -/* Header */
20 -.cookieadmin-metabox-holder{
21 - background-color: #ffffff;
22 - padding: 10px;
23 - margin-top:20px;
42 +/* Base wrapper */
43 +.cookieadmin-metabox-holder {
44 + background: var(--cookieadmin-surface-secondary);
24 45 min-height: 90vh;
46 + font-family: var(--cookieadmin-font);
47 + color: var(--cookieadmin-text);
48 + margin-left:-20px;
49 + display:flex;
50 + flex-direction:column;
51 +}
52 +
53 +/* ======== HEADER BAR ======== */
54 +.cookieadmin-header {
55 + background: var(--cookieadmin-surface);
56 + border-bottom: 1px solid var(--cookieadmin-border);
57 + padding: 0 24px;
58 + height: 56px;
25 59 display: flex;
60 + align-items: center;
61 + justify-content: space-between;
62 + flex-shrink: 0;
63 +}
64 +
65 +.cookieadmin-header-left {
66 + display: flex;
67 + align-items: center;
68 + gap: 16px;
69 +}
70 +
71 +.cookieadmin-header-left .cookieadmin-icon {
72 + height: 28px;
73 + display: flex;
74 + align-items: center;
75 +}
76 +
77 +.cookieadmin-header-left .cookieadmin-logo {
78 + height: 28px;
79 + width: auto;
80 +}
81 +
82 +.cookieadmin-header-version {
83 + font-size: 11px;
84 + font-weight: 600;
85 + color: var(--cookieadmin-text-soft);
86 + background: var(--cookieadmin-surface-secondary);
87 + padding: 2px 8px;
88 + border-radius: 99px;
89 + border: 1px solid var(--cookieadmin-border);
90 + line-height: 1.4;
91 +}
92 +
93 +.cookieadmin-header-right {
94 + display: flex;
95 + align-items: center;
96 + gap: 12px;
97 +}
98 +
99 +.cookieadmin-header-link {
100 + color: var(--cookieadmin-text-muted);
101 + text-decoration: none;
102 + font-size: 13px;
103 + font-weight: 500;
104 + transition: color .15s ease;
105 + display: flex;
106 + align-items: center;
107 + gap: 4px;
108 +}
109 +
110 +.cookieadmin-header-link:hover {
111 + color: var(--cookieadmin-primary);
112 +}
113 +
114 +.cookieadmin-header-separator {
115 + width: 1px;
116 + height: 18px;
117 + background: var(--cookieadmin-border);
118 +}
119 +
120 +
121 +/* ======== PAGE TITLE ======== */
122 +.cookieadmin-page-title {
123 + padding: 24px 24px 0 24px;
124 + margin: 0;
125 + font-size: 1.25rem;
126 + font-weight: 600;
127 + color: var(--cookieadmin-text);
128 +}
129 +
130 +/* ======== CONTENT AREA ======== */
131 +.cookieadmin-postbox-container {
132 + padding: 16px 24px 24px;
133 + max-width: 100%;
134 +}
135 +
136 +/* ======== FOOTER ======== */
137 +.cookieadmin-footer {
138 + border-top: 1px solid var(--cookieadmin-border);
139 + padding: 16px 24px;
140 + text-align: center;
141 + font-size: 12px;
142 + color: var(--cookieadmin-text-soft);
143 + margin-top:auto;
144 +}
145 +
146 +.cookieadmin-footer a {
147 + color: var(--cookieadmin-text-muted);
148 + text-decoration: none;
149 +}
150 +
151 +.cookieadmin-footer a:hover {
152 + color: var(--cookieadmin-primary);
153 +}
154 +
155 +/* ======== NOTICES ======== */
156 +.cookieadmin-notice {
157 + margin: 0 24px 0 24px;
158 +}
159 +
160 +/* ======== CONFLICT NOTICE ======== */
161 +.cookieadmin-conflict-notice {
162 + display: flex;
163 + align-items: center;
164 + justify-content: center;
165 + gap: 6px;
166 + margin-left: -20px;
167 + padding: 6px 24px;
168 + background: var(--cookieadmin-warning-bg);
169 + border-bottom: 1px solid var(--cookieadmin-warning-border);
170 + color: var(--cookieadmin-text);
171 + font-size: 13px;
172 + text-align: center;
173 +}
174 +.cookieadmin-conflict-notice .dashicons {
175 + color: var(--cookieadmin-warning);
176 + font-size: 16px;
177 + width: 16px;
178 + height: 16px;
179 + flex-shrink: 0;
180 +}
181 +
182 +/* ======== CARD ======== */
183 +.cookieadmin-card {
184 + background: var(--cookieadmin-surface);
185 + border: 1px solid var(--cookieadmin-border);
186 + border-radius: var(--cookieadmin-radius-sm);
187 + box-shadow: var(--cookieadmin-shadow-sm);
188 + margin-bottom: 16px;
189 +}
190 +
191 +.cookieadmin-card-header {
192 + padding: 16px 20px;
193 + border-bottom: 1px solid var(--cookieadmin-border);
194 + display: flex;
195 + align-items: center;
196 + justify-content: space-between;
197 +}
198 +
199 +.cookieadmin-card-title {
200 + font-size: 14px;
201 + font-weight: 600;
202 + color: var(--cookieadmin-text);
203 + display: flex;
204 + align-items: center;
205 + gap: 8px;
206 +}
207 +
208 +.cookieadmin-card-body {
209 + padding: 20px;
210 +}
211 +
212 +/* ======== DASHBOARD STATS ======== */
213 +.cookieadmin-stats-grid {
214 + display: grid;
215 + grid-template-columns: repeat(4, 1fr);
216 + gap: 16px;
217 + margin-bottom: 16px;
218 +}
219 +
220 +.cookieadmin-stat-card {
221 + background: var(--cookieadmin-surface);
222 + border: 1px solid var(--cookieadmin-border);
223 + border-radius: var(--cookieadmin-radius-sm);
224 + padding: 20px;
225 + box-shadow: var(--cookieadmin-shadow-sm);
226 + position: relative;
227 + overflow: hidden;
228 +}
229 +
230 +.cookieadmin-stat-icon {
231 + width: 36px;
232 + height: 36px;
233 + border-radius: var(--cookieadmin-radius);
234 + display: flex;
235 + align-items: center;
236 + justify-content: center;
237 + margin-bottom: 12px;
238 +}
239 +
240 +.cookieadmin-stat-icon--green {
241 + background: var(--cookieadmin-success-bg);
242 + color: var(--cookieadmin-success);
243 +}
244 +
245 +.cookieadmin-stat-icon--blue {
246 + background: var(--cookieadmin-info-bg);
247 + color: var(--cookieadmin-info);
248 +}
249 +
250 +.cookieadmin-stat-icon--amber {
251 + background: var(--cookieadmin-warning-bg);
252 + color: var(--cookieadmin-warning);
253 +}
254 +
255 +.cookieadmin-stat-icon--navy {
256 + background: var(--cookieadmin-primary-light);
257 + color: var(--cookieadmin-primary);
258 +}
259 +
260 +.cookieadmin-stat-label {
261 + font-size: 13px;
262 + color: var(--cookieadmin-text-muted);
263 + margin-bottom: 4px;
264 +}
265 +
266 +.cookieadmin-stat-value {
267 + font-size: 1.5rem;
268 + font-weight: 700;
269 + color: var(--cookieadmin-text);
270 + line-height: 1.2;
271 +}
272 +
273 +.cookieadmin-stat-edit {
274 + font-size: 12px;
275 + color: var(--cookieadmin-primary);
276 + text-decoration: none;
277 + margin-left: 4px;
278 + font-weight: 500;
279 +}
280 +
281 +.cookieadmin-stat-edit:hover {
282 + text-decoration: underline;
283 +}
284 +
285 +/* ======== TOGGLE SWITCH (shadcn-style) ======== */
286 +.cookieadmin-toggle-wrap {
287 + display: inline-flex;
288 + align-items: center;
289 + cursor: pointer;
290 +}
291 +
292 +.cookieadmin-toggle-wrap input[type="checkbox"] {
293 + position: absolute;
294 + opacity: 0;
295 + width: 0;
296 + height: 0;
297 + pointer-events: none;
298 +}
299 +
300 +.cookieadmin-toggle-track {
301 + width: 40px;
302 + height: 22px;
303 + background: var(--cookieadmin-text-soft);
304 + border-radius: 99px;
305 + position: relative;
306 + transition: background .2s ease;
307 + box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
308 +}
309 +
310 +.cookieadmin-toggle-wrap input:checked + .cookieadmin-toggle-track {
311 + background: var(--cookieadmin-primary);
312 +}
313 +
314 +.cookieadmin-toggle-thumb {
315 + position: absolute;
316 + top: 2px;
317 + left: 2px;
318 + width: 18px;
319 + height: 18px;
320 + border-radius: 50%;
321 + background: #fff;
322 + box-shadow: 0 1px 3px rgba(0,0,0,.2);
323 + transition: transform .2s ease;
324 +}
325 +
326 +.cookieadmin-toggle-wrap input:checked + .cookieadmin-toggle-track .cookieadmin-toggle-thumb {
327 + transform: translateX(18px);
328 +}
329 +
330 +/* keep old class for legacy compat */
331 +.cookieadmin_toggle {
332 + position: relative;
333 + display: inline-block;
334 + width: 40px;
335 + height: 22px;
336 +}
337 +
338 +.cookieadmin_toggle input {
339 + opacity: 0;
340 + width: 0;
341 + height: 0;
342 +}
343 +
344 +.cookieadmin_slider {
345 + position: absolute;
346 + cursor: pointer;
347 + top: 0;
348 + left: 0;
349 + right: 0;
350 + bottom: 0;
351 + background: var(--cookieadmin-text-soft);
352 + border-radius: 99px;
353 + transition: background .2s ease;
354 + box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
355 +}
356 +
357 +.cookieadmin_slider:before {
358 + position: absolute;
359 + content: "";
360 + height: 18px;
361 + width: 18px;
362 + left: 2px;
363 + bottom: 2px;
364 + background: #fff;
365 + border-radius: 50%;
366 + transition: transform .2s ease;
367 + box-shadow: 0 1px 3px rgba(0,0,0,.2);
368 +}
369 +
370 +.cookieadmin_toggle input:checked + .cookieadmin_slider {
371 + background: var(--cookieadmin-primary);
372 +}
373 +
374 +.cookieadmin_toggle input:checked + .cookieadmin_slider:before {
375 + transform: translateX(18px);
376 +}
377 +
378 +.cookieadmin_toggle input:disabled + .cookieadmin_slider {
379 + opacity: .5;
380 +}
381 +
382 +/* ======== BUTTONS ======== */
383 +.cookieadmin-btn {
384 + display: inline-flex;
385 + align-items: center;
386 + justify-content: center;
387 + gap: 6px;
388 + outline: 0;
389 + cursor: pointer;
390 + padding: 8px 16px;
391 + border-radius: var(--cookieadmin-radius);
392 + border: 1px solid transparent;
393 + font-weight: 500;
394 + font-size: 13px;
395 + line-height: 1.4;
396 + text-decoration: none;
397 + transition: all .15s ease;
398 + font-family: var(--cookieadmin-font);
399 +}
400 +
401 +.cookieadmin-btn-primary {
402 + background: var(--cookieadmin-primary);
403 + border-color: var(--cookieadmin-primary);
404 + color: #fff;
405 +}
406 +
407 +.cookieadmin-btn-primary:hover {
408 + background: var(--cookieadmin-primary-hover);
409 + border-color: var(--cookieadmin-primary-hover);
410 +}
411 +
412 +.cookieadmin-btn-secondary {
413 + background: var(--cookieadmin-surface);
414 + border-color: var(--cookieadmin-border);
415 + color: var(--cookieadmin-text);
416 +}
417 +
418 +.cookieadmin-btn-secondary:hover {
419 + background: var(--cookieadmin-surface-secondary);
420 + border-color: var(--cookieadmin-text-soft);
421 +}
422 +
423 +.cookieadmin-btn-danger {
424 + background: var(--cookieadmin-danger);
425 + border-color: var(--cookieadmin-danger);
426 + color: #fff;
427 +}
428 +
429 +.cookieadmin-btn-danger:hover {
430 + background: #b91c1c;
431 + border-color: #b91c1c;
432 +}
433 +
434 +.cookieadmin-btn-ghost {
435 + background: transparent;
436 + border-color: transparent;
437 + color: var(--cookieadmin-text-muted);
438 + padding: 6px 10px;
439 +}
440 +
441 +.cookieadmin-btn-ghost:hover {
442 + background: var(--cookieadmin-surface-secondary);
443 + color: var(--cookieadmin-text);
444 +}
445 +
446 +.cookieadmin-btn-sm {
447 + padding: 4px 10px;
448 + font-size: 12px;
449 +}
450 +
451 +/* ======== STICKY SAVE BAR ======== */
452 +.cookieadmin-save-bar {
453 + position: sticky;
454 + bottom: 0;
455 + background: var(--cookieadmin-surface);
456 + border-top: 1px solid var(--cookieadmin-border);
457 + padding: 12px 24px;
458 + display: flex;
459 + align-items: center;
460 + justify-content: flex-end;
461 + gap: 10px;
462 + z-index: 10;
463 + box-shadow: 0 -2px 8px rgba(0,0,0,.04);
464 +}
465 +
466 +/* ======== FORM INPUTS ======== */
467 +.cookieadmin-metabox-holder input[type="text"],
468 +.cookieadmin-metabox-holder input[type="number"],
469 +.cookieadmin-metabox-holder input[type="url"],
470 +.cookieadmin-metabox-holder textarea,
471 +.cookieadmin-metabox-holder select {
472 + padding: 8px 12px;
473 + border: 1px solid var(--cookieadmin-border);
474 + border-radius: var(--cookieadmin-radius);
475 + font-size: 14px;
476 + line-height: 1.5;
477 + color: var(--cookieadmin-text);
478 + background: var(--cookieadmin-surface);
479 + transition: border-color .15s ease;
480 + font-family: var(--cookieadmin-font);
481 + box-shadow: none;
482 +}
483 +
484 +.cookieadmin-metabox-holder input[type="text"]:focus,
485 +.cookieadmin-metabox-holder input[type="number"]:focus,
486 +.cookieadmin-metabox-holder input[type="url"]:focus,
487 +.cookieadmin-metabox-holder textarea:focus,
488 +.cookieadmin-metabox-holder select:focus {
489 + border-color: var(--cookieadmin-primary);
490 + outline: none;
491 + box-shadow: 0 0 0 3px rgba(0,29,57,.1);
492 +}
493 +
494 +.cookieadmin-metabox-holder input[type="text"]:disabled,
495 +.cookieadmin-metabox-holder textarea:disabled,
496 +.cookieadmin-metabox-holder select:disabled {
497 + background: var(--cookieadmin-surface-secondary);
498 + color: var(--cookieadmin-text-soft);
499 + cursor: not-allowed;
500 +}
501 +
502 +/* ======== COLOR PICKER ======== */
503 +.cookieadmin-color-holder {
504 + display: flex;
505 + align-items: center;
506 + gap: 8px;
507 + padding: 6px 10px;
508 + border: 1px solid var(--cookieadmin-border);
509 + border-radius: var(--cookieadmin-radius);
510 + background: var(--cookieadmin-surface-secondary);
511 +}
512 +
513 +.cookieadmin-color-holder input[type="color"] {
514 + border: 0;
515 + padding: 0;
516 + margin: 0;
517 + width: 28px;
518 + height: 28px;
519 + cursor: pointer;
520 + border-radius: var(--cookieadmin-radius-sm);
521 +}
522 +
523 +.cookieadmin-color-input {
524 + max-width: 85px !important;
525 + text-align: center;
526 + border: 1px solid var(--cookieadmin-border) !important;
527 +}
528 +
529 +/* ======== SETTINGS ROW ======== */
530 +.cookieadmin-setting {
531 + display: flex;
532 + align-items: flex-start;
533 + padding: 14px 0;
534 + border-bottom: 1px solid var(--cookieadmin-border-light);
535 +}
536 +
537 +.cookieadmin-setting:last-child {
538 + border-bottom: none;
539 +}
540 +
541 +.cookieadmin-title {
542 + font-size: 14px;
543 + font-weight: 600;
544 + color: var(--cookieadmin-text);
545 + min-width: 200px;
546 + flex-shrink: 0;
547 + display: flex;
548 + align-items: center;
549 + gap: 6px;
550 +}
551 +
552 +.cookieadmin-setting-contents {
553 + flex: 1;
554 + display: flex;
555 + align-items: center;
556 + gap: 16px;
557 + flex-wrap: wrap;
558 +}
559 +
560 +/* ======== PRO BADGE ======== */
561 +.cookieadmin-pro-badge {
562 + display: inline-block;
563 + font-size: 10px;
564 + font-weight: 700;
565 + padding: 1px 6px;
566 + border-radius: 99px;
567 + background: var(--cookieadmin-primary);
568 + color: #fff;
569 + text-transform: uppercase;
570 + letter-spacing: .5px;
571 + line-height: 1.6;
572 + text-decoration: none;
573 + margin-left: 6px;
574 +}
575 +
576 +a.cookieadmin-pro-badge:hover {
577 + background: var(--cookieadmin-primary-hover);
578 + color: #fff;
579 +}
580 +
581 +/* ======== UTILITIES ======== */
582 +.cookieadmin-vertical {
583 + display: flex;
26 584 flex-direction: column;
585 + gap: 8px;
27 586 }
28 587
29 -/* Footer */
30 -.cookieadmin-twitter{
31 - border: 1px solid #E2E8F0;
32 - padding: 10px;
33 - border-radius: 1px;
34 - width:40%;
35 - background:#FFF;
36 - padding:15px;
37 - margin:auto;
588 +.cookieadmin-horizontal {
589 + display: flex;
590 + flex-direction: row;
591 + align-items: center;
592 + gap: 8px;
38 593 }
39 594
40 -.cookieadmin-footer{
41 - padding: 10px;
595 +.cookieadmin-flex-between {
596 + display: flex;
597 + align-items: center;
598 + justify-content: space-between;
42 599 }
43 600
44 -.cookieadmin-twitter > span{
45 - font-size:16px;
46 - font-weight:600;
601 +.cookieadmin-grid-2 {
602 + display: grid;
603 + grid-template-columns: 1fr 1fr;
604 + gap: 16px;
47 605 }
48 606
49 -.cookieadmin-twitter > input{
50 - margin-top:10px;
51 - float:right;
607 +.cookieadmin-mt-16 {
608 + margin-top: 16px;
52 609 }
53 610
54 -/* Buttons */
55 -.cookieadmin-btn{
56 -display: inline-flex;
57 -outline: 0;
58 -text-align: center;
59 -cursor: pointer;
60 -padding: 5px 10px 6px 10px;
61 -border-radius: 3px;
62 -border: 1px solid transparent;
63 -transition: background .3s ease, border-color .3s ease;
64 -font-weight: 600;
65 -font-size: 13px;
66 -text-decoration: none;
67 -gap: 8px;
68 -align-items:center;
69 -justify-content:center;
611 +.cookieadmin-mb-16 {
612 + margin-bottom: 16px;
70 613 }
71 614
72 -.cookieadmin-btn-primary{
73 -background: var(--cookieadmin-primary-color);
74 -border-color: var(--cookieadmin-primary-color);
75 -color: #fff;
615 +.cookieadmin-green {
616 + color: var(--cookieadmin-success);
76 617 }
77 618
78 -.cookieadmin-btn-primary:hover{
79 -background: var(--cookieadmin-primary-hover-color);
80 -border-color: var(--cookieadmin-primary-hover-color);
619 +.cookieadmin-red {
620 + color: var(--cookieadmin-danger);
81 621 }
82 622
83 -.cookieadmin-btn-secondary{
84 -background: var(--cookieadmin-secondary-color);
85 -border-color: var(--cookieadmin-secondary-color);
86 -color: #fff;
623 +.cookieadmin-text-muted {
624 + color: var(--cookieadmin-text-muted);
87 625 }
88 626
89 -.cookieadmin-btn-secondary:hover{
90 -background: var(--cookieadmin-secondary-hover-color);
91 -border-color: var(--cookieadmin-secondary-hover-color);
627 +.cookieadmin-uppercase {
628 + text-transform: uppercase;
92 629 }
93 630
94 -.cookieadmin-btn-transparent{
95 -background-color:transparent;
96 -color: currentcolor;
631 +/* ======== SETTINGS CARD GROUPS ======== */
632 +.cookieadmin-settings-group {
633 + margin-bottom: 6px;
97 634 }
98 635
99 -.cookieadmin-btn-transparent:active{
100 - outline:0;
636 +.cookieadmin-settings-group .cookieadmin-card-header .cookieadmin-card-title .dashicons {
637 + font-size: 18px;
638 + width: 18px;
639 + height: 18px;
640 + color: var(--cookieadmin-primary);
101 641 }
102 642
103 -/* Buttons End */
104 643
644 +
645 +
646 +
647 +/* OLD CSS */
105 648 /* Dashboard Overview page css */
106 649
107 -.cookieadmin-postbox-container{
108 - flex:1;
109 -}
110 -
111 650 .cookieadmin-postbox-container h2{
112 651 display: flex;
113 652 align-items: center;
114 653 gap:10px;
@@ -172,17 +711,9 @@
172 711 .cookieadmin-block-link > a{
173 712 text-decoration:none;
174 713 }
175 714
176 -.cookieadmin-green{
177 -color: var(--cookieadmin-green-color);
178 -}
179 -
180 -.cookieadmin-red{
181 -color: var(--cookieadmin-red-color);
182 -}
183 -
184 -.view_column {
715 +.cookieadmin_view_column {
185 716 float: left;
186 717 width: 25%;
187 718 padding: 0 15px;
188 719 box-sizing: border-box;
@@ -188,20 +719,20 @@
188 719 box-sizing: border-box;
189 720 }
190 721
191 722 /* Clear floats after the columns */
192 -.view_row:after {
723 +.cookieadmin_view_row:after {
193 724 content: "";
194 725 display: table;
195 726 clear: both;
196 727 }
197 728
198 -.view_row{
729 +.cookieadmin_view_row{
199 730 margin: 15px 0px;
200 731 }
201 732
202 733 /* Style the counter cards */
203 -.card {
734 +.cookieadmin_card {
204 735 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
205 736 text-align: center;
206 737 background-color: #9ec1c0;
207 738 color: white;
@@ -209,52 +740,19 @@
209 740 margin: 5px;
210 741 min-width: 220px;
211 742 }
212 743
213 -.view_icon {font-size:50px;}
744 +.cookieadmin_view_icon {font-size:50px;}
214 745
215 746 /* Dashboard Overview page css End */
216 747
217 748
218 749 /* Consent page css */
219 -
220 -.cookieadmin-postbox-container {
221 - max-width: 92vw;
222 - float: unset;
223 - margin: 10px;
224 -}
225 -
226 -label, input {
227 - padding: 5px;
228 - margin-right: 5px;
229 - font-size: 15px;
230 -}
231 -
232 -label{
233 - font-weight: 501;
234 -}
235 -
236 -.cookieadmin_bottom{
237 - bottom:20px;
238 -}
239 -
240 -.cookieadmin_top{
241 - top: 20px;
242 -}
243 -
244 -.cookieadmin_right{
245 - right: 15px;
246 -}
247 -
248 -.cookieadmin_left{
249 - left:15px;
250 -}
251 -
252 -.hide{
750 +.cookieadmin_hide{
253 751 display:none;
254 752 }
255 753
256 -.title{
754 +.cookieadmin_title{
257 755 text-align: center;
258 756 color: black;
259 757 font-weight: 600;
260 758 font-size: 20px;
@@ -260,44 +758,8 @@
260 758 font-size: 20px;
261 759 margin: 2px;
262 760 }
263 761
264 -/* Modal animations */
265 -@keyframes slideUp {
266 - from {
267 - transform: translateY(100%);
268 - opacity: 0;
269 - }
270 - to {
271 - transform: translateY(0);
272 - opacity: 1;
273 - }
274 -}
275 -
276 -@keyframes slideSide {
277 - from {
278 - transform: translateX(-100%);
279 - opacity: 0;
280 - }
281 - to {
282 - transform: translateX(0);
283 - opacity: 1;
284 - }
285 -}
286 -
287 -/* Modal animations Ends */
288 -
289 -.cookieadmin_consent-header{
290 - display: flex;
291 - background: #12625f4d;
292 - color: black;
293 - padding: 12px;
294 - box-sizing: border-box;
295 - margin: 4px;
296 - align-items: center;
297 - justify-content: space-between;
298 -}
299 -
300 762 .cookieadmin_consent-contents {
301 763 display: flex;
302 764 margin: 0px 5px;
303 765 }
@@ -309,9 +771,9 @@
309 771 background: #ffffff;
310 772 /*margin-left: -3px;*/
311 773 }
312 774
313 -.law {
775 +.cookieadmin_law {
314 776 padding: 20px;
315 777 background: aliceblue;
316 778 margin: 10px;
317 779 height: fit-content;
@@ -322,26 +784,8 @@
322 784 .cookieadmin-contents {
323 785 width: 100%;
324 786 }
325 787
326 -.cookieadmin-setting {
327 - display: flex;
328 - padding: 6px 0px;
329 - justify-content: flex-start;
330 -}
331 -
332 -.cookieadmin-setting-head {
333 - width: 100%;
334 - padding: 5px;
335 - align-content: center;
336 -}
337 -
338 -.cookieadmin-setting-contents {
339 - align-items: baseline;
340 - padding: 5px;
341 - margin: 5px;
342 -}
343 -
344 788 .cookieadmin-setting-results {
345 789 align-items: baseline;
346 790 padding: 5px;
347 791 margin: 5px;
@@ -347,9 +791,9 @@
347 791 margin: 5px;
348 792 width: 80%;
349 793 }
350 794
351 -input[type="color"] {
795 +.cookieadmin-metabox-holder input[type="color"] {
352 796 border: 0px;
353 797 padding: 0px;
354 798 margin: 0px;
355 799 }
@@ -357,21 +801,14 @@
357 801 .cookieadmin-color-holder{
358 802 max-width: 110px;
359 803 }
360 804
361 -.cookieadmin-title {
362 - font-size:16px;
363 - font-weight:600;
364 - padding: 10px;
365 - margin: 5px;
366 - min-width: 15%;
367 -}
368 -
369 805 .cookieadmin-color-input{
370 806 border: 1px solid;
371 807 margin: 0px;
372 808 margin-left: -8px;
373 809 max-width: 75%;
810 + padding: 0 8px !important;
374 811 }
375 812
376 813 .cookieadmin-vertical{
377 814 display: flex;
@@ -388,20 +825,26 @@
388 825 .cookieadmin-input{
389 826 padding-right: 20px;
390 827 }
391 828
392 -.cookieadmin-collapsible-notice{
393 - padding: 9px;
394 - display: none;
395 - background-color: #ffffc6;
396 - font-size: 14px;
397 - border-radius: 4px;
398 - max-width: fit-content;
399 - margin: auto;
829 +/* ======== COLLAPSIBLE NOTICE ======== */
830 +.cookieadmin-collapsible-notice {
831 + padding: 10px 14px;
832 + background: var(--cookieadmin-warning-bg);
833 + border: 1px solid var(--cookieadmin-warning-border);
834 + border-radius: var(--cookieadmin-radius);
835 + font-size: 13px;
836 + color: var(--cookieadmin-text);
837 + margin-top: 8px;
838 + flex-basis: 100%;
839 + width: fit-content;
400 840 }
401 841
402 -.cookieadmin-collapsible-notice:before{
403 - content: "\1F6C8 ";
842 +.cookieadmin-collapsible-notice::before {
843 + content: "\F534";
844 + font-family: dashicons;
845 + margin-right: 6px;
846 + vertical-align: text-bottom;
404 847 }
405 848
406 849 .cookieadmin-policy-gens{
407 850 justify-content: space-evenly;
@@ -410,8 +853,13 @@
410 853 .cookieadmin-cookie-scan, .cookieadmin-consent-logs{
411 854 justify-content: end;
412 855 }
413 856
857 +.cookieadmin-cookie-scan{
858 + display: flex;
859 + flex-direction: row;
860 +}
861 +
414 862 .cookieadmin-setting-colors{
415 863 justify-content: space-between;
416 864 }
417 865
@@ -436,243 +884,38 @@
436 884
437 885
438 886 /* Website consent box */
439 887
440 -.cookieadmin_law_container{
441 - position: fixed;
442 - width: 330px;
443 - box-sizing: border-box;
444 - z-index: 99999;
445 - display: none;
446 -}
447 888
448 -.cookieadmin_consent_btns{
449 - align-content: center;
450 - display: flex;
451 - justify-content: space-evenly;
452 -}
453 889
454 -.cookieadmin_box{
455 - /*position: fixed;*/
456 - width: 330px;
457 - box-sizing: border-box;
458 - display: none;
459 -}
460 890
461 -.cookieadmin_notice_group{
462 - display: flex;
463 -}
464 891
465 -.cookieadmin_popup{
466 - position: fixed;
467 - width: 330px;
468 - box-sizing: border-box;
469 - z-index: 9999999;
470 - display: none;
471 -}
472 892
473 -.cookieadmin_consent_inside{
474 - color: black;
475 - background-color: #FFFFFF;
476 - border: 1px solid #f4f4f4;
477 - padding:15px;
478 - border-radius: 4px;
479 - box-shadow:1px 3px 10px rgba(0, 0, 0, 0.2);
480 -}
481 893
482 -#cookieadmin_notice_title{
483 - font-weight: 601;
484 - margin: 0px;
485 - padding-left: 5px;
486 -}
487 894
488 -.cookieadmin_notice_con{
489 - font-size: initial;
490 - padding: 0px 6px;
491 - flex: 1;
492 -}
493 895
494 -.cookieadmin_cookie_modal{
495 - display: none;
496 - flex-direction: column;
497 - position: fixed;
498 - max-height: 80vh;
499 - background-color: #FFFFFF;
500 - border: 1px solid #F4F4F4;
501 - border-radius: 8px;
502 - box-shadow: 0 4px 8px rgba(0,0,0,0.2);
503 - z-index: 999999;
896 +.cookieadmin_btn-primary {
897 + background-color: #007cba;
898 + color: white;
899 + border-color: #007cba;
504 900 }
505 901
506 -.cookieadmin_center{
507 - top: 10%;
508 - left: 22%;
509 - max-width: 60vw;
902 +.cookieadmin_btn-secondary {
903 + background-color: #f6f7f7;
904 + color: #007cba;
905 + border-color: #007cba;
510 906 }
511 907
512 -.cookieadmin_side{
513 - flex-direction: column;
514 - position: fixed;
515 - width: 35vw;
516 - bottom: 0px;
517 - animation: 0.5s ease-out forwards slideSide;
518 - max-height: 100vh;
519 - left: 0px;
520 - top: 0px;
521 - border-radius: 0px;
522 -}
523 -
524 -.cookieadmin_down{
525 - position: fixed;
526 - max-width: 100%;
527 - max-height: 55vh;
528 - bottom: 0px;
529 - animation: 0.5s ease-out forwards slideUp;
530 -}
531 -
532 -.cookieadmin_modal_overlay{
533 - display: none;
534 - position: fixed;
535 - top: 0;
536 - left: 0;
537 - width: 100%;
538 - height: 100%;
539 - background-color: rgba(0, 0, 0, 0.5);
540 - z-index: 1000;
541 -}
542 -
543 -.cookieadmin_mod_head{
544 - display: flex;
545 - justify-content: space-between;
546 -}
547 -
548 -.cookieadmin_mod_head, .cookieadmin_wrapper{
549 - padding: 20px;
550 - border-bottom: 1px solid #F4F4F4;
551 -}
552 -
553 -.cookieadmin_close_pref{
554 - background: none;
555 - border: none;
556 - align-self: baseline;
557 - color: gray;
558 - cursor: pointer;
559 -}
560 -
561 -.cookieadmin_preference_title{
562 - font-size: 20px;
563 - font-weight: 801;
564 -}
565 -
566 -.preference_details{
567 - padding: 0px 10px;
568 -}
569 -
570 -.cookieadmin_preference{
571 - overflow: hidden;
572 - height: 83px;
573 - font-size: 15px;
574 -}
575 -
576 -.cookieadmin_showmore{
577 - background: none;
578 - border: none;
579 - color: #1863dc;
580 - padding: 0px;
581 -}
582 -
583 -.cookieadmin_details_wrapper{
584 - padding: 15px;
585 - height: calc(100% - 6%);
586 - overflow: auto;
587 -}
588 -
589 -.cookieadmin_types{
590 - padding: 10px 10px;
591 - border-top: 1px solid #000000;
592 -}
593 -
594 -.cookieadmin_header{
595 - display: flex;
596 - justify-content: space-between;
597 -}
598 -
599 -.cookieadmin_remark{
600 - display:none;
601 - justify-self:right;
602 -}
603 -
604 -.act{
605 - display: inline;
606 - color: #1863dc;
607 -}
608 -
609 -.cookieadmin-nece-cookies{
610 - display:none;
611 - padding:1px;
612 - border-radius: 10px;
613 - margin: 0px 20px;
614 - margin-right: 4rem;
615 - font-size: smaller;
616 - font-size: 1rem;
617 - text-align: center;
618 -}
619 -
620 -.cookieadmin_desc{
621 - padding:5px 20px;
622 - font-size: 15px;
623 - padding-right: 4rem;
624 -}
625 -
626 -.cookieadmin_footer{
627 - width: 100%;
628 - left: 0px;
629 - padding: 15px;
630 - flex-wrap: wrap;
631 -}
632 -
633 -.cookieadmin_btn{
634 - background-color: transparent;
635 - border: 1px solid gray;
636 - color: #1863dc;
637 - padding: 0.4rem 0.9rem;
638 - border-radius: 4px;
639 - margin: 2px 5px;
640 - cursor: pointer;
641 -}
642 -
643 -.cookieadmin_btn:hover{
644 - opacity: 0.8;
645 -}
646 -
647 -.btn_accept{
908 +.cookieadmin_btn_accept{
648 909 color: #ffffff;
649 910 background-color: #1863dc;
650 911 border-color: rgb(24, 99, 220);
651 912 }
652 913
653 -.show_pref_cookies{
654 - cursor: pointer;
655 - font-size: 18px;
656 -}
657 -
658 -.pl0{
914 +.cookieadmin_pl0{
659 915 padding-left:0px;
660 916 }
661 917
662 -.cookieadmin_re_consent{
663 - display: none;
664 - position: fixed;
665 - bottom: 15px;
666 - left: 15px;
667 - background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%);
668 - height: 50px;
669 - width: 50px;
670 - border-radius: 50%;
671 - cursor: pointer;
672 - border: 0px;
673 - z-index: 99999;
674 -}
675 918
676 919 .cookieadmin-manager-cookie-scan, .cookieadmin-manager-consent-logs, .cookieadmin-manager-cookie-categorize{
677 920 flex-wrap: wrap;
678 921 justify-content: space-between;
@@ -678,19 +921,18 @@
678 921 justify-content: space-between;
679 922 }
680 923
681 924 .cookieadmin-manager-result{
682 - padding: 10px;
683 925 width: 100%;
684 926 }
685 927
686 -.cookieadmin-consent-logs-pagination{
928 +.cookieadmin-consent-logs-pagination, .cookieadmin-dns-requests-pagination{
687 929 padding: 15px;
688 930 margin: 5px;
689 931 width: 100%;
690 932 }
691 933
692 -.cookieadmin-logs-paginate{
934 +.cookieadmin-logs-paginate, .cookieadmin-dns-paginate{
693 935 font-size: 2em;
694 936 text-decoration:none;
695 937 }
696 938
@@ -703,56 +945,9 @@
703 945 width: 250px;
704 946 display: inline-block;
705 947 }
706 948
707 -.cookieadmin-cookie-card {
708 - background: ghostwhite;
709 - border-radius: 10px;
710 - padding: 16px;
711 - font-family: 'Open Sans', 'Segoe UI', sans-serif;
712 - box-shadow: 0 2px 6px rgba(0,0,0,0.1);
713 - margin: 10px auto;
714 - text-align: left;
715 -}
716 949
717 -.cookieadmin-cookie-header {
718 - display: flex;
719 - justify-content: space-between;
720 - font-size: 1rem;
721 - margin-bottom: 6px;
722 -}
723 -
724 -.cookieadmin-cookie-name {
725 - font-weight: bold;
726 - color: #333;
727 -}
728 -
729 -.cookieadmin-cookie-duration {
730 - font-size: 0.85rem;
731 -}
732 -
733 -.cookieadmin-cookie-duration > b {
734 - font-weight: bold;
735 -}
736 -
737 -.cookieadmin-cookie-description {
738 - font-size: 0.9rem;
739 - margin-bottom: 12px;
740 -}
741 -
742 -.cookieadmin-cookie-tags {
743 - display: flex;
744 - gap: 8px;
745 -}
746 -
747 -.cookieadmin-tag {
748 - background: #e0e0e0;
749 - padding: 4px 10px;
750 - border-radius: 12px;
751 - font-size: 0.75rem;
752 - color: #333;
753 -}
754 -
755 950 .cookieadmin-tag.active {
756 951 background: #000;
757 952 color: #fff;
758 953 }
@@ -772,200 +967,108 @@
772 967 }
773 968
774 969 /* Website consent box End*/
775 970
776 -
777 -
778 -
779 -
780 -/* Checkbox switch Start */
781 -
782 -.cookieadmin_toggle, .cookieadmin_toggle_disabled {
783 - position: relative;
784 - display: inline-block;
785 - width: 24px;
786 - height: 11px;
787 -}
788 -
789 -/* Hide the checkbox input */
790 -.cookieadmin_toggle input {
791 - display: none;
792 -}
793 -
794 -/* Describe slider's look and position. */
795 -.cookieadmin_slider {
796 - position: absolute;
797 - cursor: pointer;
798 - top: 0;
799 - left: 0;
800 - right: 0;
801 - bottom: 0;
802 - background-color: gray;
803 - transition: .4s;
804 - border-radius: 34px;
805 -}
806 -
807 -/* Describe the white ball's location
808 - and appearance in the slider. */
809 -.cookieadmin_slider:before {
810 - position: absolute;
811 - content: "";
812 - height: 15px;
813 - width: 15px;
814 - left: 3.2px;
815 - bottom: 3.2px;
816 - background-color: white;
817 - transition: .2s;
818 - border-radius: 50%;
819 -}
820 -
821 -/* Modify the slider's background color to
822 - green once the checkbox has been selected. */
823 -input:checked+.cookieadmin_slider {
824 - background-color: #3582c4;
825 -}
826 -
827 -/* When the checkbox is checked, shift the
828 - white ball towards the right within the slider. */
829 -input:checked+.cookieadmin_slider:before {
830 - transform: translateX(13px);
831 -}
832 -
833 -input:disabled+.cookieadmin_slider {
834 - background-color: #3582c4;
835 -}
836 -input:disabled+.cookieadmin_slider:before {
837 - transform: translateX(13px);
838 -}
839 -
840 -/* Checkbox switch End */
841 -
842 -
843 - /* --- Modal Styles Start --- */
844 -
845 -/* The Modal Overlay/Backdrop */
846 -.modal-overlay {
971 +/* ======== MODAL ======== */
972 +.cookieadmin_modal-overlay {
847 973 position: fixed;
848 974 top: 0;
849 975 left: 0;
850 976 width: 100%;
851 977 height: 100%;
852 - background-color: rgba(0, 0, 0, 0.6);
853 - display: none; /* Initially hidden */
978 + background: rgba(0,0,0,.5);
979 + display: none;
854 980 justify-content: center;
855 981 align-items: center;
856 - z-index: 1000;
982 + z-index: 100000;
857 983 }
858 984
859 -/* The Modal Container */
860 -.modal-container {
861 - background-color: #ffffff;
862 - border-radius: 4px;
863 - width: 100%;
864 - max-width: 600px;
865 - box-shadow: 0 5px 15px rgba(0,0,0,0.3);
985 +.cookieadmin_modal-overlay.active {
866 986 display: flex;
867 - flex-direction: column;
868 - overflow: hidden;
869 987 }
870 988
871 -/* When the modal is active */
872 -.modal-overlay.active {
873 - display: flex;
989 +.cookieadmin_modal-container {
990 + background: var(--cookieadmin-surface);
991 + border-radius: var(--cookieadmin-radius-lg);
992 + width: 100%;
993 + max-width: 520px;
994 + box-shadow: var(--cookieadmin-shadow-md);
995 + overflow: hidden;
874 996 }
875 997
876 -/* Modal Header */
877 -.modal-header {
998 +.cookieadmin_modal-header {
878 999 display: flex;
879 1000 justify-content: space-between;
880 1001 align-items: center;
881 - padding: 16px 24px;
882 - border-bottom: 1px solid #e0e0e0;
1002 + padding: 16px 20px;
1003 + border-bottom: 1px solid var(--cookieadmin-border);
883 1004 }
884 1005
885 -.modal-header h2 {
1006 +.cookieadmin_modal-header h2 {
886 1007 margin: 0;
887 - font-size: 1.25rem;
1008 + font-size: 1rem;
888 1009 font-weight: 600;
889 - color: #1d2327;
890 1010 }
891 1011
892 -.modal-close-btn {
1012 +.cookieadmin_dialog_modal_close_btn {
893 1013 background: none;
894 1014 border: none;
895 - font-size: 1.5rem;
1015 + font-size: 22px;
896 1016 cursor: pointer;
897 - color: #50575e;
1017 + color: var(--cookieadmin-text-muted);
1018 + line-height: 1;
1019 + padding: 0;
898 1020 }
899 1021
900 -/* Modal Body (the form) */
901 -.modal-body {
902 - padding: 24px;
1022 +.cookieadmin_dialog_modal_close_btn:hover {
1023 + color: var(--cookieadmin-text);
903 1024 }
904 1025
905 -.form-group {
906 - margin-bottom: 20px;
907 - display: grid;
908 - grid-template-columns: 120px 1fr; /* Label and Input alignment */
909 - align-items: center;
910 - gap: 16px;
1026 +.cookieadmin_modal-body {
1027 + padding: 20px;
911 1028 }
912 1029
913 -.form-group label {
914 - font-weight: 500;
915 - color: #1d2327;
1030 +.cookieadmin_modal-footer {
1031 + display: flex;
1032 + justify-content: flex-end;
1033 + align-items: center;
1034 + gap: 10px;
1035 + padding: 14px 20px;
1036 + border-top: 1px solid var(--cookieadmin-border);
1037 + background: var(--cookieadmin-surface-secondary);
916 1038 }
917 1039
918 -.form-group input,
919 -.form-group select,
920 -.form-group textarea {
921 - width: 95%;
922 - padding: 8px 12px;
923 - border: 1px solid #8c8f94;
924 - border-radius: 4px;
925 - font-size: 14px;
926 - box-sizing: border-box; /* Important for padding and width */
1040 +.cookieadmin_modal-footer .spinner.is-active{
1041 + margin:0;
927 1042 }
928 1043
929 -.form-group textarea {
930 - min-height: 120px;
931 - resize: vertical;
932 - align-self: flex-start; /* Align textarea with top of label */
1044 +.cookieadmin_form-group {
1045 + margin-bottom: 16px;
933 1046 }
934 1047
935 -/* Modal Footer */
936 -.modal-footer {
937 - display: flex;
938 - justify-content: flex-start;
939 - padding: 16px 24px;
940 - border-top: 1px solid #e0e0e0;
941 - background-color: #f6f7f7;
1048 +.cookieadmin_form-group label {
1049 + display: block;
1050 + font-weight: 500;
1051 + font-size: 13px;
1052 + margin-bottom: 6px;
1053 + color: var(--cookieadmin-text);
942 1054 }
943 1055
944 -.btn {
945 - padding: 8px 16px;
946 - border-radius: 4px;
947 - border: 1px solid transparent;
1056 +.cookieadmin_form-group input,
1057 +.cookieadmin_form-group select,
1058 +.cookieadmin_form-group textarea {
1059 + width: 100%;
1060 + padding: 8px 12px;
1061 + border: 1px solid var(--cookieadmin-border);
1062 + border-radius: var(--cookieadmin-radius);
948 1063 font-size: 14px;
949 - font-weight: 600;
950 - cursor: pointer;
951 - margin-right: 10px;
952 1064 }
953 1065
954 -.btn-primary {
955 - background-color: #007cba;
956 - color: white;
957 - border-color: #007cba;
1066 +.cookieadmin_form-group textarea {
1067 + min-height: 80px;
1068 + resize: vertical;
958 1069 }
959 1070
960 -.btn-secondary {
961 - background-color: #f6f7f7;
962 - color: #007cba;
963 - border-color: #007cba;
964 -}
965 -
966 -/* --- Modal Styles End --- */
967 -
968 1071 /* Table */
969 1072
970 1073 .cookieadmin-table{
971 1074 padding: 2px;
@@ -1005,48 +1108,44 @@
1005 1108 }
1006 1109
1007 1110 /* Table End */
1008 1111
1009 -/* Badges End */
1010 -
1011 -.cookieadmin-badge{
1012 - display: inline-block;
1013 - padding: 3px 10px 5px 10px;
1014 - font-size: 14px;
1112 +/* ======== BADGES ======== */
1113 +.cookieadmin-badge {
1114 + display: inline-flex;
1115 + align-items: center;
1116 + padding: 2px 10px;
1117 + font-size: 12px;
1015 1118 font-weight: 600;
1016 - line-height: 1.1;
1017 - border-radius: 1rem;
1018 - color: #000;
1019 - border: 1px solid #000;
1020 - background-color: #fff;
1119 + line-height: 1.6;
1120 + border-radius: 99px;
1121 + border: 1px solid;
1021 1122 }
1022 1123
1023 -.cookieadmin-success{
1024 - color: #06923E;
1025 - border: 1px solid #16C47F;
1026 - background-color: #eefef4;
1124 +.cookieadmin-success {
1125 + color: var(--cookieadmin-success);
1126 + border-color: var(--cookieadmin-success-border);
1127 + background: var(--cookieadmin-success-bg);
1027 1128 }
1028 1129
1029 -.cookieadmin-warning{
1030 - color: #b49046;
1031 - border: 1px solid #b49046;
1032 - background-color: #fffbe8;
1130 +.cookieadmin-warning {
1131 + color: var(--cookieadmin-warning);
1132 + border-color: var(--cookieadmin-warning-border);
1133 + background: var(--cookieadmin-warning-bg);
1033 1134 }
1034 1135
1035 -.cookieadmin-danger{
1036 - color: #ED3500;
1037 - border: 1px solid #E55050;
1038 - background-color: #fef2f2;
1136 +.cookieadmin-danger {
1137 + color: var(--cookieadmin-danger);
1138 + border-color: var(--cookieadmin-danger-border);
1139 + background: var(--cookieadmin-danger-bg);
1039 1140 }
1040 1141
1041 -.cookieadmin-info{
1042 - color: #4682A9;
1043 - border: 1px solid #5EABD6;
1044 - background-color: #f0fbff;
1142 +.cookieadmin-info {
1143 + color: var(--cookieadmin-info);
1144 + border-color: var(--cookieadmin-info-border);
1145 + background: var(--cookieadmin-info-bg);
1045 1146 }
1046 1147
1047 -/* Badges End */
1048 -
1049 1148 .cookieadmin-cookie-categorized tbody > tr:first-child td::before {
1050 1149 content: "⮟";
1051 1150 position: relative;
1052 1151 float: right;
@@ -1052,9 +1151,9 @@
1052 1151 float: right;
1053 1152 font-size: 17px;
1054 1153 }
1055 1154
1056 -.cookieadmin-cookie-categorized tbody:not(:first-of-type)::after {
1155 +.cookieadmin-cookie-categorized tbody:not(:last-of-type)::after {
1057 1156 content: "";
1058 1157 display: table-row;
1059 1158 height: 30px; /* This is your gap */
1060 1159 }
@@ -1089,28 +1188,367 @@
1089 1188 font-size: 24px;
1090 1189 font-weight: bold;
1091 1190 }
1092 1191
1192 +/* Dialog success/failure messages */
1193 +
1194 +#cookieadmin-message{
1195 + margin-right: 10px;
1196 + font-weight: 500;
1197 + padding: 5px;
1198 +}
1199 +
1200 +.cookieadmin-success-message {
1201 + color: #22c55e;
1202 +}
1203 +
1204 +.cookieadmin-error-message {
1205 + color: #dc2626;
1206 +}
1207 +
1093 1208 /* --- Auto Categorize Cookies End --- */
1094 1209
1095 1210
1096 1211
1097 1212 /* --- Override Dashicons Start --- */
1098 -.dashicons {
1213 +.cookieadmin-metabox-holder .dashicons {
1099 1214 cursor: pointer;
1100 1215 }
1101 1216 /* --- Override Dashicons End --- */
1102 1217
1103 1218
1104 -/* CSS for phones only */
1105 -@media (max-width: 767px) {
1106 1219
1107 - .cookieadmin_center{
1108 - top: 10%;
1109 - left: 5%;
1110 - max-width: 90vw;
1220 +/* CookieAdmin Tooltip Start */
1221 +.cookieadmin-tooltip {
1222 + position: fixed;
1223 + background: #1e293b;
1224 + color: #fff;
1225 + padding: 6px 10px;
1226 + border-radius: var(--cookieadmin-radius);
1227 + font-size: 12px;
1228 + white-space: nowrap;
1229 + pointer-events: none;
1230 + z-index: 999999;
1231 + opacity: 0;
1232 + transition: opacity .12s ease;
1233 + box-shadow: var(--cookieadmin-shadow-md);
1234 +}
1235 +
1236 +/* CookieAdmin Tooltip End */
1237 +
1238 +
1239 +.cookieadmin-buttons-div {
1240 + display: flex;
1241 + flex-direction: row;
1242 +}
1243 +
1244 +.cookieadmin-add-cookie-div {
1245 + border-right: 1px solid #e0e0e0;
1246 + padding-right: 10px;
1247 +}
1248 +
1249 +/* Consent Expiry */
1250 +#cookieadmin_consent_logs_expiry_days {
1251 + width: 50px;
1252 + text-align: center;
1253 + margin: 0px 10px;
1254 + padding: 0px;
1255 + height: 30px;
1256 +}
1257 +
1258 +.cookieadmin-purge-consent-btn{
1259 + background-color: #dc3545 !important;
1260 + color: white !important;
1261 + border-color: unset !important;
1262 +}
1263 +
1264 +.cookieadmin-setting-logs{
1265 + display: flex;
1266 + align-items: center;
1267 +}
1268 +
1269 +.cookieadmin-save-settings{
1270 + border-top: 1px solid #e0e0e0;
1271 + margin-bottom: 15vh;
1272 +}
1273 +
1274 +/* Content Blocking Section Styles */
1275 +.cookieadmin-cb-services{
1276 + width: fit-content;
1277 + display: grid;
1278 + grid-template-columns: repeat(3, 1fr);
1279 +}
1280 +
1281 +/* ====================== DASHBOARD WIDGETS ======================*/
1282 +
1283 +/* Grid */
1284 +.cookieadmin-dashboard-grid {
1285 + display: flex;
1286 + gap: 20px;
1287 + margin-top: 16px;
1288 +}
1289 +
1290 +.cookieadmin-dashboard-main {
1291 + flex: 0 0 70%;
1292 + max-width: 70%;
1293 + min-width: 0;
1294 +}
1295 +
1296 +.cookieadmin-dashboard-sidebar {
1297 + width:100%;
1298 +}
1299 +
1300 +@media (max-width: 860px) {
1301 + .cookieadmin-dashboard-grid {
1302 + flex-direction: column;
1111 1303 }
1304 + .cookieadmin-dashboard-main,
1305 + .cookieadmin-dashboard-sidebar {
1306 + flex: 0 0 100%;
1307 + max-width: 100%;
1308 + }
1309 +}
1112 1310
1113 - .show_pref_cookies{
1114 - font-size: 14px;
1115 - }
1311 +/* Checklist */
1312 +.cookieadmin-checklist {
1313 + list-style: none;
1314 + margin: 0;
1315 + padding: 0;
1316 + counter-reset: checklist;
1317 +}
1318 +
1319 +.cookieadmin-checklist li {
1320 + margin-bottom: 0;
1321 +}
1322 +
1323 +.cookieadmin-checklist li a {
1324 + display: flex;
1325 + align-items: center;
1326 + gap: 10px;
1327 + padding: 11px 12px;
1328 + border-radius: var(--cookieadmin-radius-sm);
1329 + color: var(--cookieadmin-text);
1330 + text-decoration: none;
1331 + font-size: 14px;
1332 + font-weight: 500;
1333 + transition: background .12s ease;
1334 +}
1335 +
1336 +.cookieadmin-checklist li a:hover {
1337 + background: var(--cookieadmin-surface-secondary);
1338 +}
1339 +
1340 +.cookieadmin-checklist li a .dashicons {
1341 + width: 22px;
1342 + height: 22px;
1343 + font-size: 16px;
1344 + display: flex;
1345 + align-items: center;
1346 + justify-content: center;
1347 + border-radius: 50%;
1348 + flex-shrink: 0;
1349 +}
1350 +
1351 +.cookieadmin-checklist-item--done .dashicons {
1352 + background: var(--cookieadmin-success-bg);
1353 + color: var(--cookieadmin-success);
1354 +}
1355 +
1356 +.cookieadmin-checklist-item--pending .dashicons {
1357 + background: var(--cookieadmin-surface-secondary);
1358 + color: var(--cookieadmin-text-soft);
1359 +}
1360 +
1361 +/* Cookie Inventory */
1362 +.cookieadmin-inventory-total {
1363 + display: flex;
1364 + align-items: baseline;
1365 + gap: 6px;
1366 + margin-bottom: 14px;
1367 +}
1368 +
1369 +.cookieadmin-inventory-number {
1370 + font-size: 2rem;
1371 + font-weight: 700;
1372 + color: var(--cookieadmin-text);
1373 + line-height: 1;
1374 +}
1375 +
1376 +.cookieadmin-inventory-label {
1377 + font-size: 14px;
1378 + color: var(--cookieadmin-text-muted);
1379 +}
1380 +
1381 +.cookieadmin-segment-bar {
1382 + display: flex;
1383 + width: 100%;
1384 + height: 10px;
1385 + border-radius: 99px;
1386 + overflow: hidden;
1387 + margin-bottom: 14px;
1388 + background: var(--cookieadmin-border-light);
1389 +}
1390 +
1391 +.cookieadmin-segment {
1392 + height: 100%;
1393 + min-width: 2px;
1394 +}
1395 +
1396 +.cookieadmin-segment-legend {
1397 + display: flex;
1398 + flex-wrap: wrap;
1399 + gap: 12px 16px;
1400 + margin-bottom: 14px;
1401 + font-size: 12px;
1402 + color: var(--cookieadmin-text-muted);
1403 +}
1404 +
1405 +.cookieadmin-legend-item {
1406 + display: inline-flex;
1407 + align-items: center;
1408 + gap: 5px;
1409 +}
1410 +
1411 +.cookieadmin-legend-dot {
1412 + width: 8px;
1413 + height: 8px;
1414 + border-radius: 50%;
1415 + display: inline-block;
1416 + flex-shrink: 0;
1417 +}
1418 +
1419 +.cookieadmin-inventory-warning {
1420 + display: flex;
1421 + align-items: center;
1422 + gap: 6px;
1423 + background: var(--cookieadmin-warning-bg);
1424 + border: 1px solid var(--cookieadmin-warning-border);
1425 + color: var(--cookieadmin-warning);
1426 + padding: 10px 12px;
1427 + border-radius: var(--cookieadmin-radius-sm);
1428 + font-size: 13px;
1429 + margin-bottom: 14px;
1430 +}
1431 +
1432 +.cookieadmin-inventory-actions {
1433 + text-align: right;
1434 +}
1435 +
1436 +/* Recommended Plugins */
1437 +.cookieadmin-recommended-plugins .cookieadmin-card-body {
1438 + padding: 12px;
1439 +}
1440 +
1441 +.cookieadmin-recommended-plugin {
1442 + padding: 10px;
1443 + border-radius: var(--cookieadmin-radius-sm);
1444 + background: #fff;
1445 + border: 1px solid var(--cookieadmin-border);
1446 + margin-bottom: 10px;
1447 +}
1448 +
1449 +.cookieadmin-recommended-plugin:last-child {
1450 + margin-bottom: 0;
1451 +}
1452 +
1453 +.cookieadmin-recommended-plugin-info {
1454 + display: flex;
1455 + align-items: flex-start;
1456 + gap: 10px;
1457 + margin-bottom: 8px;
1458 +}
1459 +
1460 +.cookieadmin-recommended-plugin-icon {
1461 + width: 32px;
1462 + height: 32px;
1463 + border-radius: var(--cookieadmin-radius-sm);
1464 + background: var(--cookieadmin-primary-light);
1465 + color: var(--cookieadmin-primary);
1466 + display: flex;
1467 + align-items: center;
1468 + justify-content: center;
1469 + flex-shrink: 0;
1470 +}
1471 +
1472 +.cookieadmin-recommended-plugin-icon .dashicons {
1473 + font-size: 20px;
1474 + width: 20px;
1475 + height: 20px;
1476 +}
1477 +
1478 +.cookieadmin-recommended-plugin-name {
1479 + font-size: 14px;
1480 + font-weight: 600;
1481 + color: var(--cookieadmin-text);
1482 + line-height: 1.3;
1483 +}
1484 +
1485 +.cookieadmin-recommended-plugin-desc {
1486 + font-size: 12px;
1487 + color: var(--cookieadmin-text-muted);
1488 + line-height: 1.4;
1489 +}
1490 +
1491 +.cookieadmin-recommended-plugin-link {
1492 + font-size: 11px;
1493 + color: var(--cookieadmin-primary);
1494 + text-decoration: none;
1495 + font-weight: 500;
1496 + margin-top: 4px;
1497 + display: inline-block;
1498 +}
1499 +
1500 +.cookieadmin-recommended-plugin-link:hover {
1501 + text-decoration: underline;
1502 +}
1503 +
1504 +.cookieadmin-recommended-plugin-action {
1505 + display:flex;
1506 + margin-top:5px;
1507 + justify-content:space-between;
1508 +
1509 +}
1510 +
1511 +/* Pro mini table on dashboard */
1512 +.cookieadmin-consent-log-table {
1513 + width: 100%;
1514 + border-collapse: collapse;
1515 + font-size: 13px;
1516 +}
1517 +
1518 +.cookieadmin-consent-log-table thead th {
1519 + font-weight: 600;
1520 + color: var(--cookieadmin-text-muted);
1521 + text-align: left;
1522 + padding: 8px 10px;
1523 + border-bottom: 1px solid var(--cookieadmin-border);
1524 + font-size: 12px;
1525 + text-transform: uppercase;
1526 + letter-spacing: .3px;
1527 +}
1528 +
1529 +.cookieadmin-consent-log-table tbody td {
1530 + padding: 8px 10px;
1531 + border-bottom: 1px solid var(--cookieadmin-border-light);
1532 + color: var(--cookieadmin-text);
1533 +}
1534 +
1535 +.cookieadmin-consent-log-table tbody tr:last-child td {
1536 + border-bottom: none;
1537 +}
1538 +
1539 +/* Widget link row */
1540 +.cookieadmin-widget-link-row {
1541 + text-align: right;
1542 + margin-top: 10px;
1543 +}
1544 +
1545 +.cookieadmin-widget-link-row a {
1546 + font-size: 12px;
1547 + font-weight: 500;
1548 + color: var(--cookieadmin-primary);
1549 + text-decoration: none;
1550 +}
1551 +
1552 +.cookieadmin-widget-link-row a:hover {
1553 + text-decoration: underline;
1116 1554 }