PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / faq-search / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/faq-search/style.css

207 lines 6.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-fs-wrap {
2 box-sizing: border-box;
3 width: 100%;
4 }
5
6 .bkbg-fs-inner {
7 margin-left: auto;
8 margin-right: auto;
9 }
10
11 /* Search bar */
12 .bkbg-fs-search-wrap {
13 position: relative;
14 margin-bottom: 24px;
15 }
16
17 .bkbg-fs-search-icon {
18 position: absolute;
19 left: 14px;
20 top: 50%;
21 transform: translateY(-50%);
22 color: #9ca3af;
23 pointer-events: none;
24 font-size: 15px;
25 }
26
27 .bkbg-fs-search-input {
28 width: 100%;
29 padding: 12px 16px 12px 40px;
30 border: 1px solid #d1d5db;
31 border-radius: 8px;
32 font-size: 15px;
33 box-sizing: border-box;
34 outline: none;
35 transition: border-color 0.2s, box-shadow 0.2s;
36 }
37
38 .bkbg-fs-search-input:focus {
39 border-color: var(--bkbg-fs-accent, #7c3aed);
40 box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
41 }
42
43 /* FAQ Items */
44 .bkbg-fs-item {
45 overflow: hidden;
46 transition: box-shadow 0.2s;
47 }
48
49 /* bordered */
50 .bkbg-fs-item--bordered {
51 border: 1px solid var(--bkbg-fs-border, #e5e7eb);
52 border-radius: var(--bkbg-fs-radius, 10px);
53 margin-bottom: 8px;
54 }
55
56 /* boxed */
57 .bkbg-fs-item--boxed {
58 border-radius: var(--bkbg-fs-radius, 10px);
59 margin-bottom: 8px;
60 }
61
62 /* plain */
63 .bkbg-fs-item--plain {
64 border-bottom: 1px solid var(--bkbg-fs-border, #e5e7eb);
65 }
66
67 .bkbg-fs-item--plain:first-child {
68 border-top: 1px solid var(--bkbg-fs-border, #e5e7eb);
69 }
70
71 .bkbg-fs-question-btn {
72 width: 100%;
73 display: flex;
74 justify-content: space-between;
75 align-items: center;
76 background: none;
77 border: none;
78 padding: 16px 20px;
79 cursor: pointer;
80 text-align: left;
81 gap: 12px;
82 transition: background 0.15s;
83 }
84
85 .bkbg-fs-item--plain .bkbg-fs-question-btn {
86 padding: 16px 0;
87 }
88
89 .bkbg-fs-question-btn:hover {
90 background: rgba(0, 0, 0, 0.02);
91 }
92
93 .bkbg-fs-item--plain .bkbg-fs-question-btn:hover {
94 background: transparent;
95 }
96
97 .bkbg-fs-question-text {
98 flex: 1;
99 font-family: var(--bkbg-fsrch-qt-font-family, inherit);
100 font-size: var(--bkbg-fsrch-qt-font-size-d, 17px);
101 font-weight: var(--bkbg-fsrch-qt-font-weight, 600);
102 line-height: var(--bkbg-fsrch-qt-line-height-d, 1.4);
103 text-transform: var(--bkbg-fsrch-qt-text-transform, none);
104 font-style: var(--bkbg-fsrch-qt-font-style, normal);
105 text-decoration: var(--bkbg-fsrch-qt-text-decoration, none);
106 letter-spacing: var(--bkbg-fsrch-qt-letter-spacing-d, normal);
107 word-spacing: var(--bkbg-fsrch-qt-word-spacing-d, normal);
108 }
109
110 .bkbg-fs-icon {
111 flex-shrink: 0;
112 width: 22px;
113 height: 22px;
114 border-radius: 50%;
115 display: flex;
116 align-items: center;
117 justify-content: center;
118 transition: transform 0.25s ease;
119 font-size: 18px;
120 line-height: 1;
121 color: var(--bkbg-fs-accent, #7c3aed);
122 border: 2px solid currentColor;
123 }
124
125 .bkbg-fs-item--open .bkbg-fs-icon {
126 transform: rotate(45deg);
127 }
128
129 .bkbg-fs-answer-wrap {
130 max-height: 0;
131 overflow: hidden;
132 transition: max-height 0.3s ease;
133 }
134
135 .bkbg-fs-item--open .bkbg-fs-answer-wrap {
136 max-height: 1000px;
137 }
138
139 .bkbg-fs-answer {
140 padding: 0 20px 16px;
141 font-family: var(--bkbg-fsrch-an-font-family, inherit);
142 font-size: var(--bkbg-fsrch-an-font-size-d, 15px);
143 font-weight: var(--bkbg-fsrch-an-font-weight, normal);
144 line-height: var(--bkbg-fsrch-an-line-height-d, 1.65);
145 text-transform: var(--bkbg-fsrch-an-text-transform, none);
146 font-style: var(--bkbg-fsrch-an-font-style, normal);
147 text-decoration: var(--bkbg-fsrch-an-text-decoration, none);
148 letter-spacing: var(--bkbg-fsrch-an-letter-spacing-d, normal);
149 word-spacing: var(--bkbg-fsrch-an-word-spacing-d, normal);
150 }
151
152 .bkbg-fs-item--plain .bkbg-fs-answer {
153 padding: 0 0 16px;
154 }
155
156 /* Hidden for search */
157 .bkbg-fs-item--hidden {
158 display: none !important;
159 }
160
161 .bkbg-fs-no-results {
162 text-align: center;
163 color: #9ca3af;
164 padding: 24px 0;
165 display: none;
166 }
167
168 .bkbg-fs-no-results--visible {
169 display: block;
170 }
171
172 /* Editor */
173 .bkbg-fs-editor {
174 min-height: 40px;
175 }
176
177 /* Responsive */
178 @media (max-width: 1024px) {
179 .bkbg-fs-question-text {
180 font-size: var(--bkbg-fsrch-qt-font-size-t, var(--bkbg-fsrch-qt-font-size-d, 17px));
181 line-height: var(--bkbg-fsrch-qt-line-height-t, var(--bkbg-fsrch-qt-line-height-d, 1.4));
182 letter-spacing: var(--bkbg-fsrch-qt-letter-spacing-t, var(--bkbg-fsrch-qt-letter-spacing-d, normal));
183 word-spacing: var(--bkbg-fsrch-qt-word-spacing-t, var(--bkbg-fsrch-qt-word-spacing-d, normal));
184 }
185 .bkbg-fs-answer {
186 font-size: var(--bkbg-fsrch-an-font-size-t, var(--bkbg-fsrch-an-font-size-d, 15px));
187 line-height: var(--bkbg-fsrch-an-line-height-t, var(--bkbg-fsrch-an-line-height-d, 1.65));
188 letter-spacing: var(--bkbg-fsrch-an-letter-spacing-t, var(--bkbg-fsrch-an-letter-spacing-d, normal));
189 word-spacing: var(--bkbg-fsrch-an-word-spacing-t, var(--bkbg-fsrch-an-word-spacing-d, normal));
190 }
191 }
192
193 @media (max-width: 767px) {
194 .bkbg-fs-question-text {
195 font-size: var(--bkbg-fsrch-qt-font-size-m, var(--bkbg-fsrch-qt-font-size-t, var(--bkbg-fsrch-qt-font-size-d, 17px)));
196 line-height: var(--bkbg-fsrch-qt-line-height-m, var(--bkbg-fsrch-qt-line-height-t, var(--bkbg-fsrch-qt-line-height-d, 1.4)));
197 letter-spacing: var(--bkbg-fsrch-qt-letter-spacing-m, var(--bkbg-fsrch-qt-letter-spacing-t, var(--bkbg-fsrch-qt-letter-spacing-d, normal)));
198 word-spacing: var(--bkbg-fsrch-qt-word-spacing-m, var(--bkbg-fsrch-qt-word-spacing-t, var(--bkbg-fsrch-qt-word-spacing-d, normal)));
199 }
200 .bkbg-fs-answer {
201 font-size: var(--bkbg-fsrch-an-font-size-m, var(--bkbg-fsrch-an-font-size-t, var(--bkbg-fsrch-an-font-size-d, 15px)));
202 line-height: var(--bkbg-fsrch-an-line-height-m, var(--bkbg-fsrch-an-line-height-t, var(--bkbg-fsrch-an-line-height-d, 1.65)));
203 letter-spacing: var(--bkbg-fsrch-an-letter-spacing-m, var(--bkbg-fsrch-an-letter-spacing-t, var(--bkbg-fsrch-an-letter-spacing-d, normal)));
204 word-spacing: var(--bkbg-fsrch-an-word-spacing-m, var(--bkbg-fsrch-an-word-spacing-t, var(--bkbg-fsrch-an-word-spacing-d, normal)));
205 }
206 }
207