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 / css / content.css
admin-help-docs / inc / css Last commit date
content.css 3 months ago docs.css 1 month 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
content.css
355 lines
1 #wpbody-content .wrap {
2 padding: 40px 30px !important;
3 margin: 0 -20px 0 0px !important;
4 }
5
6 #admin-help-docs .tab-content {
7 padding: 60px 30px 40px 10px;
8 }
9
10 #admin-help-docs code {
11 background: rgba(0, 0, 0, 0.05);
12 padding: 2px 4px;
13 border-radius: 4px;
14 font-size: 0.85em;
15 }
16
17 /* Grid Layout */
18
19 .helpdocs-settings-grid {
20 display: grid;
21 grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
22 gap: 24px;
23 margin-top: 10px;
24 }
25
26 @media ( max-width: 900px ) {
27 .helpdocs-settings-grid {
28 grid-template-columns: 1fr;
29 }
30 }
31
32 /* Boxes */
33
34 .helpdocs-box,
35 .helpdocs-full-width-box {
36 background: #fff;
37 border: none;
38 border-radius: 8px;
39 box-shadow: 0px 1px 2px rgba( 16, 24, 40, .1 );
40 padding: 20px;
41 }
42
43 /* Settings Box */
44
45 .helpdocs-settings-box {
46 background: #fff;
47 border: none;
48 border-radius: 8px;
49 box-shadow: 0px 1px 2px rgba( 16, 24, 40, .1 );
50 display: flex;
51 flex-direction: column;
52 }
53
54 /* Box Header */
55
56 .helpdocs-settings-header {
57 display: flex;
58 align-items: center;
59 justify-content: space-between;
60 border-bottom: 1px solid #eaecf0;
61 padding: 20px;
62 }
63
64 .helpdocs-settings-header h2 {
65 margin: 0 !important;
66 padding: 0 !important;
67 border-top: 0 !important;
68 font-size: 16px;
69 font-weight: 500;
70 line-height: 1.4;
71 color: #1d2939;
72 }
73
74 /* Box Body */
75
76 .helpdocs-settings-body,
77 #helpdocs-support-form,
78 .helpdocs-form-fields {
79 display: flex;
80 flex-direction: column;
81 gap: 18px;
82 padding: 20px;
83 }
84
85 .helpdocs-form-fields {
86 padding: 20px 0 !important;
87 }
88
89 /* Field Wrapper */
90
91 .helpdocs-field {
92 display: flex;
93 flex-direction: column;
94 gap: 6px;
95 }
96
97 /* Condition */
98
99 .helpdocs-field.condition-hide {
100 display: none;
101 }
102
103 /* Labels */
104
105 .helpdocs-field > label,
106 .helpdocs-field .helpdocs-checkbox-label span {
107 font-size: 13px;
108 font-weight: 500;
109 color: #344054;
110 }
111
112 .helpdocs-field-label .dashicons {
113 font-size: 1rem;
114 text-decoration: none;
115 }
116
117 /* Descriptions */
118
119 .helpdocs-field .description,
120 .helpdocs-field small {
121 font-size: 12px;
122 color: #667085;
123 line-height: 1.4;
124 }
125
126 /* Inputs */
127
128 .helpdocs-field input[type="text"],
129 .helpdocs-field input[type="number"],
130 .helpdocs-field input[type="url"],
131 .helpdocs-field select,
132 .helpdocs-field textarea {
133 width: 100%;
134 max-width: 100%;
135 padding: 8px 10px;
136 font-size: 13px;
137 line-height: 1.4;
138 border: 1px solid #d0d5dd;
139 border-radius: 6px;
140 background: #ffffff;
141 transition: border-color .15s ease, box-shadow .15s ease;
142 box-sizing: border-box;
143 }
144
145 .helpdocs-field input:focus,
146 .helpdocs-field select:focus,
147 .helpdocs-field textarea:focus {
148 border-color: #84caff;
149 box-shadow: 0 0 0 3px rgba( 132, 202, 255, 0.25 );
150 outline: none;
151 }
152
153 /* Textarea */
154
155 .helpdocs-field textarea {
156 min-height: 100px;
157 resize: vertical;
158 }
159
160 /* Select */
161
162 .helpdocs-field select {
163 height: 36px;
164 }
165
166 /* Checkbox / Radio alignment */
167
168 .helpdocs-field-checkbox .helpdocs-checkbox-label {
169 display: flex;
170 align-items: center;
171 gap: 8px;
172 cursor: pointer;
173 }
174
175 .helpdocs-field-checkbox input[type="checkbox"] {
176 margin: 0;
177 }
178
179 .helpdocs-field .helpdocs-checkboxes {
180 display: grid;
181 grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
182 gap: 8px 16px;
183 margin-top: 6px;
184 }
185
186 .helpdocs-field .helpdocs-checkboxes label {
187 display: flex;
188 align-items: center;
189 gap: 8px;
190 font-weight: 400;
191 cursor: pointer;
192 }
193
194 .helpdocs-field .helpdocs-checkboxes input[type="checkbox"] {
195 margin: 0;
196 }
197
198 @media ( max-width: 900px ) {
199 .helpdocs-field .helpdocs-checkboxes {
200 grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
201 }
202 }
203
204 @media ( max-width: 600px ) {
205 .helpdocs-field .helpdocs-checkboxes {
206 grid-template-columns: 1fr;
207 }
208 }
209
210 /* Colors */
211
212 .helpdocs-field.color-picker-field {
213 display: flex;
214 align-items: center;
215 justify-content: space-between;
216 gap: 10px;
217 padding: 10px 12px;
218 background: #ffffff;
219 border: 1px solid #e5e7eb;
220 border-radius: 8px;
221 box-sizing: border-box;
222 }
223
224 .helpdocs-field.color-picker-field label {
225 font-size: 13px;
226 font-weight: 500;
227 color: #344054;
228 margin: 0; flex: 1;
229 line-height: 1.3;
230 }
231
232 .helpdocs-field.color-picker-field input[type="color"] {
233 width: 42px;
234 height: 32px;
235 padding: 0;
236 border: 1px solid #d0d5dd;
237 border-radius: 6px;
238 background: transparent;
239 cursor: pointer;
240 }
241
242 .helpdocs-field.color-picker-field input[type="color"]::-webkit-color-swatch-wrapper {
243 padding: 0;
244 }
245
246 .helpdocs-field.color-picker-field input[type="color"]::-webkit-color-swatch {
247 border: none;
248 border-radius: 4px;
249 }
250
251 .helpdocs-field.color-picker-field:hover {
252 border-color: #cbd5e1;
253 box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
254 }
255
256 .helpdocs-color-grid {
257 display: grid;
258 grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
259 gap: 16px;
260 margin-top: 10px;
261 }
262
263 @media ( max-width: 1200px ) {
264 .helpdocs-color-grid {
265 grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
266 }
267 }
268
269 @media ( max-width: 900px ) {
270 .helpdocs-color-grid {
271 grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
272 }
273 }
274
275 @media ( max-width: 600px ) {
276 .helpdocs-color-grid {
277 grid-template-columns: 1fr;
278 }
279 }
280
281 /* Tooltip */
282
283 .helpdocs-tooltip {
284 position: relative;
285 display: inline-block;
286 margin-left: 6px;
287 vertical-align: middle;
288 cursor: pointer;
289 }
290
291 .helpdocs-tooltip .helpdocs-tooltip-text {
292 visibility: hidden;
293 width: 240px;
294 background-color: var(--helpdocs-color-header-bg) !important;
295 color: var(--helpdocs-color-header-font) !important;
296 text-align: left;
297 padding: 8px 10px;
298 border-radius: 6px;
299 position: absolute;
300 z-index: 99999;
301 bottom: 125%;
302 left: 50%;
303 transform: translateX(-50%);
304 font-size: 13px;
305 line-height: 1.4;
306 opacity: 0;
307 transition: opacity 0.2s;
308 }
309
310 .helpdocs-tooltip:hover .helpdocs-tooltip-text {
311 visibility: visible;
312 opacity: 1;
313 }
314
315 .helpdocs-tooltip .helpdocs-tooltip-text::after {
316 content: "";
317 position: absolute;
318 top: 100%; /* at bottom of tooltip */
319 left: 50%;
320 margin-left: -5px;
321 border-width: 5px;
322 border-style: solid;
323 border-color: #1f2937 transparent transparent transparent;
324 }
325
326 .helpdocs-tooltip .dashicons {
327 font-size: 19px !important;
328 color: var(--helpdocs-color-header-tab) !important;
329 }
330
331 /* Spinner */
332
333 .spin {
334 animation: spin 1s linear infinite;
335 display: inline-block;
336 vertical-align: middle;
337 }
338 @keyframes spin {
339 0% { transform: rotate(0deg); }
340 100% { transform: rotate(360deg); }
341 }
342
343 /* Thinking Dots */
344
345 .thinking:after {
346 animation: dotty steps(1,end) 1s infinite;
347 content: '';
348 }
349 @keyframes dotty {
350 0% { content: ''; }
351 25% { content: '.'; }
352 50% { content: '..'; }
353 75% { content: '...'; }
354 100% { content: ''; }
355 }