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 / image-placeholder / style.css

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

228 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-iph-wrap {
2 padding: 24px;
3 border-radius: 12px;
4 font-family: system-ui, -apple-system, sans-serif;
5 box-sizing: border-box;
6 }
7
8 .bkbg-iph-title {
9 font-family: var(--bkbg-iph-tt-font-family, inherit);
10 font-size: var(--bkbg-iph-tt-font-size-d, 24px);
11 font-weight: var(--bkbg-iph-tt-font-weight, 700);
12 font-style: var(--bkbg-iph-tt-font-style, normal);
13 text-decoration: var(--bkbg-iph-tt-text-decoration, none);
14 text-transform: var(--bkbg-iph-tt-text-transform, none);
15 line-height: var(--bkbg-iph-tt-line-height-d, 1.2);
16 letter-spacing: var(--bkbg-iph-tt-letter-spacing-d, normal);
17 word-spacing: var(--bkbg-iph-tt-word-spacing-d, normal);
18 margin: 0 0 18px;
19 }
20
21 /* Controls panel */
22 .bkbg-iph-controls {
23 border-radius: 10px;
24 border: 1px solid;
25 padding: 18px;
26 margin-bottom: 18px;
27 display: flex;
28 flex-wrap: wrap;
29 gap: 14px;
30 align-items: flex-end;
31 }
32
33 .bkbg-iph-field {
34 display: flex;
35 flex-direction: column;
36 gap: 5px;
37 flex: 1;
38 min-width: 110px;
39 }
40
41 .bkbg-iph-label {
42 font-size: 12px;
43 font-weight: 600;
44 }
45
46 .bkbg-iph-input,
47 .bkbg-iph-select {
48 padding: 7px 10px;
49 border: 1px solid #d1d5db;
50 border-radius: 6px;
51 font-size: 14px;
52 outline: none;
53 width: 100%;
54 box-sizing: border-box;
55 transition: border-color 0.2s;
56 }
57
58 .bkbg-iph-input:focus,
59 .bkbg-iph-select:focus {
60 border-color: #6366f1;
61 box-shadow: 0 0 0 2px rgba(99,102,241,0.12);
62 }
63
64 .bkbg-iph-color-field {
65 min-width: 80px;
66 flex: 0 0 auto;
67 }
68
69 .bkbg-iph-color-input {
70 width: 44px;
71 height: 36px;
72 border: 1px solid #d1d5db;
73 border-radius: 6px;
74 padding: 2px;
75 cursor: pointer;
76 background: none;
77 }
78
79 /* Presets */
80 .bkbg-iph-presets {
81 display: flex;
82 flex-wrap: wrap;
83 gap: 7px;
84 margin-bottom: 18px;
85 }
86
87 .bkbg-iph-preset-btn {
88 padding: 5px 13px;
89 border-radius: 20px;
90 border: 2px solid;
91 font-size: 12px;
92 font-weight: 600;
93 cursor: pointer;
94 transition: background 0.15s, color 0.15s;
95 }
96
97 /* Preview area */
98 .bkbg-iph-preview-wrap {
99 display: flex;
100 justify-content: center;
101 margin-bottom: 18px;
102 min-height: 120px;
103 align-items: center;
104 }
105
106 .bkbg-iph-canvas-wrap {
107 box-shadow: 0 6px 24px rgba(0,0,0,0.12);
108 border-radius: 8px;
109 overflow: hidden;
110 max-width: 100%;
111 }
112
113 .bkbg-iph-canvas-wrap canvas {
114 display: block;
115 max-width: 100%;
116 height: auto;
117 }
118
119 /* Dimensions display */
120 .bkbg-iph-dims {
121 text-align: center;
122 font-size: 13px;
123 margin-bottom: 14px;
124 }
125
126 /* Theme selector */
127 .bkbg-iph-theme-row {
128 display: flex;
129 gap: 8px;
130 margin-bottom: 18px;
131 flex-wrap: wrap;
132 }
133
134 .bkbg-iph-theme-btn {
135 flex: 1;
136 min-width: 80px;
137 padding: 8px 10px;
138 border-radius: 8px;
139 border: 2px solid;
140 font-size: 13px;
141 font-weight: 600;
142 cursor: pointer;
143 text-align: center;
144 transition: all 0.15s;
145 }
146
147 /* Actions */
148 .bkbg-iph-actions {
149 display: flex;
150 gap: 10px;
151 flex-wrap: wrap;
152 justify-content: center;
153 }
154
155 .bkbg-iph-btn {
156 padding: 10px 22px;
157 border-radius: 8px;
158 font-size: 14px;
159 font-weight: 700;
160 cursor: pointer;
161 transition: opacity 0.2s;
162 border: 2px solid transparent;
163 color: #fff;
164 }
165
166 .bkbg-iph-btn:hover { opacity: 0.85; }
167
168 .bkbg-iph-btn-outline {
169 background: transparent !important;
170 color: inherit !important;
171 }
172
173 /* URL display */
174 .bkbg-iph-url-box {
175 margin-top: 14px;
176 background: #f1f5f9;
177 border: 1px solid #e2e8f0;
178 border-radius: 8px;
179 padding: 10px 14px;
180 display: none;
181 }
182
183 .bkbg-iph-url-box.bkbg-iph-show { display: block; }
184
185 .bkbg-iph-url-label {
186 font-size: 11px;
187 font-weight: 700;
188 color: #6b7280;
189 margin-bottom: 5px;
190 text-transform: uppercase;
191 letter-spacing: 0.05em;
192 }
193
194 .bkbg-iph-url-text {
195 font-family: 'Fira Mono', 'Consolas', monospace;
196 font-size: 11px;
197 color: #374151;
198 word-break: break-all;
199 max-height: 60px;
200 overflow: auto;
201 }
202
203 @media (max-width: 1024px) {
204 .bkbg-iph-title {
205 font-size: var(--bkbg-iph-tt-font-size-t, var(--bkbg-iph-tt-font-size-d, 24px));
206 line-height: var(--bkbg-iph-tt-line-height-t, var(--bkbg-iph-tt-line-height-d, 1.2));
207 letter-spacing: var(--bkbg-iph-tt-letter-spacing-t, var(--bkbg-iph-tt-letter-spacing-d, normal));
208 word-spacing: var(--bkbg-iph-tt-word-spacing-t, var(--bkbg-iph-tt-word-spacing-d, normal));
209 }
210 }
211
212 @media (max-width: 767px) {
213 .bkbg-iph-title {
214 font-size: var(--bkbg-iph-tt-font-size-m, var(--bkbg-iph-tt-font-size-t, var(--bkbg-iph-tt-font-size-d, 24px)));
215 line-height: var(--bkbg-iph-tt-line-height-m, var(--bkbg-iph-tt-line-height-t, var(--bkbg-iph-tt-line-height-d, 1.2)));
216 letter-spacing: var(--bkbg-iph-tt-letter-spacing-m, var(--bkbg-iph-tt-letter-spacing-t, var(--bkbg-iph-tt-letter-spacing-d, normal)));
217 word-spacing: var(--bkbg-iph-tt-word-spacing-m, var(--bkbg-iph-tt-word-spacing-t, var(--bkbg-iph-tt-word-spacing-d, normal)));
218 }
219 }
220
221 @media (max-width: 520px) {
222 .bkbg-iph-wrap { padding: 14px; }
223 .bkbg-iph-controls { gap: 10px; }
224 .bkbg-iph-field { min-width: 100%; }
225 .bkbg-iph-actions { flex-direction: column; }
226 .bkbg-iph-btn { width: 100%; }
227 }
228