PluginProbe
Cool Timeline (Horizontal & Vertical Timeline) / trunk
Cool Timeline (Horizontal & Vertical Timeline) vtrunk
4.0.0 3.4.0 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 2.2.3 2.3.3 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.6.1 2.7.1 2.8.3 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9 All 80 releases
cool-timeline / admin / css / ctl-story-pro-teaser.css

ctl-story-pro-teaser.css in Cool Timeline (Horizontal & Vertical Timeline) trunk, at admin/css/ctl-story-pro-teaser.css

690 lines 14.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .csf-field.story_format_image {
2 padding-top: 8px;
3 }
4
5 /* Main Teaser Box */
6 .ctl-story-pro-teaser {
7
8 margin: 8px 0 24px;
9 border: 1.5px solid #cbd5e1;
10 border-radius: 12px;
11 background: #ffffff;
12 box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
13 overflow: hidden;
14 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
15 }
16
17 /* Banner Header */
18 .ctl-story-pro-teaser__banner {
19 display: flex;
20 align-items: center;
21 justify-content: space-between;
22 gap: 20px;
23 padding: 20px 24px;
24 background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
25 border-bottom: 1px solid #334155;
26 }
27
28 .ctl-story-pro-teaser__copy {
29 min-width: 0;
30 }
31
32 .ctl-story-pro-teaser__eyebrow {
33 display: inline-flex;
34 align-items: center;
35 gap: 6px;
36 margin: 0 0 6px;
37 padding: 4px 12px;
38 border-radius: 999px;
39 background: rgba(20, 184, 166, 0.22);
40 color: #2dd4bf;
41 border: 1px solid rgba(45, 212, 191, 0.4);
42 font-size: 11px;
43 font-weight: 800;
44 letter-spacing: 0.06em;
45 line-height: 1.3;
46 text-transform: uppercase;
47 }
48
49 .ctl-story-pro-teaser__eyebrow svg {
50 flex-shrink: 0;
51 }
52
53 .ctl-story-pro-teaser__title {
54 margin: 0 0 4px;
55 color: #ffffff;
56 font-size: 17px;
57 font-weight: 700;
58 line-height: 1.35;
59 letter-spacing: -0.01em;
60 }
61
62 .ctl-story-pro-teaser__desc {
63 margin: 0;
64 color: #e2e8f0;
65 font-size: 13.5px;
66 line-height: 1.5;
67 }
68
69 .ctl-story-pro-teaser__actions {
70 display: flex;
71 align-items: center;
72 justify-content: flex-end;
73 flex: 0 0 auto;
74 }
75
76 .ctl-story-pro-teaser__btn-buy {
77 display: inline-flex !important;
78 align-items: center;
79 gap: 8px;
80 background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
81 border: 1px solid #2dd4bf !important;
82 color: #ffffff !important;
83 font-size: 13.5px !important;
84 font-weight: 700 !important;
85 padding: 0 20px !important;
86 height: 42px !important;
87 line-height: 40px !important;
88 border-radius: 8px !important;
89 box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4) !important;
90 text-shadow: none !important;
91 transition: all 0.2s ease-in-out !important;
92 cursor: pointer;
93 text-decoration: none;
94 box-sizing: border-box;
95 }
96
97 .ctl-story-pro-teaser__btn-buy:hover,
98 .ctl-story-pro-teaser__btn-buy:focus {
99 background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
100 box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6) !important;
101 transform: translateY(-2px);
102 color: #ffffff !important;
103 }
104
105 .ctl-story-pro-teaser__btn-buy:active {
106 transform: translateY(0);
107 }
108
109 /* Preview Wrap */
110 .ctl-story-pro-teaser__preview-wrap {
111 position: relative;
112 background: #f1f5f9;
113 padding: 16px;
114 }
115
116 .ctl-story-pro-teaser__preview-overlay {
117 position: absolute;
118 top: 12px;
119 right: 24px;
120 z-index: 10;
121 display: inline-flex;
122 align-items: center;
123 text-decoration: none;
124 transition: all 0.2s ease-in-out;
125 }
126
127 .ctl-story-pro-teaser__overlay-badge {
128 display: inline-flex;
129 align-items: center;
130 gap: 8px;
131 padding: 7px 16px;
132 border-radius: 999px;
133 background: #0f172a;
134 color: #ffffff;
135 border: 1.5px solid #0d9488;
136 font-size: 12px;
137 font-weight: 700;
138 box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
139 transition: all 0.2s ease-in-out;
140 }
141
142 .ctl-story-pro-teaser__preview-overlay:hover .ctl-story-pro-teaser__overlay-badge,
143 .ctl-story-pro-teaser__preview-overlay:focus .ctl-story-pro-teaser__overlay-badge {
144 transform: translateY(-2px);
145 background: #0d9488;
146 border-color: #2dd4bf;
147 box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
148 }
149
150 /* Razor Sharp Mock Form UI Container with Subtle Preview Opacity */
151 .ctl-story-pro-teaser__mock {
152 display: flex;
153 flex-direction: column;
154 gap: 16px;
155 opacity: 0.82;
156 transition: opacity 0.25s ease-in-out;
157 }
158
159 .ctl-story-pro-teaser__preview-wrap:hover .ctl-story-pro-teaser__mock {
160 opacity: 0.96;
161 }
162
163 .ctl-story-pro-teaser__mock-row {
164 display: grid;
165 grid-template-columns: 210px 1fr;
166 gap: 20px;
167 align-items: start;
168 padding: 18px 20px;
169 background: #ffffff;
170 border: 1.5px solid #cbd5e1;
171 border-radius: 10px;
172 box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
173 }
174
175 .ctl-story-pro-teaser__mock-label {
176 display: flex;
177 align-items: center;
178 gap: 8px;
179 font-size: 14px;
180 font-weight: 700;
181 color: #0f172a;
182 padding-top: 4px;
183 }
184
185 .ctl-story-pro-teaser__tag-pro {
186 display: inline-block;
187 padding: 2px 7px;
188 border-radius: 4px;
189 background: #fef3c7;
190 color: #92400e;
191 border: 1.5px solid #f59e0b;
192 font-size: 11px;
193 font-weight: 800;
194 letter-spacing: 0.05em;
195 }
196
197 .ctl-story-pro-teaser__mock-content {
198 display: flex;
199 flex-direction: column;
200 gap: 16px;
201 }
202
203 .ctl-story-pro-teaser__mock-content--grid {
204 display: grid;
205 grid-template-columns: 1fr 1fr;
206 gap: 16px;
207 }
208
209 .ctl-story-pro-teaser__mock-group {
210 display: flex;
211 flex-direction: column;
212 gap: 6px;
213 }
214
215 .ctl-story-pro-teaser__mock-group--inline {
216 flex-direction: row;
217 align-items: center;
218 gap: 16px;
219 }
220
221 .ctl-story-pro-teaser__mock-field-title {
222 font-size: 13px;
223 font-weight: 700;
224 color: #1e293b;
225 }
226
227 /* High Contrast Mock Controls */
228 .ctl-story-pro-teaser__mock-btn-group {
229 display: inline-flex;
230 padding: 3px;
231 background: #f1f5f9;
232 border: 1.5px solid #cbd5e1;
233 border-radius: 8px;
234 width: fit-content;
235 }
236
237 .ctl-story-pro-teaser__mock-btn {
238 padding: 7px 16px;
239 font-size: 13px;
240 font-weight: 600;
241 color: #334155;
242 border-radius: 6px;
243 background: transparent;
244 }
245
246 .ctl-story-pro-teaser__mock-btn--active {
247 background: #1a6463;
248 color: #ffffff;
249 font-weight: 700;
250 box-shadow: 0 2px 6px rgba(26, 100, 99, 0.35);
251 }
252
253 .ctl-story-pro-teaser__mock-input-wrap {
254 display: flex;
255 flex-direction: column;
256 gap: 6px;
257 }
258
259 .ctl-story-pro-teaser__mock-input {
260 display: flex;
261 align-items: center;
262 padding: 0 14px;
263 height: 38px;
264 background: #ffffff;
265 border: 1.5px solid #94a3b8;
266 border-radius: 6px;
267 color: #0f172a;
268 font-size: 13.5px;
269 font-weight: 600;
270 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
271 }
272
273 .ctl-story-pro-teaser__mock-hint {
274 font-size: 12px;
275 color: #475569;
276 font-weight: 500;
277 }
278
279 /* Toggle Switch */
280 .ctl-story-pro-teaser__mock-toggle {
281 display: inline-flex;
282 align-items: center;
283 gap: 10px;
284 }
285
286 .ctl-story-pro-teaser__mock-toggle-switch {
287 position: relative;
288 width: 40px;
289 height: 22px;
290 background: #cbd5e1;
291 border-radius: 999px;
292 }
293
294 .ctl-story-pro-teaser__mock-toggle-switch--on {
295 background: #1a6463;
296 }
297
298 .ctl-story-pro-teaser__mock-toggle-switch::after {
299 content: "";
300 position: absolute;
301 top: 3px;
302 left: 3px;
303 width: 16px;
304 height: 16px;
305 background: #ffffff;
306 border-radius: 50%;
307 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
308 }
309
310 .ctl-story-pro-teaser__mock-toggle-switch--on::after {
311 transform: translateX(18px);
312 }
313
314 .ctl-story-pro-teaser__mock-toggle-text {
315 font-size: 13px;
316 color: #0f172a;
317 font-weight: 600;
318 }
319
320 /* Mock Gallery */
321 .ctl-story-pro-teaser__mock-gallery {
322 display: flex;
323 align-items: center;
324 gap: 12px;
325 flex-wrap: wrap;
326 }
327
328 .ctl-story-pro-teaser__mock-thumb {
329 display: flex;
330 align-items: center;
331 justify-content: center;
332 width: 96px;
333 height: 64px;
334 border-radius: 6px;
335 border: 1px solid #cbd5e1;
336 font-size: 12px;
337 font-weight: 700;
338 color: #ffffff;
339 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
340 }
341
342 .ctl-story-pro-teaser__mock-thumb--1 {
343 background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
344 }
345
346 .ctl-story-pro-teaser__mock-thumb--2 {
347 background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
348 }
349
350 .ctl-story-pro-teaser__mock-thumb--3 {
351 background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
352 }
353
354 .ctl-story-pro-teaser__mock-add-media {
355 display: inline-flex;
356 align-items: center;
357 justify-content: center;
358 padding: 0 16px;
359 height: 38px;
360 border: 2px dashed #1a6463;
361 border-radius: 6px;
362 background: #f0fdfa;
363 color: #1a6463;
364 font-size: 12.5px;
365 font-weight: 700;
366 }
367
368 /* Color Picker Preview */
369 .ctl-story-pro-teaser__mock-color-picker {
370 display: flex;
371 align-items: center;
372 gap: 10px;
373 padding: 5px 12px;
374 background: #ffffff;
375 border: 1.5px solid #94a3b8;
376 border-radius: 6px;
377 width: fit-content;
378 }
379
380 .ctl-story-pro-teaser__mock-color-swatch {
381 width: 22px;
382 height: 22px;
383 border-radius: 4px;
384 border: 1px solid rgba(0, 0, 0, 0.15);
385 }
386
387 .ctl-story-pro-teaser__mock-color-picker code {
388 font-size: 13px;
389 color: #0f172a;
390 font-weight: 700;
391 }
392
393 @media screen and (max-width: 782px) {
394 .ctl-story-pro-teaser__banner {
395 flex-direction: column;
396 align-items: flex-start;
397 }
398
399 .ctl-story-pro-teaser__actions {
400 width: 100%;
401 }
402
403 .ctl-story-pro-teaser__btn-buy {
404 width: 100%;
405 justify-content: center;
406 }
407
408 .ctl-story-pro-teaser__preview-overlay {
409 position: static;
410 margin-bottom: 12px;
411 justify-content: flex-start;
412 }
413
414 .ctl-story-pro-teaser__mock-row {
415 grid-template-columns: 1fr;
416 gap: 12px;
417 }
418
419 .ctl-story-pro-teaser__mock-content--grid {
420 grid-template-columns: 1fr;
421 }
422 }
423
424 /* Right sidebar: Cool Timeline Pro + Feedback - Premium Compact Styling */
425 #feautre_list,
426 #review_us {
427 overflow: hidden;
428 box-sizing: border-box;
429 border: 1px solid #cbd5e1 !important;
430 border-radius: 8px !important;
431 box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05) !important;
432 }
433
434 #feautre_list .postbox-header,
435 #review_us .postbox-header {
436 background: #f8fafc !important;
437 border-bottom: 1px solid #e2e8f0 !important;
438 }
439
440 #feautre_list .hndle,
441 #review_us .hndle {
442 color: #0f172a !important;
443 font-weight: 700 !important;
444 font-size: 13.5px !important;
445 background: transparent !important;
446 margin: 0 !important;
447 }
448
449 #feautre_list .inside,
450 #review_us .inside {
451 margin: 0 !important;
452 padding: 0 !important;
453 }
454
455 .csf-field.ctl-story-sidebar-pro-field,
456 .csf-field.ctl-story-sidebar-review-field {
457 padding: 0 !important;
458 border: 0 !important;
459 margin: 0 !important;
460 box-sizing: border-box;
461 }
462
463 .ctl-story-sidebar-pro {
464 padding: 14px;
465 background: #ffffff;
466 box-sizing: border-box;
467 width: 100%;
468 }
469
470 .ctl-story-sidebar-pro__list {
471 list-style: none;
472 margin: 0 0 16px;
473 padding: 0;
474 }
475
476 .ctl-story-sidebar-pro__list li {
477 display: flex;
478 align-items: flex-start;
479 gap: 7px;
480 margin-left: 10px;
481 color: #334155;
482 font-size: 12px;
483 font-weight: 550;
484 line-height: 1.35;
485 transition: transform 0.2s ease, color 0.2s ease;
486 }
487
488 .ctl-story-sidebar-pro__list li:hover {
489 transform: translateX(3px);
490 color: #0d9488;
491 }
492
493 .ctl-story-sidebar-pro__list li:last-child {
494 margin-bottom: 0;
495 }
496
497 .ctl-story-sidebar-pro__check {
498 flex-shrink: 0;
499 width: 17px;
500 height: 17px;
501 color: #0d9488;
502 margin-top: 1px;
503 filter: drop-shadow(0 1px 2px rgba(13, 148, 136, 0.25));
504 }
505
506 .ctl-story-sidebar-pro__footer {
507 padding: 12px;
508 border-top: 1.5px dashed #e2e8f0;
509 }
510
511 .ctl-story-sidebar-pro__cta-label {
512 margin: 0 0 10px;
513 color: #0f172a;
514 font-size: 12.5px;
515 font-weight: 700;
516 text-align: center;
517 }
518
519 .ctl-story-sidebar-pro__actions {
520 display: flex;
521 flex-direction: row;
522 align-items: center;
523 gap: 8px;
524 }
525
526 .ctl-story-sidebar-pro__link {
527 flex: 1 1 50%;
528 display: inline-flex !important;
529 align-items: center;
530 justify-content: center;
531 color: #334155 !important;
532 background: #f8fafc !important;
533 border: 1px solid #cbd5e1 !important;
534 font-size: 12px !important;
535 font-weight: 600 !important;
536 padding: 0 8px !important;
537 height: 32px !important;
538 line-height: 30px !important;
539 border-radius: 6px !important;
540 transition: all 0.2s ease-in-out !important;
541 text-decoration: none;
542 box-sizing: border-box;
543 box-shadow: none !important;
544 white-space: nowrap;
545 }
546
547 .ctl-story-sidebar-pro__link:hover,
548 .ctl-story-sidebar-pro__link:focus {
549 color: #0d9488 !important;
550 background: #f0fdfa !important;
551 border-color: #0d9488 !important;
552 }
553
554 .ctl-story-sidebar-pro__buy {
555 flex: 1 1 50%;
556 display: inline-flex !important;
557 align-items: center;
558 justify-content: center;
559 background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
560 border: 1px solid #2dd4bf !important;
561 color: #ffffff !important;
562 font-weight: 700 !important;
563 font-size: 12px !important;
564 padding: 0 8px !important;
565 height: 32px !important;
566 line-height: 30px !important;
567 border-radius: 6px !important;
568 box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3) !important;
569 text-shadow: none !important;
570 transition: all 0.2s ease-in-out !important;
571 cursor: pointer;
572 text-decoration: none;
573 box-sizing: border-box;
574 white-space: nowrap;
575 }
576
577 .ctl-story-sidebar-pro__buy:hover,
578 .ctl-story-sidebar-pro__buy:focus {
579 background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
580 box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4) !important;
581 transform: translateY(-1px);
582 color: #ffffff !important;
583 }
584
585 .ctl-story-sidebar-pro__buy:active {
586 transform: translateY(0);
587 }
588
589 /* Feedback Box */
590 .ctl-story-sidebar-review {
591 padding: 14px;
592 background: #ffffff;
593 box-sizing: border-box;
594 width: 100%;
595 text-align: center;
596 }
597
598 .ctl-story-sidebar-review__text {
599 margin: 0 0 14px;
600 color: #475569;
601 font-size: 12.5px;
602 line-height: 1.45;
603 text-align: center;
604 font-weight: 500;
605 }
606
607 .ctl-story-sidebar-review__stars {
608 display: flex;
609 justify-content: center;
610 gap: 5px;
611 margin: 0 0 16px;
612 text-decoration: none;
613 transition: transform 0.2s ease;
614 }
615
616 .ctl-story-sidebar-review__stars:hover {
617 transform: scale(1.06);
618 }
619
620 .ctl-story-sidebar-review__star {
621 width: 20px;
622 height: 20px;
623 fill: #f59e0b;
624 filter: drop-shadow(0 1px 3px rgba(245, 158, 11, 0.3));
625 transition: transform 0.2s ease, fill 0.2s ease;
626 }
627
628 .ctl-story-sidebar-review__stars:hover .ctl-story-sidebar-review__star {
629 fill: #d97706;
630 animation: star-pulse 1s infinite alternate;
631 }
632
633 .ctl-story-sidebar-review__stars:hover .ctl-story-sidebar-review__star:nth-child(2) {
634 animation-delay: 0.1s;
635 }
636
637 .ctl-story-sidebar-review__stars:hover .ctl-story-sidebar-review__star:nth-child(3) {
638 animation-delay: 0.2s;
639 }
640
641 .ctl-story-sidebar-review__stars:hover .ctl-story-sidebar-review__star:nth-child(4) {
642 animation-delay: 0.3s;
643 }
644
645 .ctl-story-sidebar-review__stars:hover .ctl-story-sidebar-review__star:nth-child(5) {
646 animation-delay: 0.4s;
647 }
648
649 @keyframes star-pulse {
650 0% {
651 transform: scale(1);
652 }
653
654 100% {
655 transform: scale(1.15);
656 filter: drop-shadow(0 2px 6px rgba(217, 119, 6, 0.5));
657 }
658 }
659
660 .ctl-story-sidebar-review__button {
661 display: inline-flex !important;
662 align-items: center;
663 justify-content: center;
664 width: auto !important;
665 min-width: 130px;
666 margin: 0 auto !important;
667 color: #0d9488 !important;
668 border: 1.5px solid #0d9488 !important;
669 background: #ffffff !important;
670 font-size: 12px !important;
671 font-weight: 700 !important;
672 padding: 0 18px !important;
673 height: 32px !important;
674 line-height: 30px !important;
675 border-radius: 6px !important;
676 text-shadow: none !important;
677 transition: all 0.2s ease-in-out !important;
678 text-decoration: none;
679 box-shadow: none !important;
680 box-sizing: border-box;
681 }
682
683 .ctl-story-sidebar-review__button:hover,
684 .ctl-story-sidebar-review__button:focus {
685 color: #ffffff !important;
686 background: #0d9488 !important;
687 border-color: #0d9488 !important;
688 box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3) !important;
689 transform: translateY(-1px);
690 }