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

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

227 lines 7.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Split Bill Calculator — bkbg-sbc-* */
2 .bkbg-sbc-app {
3 box-sizing: border-box;
4 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
5 }
6 .bkbg-sbc-app *,
7 .bkbg-sbc-app *::before,
8 .bkbg-sbc-app *::after {
9 box-sizing: border-box;
10 }
11
12 .bkbg-sbc-wrap {
13 max-width: 500px;
14 margin: 0 auto;
15 background: #fff;
16 border-radius: 16px;
17 padding: 36px 32px;
18 box-shadow: 0 4px 24px rgba(0,0,0,0.09);
19 }
20
21 .bkbg-sbc-header {
22 margin-bottom: 22px;
23 }
24 .bkbg-sbc-title {
25 font-family: var(--bksbc-tt-font-family, inherit);
26 font-size: var(--bksbc-tt-font-size-d, 28px);
27 font-weight: var(--bksbc-tt-font-weight, 700);
28 font-style: var(--bksbc-tt-font-style);
29 text-decoration: var(--bksbc-tt-text-decoration);
30 text-transform: var(--bksbc-tt-text-transform);
31 margin: 0 0 6px;
32 line-height: var(--bksbc-tt-line-height-d, 1.2);
33 letter-spacing: var(--bksbc-tt-letter-spacing-d);
34 word-spacing: var(--bksbc-tt-word-spacing-d);
35 }
36 .bkbg-sbc-subtitle {
37 font-family: var(--bksbc-st-font-family, inherit);
38 font-size: var(--bksbc-st-font-size-d, 15px);
39 font-weight: var(--bksbc-st-font-weight);
40 font-style: var(--bksbc-st-font-style);
41 text-decoration: var(--bksbc-st-text-decoration);
42 text-transform: var(--bksbc-st-text-transform);
43 margin: 0;
44 opacity: .7;
45 line-height: var(--bksbc-st-line-height-d);
46 letter-spacing: var(--bksbc-st-letter-spacing-d);
47 word-spacing: var(--bksbc-st-word-spacing-d);
48 }
49
50 /* Inputs */
51 .bkbg-sbc-field {
52 margin-bottom: 16px;
53 }
54 .bkbg-sbc-label {
55 display: flex;
56 justify-content: space-between;
57 font-size: 13px;
58 font-weight: 600;
59 margin-bottom: 5px;
60 }
61 .bkbg-sbc-label span {
62 font-weight: 400;
63 font-size: 12px;
64 color: #9ca3af;
65 }
66 .bkbg-sbc-input {
67 width: 100%;
68 padding: 11px 14px;
69 font-size: 16px;
70 font-family: inherit;
71 border-radius: 8px;
72 border: 1.5px solid #e5e7eb;
73 outline: none;
74 transition: border-color .15s;
75 -webkit-appearance: none;
76 appearance: none;
77 }
78 .bkbg-sbc-input:focus {
79 border-color: #6c3fb5;
80 box-shadow: 0 0 0 3px rgba(108,63,181,.12);
81 }
82
83 /* Tip presets row */
84 .bkbg-sbc-presets {
85 display: flex;
86 gap: 8px;
87 flex-wrap: wrap;
88 margin-bottom: 10px;
89 }
90 .bkbg-sbc-preset-btn {
91 flex: 1;
92 min-width: 48px;
93 padding: 8px 6px;
94 border-radius: 8px;
95 border: 2px solid #e5e7eb;
96 background: #f3f4f6;
97 color: #374151;
98 font-weight: 700;
99 font-size: 14px;
100 cursor: pointer;
101 font-family: inherit;
102 transition: background .15s, border-color .15s, color .15s;
103 }
104 .bkbg-sbc-preset-btn:hover {
105 border-color: #6c3fb5;
106 background: #f5f3ff;
107 }
108 .bkbg-sbc-preset-btn.active {
109 background: #6c3fb5;
110 border-color: #6c3fb5;
111 color: #fff;
112 }
113 .bkbg-sbc-tip-custom {
114 width: 72px;
115 padding: 8px 10px;
116 border-radius: 8px;
117 border: 1.5px solid #e5e7eb;
118 font-size: 15px;
119 font-family: inherit;
120 outline: none;
121 -webkit-appearance: none;
122 appearance: none;
123 }
124 .bkbg-sbc-tip-custom:focus {
125 border-color: #6c3fb5;
126 }
127
128 /* Result card */
129 .bkbg-sbc-result {
130 background: #6c3fb5;
131 border-radius: 8px;
132 padding: 24px;
133 text-align: center;
134 margin-bottom: 16px;
135 position: relative;
136 overflow: hidden;
137 }
138 .bkbg-sbc-result-label {
139 font-size: 13px;
140 font-weight: 600;
141 color: rgba(255,255,255,.8);
142 margin-bottom: 6px;
143 }
144 .bkbg-sbc-result-amount {
145 font-family: var(--bksbc-rs-font-family, inherit);
146 font-size: var(--bksbc-rs-font-size-d, 56px);
147 font-weight: var(--bksbc-rs-font-weight, 800);
148 font-style: var(--bksbc-rs-font-style);
149 text-decoration: var(--bksbc-rs-text-decoration);
150 text-transform: var(--bksbc-rs-text-transform);
151 color: #fff;
152 line-height: var(--bksbc-rs-line-height-d, 1);
153 letter-spacing: var(--bksbc-rs-letter-spacing-d, -1px);
154 word-spacing: var(--bksbc-rs-word-spacing-d);
155 }
156
157 /* Breakdown */
158 .bkbg-sbc-breakdown {
159 background: #f5f3ff;
160 border: 1.5px solid #ede9fe;
161 border-radius: 8px;
162 padding: 16px 20px;
163 animation: bkbg-sbc-fade-in .3s ease;
164 }
165 .bkbg-sbc-breakdown-row {
166 display: flex;
167 justify-content: space-between;
168 padding: 5px 0;
169 font-size: 14px;
170 border-bottom: 1px solid #ede9fe;
171 }
172 .bkbg-sbc-breakdown-row:last-child {
173 border-bottom: none;
174 font-weight: 700;
175 font-size: 15px;
176 padding-top: 10px;
177 }
178 .bkbg-sbc-breakdown-row strong {
179 font-weight: 600;
180 }
181
182 @keyframes bkbg-sbc-fade-in {
183 from { opacity: 0; transform: translateY(6px); }
184 to { opacity: 1; transform: translateY(0); }
185 }
186
187 @media (max-width: 1024px) {
188 .bkbg-sbc-title {
189 font-size: var(--bksbc-tt-font-size-t, var(--bksbc-tt-font-size-d, 28px));
190 line-height: var(--bksbc-tt-line-height-t, var(--bksbc-tt-line-height-d, 1.2));
191 letter-spacing: var(--bksbc-tt-letter-spacing-t, var(--bksbc-tt-letter-spacing-d));
192 word-spacing: var(--bksbc-tt-word-spacing-t, var(--bksbc-tt-word-spacing-d));
193 }
194 .bkbg-sbc-subtitle {
195 font-size: var(--bksbc-st-font-size-t, var(--bksbc-st-font-size-d, 15px));
196 line-height: var(--bksbc-st-line-height-t, var(--bksbc-st-line-height-d));
197 letter-spacing: var(--bksbc-st-letter-spacing-t, var(--bksbc-st-letter-spacing-d));
198 word-spacing: var(--bksbc-st-word-spacing-t, var(--bksbc-st-word-spacing-d));
199 }
200 .bkbg-sbc-result-amount {
201 font-size: var(--bksbc-rs-font-size-t, var(--bksbc-rs-font-size-d, 56px));
202 line-height: var(--bksbc-rs-line-height-t, var(--bksbc-rs-line-height-d, 1));
203 letter-spacing: var(--bksbc-rs-letter-spacing-t, var(--bksbc-rs-letter-spacing-d, -1px));
204 word-spacing: var(--bksbc-rs-word-spacing-t, var(--bksbc-rs-word-spacing-d));
205 }
206 }
207 @media (max-width: 767px) {
208 .bkbg-sbc-title {
209 font-size: var(--bksbc-tt-font-size-m, var(--bksbc-tt-font-size-t, var(--bksbc-tt-font-size-d, 28px)));
210 line-height: var(--bksbc-tt-line-height-m, var(--bksbc-tt-line-height-t, var(--bksbc-tt-line-height-d, 1.2)));
211 letter-spacing: var(--bksbc-tt-letter-spacing-m, var(--bksbc-tt-letter-spacing-t, var(--bksbc-tt-letter-spacing-d)));
212 word-spacing: var(--bksbc-tt-word-spacing-m, var(--bksbc-tt-word-spacing-t, var(--bksbc-tt-word-spacing-d)));
213 }
214 .bkbg-sbc-subtitle {
215 font-size: var(--bksbc-st-font-size-m, var(--bksbc-st-font-size-t, var(--bksbc-st-font-size-d, 15px)));
216 line-height: var(--bksbc-st-line-height-m, var(--bksbc-st-line-height-t, var(--bksbc-st-line-height-d)));
217 letter-spacing: var(--bksbc-st-letter-spacing-m, var(--bksbc-st-letter-spacing-t, var(--bksbc-st-letter-spacing-d)));
218 word-spacing: var(--bksbc-st-word-spacing-m, var(--bksbc-st-word-spacing-t, var(--bksbc-st-word-spacing-d)));
219 }
220 .bkbg-sbc-result-amount {
221 font-size: var(--bksbc-rs-font-size-m, var(--bksbc-rs-font-size-t, var(--bksbc-rs-font-size-d, 56px)));
222 line-height: var(--bksbc-rs-line-height-m, var(--bksbc-rs-line-height-t, var(--bksbc-rs-line-height-d, 1)));
223 letter-spacing: var(--bksbc-rs-letter-spacing-m, var(--bksbc-rs-letter-spacing-t, var(--bksbc-rs-letter-spacing-d, -1px)));
224 word-spacing: var(--bksbc-rs-word-spacing-m, var(--bksbc-rs-word-spacing-t, var(--bksbc-rs-word-spacing-d)));
225 }
226 }
227