PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / admin / scss / fields / better-repeater.scss

better-repeater.scss in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/admin/scss/fields/better-repeater.scss

418 lines 8.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .betterdocs-access-control-wrapper-overlay {
2 z-index: 3;
3 display: block;
4 position: fixed;
5 top: 0;
6 width: 100%;
7 height: 100%;
8 background-color: rgba(0, 0, 0, 0.4);
9
10 .betterdocs-access-control-wrapper {
11 max-width: 709px;
12 height: auto;
13 background: #fff;
14 position: relative;
15 left: 50%;
16 top: 50%;
17 transform: translate(-50%, -50%);
18 margin: 20px 0;
19 border-radius: 8px;
20
21 .wprf-modal-preview-header {
22 position: absolute;
23 right: -55px;
24 height: 40px;
25 width: 40px;
26 background-color: #F2F4F7;
27 border-radius: 25px;
28 cursor: pointer;
29
30 svg {
31 cursor: pointer;
32 display: block;
33 position: relative;
34 top: 13px;
35 left: 12.3px;
36 }
37 }
38
39 .wpsp-better-repeater-fields {
40 display: flex;
41 flex-direction: column;
42 padding: 50px;
43 gap: 20px;
44 max-height: 72vh;
45 overflow: auto;
46
47 .wprf-control-wrapper {
48 display: flex;
49 flex-direction: column;
50 align-items: flex-start;
51 gap: 6px;
52 align-self: stretch;
53
54 &:nth-child(1),
55 &:nth-child(2),
56 &:nth-last-child(2),
57 &:nth-last-child(1) {
58 .wprf-control-label {
59 &::after {
60 content: "*";
61 position: relative;
62 color: red;
63 left: 10px;
64 top: 3px;
65 }
66 }
67 }
68
69
70
71 .wprf-control-label {
72 color: #344054;
73 font-size: 14px;
74 font-style: normal;
75 font-weight: 500;
76 line-height: 20px;
77 }
78
79 .wprf-control-field {
80 input {
81 &:nth-child(1) {
82 width: 605px;
83 }
84
85 border-radius: 8px;
86 border: 1px solid #D0D5DD;
87 background: #FFF;
88 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
89 padding: 10px 14px;
90 color: #101828;
91 font-size: 16px;
92 font-style: normal;
93 font-weight: 400;
94 line-height: 24px;
95 }
96
97 .wprf-select-wrapper {
98 .wprf-selected-options {
99 display: flex;
100 gap: 8px;
101 justify-content: flex-end;
102 flex-wrap: wrap;
103 margin: 0;
104 padding: 5px 0 0 0;
105
106 .wprf-selected-option {
107 min-height: 22px;
108 display: inline-flex;
109 margin: 0;
110 padding: 1px 8px 1px 10px;
111 justify-content: center;
112 align-items: center;
113 gap: 4px;
114 border-radius: 4px;
115 background: var(--warning-50);
116 color: var(--warning-700);
117 text-align: center;
118 font-size: 12px;
119 font-style: normal;
120 font-weight: 500;
121 line-height: 1.5;
122
123 button {
124 width: 12px;
125 height: 12px;
126 border: none;
127 margin: 0;
128 padding: 0;
129 background-color: transparent;
130 color: var(--warning-700);
131 display: inline-flex;
132 align-items: center;
133 justify-content: center;
134 cursor: pointer;
135 }
136 }
137 }
138
139 .wprf-select {
140 width: 605px !important;
141 }
142
143 .wprf-select__control {
144 border-radius: 8px !important;
145 border: 1px solid #D0D5DD !important;
146
147 .wprf-select__value-container {
148 padding: 0px 0px 0px 15px !important;
149
150 .wprf-select__placeholder,
151 .wprf-select__single-value {
152 color: #101828;
153 font-size: 16px;
154 font-style: normal;
155 font-weight: 400;
156 line-height: 24px;
157 }
158 }
159 }
160 }
161 }
162 }
163
164 .repeater-heading {
165 color: #1D2939;
166 font-size: 24px;
167 font-style: normal;
168 font-weight: 500;
169 line-height: normal;
170 }
171
172 .repeater-subtitle {
173 color: #475467;
174 font-size: 16px;
175 font-style: normal;
176 font-weight: 400;
177 line-height: 160%;
178 }
179 }
180 }
181 }
182
183 .wprf-repeater-no-rules-message-wrapper {
184 display: flex !important;
185 width: 100% !important;
186 justify-content: center !important;
187 padding: 60px 0px 30px 0px !important;
188
189 .wprf-repeater-no-rules-message-wrapper-secondary-wrapper {
190 display: flex !important;
191 width: 457px !important;
192 flex-direction: column !important;
193 align-items: center !important;
194 gap: 25px !important;
195
196 img {
197 width: 115px !important;
198 height: 95px !important;
199 }
200
201 .wprf-repeater-rules-heading {
202 color: var(--text-color-900) !important;
203 font-size: 20px !important;
204 font-style: normal !important;
205 font-weight: 500 !important;
206 line-height: 28px !important;
207 }
208
209 .wprf-repeater-rules-subtitle {
210 color: var(--text-color-600) !important;
211 text-align: center !important;
212 font-size: 14px !important;
213 font-style: normal !important;
214 font-weight: 400 !important;
215 line-height: 130% !important;
216 }
217 }
218 }
219
220 .wprf-repeater-content {
221 .wprf-repeater-field {
222 margin-bottom: 20px !important;
223
224 .wprf-repeater-inner-field {
225 &.betterdocs {
226 display: flex !important;
227 justify-content: space-between !important;
228 border-radius: 4px !important;
229 border: 1px solid #F2F4F7 !important;
230 background: #FAFBFB !important;
231
232 .wprf-repeater-inner-field-item {
233 p {
234 color: #1D2939 !important;
235 font-size: 14px !important;
236 font-style: normal !important;
237 font-weight: 600 !important;
238 line-height: 20px !important;
239 }
240 }
241
242 .betterdocs-action-toggle-wrapper {
243 .betterdocs-cookies-list-action {
244 #betterdocs-admin-actions-ul {
245 display: flex !important;
246 align-items: center !important;
247 justify-content: space-between !important;
248 gap: 10px !important;
249
250 svg {
251 cursor: pointer !important;
252 }
253 }
254 }
255 }
256 }
257 }
258 }
259 }
260
261 .wprf-modal-preview-footer {
262 .wpsp-btn-preview-update {
263 display: flex !important;
264 width: 145px !important;
265 padding: 10px 16px !important;
266 justify-content: center !important;
267 align-items: center !important;
268 gap: 8px !important;
269 flex-shrink: 0 !important;
270 border-radius: 8px !important;
271 border: 1px solid #00B884 !important;
272 background: #00B884 !important;
273 box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
274 color: #FFF !important;
275 font-size: 14px !important;
276 font-style: normal !important;
277 font-weight: 600 !important;
278 line-height: 20px !important;
279 /* 142.857% */
280
281 &.locked {
282 opacity: 0.5 !important;
283 cursor: not-allowed !important;
284 }
285 }
286 }
287
288 .wprf-repeater-control {
289 padding: 0px 0px 40px 0px !important;
290
291 &.no-rules {
292 display: flex !important;
293 justify-content: center !important;
294 }
295
296 .wprf-repeater-label {
297 display: flex !important;
298 width: 181px !important;
299 justify-content: center !important;
300 align-items: center !important;
301 gap: 8px !important;
302 border-radius: 8px !important;
303 border: 1px solid var(--text-color-400) !important;
304 cursor: pointer !important;
305 min-height: 40px !important; box-sizing: border-box !important; padding: 2px 16px !important;
306
307 .repeater-button-icon-wrapper {
308 height: 16px !important;
309 width: 16px !important;
310 }
311
312 .wprf-repeater-button {
313 border: none !important;
314 background: transparent !important;
315 color: var(--text-color-900) !important;
316 font-size: 14px !important;
317 font-style: normal !important;
318 font-weight: 600 !important;
319 line-height: 1.42 !important;
320 padding: 0px !important;
321 margin: 0px !important;
322 cursor: pointer !important;
323 }
324 }
325 }
326
327 // plus.png is a dark glyph; flip it to white so the "Add New Rule" icon
328 // stays visible in dark mode.
329 .betterdocs-dark-mode .wprf-repeater-control .wprf-repeater-label .repeater-button-icon-wrapper {
330 filter: brightness(0) invert(1) !important;
331 }
332
333 //disable radio card styles
334 .wprf-input-radio-option {
335 min-height: 0px !important;
336 box-shadow: unset !important;
337 margin-top: 0px !important;
338 line-height: 0px !important;
339
340 &.wprf-option-selected {
341 &::before {
342 display: none !important;
343 }
344
345 &::after {
346 content: unset !important;
347 }
348 }
349
350 input {
351 &[type="radio"]="radio""] {
352 display: block !important;
353
354 &:focus {
355 box-shadow: unset;
356 }
357
358 &:checked {
359 &::before {
360 background-color: #00b884 !important;
361 width: 100%;
362 height: 100%;
363 margin: 0;
364 }
365 }
366 }
367 }
368 }
369
370 .wprf-control {
371 .wprf-flex {
372 justify-content: flex-end !important;
373 }
374
375 &.wprf-radio-card {
376 .wprf-column-3 {
377 width: 35% !important;
378
379 .wprf-input-label {
380 white-space: pre;
381 line-height: 10px !important;
382 background: none !important;
383 color: #3c434a !important;
384 }
385 }
386 }
387
388 &.modal-radio-card-access-control {
389 .wprf-flex {
390 flex-wrap: nowrap !important;
391 width: 135% !important;
392 }
393
394 .wprf-input-radio-option {
395 flex-direction: row-reverse !important;
396 justify-content: space-between !important;
397
398 .wprf-input-label {
399 padding: 10px 10px 10px 0px !important;
400 }
401
402 .modal-radio-card-access-control {
403 margin: 0px !important;
404 }
405 }
406 }
407 }
408
409 .betterdocs-access-control-wrapper {
410 .wprf-modal-preview-footer {
411 padding-bottom: 30px !important;
412
413 .wpsp-btn-preview-update {
414 cursor: pointer !important;
415 }
416 }
417 }
418