PluginProbe
ActivityPub / 9.3.1
ActivityPub v9.3.1
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
activitypub / assets / css / activitypub-admin.css

activitypub-admin.css in ActivityPub 9.3.1, at assets/css/activitypub-admin.css

415 lines 7.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .activitypub-settings {
2 max-width: 800px;
3 margin: 0 auto;
4 position: relative;
5 }
6
7 .settings_page_activitypub div:not(.wrap) > .notice {
8 max-width: 800px;
9 margin: 0 auto 30px;
10 }
11
12 .settings_page_activitypub div:not(.wrap) > .update-nag {
13 margin: 25px 20px 15px 22px;
14 }
15
16 .settings_page_activitypub .wrap {
17 padding-left: 22px;
18 }
19
20 .activitypub-settings p.interactions {
21 margin-bottom: 1em;
22 }
23
24 .activitypub-settings-header {
25 text-align: center;
26 margin: 0 0 1rem;
27 background: #fff;
28 border-bottom: 1px solid #dcdcde;
29 }
30
31 .activitypub-settings-header h1 {
32 display: inline-block;
33 font-weight: 600;
34 margin: 0 0.8rem 1rem;
35 font-size: 23px;
36 padding: 9px 0 4px;
37 line-height: 1.3;
38 }
39
40 .activitypub-settings-title-section {
41 display: flex;
42 align-items: center;
43 justify-content: center;
44 clear: both;
45 padding-top: 8px;
46 }
47
48 .settings_page_activitypub #wpcontent {
49 padding-left: 0;
50 }
51
52 .activitypub-settings-tabs-scroller {
53 overflow-x: auto;
54 width: 100%;
55 padding-top: 2px;
56 -webkit-overflow-scrolling: touch;
57 scroll-behavior: smooth;
58 }
59
60 .activitypub-settings-tabs-wrapper {
61 display: inline-flex;
62 vertical-align: top;
63 flex-wrap: nowrap;
64 gap: 0;
65 }
66
67 .activitypub-settings-tab.active {
68 box-shadow: inset 0 -3px #3582c4;
69 font-weight: 600;
70 }
71
72 .activitypub-settings-tab {
73 display: block;
74 text-decoration: none;
75 color: inherit;
76 padding: 0.5rem 1rem 1rem;
77 margin: 0 1rem;
78 transition: box-shadow 0.5s ease-in-out;
79 white-space: nowrap;
80 }
81
82 .activitypub-settings .row {
83 margin-bottom: 16px;
84 }
85
86 .activitypub-settings .row > div {
87 max-width: calc(100% - 24px);
88 display: inline-flex;
89 flex-direction: column;
90 }
91
92 .activitypub-settings .row .description {
93 margin-top: 0;
94 }
95
96 .wp-header-end {
97 visibility: hidden;
98 margin: -2px 0 0;
99 }
100
101 summary {
102 cursor: pointer;
103 text-decoration: underline;
104 color: #2271b1;
105 }
106
107 .activitypub-site-block-details {
108 margin: 10px 0;
109 }
110
111 .activitypub-site-block-details summary {
112 padding: 8px 0;
113 color: inherit;
114 text-decoration: none;
115 }
116
117 .activitypub-site-block-details table {
118 max-width: 500px;
119 margin-top: 10px;
120 }
121
122 .activitypub-site-block-details td:last-child {
123 width: 80px;
124 }
125
126 .activitypub-settings-accordion {
127 border: 1px solid #c3c4c7;
128 }
129
130 .activitypub-settings-accordion-heading {
131 margin: 0;
132 border-top: 1px solid #c3c4c7;
133 font-size: inherit;
134 line-height: inherit;
135 font-weight: 600;
136 color: inherit;
137 }
138
139 .activitypub-settings-accordion-heading:first-child {
140 border-top: none;
141 }
142
143 .activitypub-settings-accordion-panel {
144 margin: 0;
145 padding: 1em 1.5em;
146 background: #fff;
147 }
148
149 .activitypub-settings-accordion-trigger {
150 background: #fff;
151 border: 0;
152 color: #2c3338;
153 cursor: pointer;
154 display: flex;
155 font-weight: 400;
156 margin: 0;
157 padding: 1em 3.5em 1em 1.5em;
158 min-height: 46px;
159 position: relative;
160 text-align: left;
161 width: 100%;
162 align-items: center;
163 justify-content: space-between;
164 -webkit-user-select: auto;
165 user-select: auto;
166 }
167
168 .activitypub-settings-accordion-trigger .title {
169 pointer-events: none;
170 font-weight: 600;
171 flex-grow: 1;
172 }
173
174 .activitypub-settings-accordion-trigger .icon,
175 .activitypub-settings-accordion-viewed .icon {
176 border: solid #50575e medium;
177 border-width: 0 2px 2px 0;
178 height: 0.5rem;
179 pointer-events: none;
180 position: absolute;
181 right: 1.5em;
182 top: 50%;
183 transform: translateY(-70%) rotate(45deg);
184 width: 0.5rem;
185 }
186
187 .activitypub-settings-accordion-trigger[aria-expanded="true"] .icon {
188 transform: translateY(-30%) rotate(-135deg);
189 }
190
191 table.followings .dashicons {
192 font-size: 1em;
193 line-height: 1.7;
194 }
195
196 .activitypub-settings-accordion-trigger:active,
197 .activitypub-settings-accordion-trigger:hover {
198 background: #f6f7f7;
199 }
200
201 .activitypub-settings-accordion-trigger:focus {
202 color: #1d2327;
203 border: none;
204 box-shadow: none;
205 outline-offset: -1px;
206 outline: 2px solid #2271b1;
207 background-color: #f6f7f7;
208 }
209
210 .activitypub-settings
211 input.blog-user-identifier {
212 text-align: right;
213 }
214
215 .activitypub-settings
216 .header-image {
217 width: 100%;
218 height: 80px;
219 position: relative;
220 display: block;
221 margin-bottom: 40px;
222 background-image: rgb(168, 165, 175);
223 background-image: linear-gradient(180deg, #f00, #ff0);
224 background-size: cover;
225 }
226
227 .activitypub-settings .logo {
228 height: 80px;
229 width: 80px;
230 position: relative;
231 top: 40px;
232 left: 40px;
233 }
234
235 .settings_page_activitypub .plugin-recommendations {
236 border-bottom: none;
237 margin-bottom: 0;
238 }
239
240 /* stylelint-disable-next-line selector-id-pattern -- WordPress core ID */
241 #dashboard_right_now li a.activitypub-followers::before {
242 content: "\f307";
243 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
244 font-family: dashicons;
245 }
246
247 .activitypub-comment .dashboard-comment-wrap {
248 padding-inline-start: 63px;
249 }
250
251 .activitypub-comment .dashboard-comment-wrap .comment-author {
252 margin-block: 0;
253 }
254
255 .extra-fields-nav a + a {
256 margin-left: 8px;
257 }
258
259 .rtl .extra-fields-nav a + a {
260 margin-left: auto;
261 margin-right: 8px;
262 }
263
264 .contextual-help-tabs-wrap dt {
265 font-weight: 600;
266 }
267
268 .contextual-help-tabs-wrap .activitypub-block-screenshot {
269 margin: 10px 0;
270 }
271
272 .contextual-help-tabs-wrap .activitypub-block-screenshot img {
273 border: 1px solid #ddd;
274 border-radius: 4px;
275 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
276 height: auto;
277 max-width: 100%;
278 }
279
280 .contextual-help-tabs-wrap .activitypub-block-screenshot figcaption {
281 color: #555;
282 font-style: italic;
283 font-size: 0.9em;
284 margin-top: 5px;
285 }
286
287 /* Blockquote Styles */
288 .contextual-help-tabs-wrap blockquote {
289 border-left: 4px solid #3582c4;
290 background-color: #f6f7f7;
291 padding: 16px 20px;
292 margin: 0 0 20px;
293 }
294
295 .contextual-help-tabs-wrap blockquote p {
296 margin: 0 0 10px;
297 line-height: 1.5;
298 }
299
300 .contextual-help-tabs-wrap blockquote p:last-child {
301 margin-bottom: 0;
302 }
303
304 .contextual-help-tabs-wrap blockquote cite {
305 display: block;
306 font-weight: 600;
307 margin-top: 8px;
308 font-size: 0.9em;
309 color: #50575e;
310 }
311
312 .contextual-help-tabs-wrap blockquote cite::before {
313 content: "";
314 }
315
316 /* Plugin List Styles */
317 .plugin-list {
318 display: flex;
319 flex-wrap: wrap;
320 gap: 16px;
321 align-items: stretch;
322 }
323
324 .plugin-list .plugin-card {
325 flex: 1 1 300px;
326 display: flex;
327 flex-direction: column;
328 box-sizing: border-box;
329 border-radius: 4px;
330 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
331 margin: 0;
332 }
333
334 .plugin-list .plugin-card .desc {
335 flex: 1 1 auto;
336 }
337
338 .plugin-list .plugin-action-buttons li {
339 display: inline-block;
340 vertical-align: middle;
341 margin: 0 0 10px 0;
342 }
343
344 .plugin-list .plugin-card .action-links {
345 position: static;
346 margin-left: 148px;
347 width: auto;
348 }
349
350 .plugin-list .plugin-action-buttons {
351 float: none;
352 margin: 1em 0 0;
353 text-align: left;
354 }
355
356 .plugin-list .plugin-action-buttons li .button {
357 margin-right: 20px;
358 }
359
360 .plugin-list .plugin-card h3 {
361 margin-right: 24px;
362 }
363
364 /* stylelint-disable no-descending-specificity */
365 .plugin-list .plugin-card .name,
366 .plugin-list .plugin-card .desc,
367 .plugin-card .desc > p {
368 margin-right: 0;
369 }
370 /* stylelint-enable no-descending-specificity */
371
372 .plugin-list .plugin-card .desc p:first-of-type {
373 margin-top: 0;
374 }
375
376 /* RTL Support for blockquotes */
377 .rtl .contextual-help-tabs-wrap blockquote {
378 border-left: none;
379 border-right: 4px solid #3582c4;
380 padding: 16px 20px;
381 }
382
383 #activitypub-follow-form .highlight {
384 animation: highlight-fade 3s ease-in-out;
385 border-color: #3582c4 !important;
386 box-shadow: 0 0 0 1px #3582c4;
387 }
388
389 @keyframes highlight-fade {
390
391 0% {
392 background-color: #e7f3ff;
393 border-color: #3582c4;
394 box-shadow: 0 0 0 1px #3582c4;
395 }
396
397 100% {
398 background-color: #fff;
399 border-color: #8c8f94;
400 box-shadow: none;
401 }
402 }
403
404 @media screen and (max-width: 782px) {
405
406 .activitypub-settings {
407 margin: 0 22px;
408 }
409
410 .activitypub-settings .row > div {
411 max-width: calc(100% - 36px);
412 width: 100%;
413 }
414 }
415