PluginProbe ʕ •ᴥ•ʔ
Admin Help Docs / trunk
Admin Help Docs vtrunk
2.0.1.1 trunk 1.4.3.2 2.0.0 2.0.0.1 2.0.0.2 2.0.1
admin-help-docs / inc / tabs / css / documentation.css
admin-help-docs / inc / tabs / css Last commit date
admin-menu.css 3 months ago documentation.css 3 months ago faq.css 3 months ago import.css 3 months ago settings.css 3 months ago support.css 3 months ago
documentation.css
465 lines
1 h2 { font-size: 1.6rem; color: #1d2327; margin: 1em 0 0.5rem; }
2 h3 { font-size: 1.4rem; color: #1d2327; margin: 1em 0 0.5rem; }
3 h4 { font-size: 1.2rem; color: #1d2327; margin: 1em 0 0.5rem; }
4
5 #documentation {
6 display: flex;
7 gap: 30px;
8 }
9
10 /* Sidebar */
11
12 #helpdocs-sidebar {
13 background: #f6f7f8;
14 padding: 16px 12px;
15 border-right: 1px solid #e2e4e7;
16 }
17
18 #helpdocs-docs-list {
19 width: 280px;
20 list-style: none;
21 margin: 0;
22 padding: 0;
23 }
24
25 .helpdocs-folder:not(:first-child) {
26 margin-top: 18px;
27 }
28
29 .helpdocs-folder {
30 margin-bottom: 14px;
31 padding: 6px;
32 border-radius: 12px;
33 background: #ffffff;
34 box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
35 }
36
37 .helpdocs-folder > a {
38 display: flex;
39 align-items: center;
40 justify-content: start;
41 padding: 8px 12px;
42 border-radius: 8px;
43 text-decoration: none;
44 font-weight: 600;
45 background: var( --helpdocs-color-header-tab );
46 color: var( --helpdocs-color-header-font ) !important;
47 transition: filter 0.15s ease, transform 0.1s ease;
48 }
49
50 .helpdocs-folder > a:hover {
51 filter: brightness( 0.95 );
52 transform: translateY( -1px );
53 }
54
55 .folder-count {
56 opacity: 0.75;
57 font-weight: 500;
58 }
59
60 .helpdocs-sidebar-item.in-folder {
61 display: none;
62 margin-top: 6px;
63 margin-right: 6px;
64 }
65
66 .helpdocs-sidebar-item.in-folder.active {
67 display: list-item;
68 }
69
70 .helpdocs-sidebar-item.in-active-folder {
71 display: list-item;
72 }
73
74 .helpdocs-sidebar-item.in-folder a {
75 display: flex;
76 align-items: center;
77 gap: 8px;
78 padding: 6px 10px;
79 border-radius: 8px;
80 text-decoration: none;
81 background: #f6f7f8;
82 color: #1d2327;
83 font-size: 13.5px;
84 }
85
86 .helpdocs-sidebar-item.in-folder:not(.active) a {
87 transition: background 0.15s ease, padding-left 0.1s ease;
88 }
89
90 .helpdocs-sidebar-item.in-folder:not(.active) a:hover {
91 background: #eceff1;
92 padding-left: 14px;
93 }
94
95 .helpdocs-sidebar-item.active a {
96 box-shadow: inset 0 2px 4px rgba( 0, 0, 0, 0.08 ),
97 inset 0 1px 2px rgba( 0, 0, 0, 0.05 );
98 transform: translateY( 1px );
99 font-weight: 600;
100 position: relative;
101 cursor: default;
102 pointer-events: none;
103 }
104
105 .helpdocs-sidebar-item.active a::before {
106 content: '';
107 position: absolute;
108 left: -6px;
109 top: 6px;
110 bottom: 6px;
111 width: 3px;
112 border-radius: 3px;
113 }
114
115 .invisible-folder {
116 margin: 18px 0 8px 0;
117 padding: 6px 10px;
118 font-size: 12px;
119 font-weight: 600;
120 text-transform: uppercase;
121 letter-spacing: 0.5px;
122 color: #646970;
123 border-top: 1px solid #e2e4e7;
124 }
125
126 .helpdocs-sidebar-item.not-in-folder {
127 margin: 4px 0;
128 }
129
130 .helpdocs-sidebar-item.not-in-folder a {
131 display: block;
132 padding: 6px 10px;
133 border-radius: 8px;
134 text-decoration: none;
135 background: #ffffff;
136 color: #1d2327;
137 font-size: 13.5px;
138 border: 1px solid #e2e4e7;
139 transition: background 0.15s ease;
140 }
141
142 .helpdocs-sidebar-item.not-in-folder a:hover {
143 background: #f0f2f4;
144 }
145
146 .folder-icon:before {
147 content: "\1F4C1";
148 margin-right: 6px;
149 }
150
151 .active-folder .folder-icon:before {
152 content: "\1F4C2";
153 }
154
155 .file-icon:before {
156 content: "\1F4C4";
157 opacity: 0.7;
158 }
159
160 .file-import-icon:before {
161 content: "\1F4F0";
162 opacity: 0.8;
163 }
164
165 #helpdocs-docs-list li:not(.helpdocs-folder) {
166 padding-inline-start: 0;
167 }
168
169 #helpdocs-docs-list li.helpdocs-folder,
170 #helpdocs-docs-list li.in-folder {
171 padding-inline-start: 1ch;
172 }
173
174 #helpdocs-docs-list li[ draggable="true" ] {
175 cursor: grab;
176 }
177
178 #helpdocs-docs-list li.dragging {
179 opacity: 0.5;
180 }
181
182 #helpdocs-docs-list li.drag-over {
183 outline: 2px dashed var( --helpdocs-color-header-tab );
184 outline-offset: -4px;
185 }
186
187 /* Document Viewer */
188
189 #helpdocs-document-viewer {
190 flex: 1 1 0;
191 padding: 2rem;
192 min-width: 0;
193 overflow-wrap: break-word;
194 word-wrap: break-word;
195 word-break: break-word;
196 }
197
198 #helpdoc-header {
199 margin-bottom: 2rem;
200 }
201
202 #helpdoc-header h2 {
203 font-size: 2rem;
204 border-top: 0 !important;
205 padding-top: 0 !important;
206 margin-top: 0 !important;
207 margin-bottom: 1.5rem;
208 display: inline;
209 line-height: 1.2;
210 }
211
212 #edit-link {
213 float: right;
214 margin-left: 1rem;
215 }
216
217 #edit-link a {
218 display: inline-flex;
219 align-items: center;
220 gap: 4px;
221 font-size: 0.875rem;
222 background: #F6F7F8;
223 padding: 2px 6px;
224 border-radius: 4px;
225 text-decoration: none;
226 transition: filter 0.15s, color 0.15s;
227 }
228
229 #edit-link a:hover {
230 filter: brightness( 0.97 );
231 }
232
233 #helpdocs-meta {
234 display: block;
235 margin-top: 0.5rem;
236 font-style: italic;
237 font-size: 0.73rem;
238 opacity: 0.73;
239 }
240
241 #helpdoc-content {
242 padding-top: 1rem;
243 }
244
245 #helpdoc-content ul {
246 list-style: square;
247 padding: revert;
248 }
249 #helpdoc-content ol {
250 margin-left: 35px;
251 }
252 #helpdoc-content ol li {
253 padding-left: 10px;
254 }
255 #helpdoc-content ul li {
256 padding-inline-start: 1ch;
257 }
258 #helpdoc-content ul, #helpdoc-content ol {
259 padding-top: 10px;
260 padding-bottom: 5px;
261 }
262 #helpdoc-content ol li ol { list-style-type: lower-alpha !important; }
263 #helpdoc-content ol li ol li ol { list-style-type: lower-roman !important; }
264 #helpdoc-content ol li ol li ol li ol { list-style-type: decimal !important; }
265 #helpdoc-content ol li ol li ol li ol li ol { list-style-type: lower-alpha !important; }
266 #helpdoc-content ol li ol li ol li ol li ol li ol { list-style-type: lower-roman !important; }
267 #helpdoc-content ol li ol li ol li ol li ol li ol li ol { list-style-type: decimal !important; }
268 #helpdoc-content ol li ol li ol li ol li ol li ol li ol li ol { list-style-type: lower-alpha !important; }
269 #helpdoc-content ol li ol li ol li ol li ol li ol li ol li ol li ol { list-style-type: lower-roman !important; }
270
271 #helpdocs-document-viewer img {
272 max-width:100%;
273 height: auto;
274 object-fit: contain;
275 }
276 #search-bar {
277 float: right;
278 margin-right: 20px;
279 margin-top: -7px;
280 }
281 #no-docs-found {
282 padding: 3rem;
283 font-style: italic;
284 }
285 .helpdocs_form_sending {
286 line-height: 2.25;
287 font-style: italic;
288 margin-left: 10px;
289 display: none;
290 }
291 .helpdocs_form_sending:after {
292 display: inline-block;
293 animation: dotty steps(1,end) 1s infinite;
294 content: '';
295 }
296 @keyframes dotty {
297 0% { content: ''; }
298 25% { content: '.'; }
299 50% { content: '..'; }
300 75% { content: '...'; }
301 100% { content: ''; }
302 }
303 .helpdocs_form_result {
304 color: white;
305 font-weight: 500;
306 width: fit-content;
307 border-radius: 4px;
308 padding: 6px 10px;
309 }
310 .helpdocs_form_result.success {
311 background-color: green;
312 display: inline-block;
313 margin-left: 10px;
314 }
315 .helpdocs_form_result.fail {
316 background-color: red;
317 margin-top: 10px;
318 }
319 .action-links {
320 display: inline-block;
321 margin-right: 10px;
322 }
323 .highlight {
324 background: yellow;
325 }
326 .extra-bracket {
327 display: none;
328 }
329
330 /* Page TOC */
331
332 #page-toc {
333 margin: 0 0 4rem 0;
334 padding: 20px 22px 18px;
335 background: linear-gradient( to bottom, #ffffff, #f6f7f8 );
336 border: 1px solid #d0d5da;
337 border-radius: 12px;
338 box-shadow: 0 1px 0 rgba( 255, 255, 255, 0.9 ) inset,
339 0 2px 4px rgba( 0, 0, 0, 0.05 );
340 max-width: 520px;
341 }
342
343 #page-toc::before {
344 content: "On this page";
345 display: block;
346 font-size: 12px;
347 font-weight: 600;
348 text-transform: uppercase;
349 letter-spacing: 0.06em;
350 color: #6b7280;
351 margin-bottom: 14px;
352 }
353
354 #page-toc ul,
355 #page-toc ol {
356 list-style-position: outside;
357 margin: 0;
358 padding: 0 0 0 20px;
359 }
360
361 #page-toc ul {
362 list-style-type: square;
363 }
364
365 #page-toc ol {
366 list-style-type: decimal;
367 }
368
369 #page-toc li {
370 margin: 4px 0;
371 line-height: 1.45;
372 position: relative;
373 }
374
375 #page-toc li > ul,
376 #page-toc li > ol {
377 margin-top: 6px;
378 }
379
380 #page-toc ol li ol { list-style-type: lower-alpha; }
381 #page-toc ol li ol li ol { list-style-type: lower-roman; }
382 #page-toc ol li ol li ol li ol { list-style-type: decimal; }
383
384 #page-toc a {
385 display: block;
386 padding: 2px 8px;
387 margin-left: -8px;
388 border-radius: 6px;
389 transition: background 0.12s ease,
390 box-shadow 0.12s ease,
391 transform 0.05s ease;
392 }
393
394 #page-toc a:hover {
395 background: #ffffff;
396 box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.08 );
397 transform: translateY( -1px );
398 text-decoration: none;
399 }
400
401 #page-toc a:active {
402 background: #eef1f3;
403 box-shadow: inset 0 2px 4px rgba( 0, 0, 0, 0.08 );
404 transform: translateY( 1px );
405 }
406
407 /* Alerts */
408
409 #helpdocs-alert-imports {
410 display: none;
411 position: fixed;
412 bottom: 3rem;
413 right: 2rem;
414 background: red;
415 color: white;
416 padding: 20px;
417 border-radius: 10px;
418 border: 2px solid black;
419 box-shadow: 4px 4px 16px;
420 font-weight: 600;
421 font-size: medium;
422 }
423 #helpdocs-alert-imports .close {
424 position: absolute;
425 top: -5px;
426 right: -5px;
427 background: white;
428 border: 2px solid black;
429 color: black !important;
430 font-weight: bold;
431 border-radius: 50%;
432 padding: 0 5px;
433 font-size: 10px;
434 text-decoration: none;
435 }
436
437 /* Drag & Drop */
438
439 .drag-placeholder {
440 background: #e2e4e7;
441 border: 2px dashed #999;
442 margin: 5px 0;
443 list-style: none;
444 pointer-events: none; /* Crucial: ensures dragover hits the items behind it */
445 border-radius: 8px;
446 }
447
448 .folder-placeholder {
449 background: rgba(var(--helpdocs-color-header-tab-rgb), 0.1);
450 border-color: var(--helpdocs-color-header-tab);
451 }
452
453 #helpdocs-docs-list li.dragging {
454 opacity: 0.3;
455 }
456
457 /* Folder Expand/Collapse */
458 ul.folder-children {
459 display: none;
460 margin-left: 1ch; /* optional, aligns child items */
461 }
462
463 ul.folder-children.visible {
464 display: block;
465 }