PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.13
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.13
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 / google-map / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.13, at blocks/google-map/style.css

92 lines 4.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ══════════════════════════════════════════════════════════════
2 Blockenberg — Google Map block
3 ══════════════════════════════════════════════════════════════ */
4
5 /* ── Outer container ──────────────────────────────────────────────────────── */
6 .bkbg-gm-outer {
7 box-sizing: border-box;
8 width: 100%;
9 }
10
11 /* ── Map wrapper (holds the iframe + applies border/shadow/radius) ─────────── */
12 .bkbg-gm-wrap {
13 box-sizing: border-box;
14 position: relative;
15 overflow: hidden;
16 width: 100%;
17 display: block;
18 }
19
20 /* ── Iframe fills the wrapper exactly ─────────────────────────────────────── */
21 .bkbg-gm-wrap iframe {
22 display: block;
23 border: none;
24 width: 100%;
25 height: 100%;
26 /* Remove any default browser styling */
27 margin: 0;
28 padding: 0;
29 }
30
31 /* ── Caption ──────────────────────────────────────────────────────────────── */
32 .bkbg-gm-caption {
33 display: block;
34 margin-left: 0;
35 margin-right: 0;
36 margin-bottom: 0;
37 padding: 0;
38 font-family: var(--bkbg-gm-cap-font-family, inherit);
39 font-size: var(--bkbg-gm-cap-font-size-d, 14px);
40 font-weight: var(--bkbg-gm-cap-font-weight, 400);
41 font-style: var(--bkbg-gm-cap-font-style, normal);
42 text-decoration: var(--bkbg-gm-cap-text-decoration, none);
43 text-transform: var(--bkbg-gm-cap-text-transform, none);
44 line-height: var(--bkbg-gm-cap-line-height-d, 1.5);
45 letter-spacing: var(--bkbg-gm-cap-letter-spacing-d, normal);
46 word-spacing: var(--bkbg-gm-cap-word-spacing-d, normal);
47 }
48
49 /* ── Editor: label the iframe so it's not invisible ──────────────────────── */
50 .editor-styles-wrapper .bkbg-gm-wrap {
51 /* Ensure the map is interactive in the editor (not blocked by editor overlay) */
52 pointer-events: none; /* Prevents accidental map panning while editing */
53 position: relative;
54 }
55
56 /* Interaction hint overlay in editor */
57 .editor-styles-wrapper .bkbg-gm-wrap::after {
58 content: '';
59 display: block;
60 position: absolute;
61 inset: 0;
62 background: transparent;
63 pointer-events: none;
64 border-radius: inherit;
65 }
66
67 /* Typography responsive */
68 @media (max-width: 1024px) {
69 .bkbg-gm-caption {
70 font-size: var(--bkbg-gm-cap-font-size-t, var(--bkbg-gm-cap-font-size-d, 14px));
71 line-height: var(--bkbg-gm-cap-line-height-t, var(--bkbg-gm-cap-line-height-d, 1.5));
72 letter-spacing: var(--bkbg-gm-cap-letter-spacing-t, var(--bkbg-gm-cap-letter-spacing-d, normal));
73 word-spacing: var(--bkbg-gm-cap-word-spacing-t, var(--bkbg-gm-cap-word-spacing-d, normal));
74 }
75 }
76 @media (max-width: 767px) {
77 .bkbg-gm-caption {
78 font-size: var(--bkbg-gm-cap-font-size-m, var(--bkbg-gm-cap-font-size-t, var(--bkbg-gm-cap-font-size-d, 14px)));
79 line-height: var(--bkbg-gm-cap-line-height-m, var(--bkbg-gm-cap-line-height-t, var(--bkbg-gm-cap-line-height-d, 1.5)));
80 letter-spacing: var(--bkbg-gm-cap-letter-spacing-m, var(--bkbg-gm-cap-letter-spacing-t, var(--bkbg-gm-cap-letter-spacing-d, normal)));
81 word-spacing: var(--bkbg-gm-cap-word-spacing-m, var(--bkbg-gm-cap-word-spacing-t, var(--bkbg-gm-cap-word-spacing-d, normal)));
82 }
83 }
84
85 /* ── Responsive ───────────────────────────────────────────────────────────── */
86 @media (max-width: 600px) {
87 .bkbg-gm-wrap {
88 /* Allow map to be shorter on very small screens but keep min-height */
89 min-height: 220px;
90 }
91 }
92