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