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

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

230 lines 8.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* =========================================================
2 Blockenberg — Hash Generator (bkbg-hg-*)
3 ========================================================= */
4
5 .bkbg-hg-wrap {
6 box-sizing: border-box;
7 border-radius: 14px;
8 padding: 32px 24px;
9 font-family: inherit;
10 margin: 0 auto;
11 }
12
13 /* heading specificity (0,2,0) beats editor theme h3 rules */
14 .bkbg-hg-wrap h3.bkbg-hg-title {
15 font-family: var(--bkbg-hg-tt-font-family, inherit);
16 font-size: var(--bkbg-hg-tt-font-size-d, 26px);
17 font-weight: var(--bkbg-hg-tt-font-weight, 700);
18 line-height: var(--bkbg-hg-tt-line-height-d, 1.2);
19 font-style: var(--bkbg-hg-tt-font-style, normal);
20 text-transform: var(--bkbg-hg-tt-text-transform, none);
21 text-decoration: var(--bkbg-hg-tt-text-decoration, none);
22 letter-spacing: var(--bkbg-hg-tt-letter-spacing-d);
23 word-spacing: var(--bkbg-hg-tt-word-spacing-d);
24 margin: 0 0 6px 0;
25 }
26 .bkbg-hg-subtitle {
27 font-family: var(--bkbg-hg-st-font-family, inherit);
28 font-size: var(--bkbg-hg-st-font-size-d, 14px);
29 font-weight: var(--bkbg-hg-st-font-weight, 400);
30 line-height: var(--bkbg-hg-st-line-height-d, 1.5);
31 font-style: var(--bkbg-hg-st-font-style, normal);
32 text-transform: var(--bkbg-hg-st-text-transform, none);
33 text-decoration: var(--bkbg-hg-st-text-decoration, none);
34 letter-spacing: var(--bkbg-hg-st-letter-spacing-d);
35 word-spacing: var(--bkbg-hg-st-word-spacing-d);
36 margin: 0 0 20px 0;
37 }
38
39 /* ── Input field ────────────────────────────────────────── */
40 .bkbg-hg-field-label {
41 display: block;
42 font-size: 13px;
43 font-weight: 600;
44 margin-bottom: 6px;
45 }
46 .bkbg-hg-textarea {
47 width: 100%;
48 box-sizing: border-box;
49 border: 1.5px solid #e5e7eb;
50 border-radius: 10px;
51 padding: 12px 14px;
52 font-size: 14px;
53 font-family: inherit;
54 resize: vertical;
55 min-height: 90px;
56 transition: border-color 0.18s;
57 outline: none;
58 }
59 .bkbg-hg-textarea:focus {
60 border-color: var(--hg-accent, #6366f1);
61 box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
62 }
63
64 /* ── Algorithm selector ─────────────────────────────────── */
65 .bkbg-hg-algos {
66 display: flex;
67 flex-wrap: wrap;
68 gap: 8px;
69 margin: 16px 0;
70 }
71 .bkbg-hg-algo-btn {
72 padding: 7px 16px;
73 border-radius: 8px;
74 border: 2px solid #e5e7eb;
75 background: #ffffff;
76 font-size: 13px;
77 font-weight: 500;
78 cursor: pointer;
79 transition: all 0.18s ease;
80 white-space: nowrap;
81 }
82 .bkbg-hg-algo-btn:hover {
83 border-color: var(--hg-accent, #6366f1);
84 }
85 .bkbg-hg-algo-btn.active {
86 background: var(--hg-accent, #6366f1);
87 border-color: var(--hg-accent, #6366f1);
88 color: #ffffff;
89 font-weight: 700;
90 }
91
92 /* ── Hash rows ──────────────────────────────────────────── */
93 .bkbg-hg-rows {
94 margin-bottom: 18px;
95 }
96 .bkbg-hg-row {
97 display: flex;
98 align-items: center;
99 gap: 12px;
100 border-radius: 9px;
101 padding: 10px 14px;
102 margin-bottom: 8px;
103 }
104 .bkbg-hg-row-algo {
105 font-size: 11px;
106 font-weight: 700;
107 letter-spacing: 0.07em;
108 color: #818cf8;
109 min-width: 64px;
110 white-space: nowrap;
111 }
112 .bkbg-hg-row-value {
113 font-family: 'Courier New', monospace;
114 font-size: 12px;
115 word-break: break-all;
116 flex: 1;
117 line-height: 1.6;
118 }
119 .bkbg-hg-row-copy {
120 background: none;
121 border: none;
122 cursor: pointer;
123 font-size: 17px;
124 padding: 2px 4px;
125 border-radius: 6px;
126 transition: background 0.15s;
127 flex-shrink: 0;
128 color: #6366f1;
129 }
130 .bkbg-hg-row-copy:hover {
131 background: rgba(99,102,241,0.12);
132 }
133 .bkbg-hg-copy-toast {
134 font-size: 10px;
135 color: #16a34a;
136 font-weight:600;
137 margin-left:4px;
138 opacity: 0;
139 transition: opacity 0.2s;
140 }
141 .bkbg-hg-copy-toast.show {
142 opacity: 1;
143 }
144
145 /* ── Generating spinner ─────────────────────────────────── */
146 .bkbg-hg-pending {
147 font-size: 12px;
148 color: #9ca3af;
149 font-style: italic;
150 }
151
152 /* ── Compare section ────────────────────────────────────── */
153 .bkbg-hg-compare {
154 border-radius: 10px;
155 padding: 14px 16px;
156 border: 1.5px solid #e5e7eb;
157 }
158 .bkbg-hg-compare-label {
159 font-size: 12px;
160 font-weight: 700;
161 text-transform: uppercase;
162 letter-spacing: 0.06em;
163 margin-bottom: 8px;
164 }
165 .bkbg-hg-compare-row {
166 display: flex;
167 gap: 10px;
168 align-items:center;
169 }
170 .bkbg-hg-compare-input {
171 flex: 1;
172 border: 1.5px solid #e5e7eb;
173 border-radius: 8px;
174 padding: 9px 12px;
175 font-size: 13px;
176 font-family: monospace;
177 outline: none;
178 transition: border-color 0.18s;
179 }
180 .bkbg-hg-compare-input:focus {
181 border-color: var(--hg-accent, #6366f1);
182 }
183 .bkbg-hg-compare-badge {
184 font-size: 13px;
185 font-weight: 700;
186 padding: 6px 14px;
187 border-radius:8px;
188 white-space: nowrap;
189 }
190 .bkbg-hg-compare-badge.match { background:#dcfce7; color:#16a34a; }
191 .bkbg-hg-compare-badge.nomatch { background:#fee2e2; color:#dc2626; }
192
193 /* ── Animations ─────────────────────────────────────────── */
194 @keyframes bkbg-hg-fadein {
195 from { opacity:0; transform:translateY(6px); }
196 to { opacity:1; transform:translateY(0); }
197 }
198 .bkbg-hg-row { animation: bkbg-hg-fadein 0.25s ease both; }
199 .bkbg-hg-compare{ animation: bkbg-hg-fadein 0.3s ease both; }
200
201 /* ── Responsive typography ──────────────────────────────── */
202 @media (max-width: 1024px) {
203 .bkbg-hg-wrap h3.bkbg-hg-title {
204 font-size: var(--bkbg-hg-tt-font-size-t, var(--bkbg-hg-tt-font-size-d, 26px));
205 line-height: var(--bkbg-hg-tt-line-height-t, var(--bkbg-hg-tt-line-height-d, 1.2));
206 letter-spacing: var(--bkbg-hg-tt-letter-spacing-t, var(--bkbg-hg-tt-letter-spacing-d));
207 word-spacing: var(--bkbg-hg-tt-word-spacing-t, var(--bkbg-hg-tt-word-spacing-d));
208 }
209 .bkbg-hg-subtitle {
210 font-size: var(--bkbg-hg-st-font-size-t, var(--bkbg-hg-st-font-size-d, 14px));
211 line-height: var(--bkbg-hg-st-line-height-t, var(--bkbg-hg-st-line-height-d, 1.5));
212 letter-spacing: var(--bkbg-hg-st-letter-spacing-t, var(--bkbg-hg-st-letter-spacing-d));
213 word-spacing: var(--bkbg-hg-st-word-spacing-t, var(--bkbg-hg-st-word-spacing-d));
214 }
215 }
216 @media (max-width: 767px) {
217 .bkbg-hg-wrap h3.bkbg-hg-title {
218 font-size: var(--bkbg-hg-tt-font-size-m, var(--bkbg-hg-tt-font-size-t, var(--bkbg-hg-tt-font-size-d, 26px)));
219 line-height: var(--bkbg-hg-tt-line-height-m, var(--bkbg-hg-tt-line-height-t, var(--bkbg-hg-tt-line-height-d, 1.2)));
220 letter-spacing: var(--bkbg-hg-tt-letter-spacing-m, var(--bkbg-hg-tt-letter-spacing-t, var(--bkbg-hg-tt-letter-spacing-d)));
221 word-spacing: var(--bkbg-hg-tt-word-spacing-m, var(--bkbg-hg-tt-word-spacing-t, var(--bkbg-hg-tt-word-spacing-d)));
222 }
223 .bkbg-hg-subtitle {
224 font-size: var(--bkbg-hg-st-font-size-m, var(--bkbg-hg-st-font-size-t, var(--bkbg-hg-st-font-size-d, 14px)));
225 line-height: var(--bkbg-hg-st-line-height-m, var(--bkbg-hg-st-line-height-t, var(--bkbg-hg-st-line-height-d, 1.5)));
226 letter-spacing: var(--bkbg-hg-st-letter-spacing-m, var(--bkbg-hg-st-letter-spacing-t, var(--bkbg-hg-st-letter-spacing-d)));
227 word-spacing: var(--bkbg-hg-st-word-spacing-m, var(--bkbg-hg-st-word-spacing-t, var(--bkbg-hg-st-word-spacing-d)));
228 }
229 }
230