PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / social-links / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/social-links/style.css

211 lines 9.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ── Social Links Block ───────────────────────────────────────────────────── */
2 .bkbg-sl-wrapper {
3 padding-top: var(--bkbg-sl-pad-top, 0);
4 padding-bottom: var(--bkbg-sl-pad-bottom, 0);
5 }
6
7 .bkbg-sl-inner {
8 display: flex;
9 flex-wrap: wrap;
10 gap: var(--bkbg-sl-gap, 10px);
11 align-items: center;
12 }
13
14 /* ── Alignment ───────────────────────────────────────────────────────────── */
15 .bkbg-sl-align-left .bkbg-sl-inner { justify-content: flex-start; }
16 .bkbg-sl-align-center .bkbg-sl-inner { justify-content: center; }
17 .bkbg-sl-align-right .bkbg-sl-inner { justify-content: flex-end; }
18
19 /* ── Layout: vertical ────────────────────────────────────────────────────── */
20 .bkbg-sl-layout-vertical .bkbg-sl-inner { flex-direction: column; align-items: flex-start; }
21 .bkbg-sl-layout-vertical.bkbg-sl-align-center .bkbg-sl-inner { align-items: center; }
22 .bkbg-sl-layout-vertical.bkbg-sl-align-right .bkbg-sl-inner { align-items: flex-end; }
23
24 /* ── Link base ───────────────────────────────────────────────────────────── */
25 .bkbg-sl-link {
26 display: inline-flex;
27 align-items: center;
28 justify-content: center;
29 gap: 8px;
30 width: var(--bkbg-sl-btn-size, 44px);
31 height: var(--bkbg-sl-btn-size, 44px);
32 border-radius: var(--bkbg-sl-radius, 8px);
33 text-decoration: none;
34 transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
35 flex-shrink: 0;
36 position: relative;
37 overflow: hidden;
38 border: var(--bkbg-sl-border-w, 2px) solid transparent;
39 box-sizing: border-box;
40 }
41
42 .bkbg-sl-show-label .bkbg-sl-link {
43 width: auto;
44 padding: 0 16px;
45 }
46
47 .bkbg-sl-label-bottom .bkbg-sl-link {
48 flex-direction: column;
49 height: auto;
50 padding: 12px 16px;
51 width: auto;
52 gap: 4px;
53 }
54
55 /* ── Icon ────────────────────────────────────────────────────────────────── */
56 .bkbg-sl-icon {
57 display: flex;
58 align-items: center;
59 justify-content: center;
60 flex-shrink: 0;
61 }
62
63 .bkbg-sl-svg {
64 width: var(--bkbg-sl-icon-size, 20px);
65 height: var(--bkbg-sl-icon-size, 20px);
66 display: block;
67 fill: currentColor;
68 }
69
70 /* ── Label ───────────────────────────────────────────────────────────────── */
71 .bkbg-sl-label {
72 font-family: var(--bksl-lb-font-family, inherit);
73 font-size: var(--bksl-lb-font-size-d, var(--bkbg-sl-label-size, 14px));
74 font-weight: var(--bksl-lb-font-weight, var(--bkbg-sl-label-weight, 500));
75 font-style: var(--bksl-lb-font-style, normal);
76 text-transform: var(--bksl-lb-text-transform, none);
77 text-decoration: var(--bksl-lb-text-decoration, none);
78 line-height: var(--bksl-lb-line-height-d, var(--bkbg-sl-label-line-height, 1.4));
79 letter-spacing: var(--bksl-lb-letter-spacing-d, normal);
80 word-spacing: var(--bksl-lb-word-spacing-d, normal);
81 color: var(--bkbg-sl-label-color, #334155);
82 white-space: nowrap;
83 transition: color 0.18s ease;
84 }
85
86 @media (max-width: 1024px) {
87 .bkbg-sl-label {
88 font-size: var(--bksl-lb-font-size-t, var(--bksl-lb-font-size-d, var(--bkbg-sl-label-size, 14px)));
89 line-height: var(--bksl-lb-line-height-t, var(--bksl-lb-line-height-d, var(--bkbg-sl-label-line-height, 1.4)));
90 letter-spacing: var(--bksl-lb-letter-spacing-t, var(--bksl-lb-letter-spacing-d, normal));
91 word-spacing: var(--bksl-lb-word-spacing-t, var(--bksl-lb-word-spacing-d, normal));
92 }
93 }
94 @media (max-width: 767px) {
95 .bkbg-sl-label {
96 font-size: var(--bksl-lb-font-size-m, var(--bksl-lb-font-size-t, var(--bksl-lb-font-size-d, var(--bkbg-sl-label-size, 14px))));
97 line-height: var(--bksl-lb-line-height-m, var(--bksl-lb-line-height-t, var(--bksl-lb-line-height-d, var(--bkbg-sl-label-line-height, 1.4))));
98 letter-spacing: var(--bksl-lb-letter-spacing-m, var(--bksl-lb-letter-spacing-t, var(--bksl-lb-letter-spacing-d, normal)));
99 word-spacing: var(--bksl-lb-word-spacing-m, var(--bksl-lb-word-spacing-t, var(--bksl-lb-word-spacing-d, normal)));
100 }
101 }
102
103 .bkbg-sl-link:hover .bkbg-sl-label { color: var(--bkbg-sl-label-color-h, #0f172a); }
104
105 /* ── Style: brand-solid ──────────────────────────────────────────────────── */
106 .bkbg-sl-style-brand-solid .bkbg-sl-link {
107 background: var(--bkbg-sl-brand, #555);
108 color: #fff;
109 border-color: var(--bkbg-sl-brand, #555);
110 }
111
112 .bkbg-sl-style-brand-solid .bkbg-sl-link:hover {
113 filter: brightness(1.1) saturate(1.2);
114 }
115
116 /* ── Style: brand-icon ───────────────────────────────────────────────────── */
117 .bkbg-sl-style-brand-icon .bkbg-sl-link {
118 background: transparent;
119 color: var(--bkbg-sl-brand, #555);
120 border-color: transparent;
121 }
122
123 .bkbg-sl-style-brand-icon .bkbg-sl-link:hover {
124 background: rgba(0,0,0,0.06);
125 }
126
127 /* ── Style: mono-dark ────────────────────────────────────────────────────── */
128 .bkbg-sl-style-mono-dark .bkbg-sl-link {
129 background: var(--bkbg-sl-custom-bg, #1e293b);
130 color: var(--bkbg-sl-custom-icon, #ffffff);
131 border-color: var(--bkbg-sl-custom-bg, #1e293b);
132 }
133
134 .bkbg-sl-style-mono-dark .bkbg-sl-link:hover {
135 background: var(--bkbg-sl-custom-bg-h, #0f172a);
136 color: var(--bkbg-sl-custom-icon-h, #fff);
137 }
138
139 /* ── Style: mono-light ───────────────────────────────────────────────────── */
140 .bkbg-sl-style-mono-light .bkbg-sl-link {
141 background: var(--bkbg-sl-custom-bg, #f1f5f9);
142 color: var(--bkbg-sl-custom-icon, #334155);
143 border-color: var(--bkbg-sl-custom-bg, #f1f5f9);
144 }
145
146 .bkbg-sl-style-mono-light .bkbg-sl-link:hover {
147 background: var(--bkbg-sl-custom-bg-h, #e2e8f0);
148 color: var(--bkbg-sl-custom-icon-h, #0f172a);
149 }
150
151 /* ── Style: outline-brand ────────────────────────────────────────────────── */
152 .bkbg-sl-style-outline-brand .bkbg-sl-link {
153 background: transparent;
154 color: var(--bkbg-sl-brand, #555);
155 border-color: var(--bkbg-sl-brand, #555);
156 }
157
158 .bkbg-sl-style-outline-brand .bkbg-sl-link:hover {
159 background: var(--bkbg-sl-brand, #555);
160 color: #fff;
161 }
162
163 /* ── Style: outline-custom ───────────────────────────────────────────────── */
164 .bkbg-sl-style-outline-custom .bkbg-sl-link {
165 background: transparent;
166 color: var(--bkbg-sl-custom-icon, #2563eb);
167 border-color: var(--bkbg-sl-custom-bg, #2563eb);
168 }
169
170 .bkbg-sl-style-outline-custom .bkbg-sl-link:hover {
171 background: var(--bkbg-sl-custom-bg, #2563eb);
172 color: var(--bkbg-sl-custom-icon-h, #fff);
173 }
174
175 /* ── Style: custom ───────────────────────────────────────────────────────── */
176 .bkbg-sl-style-custom .bkbg-sl-link {
177 background: var(--bkbg-sl-custom-bg, #2563eb);
178 color: var(--bkbg-sl-custom-icon, #fff);
179 border-color: var(--bkbg-sl-custom-bg, #2563eb);
180 }
181
182 .bkbg-sl-style-custom .bkbg-sl-link:hover {
183 background: var(--bkbg-sl-custom-bg-h, #1d4ed8);
184 color: var(--bkbg-sl-custom-icon-h, #fff);
185 border-color: var(--bkbg-sl-custom-bg-h, #1d4ed8);
186 }
187
188 /* ── Hover Effects ───────────────────────────────────────────────────────── */
189 .bkbg-sl-hover-lift .bkbg-sl-link:hover {
190 transform: translateY(-3px);
191 box-shadow: 0 6px 20px rgba(0,0,0,0.18);
192 }
193
194 .bkbg-sl-hover-scale .bkbg-sl-link:hover {
195 transform: scale(1.12);
196 }
197
198 .bkbg-sl-hover-fade-brand .bkbg-sl-style-brand-solid .bkbg-sl-link { opacity: 0.75; }
199 .bkbg-sl-hover-fade-brand .bkbg-sl-style-brand-solid .bkbg-sl-link:hover { opacity: 1; }
200
201 .bkbg-sl-hover-fill .bkbg-sl-style-brand-icon .bkbg-sl-link:hover,
202 .bkbg-sl-hover-fill .bkbg-sl-style-outline-brand .bkbg-sl-link:hover {
203 background: var(--bkbg-sl-brand, #555);
204 color: #fff;
205 }
206
207 /* ── Reduced Motion ──────────────────────────────────────────────────────── */
208 @media (prefers-reduced-motion: reduce) {
209 .bkbg-sl-link { transition: none; }
210 }
211