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

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

226 lines 6.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-sc-app {
2 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
3 box-sizing: border-box;
4 }
5
6 .bkbg-sc-app *, .bkbg-sc-app *::before, .bkbg-sc-app *::after {
7 box-sizing: border-box;
8 }
9
10 .bkbg-sc-header {
11 text-align: center;
12 margin-bottom: 20px;
13 }
14
15 .bkbg-sc-title {
16 font-family: var(--bksc-tt-font-family, inherit);
17 font-size: var(--bksc-tt-font-size-d, 28px);
18 font-weight: var(--bksc-tt-font-weight, 700);
19 font-style: var(--bksc-tt-font-style, normal);
20 text-decoration: var(--bksc-tt-text-decoration, none);
21 text-transform: var(--bksc-tt-text-transform, none);
22 line-height: var(--bksc-tt-line-height-d, 1.2);
23 letter-spacing: var(--bksc-tt-letter-spacing-d, normal);
24 word-spacing: var(--bksc-tt-word-spacing-d, normal);
25 margin: 0 0 6px;
26 }
27
28 .bkbg-sc-subtitle {
29 font-family: var(--bksc-st-font-family, inherit);
30 font-size: var(--bksc-st-font-size-d, 15px);
31 font-weight: var(--bksc-st-font-weight, 400);
32 font-style: var(--bksc-st-font-style, normal);
33 text-decoration: var(--bksc-st-text-decoration, none);
34 text-transform: var(--bksc-st-text-transform, none);
35 line-height: var(--bksc-st-line-height-d, 1.4);
36 letter-spacing: var(--bksc-st-letter-spacing-d, normal);
37 word-spacing: var(--bksc-st-word-spacing-d, normal);
38 opacity: 0.7;
39 margin: 0;
40 }
41
42 /* Calculator body */
43 .bkbg-sc-calc {
44 background: #1a1a2e;
45 border-radius: 20px;
46 padding: 24px;
47 max-width: 420px;
48 margin: 0 auto;
49 box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
50 }
51
52 /* Top bar: angle mode + memory */
53 .bkbg-sc-topbar {
54 display: flex;
55 justify-content: space-between;
56 align-items: center;
57 margin-bottom: 8px;
58 min-height: 26px;
59 }
60
61 .bkbg-sc-angle-toggle {
62 display: flex;
63 gap: 4px;
64 }
65
66 .bkbg-sc-angle-btn {
67 padding: 3px 10px;
68 border: none;
69 border-radius: 6px;
70 cursor: pointer;
71 font-weight: 700;
72 font-size: 12px;
73 font-family: inherit;
74 transition: background 0.2s, color 0.2s;
75 }
76
77 .bkbg-sc-mem-indicator {
78 font-size: 12px;
79 font-weight: 700;
80 color: #86efac;
81 font-family: ui-monospace, monospace;
82 min-height: 16px;
83 }
84
85 /* Expression */
86 .bkbg-sc-expr {
87 text-align: right;
88 font-size: 13px;
89 color: rgba(255, 255, 255, 0.4);
90 font-family: ui-monospace, 'Cascadia Code', monospace;
91 min-height: 18px;
92 margin-bottom: 2px;
93 overflow: hidden;
94 text-overflow: ellipsis;
95 white-space: nowrap;
96 }
97
98 /* Display */
99 .bkbg-sc-display {
100 background: #0d0d1a;
101 border-radius: 10px;
102 padding: 12px 16px;
103 text-align: right;
104 font-size: 36px;
105 font-weight: 700;
106 color: #ffffff;
107 font-family: ui-monospace, 'Cascadia Code', monospace;
108 overflow: hidden;
109 text-overflow: ellipsis;
110 white-space: nowrap;
111 margin-bottom: 14px;
112 min-height: 64px;
113 display: flex;
114 align-items: center;
115 justify-content: flex-end;
116 }
117
118 /* Button grid */
119 .bkbg-sc-grid {
120 display: grid;
121 grid-template-columns: repeat(5, 1fr);
122 gap: 6px;
123 }
124
125 .bkbg-sc-btn {
126 border: none;
127 cursor: pointer;
128 font-weight: 600;
129 font-size: 15px;
130 font-family: inherit;
131 border-radius: 10px;
132 min-height: 44px;
133 transition: filter 0.15s, transform 0.1s;
134 line-height: 1;
135 padding: 0 4px;
136 user-select: none;
137 -webkit-user-select: none;
138 }
139
140 .bkbg-sc-btn:hover {
141 filter: brightness(1.25);
142 }
143
144 .bkbg-sc-btn:active {
145 transform: scale(0.94);
146 }
147
148 .bkbg-sc-btn-num { background: #2d2d4a; color: #ffffff; }
149 .bkbg-sc-btn-op { background: #3d2d6a; color: #c4b5fd; }
150 .bkbg-sc-btn-fn { background: #1e2a4a; color: #93c5fd; }
151 .bkbg-sc-btn-eq { background: #6c3fb5; color: #ffffff; }
152 .bkbg-sc-btn-clear { background: #7f1d1d; color: #fecaca; }
153 .bkbg-sc-btn-mem { background: #1e2a4a; color: #86efac; }
154
155 /* History */
156 .bkbg-sc-history {
157 margin-top: 16px;
158 background: #111128;
159 border-radius: 8px;
160 padding: 10px 12px;
161 max-height: 140px;
162 overflow-y: auto;
163 }
164
165 .bkbg-sc-history-label {
166 font-size: 11px;
167 font-weight: 700;
168 color: rgba(255, 255, 255, 0.3);
169 text-transform: uppercase;
170 letter-spacing: 0.05em;
171 margin-bottom: 6px;
172 }
173
174 .bkbg-sc-history-entry {
175 font-size: 13px;
176 color: #9ca3af;
177 font-family: ui-monospace, monospace;
178 padding: 3px 0;
179 border-bottom: 1px solid rgba(255, 255, 255, 0.05);
180 cursor: default;
181 }
182
183 .bkbg-sc-history-entry:last-child {
184 border-bottom: none;
185 }
186
187 /* Keyboard hint */
188 .bkbg-sc-hint {
189 text-align: center;
190 margin-top: 10px;
191 font-size: 11px;
192 color: rgba(255, 255, 255, 0.25);
193 }
194
195 /* Responsive — Tablet */
196 @media (max-width: 1024px) {
197 .bkbg-sc-title {
198 font-size: var(--bksc-tt-font-size-t, var(--bksc-tt-font-size-d, 28px));
199 line-height: var(--bksc-tt-line-height-t, var(--bksc-tt-line-height-d, 1.2));
200 letter-spacing: var(--bksc-tt-letter-spacing-t, var(--bksc-tt-letter-spacing-d, normal));
201 word-spacing: var(--bksc-tt-word-spacing-t, var(--bksc-tt-word-spacing-d, normal));
202 }
203 .bkbg-sc-subtitle {
204 font-size: var(--bksc-st-font-size-t, var(--bksc-st-font-size-d, 15px));
205 line-height: var(--bksc-st-line-height-t, var(--bksc-st-line-height-d, 1.4));
206 letter-spacing: var(--bksc-st-letter-spacing-t, var(--bksc-st-letter-spacing-d, normal));
207 word-spacing: var(--bksc-st-word-spacing-t, var(--bksc-st-word-spacing-d, normal));
208 }
209 }
210
211 /* Responsive — Mobile */
212 @media (max-width: 767px) {
213 .bkbg-sc-title {
214 font-size: var(--bksc-tt-font-size-m, var(--bksc-tt-font-size-t, var(--bksc-tt-font-size-d, 28px)));
215 line-height: var(--bksc-tt-line-height-m, var(--bksc-tt-line-height-t, var(--bksc-tt-line-height-d, 1.2)));
216 letter-spacing: var(--bksc-tt-letter-spacing-m, var(--bksc-tt-letter-spacing-t, var(--bksc-tt-letter-spacing-d, normal)));
217 word-spacing: var(--bksc-tt-word-spacing-m, var(--bksc-tt-word-spacing-t, var(--bksc-tt-word-spacing-d, normal)));
218 }
219 .bkbg-sc-subtitle {
220 font-size: var(--bksc-st-font-size-m, var(--bksc-st-font-size-t, var(--bksc-st-font-size-d, 15px)));
221 line-height: var(--bksc-st-line-height-m, var(--bksc-st-line-height-t, var(--bksc-st-line-height-d, 1.4)));
222 letter-spacing: var(--bksc-st-letter-spacing-m, var(--bksc-st-letter-spacing-t, var(--bksc-st-letter-spacing-d, normal)));
223 word-spacing: var(--bksc-st-word-spacing-m, var(--bksc-st-word-spacing-t, var(--bksc-st-word-spacing-d, normal)));
224 }
225 }
226