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