PluginProbe
WebberZone Top 10 — Popular Posts / 4.4.0
WebberZone Top 10 — Popular Posts v4.4.0
4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 All 117 releases
top-10 / includes / admin / settings / css / admin-style-rtl.css

admin-style-rtl.css in WebberZone Top 10 — Popular Posts 4.4.0, at includes/admin/settings/css/admin-style-rtl.css

623 lines 11.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* General styles for the repeater wrapper */
2 .wz-repeater-wrapper {
3 position: relative;
4 margin-bottom: 1.5rem;
5 }
6
7 /* Repeater items container */
8 .wz-repeater-wrapper .wz-repeater-item {
9 display: flex;
10 flex-direction: column;
11 background: #f9f9f9;
12 border: 1px solid #ddd;
13 padding: 1rem;
14 margin-bottom: 1rem;
15 border-radius: 4px;
16 }
17
18 .wz-repeater-item .repeater-item-header {
19 display: flex;
20 justify-content: space-between;
21 align-items: center;
22 border-bottom: 1px solid #ddd;
23 padding-bottom: 0.5rem;
24 cursor: pointer;
25 font-weight: bold;
26 }
27
28 /* Header for repeater field */
29 .wz-repeater-field-header {
30 margin-bottom: 0.5rem;
31 }
32
33 .wz-repeater-field-label {
34 font-weight: bold;
35 font-size: 0.9rem;
36 }
37
38 /* Input field styles */
39 .wz-repeater-field-input {
40 margin-bottom: 1rem;
41 }
42
43 /* Repeater item actions (buttons) */
44 .repeater-item-actions {
45 display: flex;
46 gap: 0.5rem;
47 justify-content: flex-start;
48 margin-top: 1rem;
49 }
50
51 .repeater-item-actions .button {
52 display: inline-flex;
53 align-items: center;
54 gap: 0.25rem;
55 }
56
57 .repeater-item-actions .dashicons {
58 font-size: 16px;
59 }
60
61 /* Move up/down button styles */
62 .repeater-item-actions .move-up,
63 .repeater-item-actions .move-down {
64 background: #f4f4f4;
65 color: #333;
66 border: 1px solid #ddd;
67 border-radius: 3px;
68 padding: 0.5rem;
69 }
70
71 .repeater-item-actions .move-up:hover,
72 .repeater-item-actions .move-down:hover {
73 background: #e0e0e0;
74 }
75
76 /* Remove button styles */
77 .repeater-item-actions .remove-item {
78 background: #fdd;
79 border-color: #fbb;
80 }
81
82 .repeater-item-actions .remove-item:hover {
83 background: #fbb;
84 }
85
86 /* Add item button styling */
87 .wz-repeater-wrapper .add-item {
88 background-color: #0073aa;
89 color: #fff;
90 padding: 0.5rem 1rem;
91 border: none;
92 border-radius: 4px;
93 cursor: pointer;
94 font-size: 1rem;
95 margin-top: 1rem;
96 }
97
98 .wz-repeater-wrapper .add-item:hover {
99 background-color: #005177;
100 color: #fff;
101 border-color: #004063;
102 }
103
104 /* Template styling for new items (hidden template) */
105 .repeater-template {
106 display: none;
107 }
108
109 /* Responsiveness for smaller screens */
110 @media screen and (max-width: 768px) {
111 .wz-repeater-wrapper {
112 margin-bottom: 1rem;
113 }
114
115 .wz-repeater-item {
116 flex-direction: column;
117 }
118
119 .repeater-item-actions {
120 flex-direction: column;
121 align-items: flex-start;
122 }
123
124 .repeater-item-actions .button {
125 margin-bottom: 0.5rem;
126 }
127 }
128
129 /* Field input responsive tweaks */
130 @media screen and (max-width: 480px) {
131 .wz-repeater-field-label {
132 font-size: 0.85rem;
133 }
134
135 .wz-repeater-field-input {
136 font-size: 0.85rem;
137 }
138
139 .repeater-item-actions .button {
140 font-size: 0.85rem;
141 }
142
143 .add-item {
144 font-size: 1rem;
145 padding: 0.5rem;
146 }
147 }
148
149 /* Repeater Fields */
150 .wz-repeater-item {
151 background: #fff;
152 border: 1px solid #ccd0d4;
153 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
154 margin-bottom: 15px;
155 border-radius: 3px;
156 }
157
158 .repeater-item-content {
159 padding: 15px;
160 }
161
162 .wz-repeater-field {
163 margin-bottom: 15px;
164 }
165
166 .wz-repeater-field:last-child {
167 margin-bottom: 0;
168 }
169
170 .wz-repeater-field-header {
171 margin-bottom: 8px;
172 }
173
174 .wz-repeater-field-label {
175 display: block;
176 font-weight: 600;
177 margin-bottom: 4px;
178 }
179
180 .wz-repeater-field-description {
181 color: #666;
182 font-style: italic;
183 margin: 4px 0 0;
184 font-size: 13px;
185 }
186
187 .wz-repeater-field-input input[type="text"],
188 .wz-repeater-field-input input[type="url"],
189 .wz-repeater-field-input input[type="number"],
190 .wz-repeater-field-input input[type="password"],
191 .wz-repeater-field-input input[type="email"],
192 .wz-repeater-field-input textarea,
193 .wz-repeater-field-input select {
194 width: 100%;
195 max-width: 100%;
196 }
197
198 .repeater-item-footer {
199 background: #f5f5f5;
200 border-top: 1px solid #ddd;
201 padding: 10px 15px;
202 text-align: left;
203 }
204
205 .repeater-item-footer .remove-item {
206 color: #b32d2e;
207 }
208
209 .repeater-item-footer .remove-item:hover {
210 color: #dc3232;
211 }
212
213 .repeater-item-footer .dashicons {
214 margin-top: 4px;
215 }
216
217 /* Required field indicator */
218 .required {
219 color: #d63638;
220 font-weight: bold;
221 margin-right: 2px;
222 font-size: 1.3em;
223 }
224
225 /* Tom Select Customizations */
226 .ts-wrapper.loading .spinner {
227 display: inline-block;
228 visibility: visible;
229 float: none;
230 margin: 5px auto;
231 }
232
233 .ts-wrapper .no-results {
234 padding: 5px 10px;
235 color: #666;
236 font-style: italic;
237 }
238
239 .ts-wrapper.form-control {
240 border: 1px solid #8c8f94;
241 border-radius: 4px;
242 min-height: 30px;
243 }
244
245 .ts-wrapper.focus {
246 border-color: #2271b1;
247 box-shadow: 0 0 0 1px #2271b1;
248 outline: 2px solid transparent;
249 }
250
251 .ts-dropdown {
252 border: 1px solid #8c8f94;
253 border-radius: 4px;
254 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
255 }
256
257 .ts-dropdown .option {
258 padding: 6px 10px;
259 }
260
261 .ts-dropdown .active {
262 background-color: #2271b1;
263 color: #fff;
264 }
265
266 .ts-wrapper.single.plugin-clear_button {
267 position: relative;
268 }
269
270 .ts-wrapper.single .clear-button {
271 position: absolute;
272 top: 50%;
273 left: 8px;
274 transform: translateY(-50%);
275 font-size: 2em;
276 }
277 /* Toggle switch field type. */
278 .wz-toggle {
279 position: relative;
280 display: inline-block;
281 width: 40px;
282 height: 22px;
283 vertical-align: middle;
284 }
285
286 .wz-toggle input[type="checkbox"] {
287 position: absolute;
288 opacity: 0;
289 width: 100%;
290 height: 100%;
291 margin: 0;
292 cursor: pointer;
293 }
294
295 .wz-toggle .wz-toggle-slider {
296 position: absolute;
297 inset: 0;
298 background-color: #8c8f94;
299 border-radius: 11px;
300 transition: background-color 0.2s ease;
301 pointer-events: none;
302 }
303
304 .wz-toggle .wz-toggle-slider::before {
305 content: "";
306 position: absolute;
307 top: 2px;
308 right: 2px;
309 width: 18px;
310 height: 18px;
311 background-color: #fff;
312 border-radius: 50%;
313 transition: transform 0.2s ease;
314 }
315
316 .wz-toggle input[type="checkbox"]:checked + .wz-toggle-slider {
317 background-color: #2271b1;
318 }
319
320 .wz-toggle input[type="checkbox"]:checked + .wz-toggle-slider::before {
321 transform: translateX(-18px);
322 }
323
324 .wz-toggle input[type="checkbox"]:focus-visible + .wz-toggle-slider {
325 outline: 2px solid #2271b1;
326 outline-offset: 2px;
327 }
328
329 .wz-toggle input[type="checkbox"]:disabled {
330 cursor: not-allowed;
331 }
332
333 .wz-toggle input[type="checkbox"]:disabled + .wz-toggle-slider {
334 opacity: 0.5;
335 }
336
337 /* Vertical settings tabs. */
338 .wz-vertical-tabs {
339 display: flex;
340 align-items: flex-start;
341 gap: 24px;
342 }
343
344 .wz-vertical-tabs > ul.nav-tab-wrapper {
345 flex: 0 0 auto;
346 width: fit-content;
347 min-width: 160px;
348 max-width: 260px;
349 display: flex;
350 flex-direction: column;
351 gap: 2px;
352 align-self: flex-start;
353 margin: 0;
354 padding: 8px;
355 background: #fff;
356 border: 1px solid #c3c4c7;
357 border-radius: 4px;
358 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
359 position: sticky;
360 top: 46px;
361 }
362
363 .wz-vertical-tabs > ul.nav-tab-wrapper li {
364 margin: 0;
365 padding: 0;
366 border: 0;
367 background: transparent;
368 list-style: none;
369 }
370
371 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab {
372 display: block;
373 float: none;
374 margin: 0;
375 padding: 8px 12px;
376 border: none;
377 border-radius: 3px;
378 background: transparent;
379 color: #2c3338;
380 font-weight: 500;
381 transition:
382 background-color 0.15s ease,
383 color 0.15s ease;
384 }
385
386 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab:hover {
387 background-color: #f0f0f1;
388 color: #2271b1;
389 box-shadow: none;
390 }
391
392 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab:focus-visible {
393 outline: 2px solid #2271b1;
394 outline-offset: -2px;
395 box-shadow: none;
396 }
397
398 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab-active,
399 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab-active:hover,
400 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab-active:focus {
401 background-color: #2271b1;
402 color: #fff;
403 }
404
405 .wz-vertical-tabs > form {
406 flex: 1;
407 min-width: 0;
408 margin-top: 0;
409 }
410
411 /* Keep the CodeMirror CSS editor within its column on narrow screens. */
412 .wz-vertical-tabs .CodeMirror {
413 max-width: 100%;
414 }
415
416 /* Horizontal tabs on small screens (WP admin breakpoint); pills keep their style. */
417 @media screen and (max-width: 782px) {
418 .wz-vertical-tabs {
419 display: block;
420 }
421
422 .wz-vertical-tabs > ul.nav-tab-wrapper {
423 flex-direction: row;
424 flex-wrap: wrap;
425 width: auto;
426 max-width: none;
427 position: static;
428 margin-bottom: 16px;
429 }
430
431 .wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-search-wrap {
432 flex: 1 1 100%;
433 }
434 }
435
436 /* Settings search. */
437 .wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-search-wrap {
438 margin: 0 0 8px;
439 padding: 0;
440 }
441
442 .wz-settings-search-box {
443 position: relative;
444 display: block;
445 }
446
447 .wz-settings-search {
448 width: 100%;
449 margin: 0;
450 padding: 4px 8px 4px 28px;
451 border: 1px solid #8c8f94;
452 border-radius: 3px;
453 font-size: 13px;
454 line-height: 1.6;
455 }
456
457 .wz-settings-search:focus {
458 border-color: #2271b1;
459 box-shadow: 0 0 0 1px #2271b1;
460 outline: none;
461 }
462
463 /* Hide the native WebKit clear control; the plugin renders its own clear button. */
464 .wz-settings-search::-webkit-search-cancel-button {
465 -webkit-appearance: none;
466 appearance: none;
467 }
468
469 .wz-settings-search-clear {
470 position: absolute;
471 top: 50%;
472 left: 4px;
473 transform: translateY(-50%);
474 margin: 0;
475 padding: 0 6px;
476 border: 0;
477 border-radius: 2px;
478 background: transparent;
479 color: #646970;
480 cursor: pointer;
481 font-size: 18px;
482 line-height: 1.2;
483 }
484
485 .wz-settings-search-clear:hover {
486 color: #d63638;
487 }
488
489 .wz-settings-search-clear:focus-visible {
490 outline: 2px solid #2271b1;
491 outline-offset: 1px;
492 }
493
494 .wz-settings-search-clear[hidden] {
495 display: none;
496 }
497
498 /* Rows filtered out by the search. */
499 .wz-search-hidden {
500 display: none !important;
501 }
502
503 /* While searching, show every tab panel that has matches and hide the rest. */
504 .wz-vertical-tabs.wz-searching > form > div {
505 display: none !important;
506 }
507
508 .wz-vertical-tabs.wz-searching > form > div.wz-has-matches {
509 display: block !important;
510 margin-bottom: 24px;
511 }
512
513 /* Hide the per-tab button rows and legends while searching; a single save bar is shown instead. */
514 .wz-vertical-tabs.wz-searching > form > div.wz-has-matches > p {
515 display: none;
516 }
517
518 .wz-vertical-tabs.wz-searching > form > div.wz-has-matches > table.form-table {
519 margin-top: 0;
520 }
521
522 /* Per-tab section title: hidden normally, shown while searching to identify each group of results. */
523 .wz-section-title {
524 display: none;
525 }
526
527 .wz-vertical-tabs.wz-searching .wz-section-title {
528 display: block;
529 margin: 0;
530 padding: 6px 10px;
531 background: #f0f0f1;
532 border-right: 4px solid #2271b1;
533 color: #50575e;
534 font-size: 13px;
535 font-weight: 600;
536 text-transform: uppercase;
537 letter-spacing: 0.5px;
538 }
539
540 /* Single sticky save bar shown while search results are displayed. */
541 .wz-search-actions {
542 position: sticky;
543 bottom: 0;
544 margin: 0;
545 padding: 12px 0;
546 background: linear-gradient(to bottom, rgba(240, 240, 241, 0), #f0f0f1 40%);
547 }
548
549 /* Match-count badge on the navigation tabs. */
550 .wz-tab-count {
551 display: inline-block;
552 margin-right: 6px;
553 padding: 0 6px;
554 border-radius: 9px;
555 background-color: #2271b1;
556 color: #fff;
557 font-size: 11px;
558 line-height: 18px;
559 vertical-align: middle;
560 }
561
562 .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab-active .wz-tab-count {
563 background-color: #fff;
564 color: #2271b1;
565 }
566
567 .wz-vertical-tabs > ul.nav-tab-wrapper .wz-tab-no-matches {
568 opacity: 0.45;
569 }
570
571 /* Highlighted search term in row labels. */
572 mark.wz-search-mark {
573 padding: 0;
574 background-color: #fff3ad;
575 color: inherit;
576 }
577
578 /* No results message. */
579 .wz-search-no-results {
580 margin: 16px 0;
581 padding: 12px;
582 background: #fff;
583 border-right: 4px solid #dba617;
584 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
585 }
586
587 /* Modified-from-default indicator. */
588 .wz-modified-dot {
589 display: inline-block;
590 width: 8px;
591 height: 8px;
592 margin: 0 2px 0 6px;
593 border-radius: 50%;
594 background-color: #dba617;
595 vertical-align: middle;
596 }
597
598 .wz-modified-legend {
599 margin-top: 4px;
600 color: #646970;
601 font-size: 12px;
602 }
603
604 .wz-modified-legend .wz-modified-dot {
605 margin-right: 0;
606 }
607
608 /* Hide the legend on tabs where nothing is modified. */
609 form > div:not(:has(.form-table .wz-modified-dot)) .wz-modified-legend {
610 display: none;
611 }
612
613 /* Default value note below field descriptions. */
614 .wz-default-value {
615 color: #646970;
616 font-size: 12px;
617 }
618
619 .wz-default-value code {
620 font-size: 11px;
621 padding: 1px 5px;
622 }
623