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 +1073 -718 1.0.81.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,264 +884,38 @@
436 884
437 885
438 886 /* Website consent box */
439 887
440 -.cookieadmin_law_container{
441 - position: fixed;
442 - width: 25%;
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 - flex-wrap: wrap;
453 - gap: 10px;
454 -}
455 889
456 -.cookieadmin_box{
457 - /*position: fixed;*/
458 - width: 25%;
459 - box-sizing: border-box;
460 - display: none;
461 -}
462 890
463 -.cookieadmin_notice_group{
464 - display: flex;
465 - flex-direction: column;
466 - gap: 10px; /* spacing between content and buttons */
467 - align-items: flex-start;
468 -}
469 891
470 -.cookieadmin_popup{
471 - position: fixed;
472 - width: 330px;
473 - box-sizing: border-box;
474 - z-index: 9999999;
475 - display: none;
476 -}
477 892
478 -.cookieadmin_consent_inside{
479 - color: black;
480 - background-color: #FFFFFF;
481 - border: 1px solid #f4f4f4;
482 - padding:15px;
483 - border-radius: 4px;
484 - box-shadow:1px 3px 10px rgba(0, 0, 0, 0.2);
485 -}
486 893
487 -#cookieadmin_notice_title{
488 - font-weight: 601;
489 - margin: 0px;
490 - padding-left: 5px;
491 -}
492 894
493 -.cookieadmin_notice_con{
494 - font-size: initial;
495 - padding: 0px 6px;
496 - flex: 1;
497 -}
498 895
499 -.cookieadmin_cookie_modal{
500 - display: none;
501 - flex-direction: column;
502 - position: fixed;
503 - max-height: 80vh;
504 - background-color: #FFFFFF;
505 - border: 1px solid #F4F4F4;
506 - border-radius: 8px;
507 - box-shadow: 0 4px 8px rgba(0,0,0,0.2);
508 - z-index: 999999;
896 +.cookieadmin_btn-primary {
897 + background-color: #007cba;
898 + color: white;
899 + border-color: #007cba;
509 900 }
510 901
511 -.cookieadmin_center{
512 - top: 10%;
513 - left: 22%;
514 - max-width: 60vw;
902 +.cookieadmin_btn-secondary {
903 + background-color: #f6f7f7;
904 + color: #007cba;
905 + border-color: #007cba;
515 906 }
516 907
517 -.cookieadmin_side{
518 - flex-direction: column;
519 - position: fixed;
520 - width: 35vw;
521 - bottom: 0px;
522 - animation: 0.5s ease-out forwards slideSide;
523 - max-height: 100vh;
524 - left: 0px;
525 - top: 0px;
526 - border-radius: 0px;
527 -}
528 -
529 -.cookieadmin_down{
530 - position: fixed;
531 - max-width: 100%;
532 - max-height: 55vh;
533 - bottom: 0px;
534 - animation: 0.5s ease-out forwards slideUp;
535 -}
536 -
537 -.cookieadmin_modal_overlay{
538 - display: none;
539 - position: fixed;
540 - top: 0;
541 - left: 0;
542 - width: 100%;
543 - height: 100%;
544 - background-color: rgba(0, 0, 0, 0.5);
545 - z-index: 1000;
546 -}
547 -
548 -.cookieadmin_mod_head{
549 - display: flex;
550 - justify-content: space-between;
551 -}
552 -
553 -.cookieadmin_mod_head, .cookieadmin_wrapper{
554 - padding: 15px;
555 - border-bottom: 1px solid #CCCCCC;
556 -}
557 -
558 -.cookieadmin_close_pref{
559 - background: none;
560 - border: none;
561 - align-self: baseline;
562 - color: gray;
563 - cursor: pointer;
564 - padding: 0px;
565 -}
566 -
567 -.cookieadmin_preference_title{
568 - font-size: 20px;
569 - font-weight: 801;
570 - margin: 9px;
571 -}
572 -
573 -.preference_details{
574 - padding: 0px 10px;
575 -}
576 -
577 -.cookieadmin_preference{
578 - overflow: hidden;
579 - height: 83px;
580 - font-size: 15px;
581 -}
582 -
583 -.cookieadmin_showmore{
584 - background: none;
585 - border: none;
586 - color: #1863dc;
587 - padding: 0px;
588 - cursor: pointer;
589 -}
590 -
591 -.cookieadmin_details_wrapper{
592 - padding: 15px;
593 - height: calc(100% - 6%);
594 - overflow: auto;
595 - scrollbar-width: thin;
596 -}
597 -
598 -.cookieadmin_types{
599 - padding: 10px 10px;
600 - border-top: 1px solid #CCCCCC;
601 -}
602 -
603 -.cookieadmin_header{
604 - display: flex;
605 - justify-content: space-between;
606 -}
607 -
608 -.cookieadmin_header > span > label{
609 - cursor:pointer;
610 -}
611 -
612 -.cookieadmin_remark{
613 - display:none;
614 - justify-self:right;
615 -}
616 -
617 -.act{
618 - display: inline;
619 - color: #1863dc;
620 -}
621 -
622 -.cookieadmin-nece-cookies{
623 - display:none;
624 - padding:1px;
625 - border-radius: 10px;
626 - margin: 0px 20px;
627 - margin-right: 4rem;
628 - font-size: smaller;
629 - font-size: 1rem;
630 - text-align: center;
631 -}
632 -
633 -.cookieadmin_desc{
634 - padding:5px 20px;
635 - font-size: 15px;
636 - padding-right: 4rem;
637 -}
638 -
639 -.cookieadmin_footer{
640 - left: 0px;
641 - padding: 15px;
642 - flex-wrap: wrap;
643 - width: 100%;
644 -}
645 -
646 -.cookieadmin_modal_footer{
647 - left: 0px;
648 - padding: 15px;
649 - flex-wrap: wrap;
650 - border-top: 1px solid #CCCCCC;
651 -}
652 -
653 -.cookieadmin_btn{
654 - background-color: transparent;
655 - border: 1px solid gray;
656 - color: #1863dc;
657 - padding: 0.4rem 0.9rem;
658 - border-radius: 4px;
659 - margin: 2px 5px;
660 - cursor: pointer;
661 -}
662 -
663 -.cookieadmin_btn:hover{
664 - opacity: 0.8;
665 -}
666 -
667 -.btn_accept{
908 +.cookieadmin_btn_accept{
668 909 color: #ffffff;
669 910 background-color: #1863dc;
670 911 border-color: rgb(24, 99, 220);
671 912 }
672 913
673 -.show_pref_cookies{
674 - cursor: pointer;
675 - font-size: 18px;
676 -}
677 -
678 -.pl0{
914 +.cookieadmin_pl0{
679 915 padding-left:0px;
680 916 }
681 917
682 -.cookieadmin_re_consent{
683 - display: none;
684 - position: fixed;
685 - bottom: 15px;
686 - left: 15px;
687 - background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%);
688 - height: 50px;
689 - width: 50px;
690 - border-radius: 50%;
691 - cursor: pointer;
692 - border: 0px;
693 - z-index: 99999;
694 - padding: 5px;
695 -}
696 918
697 919 .cookieadmin-manager-cookie-scan, .cookieadmin-manager-consent-logs, .cookieadmin-manager-cookie-categorize{
698 920 flex-wrap: wrap;
699 921 justify-content: space-between;
@@ -699,19 +921,18 @@
699 921 justify-content: space-between;
700 922 }
701 923
702 924 .cookieadmin-manager-result{
703 - padding: 10px;
704 925 width: 100%;
705 926 }
706 927
707 -.cookieadmin-consent-logs-pagination{
928 +.cookieadmin-consent-logs-pagination, .cookieadmin-dns-requests-pagination{
708 929 padding: 15px;
709 930 margin: 5px;
710 931 width: 100%;
711 932 }
712 933
713 -.cookieadmin-logs-paginate{
934 +.cookieadmin-logs-paginate, .cookieadmin-dns-paginate{
714 935 font-size: 2em;
715 936 text-decoration:none;
716 937 }
717 938
@@ -724,56 +945,9 @@
724 945 width: 250px;
725 946 display: inline-block;
726 947 }
727 948
728 -.cookieadmin-cookie-card {
729 - background: ghostwhite;
730 - border-radius: 10px;
731 - padding: 16px;
732 - font-family: 'Open Sans', 'Segoe UI', sans-serif;
733 - box-shadow: 0 2px 6px rgba(0,0,0,0.1);
734 - margin: 10px auto;
735 - text-align: left;
736 -}
737 949
738 -.cookieadmin-cookie-header {
739 - display: flex;
740 - justify-content: space-between;
741 - font-size: 1rem;
742 - margin-bottom: 6px;
743 -}
744 -
745 -.cookieadmin-cookie-name {
746 - font-weight: bold;
747 - color: #333;
748 -}
749 -
750 -.cookieadmin-cookie-duration {
751 - font-size: 0.85rem;
752 -}
753 -
754 -.cookieadmin-cookie-duration > b {
755 - font-weight: bold;
756 -}
757 -
758 -.cookieadmin-cookie-description {
759 - font-size: 0.9rem;
760 - margin-bottom: 12px;
761 -}
762 -
763 -.cookieadmin-cookie-tags {
764 - display: flex;
765 - gap: 8px;
766 -}
767 -
768 -.cookieadmin-tag {
769 - background: #e0e0e0;
770 - padding: 4px 10px;
771 - border-radius: 12px;
772 - font-size: 0.75rem;
773 - color: #333;
774 -}
775 -
776 950 .cookieadmin-tag.active {
777 951 background: #000;
778 952 color: #fff;
779 953 }
@@ -793,202 +967,108 @@
793 967 }
794 968
795 969 /* Website consent box End*/
796 970
797 -
798 -
799 -
800 -
801 -/* Checkbox switch Start */
802 -
803 -.cookieadmin_toggle, .cookieadmin_toggle_disabled {
804 - position: relative;
805 - display: inline-block;
806 - width: 24px;
807 - height: 11px;
808 -}
809 -
810 -/* Hide the checkbox input */
811 -.cookieadmin_toggle input, .cookieadmin_toggle_disabled input {
812 - display: none;
813 -}
814 -
815 -/* Describe slider's look and position. */
816 -.cookieadmin_slider {
817 - position: absolute;
818 - cursor: pointer;
819 - top: 0;
820 - left: 0;
821 - right: 0;
822 - bottom: 0;
823 - height: 21px;
824 - width: 34px;
825 - background-color: gray;
826 - transition: .4s;
827 - border-radius: 34px;
828 -}
829 -
830 -/* Describe the white ball's location
831 - and appearance in the slider. */
832 -.cookieadmin_slider:before {
833 - position: absolute;
834 - content: "";
835 - height: 15px;
836 - width: 15px;
837 - left: 3.2px;
838 - bottom: 3.2px;
839 - background-color: white;
840 - transition: .2s;
841 - border-radius: 50%;
842 -}
843 -
844 -/* Modify the slider's background color to
845 - green once the checkbox has been selected. */
846 -input:checked+.cookieadmin_slider {
847 - background-color: #3582c4;
848 -}
849 -
850 -/* When the checkbox is checked, shift the
851 - white ball towards the right within the slider. */
852 -input:checked+.cookieadmin_slider:before {
853 - transform: translateX(13px);
854 -}
855 -
856 -input:disabled+.cookieadmin_slider {
857 - background-color: #3582c4;
858 -}
859 -input:disabled+.cookieadmin_slider:before {
860 - transform: translateX(13px);
861 -}
862 -
863 -/* Checkbox switch End */
864 -
865 -
866 - /* --- Modal Styles Start --- */
867 -
868 -/* The Modal Overlay/Backdrop */
869 -.modal-overlay {
971 +/* ======== MODAL ======== */
972 +.cookieadmin_modal-overlay {
870 973 position: fixed;
871 974 top: 0;
872 975 left: 0;
873 976 width: 100%;
874 977 height: 100%;
875 - background-color: rgba(0, 0, 0, 0.6);
876 - display: none; /* Initially hidden */
978 + background: rgba(0,0,0,.5);
979 + display: none;
877 980 justify-content: center;
878 981 align-items: center;
879 - z-index: 1000;
982 + z-index: 100000;
880 983 }
881 984
882 -/* The Modal Container */
883 -.modal-container {
884 - background-color: #ffffff;
885 - border-radius: 4px;
886 - width: 100%;
887 - max-width: 600px;
888 - box-shadow: 0 5px 15px rgba(0,0,0,0.3);
985 +.cookieadmin_modal-overlay.active {
889 986 display: flex;
890 - flex-direction: column;
891 - overflow: hidden;
892 987 }
893 988
894 -/* When the modal is active */
895 -.modal-overlay.active {
896 - 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;
897 996 }
898 997
899 -/* Modal Header */
900 -.modal-header {
998 +.cookieadmin_modal-header {
901 999 display: flex;
902 1000 justify-content: space-between;
903 1001 align-items: center;
904 - padding: 16px 24px;
905 - border-bottom: 1px solid #e0e0e0;
1002 + padding: 16px 20px;
1003 + border-bottom: 1px solid var(--cookieadmin-border);
906 1004 }
907 1005
908 -.modal-header h2 {
1006 +.cookieadmin_modal-header h2 {
909 1007 margin: 0;
910 - font-size: 1.25rem;
1008 + font-size: 1rem;
911 1009 font-weight: 600;
912 - color: #1d2327;
913 1010 }
914 1011
915 -.modal-close-btn {
1012 +.cookieadmin_dialog_modal_close_btn {
916 1013 background: none;
917 1014 border: none;
918 - font-size: 1.5rem;
1015 + font-size: 22px;
919 1016 cursor: pointer;
920 - color: #50575e;
1017 + color: var(--cookieadmin-text-muted);
1018 + line-height: 1;
1019 + padding: 0;
921 1020 }
922 1021
923 -/* Modal Body (the form) */
924 -.modal-body {
925 - padding: 24px;
1022 +.cookieadmin_dialog_modal_close_btn:hover {
1023 + color: var(--cookieadmin-text);
926 1024 }
927 1025
928 -.form-group {
929 - margin-bottom: 20px;
930 - display: grid;
931 - grid-template-columns: 120px 1fr; /* Label and Input alignment */
932 - align-items: center;
933 - gap: 16px;
1026 +.cookieadmin_modal-body {
1027 + padding: 20px;
934 1028 }
935 1029
936 -.form-group label {
937 - font-weight: 500;
938 - 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);
939 1038 }
940 1039
941 -.form-group input,
942 -.form-group select,
943 -.form-group textarea {
944 - width: 95%;
945 - padding: 8px 12px;
946 - border: 1px solid #8c8f94;
947 - border-radius: 4px;
948 - font-size: 14px;
949 - box-sizing: border-box; /* Important for padding and width */
1040 +.cookieadmin_modal-footer .spinner.is-active{
1041 + margin:0;
950 1042 }
951 1043
952 -.form-group textarea {
953 - min-height: 120px;
954 - resize: vertical;
955 - align-self: flex-start; /* Align textarea with top of label */
1044 +.cookieadmin_form-group {
1045 + margin-bottom: 16px;
956 1046 }
957 1047
958 -/* Modal Footer */
959 -.modal-footer {
960 - display: flex;
961 - justify-content: flex-start;
962 - padding: 16px 24px;
963 - border-top: 1px solid #e0e0e0;
964 - 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);
965 1054 }
966 1055
967 -.btn {
968 - padding: 8px 16px;
969 - border-radius: 4px;
970 - 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);
971 1063 font-size: 14px;
972 - font-weight: 600;
973 - cursor: pointer;
974 - margin-right: 10px;
975 1064 }
976 1065
977 -.btn-primary {
978 - background-color: #007cba;
979 - color: white;
980 - border-color: #007cba;
1066 +.cookieadmin_form-group textarea {
1067 + min-height: 80px;
1068 + resize: vertical;
981 1069 }
982 1070
983 -.btn-secondary {
984 - background-color: #f6f7f7;
985 - color: #007cba;
986 - border-color: #007cba;
987 -}
988 -
989 -/* --- Modal Styles End --- */
990 -
991 1071 /* Table */
992 1072
993 1073 .cookieadmin-table{
994 1074 padding: 2px;
@@ -1028,48 +1108,44 @@
1028 1108 }
1029 1109
1030 1110 /* Table End */
1031 1111
1032 -/* Badges End */
1033 -
1034 -.cookieadmin-badge{
1035 - display: inline-block;
1036 - padding: 3px 10px 5px 10px;
1037 - font-size: 14px;
1112 +/* ======== BADGES ======== */
1113 +.cookieadmin-badge {
1114 + display: inline-flex;
1115 + align-items: center;
1116 + padding: 2px 10px;
1117 + font-size: 12px;
1038 1118 font-weight: 600;
1039 - line-height: 1.1;
1040 - border-radius: 1rem;
1041 - color: #000;
1042 - border: 1px solid #000;
1043 - background-color: #fff;
1119 + line-height: 1.6;
1120 + border-radius: 99px;
1121 + border: 1px solid;
1044 1122 }
1045 1123
1046 -.cookieadmin-success{
1047 - color: #06923E;
1048 - border: 1px solid #16C47F;
1049 - background-color: #eefef4;
1124 +.cookieadmin-success {
1125 + color: var(--cookieadmin-success);
1126 + border-color: var(--cookieadmin-success-border);
1127 + background: var(--cookieadmin-success-bg);
1050 1128 }
1051 1129
1052 -.cookieadmin-warning{
1053 - color: #b49046;
1054 - border: 1px solid #b49046;
1055 - background-color: #fffbe8;
1130 +.cookieadmin-warning {
1131 + color: var(--cookieadmin-warning);
1132 + border-color: var(--cookieadmin-warning-border);
1133 + background: var(--cookieadmin-warning-bg);
1056 1134 }
1057 1135
1058 -.cookieadmin-danger{
1059 - color: #ED3500;
1060 - border: 1px solid #E55050;
1061 - background-color: #fef2f2;
1136 +.cookieadmin-danger {
1137 + color: var(--cookieadmin-danger);
1138 + border-color: var(--cookieadmin-danger-border);
1139 + background: var(--cookieadmin-danger-bg);
1062 1140 }
1063 1141
1064 -.cookieadmin-info{
1065 - color: #4682A9;
1066 - border: 1px solid #5EABD6;
1067 - background-color: #f0fbff;
1142 +.cookieadmin-info {
1143 + color: var(--cookieadmin-info);
1144 + border-color: var(--cookieadmin-info-border);
1145 + background: var(--cookieadmin-info-bg);
1068 1146 }
1069 1147
1070 -/* Badges End */
1071 -
1072 1148 .cookieadmin-cookie-categorized tbody > tr:first-child td::before {
1073 1149 content: "⮟";
1074 1150 position: relative;
1075 1151 float: right;
@@ -1075,9 +1151,9 @@
1075 1151 float: right;
1076 1152 font-size: 17px;
1077 1153 }
1078 1154
1079 -.cookieadmin-cookie-categorized tbody:not(:first-of-type)::after {
1155 +.cookieadmin-cookie-categorized tbody:not(:last-of-type)::after {
1080 1156 content: "";
1081 1157 display: table-row;
1082 1158 height: 30px; /* This is your gap */
1083 1159 }
@@ -1112,88 +1188,367 @@
1112 1188 font-size: 24px;
1113 1189 font-weight: bold;
1114 1190 }
1115 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 +
1116 1208 /* --- Auto Categorize Cookies End --- */
1117 1209
1118 1210
1119 1211
1120 1212 /* --- Override Dashicons Start --- */
1121 -.dashicons {
1213 +.cookieadmin-metabox-holder .dashicons {
1122 1214 cursor: pointer;
1123 1215 }
1124 1216 /* --- Override Dashicons End --- */
1125 1217
1126 1218
1127 -/* CSS for phones only */
1128 -@media (max-width: 767px) {
1129 1219
1130 - .cookieadmin_center{
1131 - top: 10%;
1132 - left: 5%;
1133 - max-width: 90vw;
1134 - }
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 +}
1135 1235
1136 - .show_pref_cookies{
1137 - font-size: 14px;
1138 - }
1236 +/* CookieAdmin Tooltip End */
1139 1237
1140 - .cookieadmin_law_container, .cookieadmin_box{
1141 - width: 90%;
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;
1142 1303 }
1143 -
1144 - .cookieadmin_side{
1145 - width: 100%;
1304 + .cookieadmin-dashboard-main,
1305 + .cookieadmin-dashboard-sidebar {
1306 + flex: 0 0 100%;
1307 + max-width: 100%;
1146 1308 }
1147 1309 }
1148 1310
1149 -/* CSS for tablet */
1150 -@media (min-width: 768px) and (max-width: 991px) {
1311 +/* Checklist */
1312 +.cookieadmin-checklist {
1313 + list-style: none;
1314 + margin: 0;
1315 + padding: 0;
1316 + counter-reset: checklist;
1317 +}
1151 1318
1152 - .cookieadmin_box{
1153 - width: 45%;
1154 - }
1319 +.cookieadmin-checklist li {
1320 + margin-bottom: 0;
1155 1321 }
1156 1322
1157 -/* CSS for small laptop */
1158 -@media (min-width: 992px) and (max-width: 1199px) {
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 +}
1159 1335
1160 - .cookieadmin_box{
1161 - width: 35%;
1162 - }
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;
1163 1508
1164 1509 }
1165 -/* CSS for HD TV screens */
1166 -@media (min-width: 1200px) and (max-width: 1360px) {
1167 1510
1168 - .cookieadmin_box{
1169 - width: 30%;
1170 - }
1511 +/* Pro mini table on dashboard */
1512 +.cookieadmin-consent-log-table {
1513 + width: 100%;
1514 + border-collapse: collapse;
1515 + font-size: 13px;
1171 1516 }
1172 1517
1173 -/* Desktop Layout */
1174 -@media (min-width: 768px) {
1175 - .cookieadmin_notice_group {
1176 - flex-direction: row;
1177 - justify-content: space-between;
1178 - align-items: center;
1179 - }
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 +}
1180 1528
1181 - .cookieadmin_notice_con {
1182 - flex: 1; /* take remaining space */
1183 - }
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 +}
1184 1534
1185 - .cookieadmin_consent_btns {
1186 - flex-shrink: 0;
1187 - }
1535 +.cookieadmin-consent-log-table tbody tr:last-child td {
1536 + border-bottom: none;
1188 1537 }
1189 1538
1190 -@media (max-width:480px){
1191 - .cookieadmin_consent_inside .cookieadmin_btn {
1192 - width: 100%;
1193 - margin: 5px 0;
1194 - }
1195 -
1196 - .cookieadmin_modal_footer{
1197 - padding: 8px;
1198 - }
1199 -}
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;
1554 +}