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

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

128 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Retirement Calculator Block — bkbg-ret-* */
2
3 .bkbg-ret-editor,
4 .bkbg-ret-app {
5 font-family: inherit;
6 box-sizing: border-box;
7 }
8 .bkbg-ret-editor *,
9 .bkbg-ret-app * {
10 box-sizing: border-box;
11 }
12
13 /* Input numbers */
14 .bkbg-ret-editor input[type="number"],
15 .bkbg-ret-app input[type="number"] {
16 -moz-appearance: textfield;
17 appearance: textfield;
18 width: 100%;
19 transition: border-color .2s, box-shadow .2s;
20 }
21 .bkbg-ret-editor input[type="number"]::-webkit-outer-spin-button,
22 .bkbg-ret-editor input[type="number"]::-webkit-inner-spin-button,
23 .bkbg-ret-app input[type="number"]::-webkit-outer-spin-button,
24 .bkbg-ret-app input[type="number"]::-webkit-inner-spin-button {
25 -webkit-appearance: none;
26 }
27 .bkbg-ret-editor input[type="number"]:focus,
28 .bkbg-ret-app input[type="number"]:focus {
29 outline: none;
30 border-color: #6c3fb5 !important;
31 box-shadow: 0 0 0 3px rgba(108, 63, 181, .15);
32 }
33
34 /* Breakdown bar */
35 .bkbg-ret-bar-track {
36 height: 14px;
37 border-radius: 100px;
38 overflow: hidden;
39 display: flex;
40 }
41 .bkbg-ret-bar-contrib,
42 .bkbg-ret-bar-growth {
43 height: 100%;
44 transition: width .4s cubic-bezier(.4,0,.2,1);
45 }
46 .bkbg-ret-bar-contrib { border-radius: 100px 0 0 100px; }
47 .bkbg-ret-bar-growth { border-radius: 0 100px 100px 0; }
48
49 /* Stat mini cards */
50 .bkbg-ret-mini-card {
51 border-radius: 12px;
52 padding: 16px 18px;
53 }
54
55 /* Result hero */
56 .bkbg-ret-hero {
57 text-align: center;
58 }
59
60 /* Input grid */
61 .bkbg-ret-input-grid {
62 display: grid;
63 grid-template-columns: 1fr 1fr;
64 gap: 0 20px;
65 }
66
67 /* Typography: Title */
68 .bkbg-ret-title {
69 font-family: var(--bkrc-tt-font-family, inherit);
70 font-size: var(--bkrc-tt-font-size-d, 28px);
71 font-weight: var(--bkrc-tt-font-weight, 700);
72 font-style: var(--bkrc-tt-font-style, normal);
73 text-decoration: var(--bkrc-tt-text-decoration, none);
74 text-transform: var(--bkrc-tt-text-transform, none);
75 line-height: var(--bkrc-tt-line-height-d, 1.2);
76 letter-spacing: var(--bkrc-tt-letter-spacing-d, normal);
77 word-spacing: var(--bkrc-tt-word-spacing-d, normal);
78 }
79
80 /* Typography: Body / Labels */
81 .bkbg-ret-subtitle {
82 font-family: var(--bkrc-bt-font-family, inherit);
83 font-size: var(--bkrc-bt-font-size-d, 15px);
84 font-weight: var(--bkrc-bt-font-weight, normal);
85 font-style: var(--bkrc-bt-font-style, normal);
86 text-decoration: var(--bkrc-bt-text-decoration, none);
87 text-transform: var(--bkrc-bt-text-transform, none);
88 line-height: var(--bkrc-bt-line-height-d, normal);
89 letter-spacing: var(--bkrc-bt-letter-spacing-d, normal);
90 word-spacing: var(--bkrc-bt-word-spacing-d, normal);
91 }
92
93 @media (max-width: 1024px) {
94 .bkbg-ret-title {
95 font-size: var(--bkrc-tt-font-size-t, var(--bkrc-tt-font-size-d, 28px));
96 line-height: var(--bkrc-tt-line-height-t, var(--bkrc-tt-line-height-d, 1.2));
97 letter-spacing: var(--bkrc-tt-letter-spacing-t, var(--bkrc-tt-letter-spacing-d, normal));
98 word-spacing: var(--bkrc-tt-word-spacing-t, var(--bkrc-tt-word-spacing-d, normal));
99 }
100 .bkbg-ret-subtitle {
101 font-size: var(--bkrc-bt-font-size-t, var(--bkrc-bt-font-size-d, 15px));
102 line-height: var(--bkrc-bt-line-height-t, var(--bkrc-bt-line-height-d, normal));
103 letter-spacing: var(--bkrc-bt-letter-spacing-t, var(--bkrc-bt-letter-spacing-d, normal));
104 word-spacing: var(--bkrc-bt-word-spacing-t, var(--bkrc-bt-word-spacing-d, normal));
105 }
106 }
107
108 @media (max-width: 767px) {
109 .bkbg-ret-title {
110 font-size: var(--bkrc-tt-font-size-m, var(--bkrc-tt-font-size-t, var(--bkrc-tt-font-size-d, 28px)));
111 line-height: var(--bkrc-tt-line-height-m, var(--bkrc-tt-line-height-t, var(--bkrc-tt-line-height-d, 1.2)));
112 letter-spacing: var(--bkrc-tt-letter-spacing-m, var(--bkrc-tt-letter-spacing-t, var(--bkrc-tt-letter-spacing-d, normal)));
113 word-spacing: var(--bkrc-tt-word-spacing-m, var(--bkrc-tt-word-spacing-t, var(--bkrc-tt-word-spacing-d, normal)));
114 }
115 .bkbg-ret-subtitle {
116 font-size: var(--bkrc-bt-font-size-m, var(--bkrc-bt-font-size-t, var(--bkrc-bt-font-size-d, 15px)));
117 line-height: var(--bkrc-bt-line-height-m, var(--bkrc-bt-line-height-t, var(--bkrc-bt-line-height-d, normal)));
118 letter-spacing: var(--bkrc-bt-letter-spacing-m, var(--bkrc-bt-letter-spacing-t, var(--bkrc-bt-letter-spacing-d, normal)));
119 word-spacing: var(--bkrc-bt-word-spacing-m, var(--bkrc-bt-word-spacing-t, var(--bkrc-bt-word-spacing-d, normal)));
120 }
121 }
122
123 @media (max-width: 500px) {
124 .bkbg-ret-input-grid {
125 grid-template-columns: 1fr;
126 }
127 }
128