PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / admin / styles / _testimonial.scss

_testimonial.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at src/admin/styles/_testimonial.scss

291 lines 5.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Testimonial Section Styles
2 .spspc-testimonial {
3 margin-top: 60px;
4
5 .spspc-testimonial-header {
6 display: flex;
7 flex-direction: column;
8 align-items: center;
9 gap: 16px;
10 padding-top: 80px !important;
11 margin-bottom: 50px !important;
12
13 .spspc-testimonial-ratings {
14 display: flex;
15 gap: 16px;
16
17 .spspc-testimonial-rating-item {
18 display: flex;
19 align-items: center;
20 gap: 8px;
21 text-decoration: none;
22 transition: opacity 0.3s ease;
23
24 .spspc-testimonial-rating-wordpress {
25 display: flex;
26 align-items: center;
27 gap: 8px;
28
29 .spspc-wp-mark {
30 width: 20px;
31 height: 20px;
32 border-radius: 4px;
33 color: #fff;
34 display: flex;
35 align-items: center;
36 justify-content: center;
37 font-weight: 700;
38 font-size: 14px;
39 }
40
41 .spspc-wp-text {
42 color: #444c50;
43 font-weight: 500;
44 font-size: 14px;
45 display: flex;
46
47 svg {
48 color: #ffc329;
49 width: 15px;
50 height: 15px;
51 }
52 }
53 }
54
55 .spspc-testimonial-rating-trustpilot {
56 width: 20px;
57 height: 20px;
58
59 .spspc-trustpilot-mark {
60 color: #00b57a;
61 font-size: 20px;
62
63 svg {
64 width: 21px;
65 height: 20px;
66 }
67 }
68 }
69
70 .spspc-trustpilot-stars {
71 color: #fff;
72 font-size: 14px;
73 display: flex;
74 gap: 2px;
75
76 svg {
77 background-color: #00b57a;
78 padding: 2px;
79 width: 13px;
80 height: 13px;
81 }
82 }
83
84 .spspc-testimonial-rating-score {
85 color: #444c50;
86 font-weight: 600;
87 font-size: 16px;
88 }
89
90 .spspc-testimonial-review-count {
91 color: #575f62;
92 font-weight: 500;
93 font-size: 14px;
94 }
95 }
96 }
97
98 .spspc-testimonial-title {
99 font-size: 28px;
100 font-weight: 600;
101 line-height: 28px;
102 color: #2f2f2f;
103 margin: 0;
104 }
105 }
106
107 .spspc-testimonial-wrap {
108 display: flex;
109 gap: 24px;
110 }
111 }
112
113 .spspc-testimonial-card {
114 background: #fff;
115 border: 1px solid #ddd;
116 border-radius: 16px;
117 padding: 32px !important;
118 flex: 1;
119 min-width: 0;
120 display: flex;
121 flex-direction: column;
122 gap: 20px;
123 align-items: flex-start;
124
125 .spspc-testimonial-card-header {
126 .spspc-testimonial-reviewer {
127 display: flex;
128 gap: 12px;
129 align-items: center;
130
131 .spspc-testimonial-avatar {
132 position: relative;
133 width: 60px;
134 height: 60px;
135 flex-shrink: 0;
136
137 img {
138 width: 60px;
139 height: 60px;
140 border-radius: 99px;
141 object-fit: cover;
142 }
143
144 .spspc-testimonial-source-badge {
145 position: absolute;
146 bottom: 0;
147 right: 0;
148 width: 24px;
149 height: 24px;
150 background: #fff;
151 border-radius: 50%;
152 display: flex;
153 align-items: center;
154 justify-content: center;
155 padding: 1px;
156 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
157
158 span {
159 width: 16px;
160 height: 16px;
161 background: #1e1e1e;
162 border-radius: 4px;
163 color: #fff;
164 display: flex;
165 align-items: center;
166 justify-content: center;
167 font-weight: 700;
168 font-size: 10px;
169 }
170
171 svg {
172 width: 16px;
173 height: 16px;
174 }
175 }
176 }
177
178 .spspc-testimonial-reviewer-info {
179 display: flex;
180 flex-direction: column;
181 gap: 4px;
182
183 h3 {
184 font-size: 16px;
185 font-weight: 500;
186 color: #1e1e1e;
187 margin: 0;
188 }
189
190 p {
191 font-size: 14px;
192 color: #757575;
193 margin: 0;
194 }
195 }
196 }
197 }
198
199 .spspc-testimonial-rating-stars {
200 display: flex;
201 justify-content: flex-start;
202 gap: 2px;
203 align-items: center;
204
205 span {
206 color: #F4674D;
207 font-size: 16px;
208 display: flex;
209 gap: 2px;
210 }
211 }
212
213 .spspc-testimonial-card-content {
214 p {
215 font-size: 15px;
216 line-height: 24px;
217 color: #1e1e1e;
218 margin: 0;
219 }
220 }
221
222 // Trustpilot card specific styles
223 &.spspc-testimonial-card-trustpilot {
224 .spspc-testimonial-avatar {
225 // Yellow background for Trustpilot initials
226 .spspc-testimonial-avatar-initials {
227 width: 60px;
228 height: 60px;
229 border-radius: 99px;
230 background-color: #fff7c4;
231 display: flex;
232 align-items: center;
233 justify-content: center;
234 font-weight: 500;
235 font-size: 22px;
236 color: #000;
237 }
238 }
239
240 .spspc-testimonial-source-badge {
241 svg {
242 color: #00b57a;
243 }
244 }
245 }
246
247 .spspc-testimonial-rating-trustpilot-stars {
248 display: flex;
249 gap: 2px;
250 align-items: center;
251
252 .spspc-trustpilot-star-item {
253 background-color: #00b57a;
254 padding: 1.5px;
255 border-radius: 2px;
256 display: flex;
257 align-items: center;
258 justify-content: center;
259 width: 11px;
260 height: 11px;
261 flex-shrink: 0;
262
263 svg {
264 width: 13px;
265 height: 13px;
266 }
267 }
268 }
269 }
270
271 // ====================
272 // Quick Start Page Styles
273 // ====================
274
275 // Keep original global variables - used across multiple pages
276 $primary-color: #F26C0D;
277 $secondary-color: #F0F0F1;
278 $primary-text-color: #2c2d2f;
279 $secondary-text-color: #3C434A;
280 $button-text-color: #756C69;
281 $max-width: 1400px;
282
283 // Quick Start specific variables
284 $primary-hover: #e9510c;
285 $text-muted: #757575;
286 $border-color: #ddd;
287 $white: #FFFFFF;
288 $link-blue: #1a74e4;
289 $link-blue-hover: #0f5cb3;
290
291