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 / password-generator / style.css

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

261 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ======================================================
2 Blockenberg — Password Generator block styles
3 ====================================================== */
4
5 .bkbg-pg-app {
6 font-family: inherit;
7 box-sizing: border-box;
8 }
9
10 .bkbg-pg-loading {
11 text-align: center;
12 color: #9ca3af;
13 padding: 40px 0;
14 }
15
16 .bkbg-pg-card {
17 box-sizing: border-box;
18 }
19
20 .bkbg-pg-card h2.bkbg-pg-title,
21 .bkbg-pg-card .bkbg-pg-title {
22 font-family: var(--bkbg-pg-tt-font-family, inherit);
23 font-size: var(--bkbg-pg-tt-font-size-d, 26px);
24 font-weight: var(--bkbg-pg-tt-font-weight, 700);
25 font-style: var(--bkbg-pg-tt-font-style, normal);
26 text-decoration: var(--bkbg-pg-tt-text-decoration, none);
27 text-transform: var(--bkbg-pg-tt-text-transform, none);
28 line-height: var(--bkbg-pg-tt-line-height-d, 1.2);
29 letter-spacing: var(--bkbg-pg-tt-letter-spacing-d, normal);
30 word-spacing: var(--bkbg-pg-tt-word-spacing-d, normal);
31 margin: 0 0 8px;
32 text-align: center;
33 }
34
35 .bkbg-pg-subtitle {
36 margin: 0 0 28px;
37 text-align: center;
38 line-height: 1.6;
39 }
40
41 /* Password display box */
42 .bkbg-pg-display {
43 display: flex;
44 align-items: center;
45 gap: 12px;
46 border: 1.5px solid transparent;
47 padding: 16px 20px;
48 margin-bottom: 16px;
49 box-sizing: border-box;
50 }
51
52 .bkbg-pg-password {
53 flex: 1;
54 font-family: var(--bkbg-pg-pw-font-family, 'Courier New', Courier, monospace);
55 font-size: var(--bkbg-pg-pw-font-size-d, 20px);
56 font-weight: var(--bkbg-pg-pw-font-weight, 400);
57 font-style: var(--bkbg-pg-pw-font-style, normal);
58 text-transform: var(--bkbg-pg-pw-text-transform, none);
59 line-height: var(--bkbg-pg-pw-line-height-d, 1.4);
60 overflow-x: auto;
61 letter-spacing: var(--bkbg-pg-pw-letter-spacing-d, 0.05em);
62 word-spacing: var(--bkbg-pg-pw-word-spacing-d, normal);
63 user-select: all;
64 transition: filter 0.2s;
65 white-space: nowrap;
66 min-width: 0;
67 }
68
69 .bkbg-pg-password.blurred {
70 filter: blur(6px);
71 user-select: none;
72 }
73
74 .bkbg-pg-icon-btn {
75 background: none;
76 border: none;
77 cursor: pointer;
78 font-size: 18px;
79 padding: 4px;
80 flex-shrink: 0;
81 transition: opacity 0.2s, transform 0.15s;
82 line-height: 1;
83 }
84
85 .bkbg-pg-icon-btn:hover {
86 opacity: 0.75;
87 transform: scale(1.1);
88 }
89
90 .bkbg-pg-icon-btn.refresh {
91 font-size: 20px;
92 }
93
94 /* Strength bar */
95 .bkbg-pg-strength {
96 margin-bottom: 20px;
97 }
98
99 .bkbg-pg-strength-header {
100 display: flex;
101 justify-content: space-between;
102 font-size: 12px;
103 font-weight: 600;
104 margin-bottom: 4px;
105 }
106
107 .bkbg-pg-strength-track {
108 height: 6px;
109 border-radius: 99px;
110 background: #e5e7eb;
111 overflow: hidden;
112 }
113
114 .bkbg-pg-strength-fill {
115 height: 100%;
116 border-radius: 99px;
117 transition: width 0.4s ease, background 0.3s;
118 }
119
120 /* Length slider */
121 .bkbg-pg-length {
122 margin-bottom: 20px;
123 }
124
125 .bkbg-pg-length-header {
126 display: flex;
127 justify-content: space-between;
128 font-size: 13px;
129 font-weight: 600;
130 margin-bottom: 6px;
131 }
132
133 .bkbg-pg-length-num {
134 font-weight: 700;
135 }
136
137 .bkbg-pg-range {
138 width: 100%;
139 cursor: pointer;
140 height: 6px;
141 border-radius: 3px;
142 outline: none;
143 -webkit-appearance: none;
144 appearance: none;
145 background: #e5e7eb;
146 }
147
148 .bkbg-pg-range::-webkit-slider-thumb {
149 -webkit-appearance: none;
150 appearance: none;
151 width: 20px;
152 height: 20px;
153 border-radius: 50%;
154 background: currentColor;
155 cursor: pointer;
156 box-shadow: 0 1px 4px rgba(0,0,0,0.2);
157 transition: transform 0.1s;
158 }
159
160 .bkbg-pg-range::-webkit-slider-thumb:hover {
161 transform: scale(1.15);
162 }
163
164 .bkbg-pg-range::-moz-range-thumb {
165 width: 20px;
166 height: 20px;
167 border-radius: 50%;
168 background: currentColor;
169 cursor: pointer;
170 border: none;
171 box-shadow: 0 1px 4px rgba(0,0,0,0.2);
172 }
173
174 /* Checkboxes */
175 .bkbg-pg-options {
176 display: grid;
177 grid-template-columns: 1fr 1fr;
178 gap: 8px 16px;
179 margin-bottom: 24px;
180 }
181
182 @media (max-width: 400px) {
183 .bkbg-pg-options {
184 grid-template-columns: 1fr;
185 }
186 }
187
188 .bkbg-pg-option {
189 display: flex;
190 align-items: center;
191 gap: 8px;
192 font-size: 14px;
193 cursor: pointer;
194 user-select: none;
195 color: inherit;
196 }
197
198 .bkbg-pg-option.full-width {
199 grid-column: 1 / -1;
200 }
201
202 .bkbg-pg-option input[type="checkbox"] {
203 width: 16px;
204 height: 16px;
205 cursor: pointer;
206 flex-shrink: 0;
207 }
208
209 /* Action buttons */
210 .bkbg-pg-actions {
211 display: flex;
212 gap: 10px;
213 }
214
215 .bkbg-pg-btn {
216 flex: 1;
217 padding: 12px;
218 border: none;
219 cursor: pointer;
220 font-weight: 700;
221 font-size: 14px;
222 transition: filter 0.15s, background 0.2s;
223 }
224
225 .bkbg-pg-btn:hover {
226 filter: brightness(0.92);
227 }
228
229 .bkbg-pg-btn.copy.success {
230 filter: none;
231 }
232
233 @media (max-width: 1024px) {
234 .bkbg-pg-card h2.bkbg-pg-title, .bkbg-pg-card .bkbg-pg-title {
235 font-size: var(--bkbg-pg-tt-font-size-t, var(--bkbg-pg-tt-font-size-d, 24px));
236 line-height: var(--bkbg-pg-tt-line-height-t, var(--bkbg-pg-tt-line-height-d, 1.2));
237 letter-spacing: var(--bkbg-pg-tt-letter-spacing-t, var(--bkbg-pg-tt-letter-spacing-d, normal));
238 word-spacing: var(--bkbg-pg-tt-word-spacing-t, var(--bkbg-pg-tt-word-spacing-d, normal));
239 }
240 .bkbg-pg-password {
241 font-size: var(--bkbg-pg-pw-font-size-t, var(--bkbg-pg-pw-font-size-d, 18px));
242 line-height: var(--bkbg-pg-pw-line-height-t, var(--bkbg-pg-pw-line-height-d, 1.4));
243 letter-spacing: var(--bkbg-pg-pw-letter-spacing-t, var(--bkbg-pg-pw-letter-spacing-d, 0.05em));
244 word-spacing: var(--bkbg-pg-pw-word-spacing-t, var(--bkbg-pg-pw-word-spacing-d, normal));
245 }
246 }
247 @media (max-width: 767px) {
248 .bkbg-pg-card h2.bkbg-pg-title, .bkbg-pg-card .bkbg-pg-title {
249 font-size: var(--bkbg-pg-tt-font-size-m, var(--bkbg-pg-tt-font-size-t, var(--bkbg-pg-tt-font-size-d, 22px)));
250 line-height: var(--bkbg-pg-tt-line-height-m, var(--bkbg-pg-tt-line-height-t, var(--bkbg-pg-tt-line-height-d, 1.2)));
251 letter-spacing: var(--bkbg-pg-tt-letter-spacing-m, var(--bkbg-pg-tt-letter-spacing-t, var(--bkbg-pg-tt-letter-spacing-d, normal)));
252 word-spacing: var(--bkbg-pg-tt-word-spacing-m, var(--bkbg-pg-tt-word-spacing-t, var(--bkbg-pg-tt-word-spacing-d, normal)));
253 }
254 .bkbg-pg-password {
255 font-size: var(--bkbg-pg-pw-font-size-m, var(--bkbg-pg-pw-font-size-t, var(--bkbg-pg-pw-font-size-d, 16px)));
256 line-height: var(--bkbg-pg-pw-line-height-m, var(--bkbg-pg-pw-line-height-t, var(--bkbg-pg-pw-line-height-d, 1.4)));
257 letter-spacing: var(--bkbg-pg-pw-letter-spacing-m, var(--bkbg-pg-pw-letter-spacing-t, var(--bkbg-pg-pw-letter-spacing-d, 0.05em)));
258 word-spacing: var(--bkbg-pg-pw-word-spacing-m, var(--bkbg-pg-pw-word-spacing-t, var(--bkbg-pg-pw-word-spacing-d, normal)));
259 }
260 }
261