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 / body-fat-calculator / style.css

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

102 lines 4.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Body Fat Calculator Block — bkbg-bfc-* */
2 .bkbg-bfc-editor, .bkbg-bfc-app {
3 font-family: inherit;
4 box-sizing: border-box;
5 }
6 .bkbg-bfc-editor *, .bkbg-bfc-app * { box-sizing: border-box; }
7
8 .bkbg-bfc-tab-btn {
9 transition: background .15s, color .15s, border-color .15s;
10 cursor: pointer;
11 font-family: inherit;
12 }
13 .bkbg-bfc-tab-btn:hover { opacity: .88; }
14
15 .bkbg-bfc-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
16 @media (max-width: 480px) { .bkbg-bfc-input-grid { grid-template-columns: 1fr; } }
17
18 .bkbg-bfc-input-row input[type="number"] {
19 width: 100%;
20 appearance: textfield;
21 -moz-appearance: textfield;
22 transition: border-color .2s, box-shadow .2s;
23 }
24 .bkbg-bfc-input-row input[type="number"]::-webkit-outer-spin-button,
25 .bkbg-bfc-input-row input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
26 .bkbg-bfc-input-row input[type="number"]:focus {
27 outline: none;
28 border-color: #6c3fb5 !important;
29 box-shadow: 0 0 0 3px rgba(108,63,181,.15);
30 }
31
32 .bkbg-bfc-title {
33 font-family: var(--bkbg-bfc-title-font-family, inherit);
34 font-weight: var(--bkbg-bfc-title-font-weight, 700);
35 font-style: var(--bkbg-bfc-title-font-style, normal);
36 text-transform: var(--bkbg-bfc-title-text-transform, none);
37 text-decoration: var(--bkbg-bfc-title-text-decoration, none);
38 font-size: var(--bkbg-bfc-title-font-size-d, 28px);
39 line-height: var(--bkbg-bfc-title-line-height-d, 1.2);
40 letter-spacing: var(--bkbg-bfc-title-letter-spacing-d, normal);
41 word-spacing: var(--bkbg-bfc-title-word-spacing-d, normal);
42 }
43
44 .bkbg-bfc-result { text-align: center; }
45 .bkbg-bfc-bf-value {
46 transition: color .3s;
47 font-family: var(--bkbg-bfc-result-font-family, inherit);
48 font-weight: var(--bkbg-bfc-result-font-weight, 800);
49 font-style: var(--bkbg-bfc-result-font-style, normal);
50 text-transform: var(--bkbg-bfc-result-text-transform, none);
51 text-decoration: var(--bkbg-bfc-result-text-decoration, none);
52 font-size: var(--bkbg-bfc-result-font-size-d, 64px);
53 line-height: var(--bkbg-bfc-result-line-height-d, 1);
54 letter-spacing: var(--bkbg-bfc-result-letter-spacing-d, normal);
55 word-spacing: var(--bkbg-bfc-result-word-spacing-d, normal);
56 }
57
58 .bkbg-bfc-bar-track {
59 height: 14px;
60 border-radius: 100px;
61 overflow: hidden;
62 display: flex;
63 margin-bottom: 8px;
64 }
65
66 .bkbg-bfc-legend { display: flex; flex-wrap: wrap; gap: 6px; }
67 .bkbg-bfc-legend-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
68
69 /* App outer */
70 .bkbg-bfc-app > .bkbg-bfc-section { width: 100%; }
71
72 /* === Typography responsive === */
73 @media (max-width: 1024px) {
74 .bkbg-bfc-title {
75 font-size: var(--bkbg-bfc-title-font-size-t, var(--bkbg-bfc-title-font-size-d, 28px));
76 line-height: var(--bkbg-bfc-title-line-height-t, var(--bkbg-bfc-title-line-height-d, 1.2));
77 letter-spacing: var(--bkbg-bfc-title-letter-spacing-t, var(--bkbg-bfc-title-letter-spacing-d, normal));
78 word-spacing: var(--bkbg-bfc-title-word-spacing-t, var(--bkbg-bfc-title-word-spacing-d, normal));
79 }
80 .bkbg-bfc-bf-value {
81 font-size: var(--bkbg-bfc-result-font-size-t, var(--bkbg-bfc-result-font-size-d, 64px));
82 line-height: var(--bkbg-bfc-result-line-height-t, var(--bkbg-bfc-result-line-height-d, 1));
83 letter-spacing: var(--bkbg-bfc-result-letter-spacing-t, var(--bkbg-bfc-result-letter-spacing-d, normal));
84 word-spacing: var(--bkbg-bfc-result-word-spacing-t, var(--bkbg-bfc-result-word-spacing-d, normal));
85 }
86 }
87
88 @media (max-width: 767px) {
89 .bkbg-bfc-title {
90 font-size: var(--bkbg-bfc-title-font-size-m, var(--bkbg-bfc-title-font-size-t, var(--bkbg-bfc-title-font-size-d, 28px)));
91 line-height: var(--bkbg-bfc-title-line-height-m, var(--bkbg-bfc-title-line-height-t, var(--bkbg-bfc-title-line-height-d, 1.2)));
92 letter-spacing: var(--bkbg-bfc-title-letter-spacing-m, var(--bkbg-bfc-title-letter-spacing-t, var(--bkbg-bfc-title-letter-spacing-d, normal)));
93 word-spacing: var(--bkbg-bfc-title-word-spacing-m, var(--bkbg-bfc-title-word-spacing-t, var(--bkbg-bfc-title-word-spacing-d, normal)));
94 }
95 .bkbg-bfc-bf-value {
96 font-size: var(--bkbg-bfc-result-font-size-m, var(--bkbg-bfc-result-font-size-t, var(--bkbg-bfc-result-font-size-d, 64px)));
97 line-height: var(--bkbg-bfc-result-line-height-m, var(--bkbg-bfc-result-line-height-t, var(--bkbg-bfc-result-line-height-d, 1)));
98 letter-spacing: var(--bkbg-bfc-result-letter-spacing-m, var(--bkbg-bfc-result-letter-spacing-t, var(--bkbg-bfc-result-letter-spacing-d, normal)));
99 word-spacing: var(--bkbg-bfc-result-word-spacing-m, var(--bkbg-bfc-result-word-spacing-t, var(--bkbg-bfc-result-word-spacing-d, normal)));
100 }
101 }
102