PluginProbe ʕ •ᴥ•ʔ
FrontBlocks for Gutenberg/GeneratePress / 1.0.2
FrontBlocks for Gutenberg/GeneratePress v1.0.2
trunk 0.2.0 0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 ci-artifacts
frontblocks / includes / post / frontblocks-insert-post.css
frontblocks / includes / post Last commit date
frontblocks-insert-post-option.jsx 11 months ago frontblocks-insert-post.css 11 months ago frontblocks-insert-post.php 11 months ago
frontblocks-insert-post.css
289 lines
1 /* Insert Post Block Styles */
2
3 /* Editor Styles */
4 .frbl-insert-post-block {
5 padding: 20px;
6 border: 2px dashed #ddd;
7 border-radius: 8px;
8 background: #f9f9f9;
9 margin: 10px 0;
10 }
11
12 .frbl-insert-post-block .frbl-insert-post-empty {
13 text-align: center;
14 padding: 40px 20px;
15 }
16
17 .frbl-insert-post-block .frbl-insert-post-empty p {
18 margin-bottom: 20px;
19 color: #666;
20 font-size: 16px;
21 }
22
23 .frbl-insert-post-block .frbl-insert-post-preview {
24 background: white;
25 padding: 20px;
26 border-radius: 6px;
27 border: 1px solid #e0e0e0;
28 }
29
30 .frbl-insert-post-block .frbl-insert-post-title {
31 margin: 0 0 15px 0;
32 color: #333;
33 font-size: 24px;
34 font-weight: 600;
35 }
36
37 .frbl-insert-post-block .frbl-insert-post-content {
38 margin-bottom: 20px;
39 color: #666;
40 line-height: 1.6;
41 }
42
43 .frbl-insert-post-block .frbl-insert-post-actions {
44 display: flex;
45 gap: 10px;
46 margin-top: 15px;
47 }
48
49 /* Search Results Styles */
50 .frbl-search-results {
51 margin-top: 20px;
52 }
53
54 .frbl-search-results h4 {
55 margin: 0 0 15px 0;
56 color: #333;
57 font-size: 16px;
58 font-weight: 600;
59 }
60
61 .frbl-search-result-item {
62 margin-bottom: 10px;
63 border: 1px solid #e0e0e0;
64 border-radius: 4px;
65 transition: all 0.2s ease;
66 }
67
68 .frbl-search-result-item:hover {
69 border-color: #007cba;
70 box-shadow: 0 2px 4px rgba(0, 124, 186, 0.1);
71 }
72
73 .frbl-search-result-item .components-card__body {
74 padding: 15px;
75 }
76
77 .frbl-search-result-item h5 {
78 margin: 0 0 8px 0;
79 color: #333;
80 font-size: 14px;
81 font-weight: 600;
82 }
83
84 .frbl-search-result-item p {
85 margin: 0 0 10px 0;
86 color: #666;
87 font-size: 12px;
88 }
89
90 /* Selected Post Info */
91 .frbl-selected-post-info {
92 margin-top: 20px;
93 }
94
95 .frbl-selected-post-info h4 {
96 margin: 0 0 15px 0;
97 color: #333;
98 font-size: 16px;
99 font-weight: 600;
100 }
101
102 .frbl-selected-post-info .components-card__body {
103 padding: 15px;
104 }
105
106 .frbl-selected-post-info p {
107 margin: 0 0 8px 0;
108 color: #666;
109 font-size: 13px;
110 }
111
112 .frbl-selected-post-info p:last-child {
113 margin-bottom: 0;
114 }
115
116 .frbl-selected-post-info strong {
117 color: #333;
118 }
119
120 /* Frontend Styles */
121 .frbl-insert-post {
122 margin: 20px 0;
123 }
124
125 .frbl-insert-post .frbl-insert-post-title {
126 margin: 0 0 20px 0;
127 color: #333;
128 font-size: 28px;
129 font-weight: 600;
130 line-height: 1.3;
131 }
132
133 .frbl-insert-post .frbl-insert-post-content {
134 color: #555;
135 line-height: 1.7;
136 font-size: 16px;
137 }
138
139 .frbl-insert-post .frbl-insert-post-content p {
140 margin-bottom: 15px;
141 }
142
143 .frbl-insert-post .frbl-insert-post-content h1,
144 .frbl-insert-post .frbl-insert-post-content h2,
145 .frbl-insert-post .frbl-insert-post-content h3,
146 .frbl-insert-post .frbl-insert-post-content h4,
147 .frbl-insert-post .frbl-insert-post-content h5,
148 .frbl-insert-post .frbl-insert-post-content h6 {
149 margin: 25px 0 15px 0;
150 color: #333;
151 }
152
153 .frbl-insert-post .frbl-insert-post-content ul,
154 .frbl-insert-post .frbl-insert-post-content ol {
155 margin: 15px 0;
156 padding-left: 20px;
157 }
158
159 .frbl-insert-post .frbl-insert-post-content li {
160 margin-bottom: 5px;
161 }
162
163 .frbl-insert-post .frbl-insert-post-content blockquote {
164 margin: 20px 0;
165 padding: 15px 20px;
166 border-left: 4px solid #007cba;
167 background: #f8f9fa;
168 font-style: italic;
169 }
170
171 .frbl-insert-post .frbl-insert-post-content img {
172 max-width: 100%;
173 height: auto;
174 margin: 15px 0;
175 }
176
177 .frbl-insert-post .frbl-insert-post-content a {
178 color: #007cba;
179 text-decoration: none;
180 }
181
182 .frbl-insert-post .frbl-insert-post-content a:hover {
183 text-decoration: underline;
184 }
185
186 /* Empty and Error States */
187 .frbl-insert-post-empty,
188 .frbl-insert-post-error {
189 padding: 30px;
190 text-align: center;
191 background: #f8f9fa;
192 border: 1px solid #e9ecef;
193 border-radius: 6px;
194 color: #6c757d;
195 font-size: 16px;
196 }
197
198 .frbl-insert-post-error {
199 background: #f8d7da;
200 border-color: #f5c6cb;
201 color: #721c24;
202 }
203
204 /* Responsive Design */
205 @media (max-width: 768px) {
206 .frbl-insert-post-block {
207 padding: 15px;
208 }
209
210 .frbl-insert-post-block .frbl-insert-post-preview {
211 padding: 15px;
212 }
213
214 .frbl-insert-post-block .frbl-insert-post-title {
215 font-size: 20px;
216 }
217
218 .frbl-insert-post-block .frbl-insert-post-actions {
219 flex-direction: column;
220 }
221
222 .frbl-insert-post .frbl-insert-post-title {
223 font-size: 24px;
224 }
225
226 .frbl-insert-post .frbl-insert-post-content {
227 font-size: 15px;
228 }
229 }
230
231 /* Grid Integration Styles */
232 .frbl-insert-post-grid[data-insert-post="true"] {
233 position: relative;
234 }
235
236 .frbl-insert-post-grid[data-insert-post="true"]::before {
237 content: "Insert Post Grid";
238 position: absolute;
239 top: -10px;
240 left: 10px;
241 background: #007cba;
242 color: white;
243 padding: 2px 8px;
244 font-size: 10px;
245 border-radius: 3px;
246 z-index: 10;
247 }
248
249 /* jQuery UI Autocomplete Styles */
250 .ui-autocomplete {
251 background: #fff;
252 border: 1px solid #ddd;
253 border-radius: 4px;
254 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
255 max-height: 200px;
256 overflow-y: auto;
257 overflow-x: hidden;
258 z-index: 999999 !important;
259 }
260
261 .ui-autocomplete .ui-menu-item {
262 padding: 8px 12px;
263 border-bottom: 1px solid #f0f0f0;
264 cursor: pointer;
265 font-size: 13px;
266 line-height: 1.4;
267 }
268
269 .ui-autocomplete .ui-menu-item:last-child {
270 border-bottom: none;
271 }
272
273 .ui-autocomplete .ui-menu-item:hover,
274 .ui-autocomplete .ui-menu-item.ui-state-focus {
275 background: #007cba;
276 color: #fff;
277 }
278
279 .ui-autocomplete .ui-menu-item div {
280 padding: 0;
281 }
282
283 /* Loading indicator for autocomplete */
284 .frbl-autocomplete-loading {
285 background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJWNk0xMiAxOFYyMk02IDEySDJNMTggMTJIMjJNMTkuMDcgMTkuMDdMMTYuMjQgMTYuMjRNMTkuMDcgNC45M0wxNi4yNCA3Ljc2TTQuOTMgMTkuMDdMNy43NiAxNi4yNE00LjkzIDQuOTNMNy43NiA3Ljc2IiBzdHJva2U9IiMwMDdjYmEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
286 background-repeat: no-repeat;
287 background-position: right 8px center;
288 background-size: 16px;
289 }