PluginProbe ʕ •ᴥ•ʔ
Admin Help Docs / 2.0.0
Admin Help Docs v2.0.0
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 / css / docs.css
admin-help-docs / inc / css Last commit date
content.css 3 months ago docs.css 3 months ago header.css 3 months ago our-dashboard.css 3 months ago post-type-help-doc-imports.css 3 months ago post-type-help-docs.css 3 months ago post-types.css 3 months ago pt-tax.css 3 months ago taxonomies.css 3 months ago
docs.css
503 lines
1 /* ----------------------------------------- */
2 /* ---------------- Buttons ---------------- */
3 /* ----------------------------------------- */
4
5 .helpdocs-button,
6 #screen-options-apply,
7 #submit {
8 background: var(--helpdocs-color-button) !important;
9 color: var(--helpdocs-color-button-font) !important;
10 line-height: 1 !important;
11 padding: 8px 12px !important;
12 border: 1px solid transparent;
13 border-radius: 6px !important;
14 text-decoration: none;
15 font-size: 0.80rem !important;
16 font-weight: 500 !important;
17 transition: background 0.3s ease;
18 margin-bottom: 0 !important;
19 cursor: pointer;
20 display: inline-flex;
21 align-items: center;
22 }
23
24 .helpdocs-button:hover,
25 #screen-options-apply:hover,
26 #submit:hover {
27 background: var(--helpdocs-color-button-hover) !important;
28 }
29
30 .helpdocs-button.button-secondary {
31 background: #f6f7f7 !important;
32 color: #1d2327 !important;
33 }
34
35 .helpdocs-button.button-secondary:hover {
36 background: #e1e4e6 !important;
37 }
38
39 .helpdocs-button:disabled {
40 background: #ccc !important;
41 background: var(--helpdocs-color-button-disabled, #d5d5d5) !important;
42 color: #999 !important;
43 cursor: not-allowed !important;
44 opacity: 0.7;
45 border-color: rgba(0, 0, 0, 0.05) !important;
46 box-shadow: none !important;
47 }
48
49 .helpdocs-button:disabled:hover {
50 background: var(--helpdocs-color-button-disabled, #d5d5d5) !important;
51 }
52
53 .tablenav .button {
54 border-radius: 6px !important;
55 }
56
57 .helpdocs-button.button.updating-message {
58 padding: 8px 12px 5px !important;
59 }
60
61 .helpdocs-button.button.updating-message:before {
62 margin: 0px 5px 0 -2px !important;
63 color: var(--helpdocs-color-button-font) !important;
64 }
65
66
67 /* ----------------------------------------- */
68 /* ------------- Click to Copy ------------- */
69 /* ----------------------------------------- */
70
71 /* The container */
72 .helpdocs-click-to-copy {
73 cursor: pointer;
74 position: relative; /* Essential for absolute positioning of the tip */
75 display: inline-block;
76 transition: color 0.2s ease-in-out;
77 }
78
79 /* Optional: subtle hover effect to indicate it's interactive */
80 .helpdocs-click-to-copy:hover {
81 color: #2271b1; /* WordPress Blue */
82 }
83
84 /* The "Copied!" tip */
85 .helpdocs-click-to-copy .helpdocs-copied-tip {
86 position: absolute;
87 bottom: 125%; /* Position it above the text */
88 left: 50%;
89 transform: translateX( -50% );
90 background: #32373c; /* WordPress Dark Grey */
91 color: #fff;
92 padding: 4px 8px;
93 font-size: 11px;
94 line-height: 1;
95 border-radius: 3px;
96 white-space: nowrap;
97 pointer-events: none; /* Prevents the tip from interfering with clicks */
98 box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.2 );
99 z-index: 100;
100 }
101
102 /* The small arrow pointing down from the tip */
103 .helpdocs-click-to-copy .helpdocs-copied-tip::after {
104 content: "";
105 position: absolute;
106 top: 100%;
107 left: 50%;
108 margin-left: -5px;
109 border-width: 5px;
110 border-style: solid;
111 border-color: #32373c transparent transparent transparent;
112 }
113
114
115 /* ----------------------------------------- */
116 /* ------------- Dashboard Menu ------------ */
117 /* ----------------------------------------- */
118
119 #menu-dashboard a[href*="page=admin-help-dashboard"] {
120 display: none !important;
121 }
122
123 /* Force the 'Home' link (the first item) to show the active color */
124 #menu-dashboard.wp-menu-open ul.wp-submenu li.wp-first-item a {
125 color: #fff !important;
126 font-weight: 600 !important;
127 }
128
129 /* Ensure the top-level Dashboard stays highlighted */
130 #menu-dashboard.menu-top > a.wp-menu-open {
131 background-color: var( --wp-admin-theme-color-darker, #2271b1 ) !important;
132 color: #fff !important;
133 }
134
135
136 /* ----------------------------------------- */
137 /* ----------- Dashboard Widgets ----------- */
138 /* ----------------------------------------- */
139
140 .index-php .helpdocs-dashboard-widget-link {
141 display: contents;
142 }
143
144 .index-php .helpdocs-dashboard-widget-link a {
145 text-decoration: none !important;
146 display: inline-flex;
147 align-items: center;
148 gap: 4px;
149 font-size: 0.875rem;
150 padding: 2px 6px;
151 border-radius: 4px;
152 transition: filter 0.15s, color 0.15s;
153 opacity: 0.5;
154 }
155
156 .index-php .helpdocs-dashboard-widget-link a:hover {
157 opacity: 1;
158 }
159
160 .index-php #admin-help-docs.postbox {
161 background: #F6F7F8 !important;
162 }
163
164 .index-php #admin-help-docs .helpdocs-dashboard-widget-link a:hover {
165 filter: brightness( 0.97 );
166 }
167
168 .index-php div[id^="helpdocs_"].postbox {
169 background: var( --helpdocs-color-doc-bg ) !important;
170 color: var( --helpdocs-color-doc-font ) !important;
171 }
172
173 .index-php div[id^="helpdocs_"] .helpdocs-dashboard-widget-link a {
174 color: var(--helpdocs-color-doc-title) !important;
175 }
176
177 .index-php div[id^="helpdocs_"] .order-higher-indicator,
178 .index-php div[id^="helpdocs_"] .order-lower-indicator,
179 .index-php div[id^="helpdocs_"] .toggle-indicator {
180 color: var(--helpdocs-color-doc-accent) !important;
181 }
182 .index-php div[id^="helpdocs_"] .postbox-header h2 {
183 color: var(--helpdocs-color-doc-title) !important;
184 }
185 .index-php div[id^="helpdocs_"] .postbox-header h2 span {
186 color: revert !important;
187 }
188 .index-php div[id^="helpdocs_"] a:not(.helpdocs-dashboard-widget-link a) {
189 color: var(--helpdocs-color-doc-link) !important;
190 }
191
192
193 /* ----------------------------------------- */
194 /* -------- Table of Contents Widget ------- */
195 /* ---------------------------------------- */
196
197 .index-php #admin-help-docs .toc-cont ul {
198 margin-bottom: 0;
199 }
200
201 .index-php #admin-help-docs .toc-cont ul li {
202 margin: 4px 0;
203 }
204
205 .index-php #admin-help-docs .toc-item {
206 display: block;
207 width: calc( 100% - 20px );
208 padding: 6px 10px;
209 border-radius: 8px;
210 text-decoration: none;
211 background: #ffffff;
212 color: #1d2327;
213 font-size: 13.5px;
214 border: 1px solid #e2e4e7;
215 transition: background 0.15s ease;
216 }
217
218 .index-php #admin-help-docs .toc-item:hover {
219 background: #f0f2f4;
220 }
221
222 .index-php #admin-help-docs .toc-item .dashicons {
223 font-size: 18px;
224 margin-right: 3px;
225 color: #999999;
226 }
227
228
229 /* ----------------------------------------- */
230 /* -------------- Docs General ------------- */
231 /* ----------------------------------------- */
232
233 :root {
234 --helpdocs-radius-large: 10px;
235 --helpdocs-radius-small: 8px;
236 --helpdocs-shadow: 0 1px 1px rgba(0,0,0,0.04);
237 }
238
239 .helpdocs-doc-wrapper {
240 display: flex;
241 flex-direction: column;
242 gap: 10px;
243 border-left: 4px solid var(--helpdocs-color-doc-accent) !important;
244 }
245
246 .helpdocs-doc-title {
247 display: flex;
248 gap: 10px;
249 align-items: center;
250 }
251
252 .helpdocs-doc-logo img {
253 height: 30px;
254 }
255
256 .helpdocs-doc-content p:first-child {
257 margin-top: 0;
258 }
259
260 .helpdocs-doc-content p:last-child {
261 margin-bottom: 0;
262 }
263
264 .helpdocs-doc-content img {
265 max-width: 100%;
266 height: auto;
267 }
268
269 /* ----------------------------------------- */
270 /* -------- Standard (Top/Bottom/Manual) ---- */
271 /* ----------------------------------------- */
272
273 .helpdocs-top-doc,
274 .helpdocs-bottom-doc,
275 .helpdocs-manual-doc {
276 background: var(--helpdocs-color-doc-bg);
277 padding: 16px 20px;
278 margin-bottom: 20px;
279 box-shadow: var(--helpdocs-shadow);
280 border-radius: var(--helpdocs-radius-large);
281 border: 1px solid var(--helpdocs-color-doc-accent);
282 }
283
284 .helpdocs-top-doc:last-child,
285 .helpdocs-bottom-doc:last-child,
286 .helpdocs-manual-doc:last-child {
287 margin-bottom: 0;
288 }
289
290 .helpdocs-top-doc h2,
291 .helpdocs-bottom-doc h2,
292 .helpdocs-manual-doc h2 {
293 margin: 0;
294 font-size: 1.1rem;
295 font-weight: 600;
296 color: var(--helpdocs-color-doc-title);
297 display: flex;
298 align-items: center;
299 }
300
301 .helpdocs-top-content,
302 .helpdocs-bottom-content,
303 .helpdocs-manual-content {
304 font-size: 13px;
305 color: var(--helpdocs-color-doc-font);
306 line-height: 1.6;
307 }
308
309 .helpdocs-top-content a,
310 .helpdocs-bottom-content a,
311 .helpdocs-manual-content a {
312 color: var(--helpdocs-color-doc-link);
313 }
314
315 /* ----------------------------------------- */
316 /* -------------- Manual Only -------------- */
317 /* ----------------------------------------- */
318
319 .helpdocs-manual-wrapper {
320 clear: both;
321 margin: 20px 0;
322 width: 100%;
323 }
324
325 /* ----------------------------------------- */
326 /* -------------- Top Specific ------------- */
327 /* ----------------------------------------- */
328
329 .helpdocs-top-wrapper.helpdocs-admin-notices {
330 clear: both;
331 margin: 40px 20px 20px 0;
332 overflow: hidden;
333 }
334
335 .helpdocs-top-wrapper.helpdocs-gutenberg-top {
336 margin: 20px 20px;
337 }
338
339 .helpdocs-top-wrapper.helpdocs-in-admin-header {
340 margin: 0 0 0 -20px;
341 }
342
343 .helpdocs-top-wrapper.helpdocs-in-admin-header .helpdocs-doc-wrapper {
344 border-left-width: 0 !important;
345 }
346
347 .helpdocs-in-admin-header .helpdocs-top-doc {
348 border-bottom: 1px solid #c3c4c7;
349 border-radius: 0;
350 border-top: 0;
351 border-left: 0;
352 border-right: 0;
353 }
354
355 /* ----------------------------------------- */
356 /* ------------ Bottom Specific ------------ */
357 /* ----------------------------------------- */
358
359 .helpdocs-bottom-wrapper {
360 clear: both;
361 overflow: hidden;
362 }
363
364 .helpdocs-bottom-wrapper:not(.helpdocs-gutenberg-bottom) {
365 order: 999;
366 width: calc(100% - 20px);
367 margin: 40px 20px 20px 0;
368 }
369
370 .helpdocs-bottom-wrapper.helpdocs-gutenberg-bottom {
371 display: block !important;
372 position: relative !important;
373 z-index: 10;
374 flex: 1 1 100%;
375 align-self: flex-start;
376 margin: 20px 0;
377 padding: 0 20px;
378 width: 100%;
379 box-sizing: border-box;
380 }
381
382 /* ----------------------------------------- */
383 /* --------------- Side Docs --------------- */
384 /* ----------------------------------------- */
385
386 .helpdocs-side-wrapper {
387 clear: both;
388 width: 100%;
389 box-sizing: border-box;
390 }
391
392 .helpdocs-side-wrapper:not(.helpdocs-gutenberg-side) {
393 margin-bottom: 20px;
394 }
395
396 .helpdocs-side-wrapper.helpdocs-gutenberg-side {
397 padding: 16px;
398 border-bottom: 1px solid #e0e0e0;
399 background: #fff;
400 margin-bottom: 0;
401 }
402
403 #side-sortables .helpdocs-side-wrapper {
404 margin: 10px 0 20px 0;
405 }
406
407 .helpdocs-side-doc {
408 background: var(--helpdocs-color-doc-bg);
409 padding: 12px 15px;
410 margin-bottom: 15px;
411 box-shadow: var(--helpdocs-shadow);
412 border-radius: var(--helpdocs-radius-small);
413 border: 1px solid var(--helpdocs-color-doc-accent);
414 }
415
416 .helpdocs-side-doc h2 {
417 font-size: 0.95rem;
418 font-weight: 600;
419 color: var(--helpdocs-color-doc-title);
420 padding: 0 !important;
421 margin: 0;
422 display: flex;
423 align-items: center;
424 }
425
426 .helpdocs-side-doc .helpdocs-doc-logo img {
427 height: 22px;
428 }
429
430 .helpdocs-side-content {
431 font-size: 12px;
432 color: var(--helpdocs-color-doc-font);
433 line-height: 1.5;
434 margin-top: 8px;
435 }
436
437 .helpdocs-side-content p {
438 margin-bottom: 10px;
439 }
440
441 /* ----------------------------------------- */
442 /* ------------- Element Item -------------- */
443 /* ----------------------------------------- */
444
445 .helpdocs-element-item {
446 display: block;
447 margin: 8px 0;
448 padding: 12px 15px;
449 background: var(--helpdocs-color-doc-bg, #f9f9f9);
450 border: 1px solid var(--helpdocs-color-doc-accent, #2271b1);
451 border-left-width: 4px;
452 border-radius: 4px;
453 color: var(--helpdocs-color-doc-font, #3c434a);
454 font-size: 12px;
455 line-height: 1.5;
456 box-shadow: 0 1px 2px rgba(0,0,0,0.05);
457 width: fit-content;
458 max-width: 500px;
459 }
460
461 .helpdocs-element-item a {
462 text-decoration: underline;
463 color: var(--helpdocs-color-doc-link);
464 }
465
466 input + .helpdocs-element-item {
467 margin-top: 10px;
468 }
469
470 td > .helpdocs-element-item {
471 margin-left: 5px;
472 }
473
474
475 /* ----------------------------------------- */
476 /* -------------- Admin Bar ---------------- */
477 /* ----------------------------------------- */
478
479 .has-add-new-link #wp-admin-bar-helpdocs_admin_bar-default {
480 padding-bottom: 0 !important;
481 }
482
483 #wp-admin-bar-helpdocs_add_new .ab-item {
484 white-space: nowrap !important;
485 display: flex !important;
486 align-items: center !important;
487 padding-right: 15px !important; /* Extra breathing room on the right */
488 }
489
490 #wp-admin-bar-helpdocs_add_new {
491 margin-top: 6px !important;
492 background: #3C434A !important;
493 padding: 3px 0 !important;
494 }
495
496 #wp-admin-bar-helpdocs_add_new .ab-icon {
497 padding: 0 5px 0 0 !important;
498 }
499
500 #wp-admin-bar-helpdocs_add_new:hover,
501 #wp-admin-bar-helpdocs_add_new:hover .ab-item {
502 background: #4a525a !important;
503 }