frontblocks-testimonials.css
116 lines
| 1 | .frontblocks-testimonials-carousel { |
| 2 | padding: 60px 0; |
| 3 | } |
| 4 | |
| 5 | .frontblocks-testimonials-carousel .glide__slide { |
| 6 | height: auto; |
| 7 | } |
| 8 | |
| 9 | .frontblocks-testimonials-carousel .testimonial-card { |
| 10 | background-color: #fff; |
| 11 | border: 2px solid var(--primary); |
| 12 | border-radius: 15px; |
| 13 | padding: 20px; |
| 14 | text-align: center; |
| 15 | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); |
| 16 | display: flex; |
| 17 | flex-direction: column; |
| 18 | align-items: center; |
| 19 | position: relative; |
| 20 | height: 100%; |
| 21 | } |
| 22 | |
| 23 | .frontblocks-testimonials-carousel .testimonial-header { |
| 24 | position: absolute; |
| 25 | top: 0; |
| 26 | left: 50%; |
| 27 | transform: translate(-50%, -50%); |
| 28 | width: 120px; |
| 29 | height: 120px; |
| 30 | border-radius: 50%; |
| 31 | border: 4px solid var(--primary); |
| 32 | background-color: #fff; |
| 33 | display: flex; |
| 34 | justify-content: center; |
| 35 | align-items: center; |
| 36 | } |
| 37 | |
| 38 | .frontblocks-testimonials-carousel .testimonial-image-container { |
| 39 | width: 100px; |
| 40 | height: 100px; |
| 41 | border-radius: 50%; |
| 42 | overflow: hidden; |
| 43 | } |
| 44 | |
| 45 | .frontblocks-testimonials-carousel .testimonial-image { |
| 46 | width: 100%; |
| 47 | height: 100%; |
| 48 | object-fit: cover; |
| 49 | } |
| 50 | |
| 51 | .frontblocks-testimonials-carousel .testimonial-content { |
| 52 | text-align: center; |
| 53 | flex-grow: 1; |
| 54 | display: flex; |
| 55 | flex-direction: column; |
| 56 | justify-content: space-between; |
| 57 | padding-top: 50px; |
| 58 | } |
| 59 | |
| 60 | .frontblocks-testimonials-carousel .testimonial-content h3 { |
| 61 | color: #000; |
| 62 | font-size: 1.2em; |
| 63 | font-weight: bold; |
| 64 | } |
| 65 | |
| 66 | .frontblocks-testimonials-carousel .testimonial-content p { |
| 67 | color: #000000; |
| 68 | font-size: 0.9em; |
| 69 | line-height: 1.4; |
| 70 | word-break: break-word; |
| 71 | overflow-wrap: break-word; |
| 72 | } |
| 73 | |
| 74 | .frontblocks-testimonials-carousel .stars-container { |
| 75 | background-color: var(--primary); |
| 76 | padding: 10px 20px; |
| 77 | border-radius: 5px; |
| 78 | display: inline-block; |
| 79 | border-bottom-left-radius: 15px; |
| 80 | border-bottom-right-radius: 15px; |
| 81 | } |
| 82 | |
| 83 | .frontblocks-testimonials-carousel .stars-container .star { |
| 84 | color: rgba(255, 255, 255, 0.5); |
| 85 | font-size: 1.5em; |
| 86 | line-height: 1; |
| 87 | } |
| 88 | |
| 89 | .frontblocks-testimonials-carousel .stars-container .star.filled { |
| 90 | color: #fff; |
| 91 | } |
| 92 | |
| 93 | .frontblocks-testimonials-carousel .glide__arrow { |
| 94 | color: var(--primary); |
| 95 | border-color: var(--primary); |
| 96 | } |
| 97 | |
| 98 | .frontblocks-testimonials-carousel .glide__arrow:hover { |
| 99 | border-color: var(--primary); |
| 100 | background-color: var(--primary); |
| 101 | color: #fff; |
| 102 | } |
| 103 | |
| 104 | .frontblocks-testimonials-carousel .glide__bullet--active { |
| 105 | background-color: var(--primary); |
| 106 | } |
| 107 | |
| 108 | .frontblocks-testimonials-carousel .glide__bullet { |
| 109 | background-color: rgba(0, 0, 0, 0.2); |
| 110 | border-color: var(--primary); |
| 111 | } |
| 112 | |
| 113 | .frontblocks-testimonials-carousel .glide__bullet:hover { |
| 114 | background-color: var(--primary); |
| 115 | border-color: var(--primary); |
| 116 | } |