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 / gauge-chart / style.css

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

79 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ── Gauge Chart ─────────────────────────────────────────────── */
2
3 .bkgc-wrap {
4 box-sizing: border-box;
5 padding: 32px 24px;
6 text-align: center;
7 }
8
9 /* SVG fill arc: smooth transition for CSS-only passive display */
10 .bkgc-wrap svg {
11 max-width: 100%;
12 height: auto;
13 }
14
15 /* Value + label text inside SVG */
16 .bkgc-value-text {
17 font-family: var(--bkgc-vl-font-family, inherit);
18 font-size: var(--bkgc-vl-font-size-d, 40px);
19 font-weight: var(--bkgc-vl-font-weight, 700);
20 font-style: var(--bkgc-vl-font-style, normal);
21 text-decoration: var(--bkgc-vl-text-decoration, none);
22 text-transform: var(--bkgc-vl-text-transform, none);
23 line-height: var(--bkgc-vl-line-height-d, 1);
24 letter-spacing: var(--bkgc-vl-letter-spacing-d, normal);
25 word-spacing: var(--bkgc-vl-word-spacing-d, normal);
26 font-variant-numeric: tabular-nums;
27 transition: none; /* JS handles animation */
28 }
29
30 .bkgc-label-text {
31 font-family: var(--bkgc-lb-font-family, inherit);
32 font-size: var(--bkgc-lb-font-size-d, 14px);
33 font-weight: var(--bkgc-lb-font-weight, 400);
34 font-style: var(--bkgc-lb-font-style, normal);
35 text-decoration: var(--bkgc-lb-text-decoration, none);
36 text-transform: var(--bkgc-lb-text-transform, none);
37 line-height: var(--bkgc-lb-line-height-d, 1.4);
38 letter-spacing: var(--bkgc-lb-letter-spacing-d, normal);
39 word-spacing: var(--bkgc-lb-word-spacing-d, normal);
40 }
41
42 /* Reduced-motion: skip animation, show full arc immediately */
43 @media (prefers-reduced-motion: reduce) {
44 .bkgc-fill {
45 stroke-dashoffset: 0 !important;
46 transition: none !important;
47 }
48 }
49
50 /* Typography responsive */
51 @media (max-width: 1024px) {
52 .bkgc-value-text {
53 font-size: var(--bkgc-vl-font-size-t, var(--bkgc-vl-font-size-d, 40px));
54 line-height: var(--bkgc-vl-line-height-t, var(--bkgc-vl-line-height-d, 1));
55 letter-spacing: var(--bkgc-vl-letter-spacing-t, var(--bkgc-vl-letter-spacing-d, normal));
56 word-spacing: var(--bkgc-vl-word-spacing-t, var(--bkgc-vl-word-spacing-d, normal));
57 }
58 .bkgc-label-text {
59 font-size: var(--bkgc-lb-font-size-t, var(--bkgc-lb-font-size-d, 14px));
60 line-height: var(--bkgc-lb-line-height-t, var(--bkgc-lb-line-height-d, 1.4));
61 letter-spacing: var(--bkgc-lb-letter-spacing-t, var(--bkgc-lb-letter-spacing-d, normal));
62 word-spacing: var(--bkgc-lb-word-spacing-t, var(--bkgc-lb-word-spacing-d, normal));
63 }
64 }
65 @media (max-width: 767px) {
66 .bkgc-value-text {
67 font-size: var(--bkgc-vl-font-size-m, var(--bkgc-vl-font-size-t, var(--bkgc-vl-font-size-d, 40px)));
68 line-height: var(--bkgc-vl-line-height-m, var(--bkgc-vl-line-height-t, var(--bkgc-vl-line-height-d, 1)));
69 letter-spacing: var(--bkgc-vl-letter-spacing-m, var(--bkgc-vl-letter-spacing-t, var(--bkgc-vl-letter-spacing-d, normal)));
70 word-spacing: var(--bkgc-vl-word-spacing-m, var(--bkgc-vl-word-spacing-t, var(--bkgc-vl-word-spacing-d, normal)));
71 }
72 .bkgc-label-text {
73 font-size: var(--bkgc-lb-font-size-m, var(--bkgc-lb-font-size-t, var(--bkgc-lb-font-size-d, 14px)));
74 line-height: var(--bkgc-lb-line-height-m, var(--bkgc-lb-line-height-t, var(--bkgc-lb-line-height-d, 1.4)));
75 letter-spacing: var(--bkgc-lb-letter-spacing-m, var(--bkgc-lb-letter-spacing-t, var(--bkgc-lb-letter-spacing-d, normal)));
76 word-spacing: var(--bkgc-lb-word-spacing-m, var(--bkgc-lb-word-spacing-t, var(--bkgc-lb-word-spacing-d, normal)));
77 }
78 }
79