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 +1093 -641 1.0.3 → 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,242 +884,38 @@
436 884
437 885
438 886 /* Website consent box */
439 887
440 -.cookieadmin_law_container{
441 - position: fixed;
442 - width: 330px;
443 - box-sizing: border-box;
444 - z-index: 99999;
445 - display: none;
446 -}
447 888
448 -.cookieadmin_consent_btns{
449 - align-content: center;
450 - display: flex;
451 - justify-content: space-evenly;
452 -}
453 889
454 -.cookieadmin_box{
455 - /*position: fixed;*/
456 - width: 330px;
457 - box-sizing: border-box;
458 - display: none;
459 -}
460 890
461 -.cookieadmin_notice_group{
462 - display: flex;
463 -}
464 891
465 -.cookieadmin_popup{
466 - position: fixed;
467 - width: 330px;
468 - box-sizing: border-box;
469 - z-index: 9999999;
470 - display: none;
471 -}
472 892
473 -.cookieadmin_consent_inside{
474 - color: black;
475 - background-color: #FFFFFF;
476 - border: 1px solid #f4f4f4;
477 - padding:15px;
478 - border-radius: 4px;
479 - box-shadow:1px 3px 10px rgba(0, 0, 0, 0.2);
480 -}
481 893
482 -#cookieadmin_notice_title{
483 - font-weight: 601;
484 - margin: 0px;
485 - padding-left: 5px;
486 -}
487 894
488 -.cookieadmin_notice_con{
489 - font-size: initial;
490 - padding: 0px 6px;
491 - flex: 1;
492 -}
493 895
494 -.cookieadmin_cookie_modal{
495 - display: none;
496 - flex-direction: column;
497 - position: fixed;
498 - max-height: 80vh;
499 - background-color: #FFFFFF;
500 - border: 1px solid #F4F4F4;
501 - border-radius: 8px;
502 - box-shadow: 0 4px 8px rgba(0,0,0,0.2);
503 - z-index: 999999;
896 +.cookieadmin_btn-primary {
897 + background-color: #007cba;
898 + color: white;
899 + border-color: #007cba;
504 900 }
505 901
506 -.cookieadmin_center{
507 - top: 10%;
508 - left: 22%;
509 - max-width: 60vw;
902 +.cookieadmin_btn-secondary {
903 + background-color: #f6f7f7;
904 + color: #007cba;
905 + border-color: #007cba;
510 906 }
511 907
512 -.cookieadmin_side{
513 - flex-direction: column;
514 - position: fixed;
515 - width: 35vw;
516 - bottom: 0px;
517 - animation: 0.5s ease-out forwards slideSide;
518 - max-height: 100vh;
519 - left: 0px;
520 - top: 0px;
521 - border-radius: 0px;
522 -}
523 -
524 -.cookieadmin_down{
525 - position: fixed;
526 - max-width: 100%;
527 - max-height: 55vh;
528 - bottom: 0px;
529 - animation: 0.5s ease-out forwards slideUp;
530 -}
531 -
532 -.cookieadmin_modal_overlay{
533 - display: none;
534 - position: fixed;
535 - top: 0;
536 - left: 0;
537 - width: 100%;
538 - height: 100%;
539 - background-color: rgba(0, 0, 0, 0.5);
540 - z-index: 1000;
541 -}
542 -
543 -.cookieadmin_mod_head{
544 - display: flex;
545 - justify-content: space-between;
546 -}
547 -
548 -.cookieadmin_mod_head, .cookieadmin_wrapper{
549 - padding: 20px;
550 - border-bottom: 1px solid #F4F4F4;
551 -}
552 -
553 -.cookieadmin_close_pref{
554 - background: none;
555 - border: none;
556 - align-self: baseline;
557 - color: gray;
558 - cursor: pointer;
559 -}
560 -
561 -.cookieadmin_preference_title{
562 - font-size: 20px;
563 - font-weight: 801;
564 -}
565 -
566 -.preference_details{
567 - padding: 0px 10px;
568 -}
569 -
570 -.cookieadmin_preference{
571 - overflow: hidden;
572 - height: 83px;
573 - font-size: 15px;
574 -}
575 -
576 -.cookieadmin_showmore{
577 - background: none;
578 - border: none;
579 - color: #1863dc;
580 - padding: 0px;
581 -}
582 -
583 -.cookieadmin_details_wrapper{
584 - padding: 15px;
585 - height: calc(100% - 6%);
586 - overflow: auto;
587 -}
588 -
589 -.cookieadmin_types{
590 - padding: 10px 10px;
591 - border-top: 1px solid #000000;
592 -}
593 -
594 -.cookieadmin_header{
595 - display: flex;
596 - justify-content: space-between;
597 -}
598 -
599 -.cookieadmin_remark{
600 - display:none;
601 - justify-self:right;
602 -}
603 -
604 -.act{
605 - display: inline;
606 - color: #1863dc;
607 -}
608 -
609 -.cookieadmin-nece-cookies{
610 - display:none;
611 - padding:1px;
612 - border-radius: 10px;
613 - margin: 0px 20px;
614 - margin-right: 4rem;
615 - font-size: smaller;
616 - font-size: 1rem;
617 - text-align: center;
618 -}
619 -
620 -.cookieadmin_desc{
621 - padding:5px 20px;
622 - font-size: 15px;
623 - padding-right: 4rem;
624 -}
625 -
626 -.cookieadmin_footer{
627 - width: 100%;
628 - left: 0px;
629 - padding: 15px;
630 - flex-wrap: wrap;
631 -}
632 -
633 -.cookieadmin_btn{
634 - background-color: transparent;
635 - border: 1px solid gray;
636 - color: #1863dc;
637 - padding: 0.4rem 0.9rem;
638 - border-radius: 4px;
639 - margin: 2px 5px;
640 - cursor: pointer;
641 -}
642 -
643 -.cookieadmin_btn:hover{
644 - opacity: 0.8;
645 -}
646 -
647 -.btn_accept{
908 +.cookieadmin_btn_accept{
648 909 color: #ffffff;
649 910 background-color: #1863dc;
650 911 border-color: rgb(24, 99, 220);
651 912 }
652 913
653 -.show_pref_cookies{
654 - cursor: pointer;
655 -}
656 -
657 -.pl0{
914 +.cookieadmin_pl0{
658 915 padding-left:0px;
659 916 }
660 917
661 -.cookieadmin_re_consent{
662 - display: none;
663 - position: fixed;
664 - bottom: 15px;
665 - left: 15px;
666 - background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%);
667 - height: 50px;
668 - width: 50px;
669 - border-radius: 50%;
670 - cursor: pointer;
671 - border: 0px;
672 - z-index: 99999;
673 -}
674 918
675 919 .cookieadmin-manager-cookie-scan, .cookieadmin-manager-consent-logs, .cookieadmin-manager-cookie-categorize{
676 920 flex-wrap: wrap;
677 921 justify-content: space-between;
@@ -677,19 +921,18 @@
677 921 justify-content: space-between;
678 922 }
679 923
680 924 .cookieadmin-manager-result{
681 - padding: 10px;
682 925 width: 100%;
683 926 }
684 927
685 -.cookieadmin-consent-logs-pagination{
928 +.cookieadmin-consent-logs-pagination, .cookieadmin-dns-requests-pagination{
686 929 padding: 15px;
687 930 margin: 5px;
688 931 width: 100%;
689 932 }
690 933
691 -.cookieadmin-logs-paginate{
934 +.cookieadmin-logs-paginate, .cookieadmin-dns-paginate{
692 935 font-size: 2em;
693 936 text-decoration:none;
694 937 }
695 938
@@ -702,56 +945,9 @@
702 945 width: 250px;
703 946 display: inline-block;
704 947 }
705 948
706 -.cookieadmin-cookie-card {
707 - background: ghostwhite;
708 - border-radius: 10px;
709 - padding: 16px;
710 - font-family: 'Open Sans', 'Segoe UI', sans-serif;
711 - box-shadow: 0 2px 6px rgba(0,0,0,0.1);
712 - margin: 10px auto;
713 - text-align: left;
714 -}
715 949
716 -.cookieadmin-cookie-header {
717 - display: flex;
718 - justify-content: space-between;
719 - font-size: 1rem;
720 - margin-bottom: 6px;
721 -}
722 -
723 -.cookieadmin-cookie-name {
724 - font-weight: bold;
725 - color: #333;
726 -}
727 -
728 -.cookieadmin-cookie-duration {
729 - font-size: 0.85rem;
730 -}
731 -
732 -.cookieadmin-cookie-duration > b {
733 - font-weight: bold;
734 -}
735 -
736 -.cookieadmin-cookie-description {
737 - font-size: 0.9rem;
738 - margin-bottom: 12px;
739 -}
740 -
741 -.cookieadmin-cookie-tags {
742 - display: flex;
743 - gap: 8px;
744 -}
745 -
746 -.cookieadmin-tag {
747 - background: #e0e0e0;
748 - padding: 4px 10px;
749 - border-radius: 12px;
750 - font-size: 0.75rem;
751 - color: #333;
752 -}
753 -
754 950 .cookieadmin-tag.active {
755 951 background: #000;
756 952 color: #fff;
757 953 }
@@ -771,200 +967,108 @@
771 967 }
772 968
773 969 /* Website consent box End*/
774 970
775 -
776 -
777 -
778 -
779 -/* Checkbox switch Start */
780 -
781 -.cookieadmin_toggle, .cookieadmin_toggle_disabled {
782 - position: relative;
783 - display: inline-block;
784 - width: 24px;
785 - height: 11px;
786 -}
787 -
788 -/* Hide the checkbox input */
789 -.cookieadmin_toggle input {
790 - display: none;
791 -}
792 -
793 -/* Describe slider's look and position. */
794 -.cookieadmin_slider {
795 - position: absolute;
796 - cursor: pointer;
797 - top: 0;
798 - left: 0;
799 - right: 0;
800 - bottom: 0;
801 - background-color: gray;
802 - transition: .4s;
803 - border-radius: 34px;
804 -}
805 -
806 -/* Describe the white ball's location
807 - and appearance in the slider. */
808 -.cookieadmin_slider:before {
809 - position: absolute;
810 - content: "";
811 - height: 15px;
812 - width: 15px;
813 - left: 3.2px;
814 - bottom: 3.2px;
815 - background-color: white;
816 - transition: .2s;
817 - border-radius: 50%;
818 -}
819 -
820 -/* Modify the slider's background color to
821 - green once the checkbox has been selected. */
822 -input:checked+.cookieadmin_slider {
823 - background-color: #3582c4;
824 -}
825 -
826 -/* When the checkbox is checked, shift the
827 - white ball towards the right within the slider. */
828 -input:checked+.cookieadmin_slider:before {
829 - transform: translateX(13px);
830 -}
831 -
832 -input:disabled+.cookieadmin_slider {
833 - background-color: #3582c4;
834 -}
835 -input:disabled+.cookieadmin_slider:before {
836 - transform: translateX(13px);
837 -}
838 -
839 -/* Checkbox switch End */
840 -
841 -
842 - /* --- Modal Styles Start --- */
843 -
844 -/* The Modal Overlay/Backdrop */
845 -.modal-overlay {
971 +/* ======== MODAL ======== */
972 +.cookieadmin_modal-overlay {
846 973 position: fixed;
847 974 top: 0;
848 975 left: 0;
849 976 width: 100%;
850 977 height: 100%;
851 - background-color: rgba(0, 0, 0, 0.6);
852 - display: none; /* Initially hidden */
978 + background: rgba(0,0,0,.5);
979 + display: none;
853 980 justify-content: center;
854 981 align-items: center;
855 - z-index: 1000;
982 + z-index: 100000;
856 983 }
857 984
858 -/* The Modal Container */
859 -.modal-container {
860 - background-color: #ffffff;
861 - border-radius: 4px;
862 - width: 100%;
863 - max-width: 600px;
864 - box-shadow: 0 5px 15px rgba(0,0,0,0.3);
985 +.cookieadmin_modal-overlay.active {
865 986 display: flex;
866 - flex-direction: column;
867 - overflow: hidden;
868 987 }
869 988
870 -/* When the modal is active */
871 -.modal-overlay.active {
872 - 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;
873 996 }
874 997
875 -/* Modal Header */
876 -.modal-header {
998 +.cookieadmin_modal-header {
877 999 display: flex;
878 1000 justify-content: space-between;
879 1001 align-items: center;
880 - padding: 16px 24px;
881 - border-bottom: 1px solid #e0e0e0;
1002 + padding: 16px 20px;
1003 + border-bottom: 1px solid var(--cookieadmin-border);
882 1004 }
883 1005
884 -.modal-header h2 {
1006 +.cookieadmin_modal-header h2 {
885 1007 margin: 0;
886 - font-size: 1.25rem;
1008 + font-size: 1rem;
887 1009 font-weight: 600;
888 - color: #1d2327;
889 1010 }
890 1011
891 -.modal-close-btn {
1012 +.cookieadmin_dialog_modal_close_btn {
892 1013 background: none;
893 1014 border: none;
894 - font-size: 1.5rem;
1015 + font-size: 22px;
895 1016 cursor: pointer;
896 - color: #50575e;
1017 + color: var(--cookieadmin-text-muted);
1018 + line-height: 1;
1019 + padding: 0;
897 1020 }
898 1021
899 -/* Modal Body (the form) */
900 -.modal-body {
901 - padding: 24px;
1022 +.cookieadmin_dialog_modal_close_btn:hover {
1023 + color: var(--cookieadmin-text);
902 1024 }
903 1025
904 -.form-group {
905 - margin-bottom: 20px;
906 - display: grid;
907 - grid-template-columns: 120px 1fr; /* Label and Input alignment */
908 - align-items: center;
909 - gap: 16px;
1026 +.cookieadmin_modal-body {
1027 + padding: 20px;
910 1028 }
911 1029
912 -.form-group label {
913 - font-weight: 500;
914 - 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);
915 1038 }
916 1039
917 -.form-group input,
918 -.form-group select,
919 -.form-group textarea {
920 - width: 95%;
921 - padding: 8px 12px;
922 - border: 1px solid #8c8f94;
923 - border-radius: 4px;
924 - font-size: 14px;
925 - box-sizing: border-box; /* Important for padding and width */
1040 +.cookieadmin_modal-footer .spinner.is-active{
1041 + margin:0;
926 1042 }
927 1043
928 -.form-group textarea {
929 - min-height: 120px;
930 - resize: vertical;
931 - align-self: flex-start; /* Align textarea with top of label */
1044 +.cookieadmin_form-group {
1045 + margin-bottom: 16px;
932 1046 }
933 1047
934 -/* Modal Footer */
935 -.modal-footer {
936 - display: flex;
937 - justify-content: flex-start;
938 - padding: 16px 24px;
939 - border-top: 1px solid #e0e0e0;
940 - 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);
941 1054 }
942 1055
943 -.btn {
944 - padding: 8px 16px;
945 - border-radius: 4px;
946 - 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);
947 1063 font-size: 14px;
948 - font-weight: 600;
949 - cursor: pointer;
950 - margin-right: 10px;
951 1064 }
952 1065
953 -.btn-primary {
954 - background-color: #007cba;
955 - color: white;
956 - border-color: #007cba;
1066 +.cookieadmin_form-group textarea {
1067 + min-height: 80px;
1068 + resize: vertical;
957 1069 }
958 1070
959 -.btn-secondary {
960 - background-color: #f6f7f7;
961 - color: #007cba;
962 - border-color: #007cba;
963 -}
964 -
965 -/* --- Modal Styles End --- */
966 -
967 1071 /* Table */
968 1072
969 1073 .cookieadmin-table{
970 1074 padding: 2px;
@@ -1004,48 +1108,44 @@
1004 1108 }
1005 1109
1006 1110 /* Table End */
1007 1111
1008 -/* Badges End */
1009 -
1010 -.cookieadmin-badge{
1011 - display: inline-block;
1012 - padding: 3px 10px 5px 10px;
1013 - font-size: 14px;
1112 +/* ======== BADGES ======== */
1113 +.cookieadmin-badge {
1114 + display: inline-flex;
1115 + align-items: center;
1116 + padding: 2px 10px;
1117 + font-size: 12px;
1014 1118 font-weight: 600;
1015 - line-height: 1.1;
1016 - border-radius: 1rem;
1017 - color: #000;
1018 - border: 1px solid #000;
1019 - background-color: #fff;
1119 + line-height: 1.6;
1120 + border-radius: 99px;
1121 + border: 1px solid;
1020 1122 }
1021 1123
1022 -.cookieadmin-success{
1023 - color: #06923E;
1024 - border: 1px solid #16C47F;
1025 - background-color: #eefef4;
1124 +.cookieadmin-success {
1125 + color: var(--cookieadmin-success);
1126 + border-color: var(--cookieadmin-success-border);
1127 + background: var(--cookieadmin-success-bg);
1026 1128 }
1027 1129
1028 -.cookieadmin-warning{
1029 - color: #b49046;
1030 - border: 1px solid #b49046;
1031 - background-color: #fffbe8;
1130 +.cookieadmin-warning {
1131 + color: var(--cookieadmin-warning);
1132 + border-color: var(--cookieadmin-warning-border);
1133 + background: var(--cookieadmin-warning-bg);
1032 1134 }
1033 1135
1034 -.cookieadmin-danger{
1035 - color: #ED3500;
1036 - border: 1px solid #E55050;
1037 - background-color: #fef2f2;
1136 +.cookieadmin-danger {
1137 + color: var(--cookieadmin-danger);
1138 + border-color: var(--cookieadmin-danger-border);
1139 + background: var(--cookieadmin-danger-bg);
1038 1140 }
1039 1141
1040 -.cookieadmin-info{
1041 - color: #4682A9;
1042 - border: 1px solid #5EABD6;
1043 - background-color: #f0fbff;
1142 +.cookieadmin-info {
1143 + color: var(--cookieadmin-info);
1144 + border-color: var(--cookieadmin-info-border);
1145 + background: var(--cookieadmin-info-bg);
1044 1146 }
1045 1147
1046 -/* Badges End */
1047 -
1048 1148 .cookieadmin-cookie-categorized tbody > tr:first-child td::before {
1049 1149 content: "⮟";
1050 1150 position: relative;
1051 1151 float: right;
@@ -1051,9 +1151,9 @@
1051 1151 float: right;
1052 1152 font-size: 17px;
1053 1153 }
1054 1154
1055 -.cookieadmin-cookie-categorized tbody:not(:first-of-type)::after {
1155 +.cookieadmin-cookie-categorized tbody:not(:last-of-type)::after {
1056 1156 content: "";
1057 1157 display: table-row;
1058 1158 height: 30px; /* This is your gap */
1059 1159 }
@@ -1088,15 +1188,367 @@
1088 1188 font-size: 24px;
1089 1189 font-weight: bold;
1090 1190 }
1091 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 +
1092 1208 /* --- Auto Categorize Cookies End --- */
1093 1209
1094 1210
1095 1211
1096 1212 /* --- Override Dashicons Start --- */
1097 -.dashicons {
1213 +.cookieadmin-metabox-holder .dashicons {
1098 1214 cursor: pointer;
1099 1215 }
1100 1216 /* --- Override Dashicons End --- */
1101 1217
1102 1218
1219 +
1220 +/* CookieAdmin Tooltip Start */
1221 +.cookieadmin-tooltip {
1222 + position: fixed;
1223 + background: #1e293b;
1224 + color: #fff;
1225 + padding: 6px 10px;
1226 + border-radius: var(--cookieadmin-radius);
1227 + font-size: 12px;
1228 + white-space: nowrap;
1229 + pointer-events: none;
1230 + z-index: 999999;
1231 + opacity: 0;
1232 + transition: opacity .12s ease;
1233 + box-shadow: var(--cookieadmin-shadow-md);
1234 +}
1235 +
1236 +/* CookieAdmin Tooltip End */
1237 +
1238 +
1239 +.cookieadmin-buttons-div {
1240 + display: flex;
1241 + flex-direction: row;
1242 +}
1243 +
1244 +.cookieadmin-add-cookie-div {
1245 + border-right: 1px solid #e0e0e0;
1246 + padding-right: 10px;
1247 +}
1248 +
1249 +/* Consent Expiry */
1250 +#cookieadmin_consent_logs_expiry_days {
1251 + width: 50px;
1252 + text-align: center;
1253 + margin: 0px 10px;
1254 + padding: 0px;
1255 + height: 30px;
1256 +}
1257 +
1258 +.cookieadmin-purge-consent-btn{
1259 + background-color: #dc3545 !important;
1260 + color: white !important;
1261 + border-color: unset !important;
1262 +}
1263 +
1264 +.cookieadmin-setting-logs{
1265 + display: flex;
1266 + align-items: center;
1267 +}
1268 +
1269 +.cookieadmin-save-settings{
1270 + border-top: 1px solid #e0e0e0;
1271 + margin-bottom: 15vh;
1272 +}
1273 +
1274 +/* Content Blocking Section Styles */
1275 +.cookieadmin-cb-services{
1276 + width: fit-content;
1277 + display: grid;
1278 + grid-template-columns: repeat(3, 1fr);
1279 +}
1280 +
1281 +/* ====================== DASHBOARD WIDGETS ======================*/
1282 +
1283 +/* Grid */
1284 +.cookieadmin-dashboard-grid {
1285 + display: flex;
1286 + gap: 20px;
1287 + margin-top: 16px;
1288 +}
1289 +
1290 +.cookieadmin-dashboard-main {
1291 + flex: 0 0 70%;
1292 + max-width: 70%;
1293 + min-width: 0;
1294 +}
1295 +
1296 +.cookieadmin-dashboard-sidebar {
1297 + width:100%;
1298 +}
1299 +
1300 +@media (max-width: 860px) {
1301 + .cookieadmin-dashboard-grid {
1302 + flex-direction: column;
1303 + }
1304 + .cookieadmin-dashboard-main,
1305 + .cookieadmin-dashboard-sidebar {
1306 + flex: 0 0 100%;
1307 + max-width: 100%;
1308 + }
1309 +}
1310 +
1311 +/* Checklist */
1312 +.cookieadmin-checklist {
1313 + list-style: none;
1314 + margin: 0;
1315 + padding: 0;
1316 + counter-reset: checklist;
1317 +}
1318 +
1319 +.cookieadmin-checklist li {
1320 + margin-bottom: 0;
1321 +}
1322 +
1323 +.cookieadmin-checklist li a {
1324 + display: flex;
1325 + align-items: center;
1326 + gap: 10px;
1327 + padding: 11px 12px;
1328 + border-radius: var(--cookieadmin-radius-sm);
1329 + color: var(--cookieadmin-text);
1330 + text-decoration: none;
1331 + font-size: 14px;
1332 + font-weight: 500;
1333 + transition: background .12s ease;
1334 +}
1335 +
1336 +.cookieadmin-checklist li a:hover {
1337 + background: var(--cookieadmin-surface-secondary);
1338 +}
1339 +
1340 +.cookieadmin-checklist li a .dashicons {
1341 + width: 22px;
1342 + height: 22px;
1343 + font-size: 16px;
1344 + display: flex;
1345 + align-items: center;
1346 + justify-content: center;
1347 + border-radius: 50%;
1348 + flex-shrink: 0;
1349 +}
1350 +
1351 +.cookieadmin-checklist-item--done .dashicons {
1352 + background: var(--cookieadmin-success-bg);
1353 + color: var(--cookieadmin-success);
1354 +}
1355 +
1356 +.cookieadmin-checklist-item--pending .dashicons {
1357 + background: var(--cookieadmin-surface-secondary);
1358 + color: var(--cookieadmin-text-soft);
1359 +}
1360 +
1361 +/* Cookie Inventory */
1362 +.cookieadmin-inventory-total {
1363 + display: flex;
1364 + align-items: baseline;
1365 + gap: 6px;
1366 + margin-bottom: 14px;
1367 +}
1368 +
1369 +.cookieadmin-inventory-number {
1370 + font-size: 2rem;
1371 + font-weight: 700;
1372 + color: var(--cookieadmin-text);
1373 + line-height: 1;
1374 +}
1375 +
1376 +.cookieadmin-inventory-label {
1377 + font-size: 14px;
1378 + color: var(--cookieadmin-text-muted);
1379 +}
1380 +
1381 +.cookieadmin-segment-bar {
1382 + display: flex;
1383 + width: 100%;
1384 + height: 10px;
1385 + border-radius: 99px;
1386 + overflow: hidden;
1387 + margin-bottom: 14px;
1388 + background: var(--cookieadmin-border-light);
1389 +}
1390 +
1391 +.cookieadmin-segment {
1392 + height: 100%;
1393 + min-width: 2px;
1394 +}
1395 +
1396 +.cookieadmin-segment-legend {
1397 + display: flex;
1398 + flex-wrap: wrap;
1399 + gap: 12px 16px;
1400 + margin-bottom: 14px;
1401 + font-size: 12px;
1402 + color: var(--cookieadmin-text-muted);
1403 +}
1404 +
1405 +.cookieadmin-legend-item {
1406 + display: inline-flex;
1407 + align-items: center;
1408 + gap: 5px;
1409 +}
1410 +
1411 +.cookieadmin-legend-dot {
1412 + width: 8px;
1413 + height: 8px;
1414 + border-radius: 50%;
1415 + display: inline-block;
1416 + flex-shrink: 0;
1417 +}
1418 +
1419 +.cookieadmin-inventory-warning {
1420 + display: flex;
1421 + align-items: center;
1422 + gap: 6px;
1423 + background: var(--cookieadmin-warning-bg);
1424 + border: 1px solid var(--cookieadmin-warning-border);
1425 + color: var(--cookieadmin-warning);
1426 + padding: 10px 12px;
1427 + border-radius: var(--cookieadmin-radius-sm);
1428 + font-size: 13px;
1429 + margin-bottom: 14px;
1430 +}
1431 +
1432 +.cookieadmin-inventory-actions {
1433 + text-align: right;
1434 +}
1435 +
1436 +/* Recommended Plugins */
1437 +.cookieadmin-recommended-plugins .cookieadmin-card-body {
1438 + padding: 12px;
1439 +}
1440 +
1441 +.cookieadmin-recommended-plugin {
1442 + padding: 10px;
1443 + border-radius: var(--cookieadmin-radius-sm);
1444 + background: #fff;
1445 + border: 1px solid var(--cookieadmin-border);
1446 + margin-bottom: 10px;
1447 +}
1448 +
1449 +.cookieadmin-recommended-plugin:last-child {
1450 + margin-bottom: 0;
1451 +}
1452 +
1453 +.cookieadmin-recommended-plugin-info {
1454 + display: flex;
1455 + align-items: flex-start;
1456 + gap: 10px;
1457 + margin-bottom: 8px;
1458 +}
1459 +
1460 +.cookieadmin-recommended-plugin-icon {
1461 + width: 32px;
1462 + height: 32px;
1463 + border-radius: var(--cookieadmin-radius-sm);
1464 + background: var(--cookieadmin-primary-light);
1465 + color: var(--cookieadmin-primary);
1466 + display: flex;
1467 + align-items: center;
1468 + justify-content: center;
1469 + flex-shrink: 0;
1470 +}
1471 +
1472 +.cookieadmin-recommended-plugin-icon .dashicons {
1473 + font-size: 20px;
1474 + width: 20px;
1475 + height: 20px;
1476 +}
1477 +
1478 +.cookieadmin-recommended-plugin-name {
1479 + font-size: 14px;
1480 + font-weight: 600;
1481 + color: var(--cookieadmin-text);
1482 + line-height: 1.3;
1483 +}
1484 +
1485 +.cookieadmin-recommended-plugin-desc {
1486 + font-size: 12px;
1487 + color: var(--cookieadmin-text-muted);
1488 + line-height: 1.4;
1489 +}
1490 +
1491 +.cookieadmin-recommended-plugin-link {
1492 + font-size: 11px;
1493 + color: var(--cookieadmin-primary);
1494 + text-decoration: none;
1495 + font-weight: 500;
1496 + margin-top: 4px;
1497 + display: inline-block;
1498 +}
1499 +
1500 +.cookieadmin-recommended-plugin-link:hover {
1501 + text-decoration: underline;
1502 +}
1503 +
1504 +.cookieadmin-recommended-plugin-action {
1505 + display:flex;
1506 + margin-top:5px;
1507 + justify-content:space-between;
1508 +
1509 +}
1510 +
1511 +/* Pro mini table on dashboard */
1512 +.cookieadmin-consent-log-table {
1513 + width: 100%;
1514 + border-collapse: collapse;
1515 + font-size: 13px;
1516 +}
1517 +
1518 +.cookieadmin-consent-log-table thead th {
1519 + font-weight: 600;
1520 + color: var(--cookieadmin-text-muted);
1521 + text-align: left;
1522 + padding: 8px 10px;
1523 + border-bottom: 1px solid var(--cookieadmin-border);
1524 + font-size: 12px;
1525 + text-transform: uppercase;
1526 + letter-spacing: .3px;
1527 +}
1528 +
1529 +.cookieadmin-consent-log-table tbody td {
1530 + padding: 8px 10px;
1531 + border-bottom: 1px solid var(--cookieadmin-border-light);
1532 + color: var(--cookieadmin-text);
1533 +}
1534 +
1535 +.cookieadmin-consent-log-table tbody tr:last-child td {
1536 + border-bottom: none;
1537 +}
1538 +
1539 +/* Widget link row */
1540 +.cookieadmin-widget-link-row {
1541 + text-align: right;
1542 + margin-top: 10px;
1543 +}
1544 +
1545 +.cookieadmin-widget-link-row a {
1546 + font-size: 12px;
1547 + font-weight: 500;
1548 + color: var(--cookieadmin-primary);
1549 + text-decoration: none;
1550 +}
1551 +
1552 +.cookieadmin-widget-link-row a:hover {
1553 + text-decoration: underline;
1554 +}