PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
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 / blocks / social-profiles / style.scss

style.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/blocks/social-profiles/style.scss

294 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 a.sp-social-profile-item-wrapper:focus {
2 outline: none;
3 }
4
5 .sp-social-profile-item-icon i.sp-social-profile-item-icon-class {
6 display: flex;
7 align-items: center;
8 padding: 6px;
9 border-width: 1px 1px 1px 1px;
10 border-radius: 50% 50% 50% 50%;
11 }
12
13 .sp-social-profile-item-icon-wrapper .sp-social-profile-item-icon {
14 display: inline-block;
15 }
16
17 .sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-container:hover {
18 position: relative;
19 z-index: 2;
20 }
21
22 .sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-wrapper {
23 padding: 12px;
24 background: #f5f5f5;
25 }
26
27 .sp-social-profile-wrapper.social-profiles-layout-four .sp-social-profile-item-wrapper,
28 .sp-social-profile-wrapper.social-profiles-layout-five .sp-social-profile-item-wrapper {
29 padding: 20px;
30 background: #ffffff;
31 }
32
33 .sp-social-profile-wrapper .sp-social-profile-item-wrapper .sp-social-profile-item,
34 .sp-social-profile-wrapper .sp-social-profile-item-wrapper .sp-social-profile-item .sp-social-profile-item-text {
35 display: flex;
36 align-items: center;
37 }
38
39 .sp-social-profile-wrapper.social-profiles-layout-three .sp-social-profile-item-wrapper .sp-social-profile-item .sp-social-profile-item-text {
40 width: 100%;
41 justify-content: space-between;
42 }
43
44 /** Social Profile Hover Effect */
45 .sp-social-profile-wrapper.sp-icon-hover-effect-darken .sp-social-profile-item-container:hover {
46 filter: brightness(0.8) contrast(1.2);
47 }
48
49 .sp-social-profile-wrapper.sp-icon-hover-effect-lift .sp-social-profile-item-container:hover {
50 transform: translateY(-4px);
51 }
52
53 .sp-social-profile-wrapper.sp-icon-hover-effect-scale .sp-social-profile-item-container:hover {
54 transform: scale(1.05);
55 }
56
57 .sp-social-profile-wrapper.sp-icon-hover-effect-lift-scale .sp-social-profile-item-container:hover {
58 transform: translateY(-4px) scale(1.05);
59 }
60
61 .sp-social-profile-wrapper.sp-icon-hover-effect-lift-more .sp-social-profile-item-container:hover {
62 transform: translateY(-8px);
63 }
64
65 .sp-social-profile-wrapper.sp-icon-hover-effect-scale-more .sp-social-profile-item-container:hover {
66 transform: scale(1.1);
67 }
68
69 .sp-social-profile-wrapper.sp-icon-hover-effect-lift-scale-more .sp-social-profile-item-container:hover {
70 transform: translateY(-8px) scale(1.1);
71 }
72
73 /* social-profile-items */
74 .sp-social-profile-item-label {
75 color: #2f2f2f;
76 transition: color 0.3s ease-in-out;
77 }
78
79 .sp-social-profile-item-sub-text {
80 color: #757575;
81 transition: color 0.3s ease-in-out;
82 }
83
84 /* Social Profile single icon original color style */
85 .sp-social-profile-item-icon .sp-social-profile-item-icon-class {
86 color: #ffffff;
87 transition: color 0.3s ease-in-out;
88 }
89
90 .sp-social-profile-item-icon-wrapper {
91 display: flex;
92 justify-content: center;
93 align-items: center;
94 transition: all 0.3s ease-in-out;
95 }
96
97 .sp-social-profile-item-icon-wrapper:has(.sp-icon-facebook) {
98 background-color: #0765ff;
99 }
100
101 .sp-social-profile-item-icon-wrapper:has(.sp-icon-x) {
102 background-color: #000000;
103 }
104
105 .sp-social-profile-item-icon-wrapper:has(.sp-icon-linkedin) {
106 background-color: #0b65c2;
107 }
108
109 .sp-social-profile-item-icon-wrapper:has(.sp-icon-pinterest) {
110 background-color: #e60022;
111 }
112
113 .sp-social-profile-item-icon-wrapper:has(.sp-icon-mail) {
114 background: #da4a3e;
115 }
116
117 .sp-social-profile-item-icon-wrapper:has(.sp-icon-instagram) {
118 background: radial-gradient(182.61% 44.3% at -16.75% 7.2%,
119 #3771c8 0%,
120 #3771c8 12.8%,
121 rgba(102, 0, 255, 0) 100%),
122 radial-gradient(92.18% 99.11% at 26.56% 107.7%,
123 #fd5 0%,
124 #fd5 10%,
125 #ff543e 50%,
126 #c837ab 100%);
127 }
128
129 .sp-social-profile-item-icon-wrapper:has(.sp-icon-vkontakte) {
130 background-color: #0177ff;
131 }
132
133 .sp-social-profile-item-icon-wrapper:has(.sp-icon-digg) {
134 background: #1b1a19;
135 }
136
137 .sp-social-profile-item-icon-wrapper:has(.sp-icon-tumblr) {
138 background-color: #011935;
139 }
140
141 .sp-social-profile-item-icon-wrapper:has(.sp-icon-reddit) {
142 background-color: #fd4500;
143 }
144
145 .sp-social-profile-item-icon-wrapper:has(.sp-icon-whatsapp) {
146 background-color: #0bc144;
147 }
148
149 .sp-social-profile-item-icon-wrapper:has(.sp-icon-pocket) {
150 background: #ef4155;
151 }
152
153 .sp-social-profile-item-icon-wrapper:has(.sp-icon-xing) {
154 background: #0698a0;
155 }
156
157 .sp-social-profile-item-container {
158 /* overflow: hidden; */
159 transition: all 0.3s ease-in-out;
160 }
161
162 .sp-social-profile-item-icon-wrapper .sp-social-profile-item-image {
163 width: 100%;
164 height: 100%;
165 }
166
167 .sp-social-profile-item-icon-wrapper .sp-social-profile-item-image img {
168 width: 100%;
169 }
170
171 .sp-social-profile-icon-divider {
172 width: 1px;
173 }
174
175 .sp-social-profile-wrapper .sp-social-profile-wrapper-grid-class {
176 display: grid;
177 }
178
179 .sp-social-profile-wrapper.sp-align-left .sp-social-profile-wrapper-grid-class {
180 justify-content: left;
181 }
182
183 .sp-social-profile-wrapper.sp-align-center .sp-social-profile-wrapper-grid-class {
184 justify-content: center;
185 }
186
187 .sp-social-profile-wrapper.sp-align-right .sp-social-profile-wrapper-grid-class {
188 justify-content: right;
189 }
190
191 .sp-social-profile-wrapper a.sp-social-profile-item-wrapper {
192 position: relative;
193 }
194
195 .sp-social-profile-wrapper a.sp-social-profile-item-wrapper::after {
196 content: "";
197 position: absolute;
198 top: 0;
199 left: 0;
200 width: 100%;
201 height: 100%;
202 display: block;
203 background-color: rgba(255, 255, 255, 0.2);
204 pointer-events: none;
205 }
206
207 .sp-social-profile-item {
208 position: relative;
209 z-index: 1;
210 }
211
212 .sp-icon-divider .sp-social-profile-icon-divider {
213 display: inline-block;
214 }
215
216 .sp-icon-divider-none .sp-social-profile-icon-divider {
217 display: none;
218 }
219
220 .sp-social-profile-item-label {
221 font-weight: 500;
222 font-style: normal;
223 text-transform: none;
224 text-decoration: none;
225 font-size: 13px;
226 line-height: 1.2;
227 }
228
229 .sp-social-profile-item-sub-text {
230 font-weight: 400;
231 font-style: normal;
232 text-transform: none;
233 text-decoration: none;
234 font-size: 12px;
235 line-height: 1.2;
236 }
237
238 .sp-social-profile-item-container a.sp-social-profile-item-wrapper {
239 display: block;
240 text-decoration: none;
241 position: relative;
242 }
243 .sp-smart-post-wrapper {
244 .sp-social-profile-wrapper {
245 &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
246 grid-template-columns: repeat(5, auto);
247 }
248 &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class {
249 grid-template-columns: repeat(5, 1fr);
250 }
251 &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
252 grid-template-columns: repeat(1, 1fr);
253 }
254 &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
255 &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class {
256 grid-template-columns: repeat(3, 1fr);
257 }
258 }
259 }
260 @media screen and (max-width: 1023px) {
261 .sp-smart-post-wrapper {
262 .sp-social-profile-wrapper {
263 &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class,
264 &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
265 &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class {
266 grid-template-columns: repeat(3, 1fr);
267 }
268 &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
269 grid-template-columns: repeat(5, auto);
270 }
271 &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
272 grid-template-columns: repeat(1, 1fr);
273 }
274 }
275 }
276 }
277 @media screen and (max-width: 767px) {
278 .sp-smart-post-wrapper {
279 .sp-social-profile-wrapper {
280 &.social-profiles-layout-two .sp-social-profile-wrapper-grid-class,
281 &.social-profiles-layout-four .sp-social-profile-wrapper-grid-class,
282 &.social-profiles-layout-five .sp-social-profile-wrapper-grid-class {
283 grid-template-columns: repeat(2, 1fr);
284 }
285 &.social-profiles-layout-one .sp-social-profile-wrapper-grid-class {
286 grid-template-columns: repeat(3, auto);
287 }
288 &.social-profiles-layout-three .sp-social-profile-wrapper-grid-class {
289 grid-template-columns: repeat(1, 1fr);
290 }
291 }
292 }
293 }
294