PluginProbe
ActivityPub / 7.7.0
ActivityPub v7.7.0
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 7.7.0, at assets/css/activitypub-admin.css

396 lines 7.1 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: .5rem 1rem 1rem;
77 margin: 0 1rem;
78 transition: box-shadow .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-settings-accordion {
108 border: 1px solid #c3c4c7;
109 }
110
111 .activitypub-settings-accordion-heading {
112 margin: 0;
113 border-top: 1px solid #c3c4c7;
114 font-size: inherit;
115 line-height: inherit;
116 font-weight: 600;
117 color: inherit;
118 }
119
120 .activitypub-settings-accordion-heading:first-child {
121 border-top: none;
122 }
123
124 .activitypub-settings-accordion-panel {
125 margin: 0;
126 padding: 1em 1.5em;
127 background: #fff;
128 }
129
130 .activitypub-settings-accordion-trigger {
131 background: #fff;
132 border: 0;
133 color: #2c3338;
134 cursor: pointer;
135 display: flex;
136 font-weight: 400;
137 margin: 0;
138 padding: 1em 3.5em 1em 1.5em;
139 min-height: 46px;
140 position: relative;
141 text-align: left;
142 width: 100%;
143 align-items: center;
144 justify-content: space-between;
145 -webkit-user-select: auto;
146 user-select: auto;
147 }
148
149 .activitypub-settings-accordion-trigger {
150 color: #2c3338;
151 cursor: pointer;
152 font-weight: 400;
153 text-align: left;
154 }
155
156 .activitypub-settings-accordion-trigger .title {
157 pointer-events: none;
158 font-weight: 600;
159 flex-grow: 1;
160 }
161
162 .activitypub-settings-accordion-trigger .icon,
163 .activitypub-settings-accordion-viewed .icon {
164 border: solid #50575e medium;
165 border-width: 0 2px 2px 0;
166 height: .5rem;
167 pointer-events: none;
168 position: absolute;
169 right: 1.5em;
170 top: 50%;
171 transform: translateY(-70%) rotate(45deg);
172 width: .5rem;
173 }
174
175 .activitypub-settings-accordion-trigger[aria-expanded="true"] .icon {
176 transform: translateY(-30%) rotate(-135deg);
177 }
178
179 table.followings .dashicons {
180 font-size: 1em;
181 line-height: 1.7;
182 }
183
184 .activitypub-settings-accordion-trigger:active,
185 .activitypub-settings-accordion-trigger:hover {
186 background: #f6f7f7;
187 }
188
189 .activitypub-settings-accordion-trigger:focus {
190 color: #1d2327;
191 border: none;
192 box-shadow: none;
193 outline-offset: -1px;
194 outline: 2px solid #2271b1;
195 background-color: #f6f7f7;
196 }
197
198 .activitypub-settings
199 input.blog-user-identifier {
200 text-align: right;
201 }
202
203 .activitypub-settings
204 .header-image {
205 width: 100%;
206 height: 80px;
207 position: relative;
208 display: block;
209 margin-bottom: 40px;
210 background-image: rgb(168,165,175);
211 background-image: linear-gradient(180deg, red, yellow);
212 background-size: cover;
213 }
214
215 .activitypub-settings .logo {
216 height: 80px;
217 width: 80px;
218 position: relative;
219 top: 40px;
220 left: 40px;
221 }
222
223 .settings_page_activitypub .plugin-recommendations {
224 border-bottom: none;
225 margin-bottom: 0;
226 }
227
228 #dashboard_right_now li a.activitypub-followers::before {
229 content: "\f307";
230 font-family: dashicons;
231 }
232
233 .repost .dashboard-comment-wrap,
234 .like .dashboard-comment-wrap {
235 padding-inline-start: 63px;
236 }
237
238 .repost .dashboard-comment-wrap .comment-author,
239 .like .dashboard-comment-wrap .comment-author {
240 margin-block: 0;
241 }
242
243 .extra-fields-nav a + a {
244 margin-left: 8px;
245 }
246 .rtl .extra-fields-nav a + a {
247 margin-left: auto;
248 margin-right: 8px;
249 }
250
251 .contextual-help-tabs-wrap dt {
252 font-weight: 600;
253 }
254 .contextual-help-tabs-wrap .activitypub-block-screenshot {
255 margin: 10px 0;
256 }
257 .contextual-help-tabs-wrap .activitypub-block-screenshot img {
258 border: 1px solid #ddd;
259 border-radius: 4px;
260 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
261 height: auto;
262 max-width: 100%;
263 }
264 .contextual-help-tabs-wrap .activitypub-block-screenshot figcaption {
265 color: #555;
266 font-style: italic;
267 font-size: 0.9em;
268 margin-top: 5px;
269 }
270
271 /* Blockquote Styles */
272 .contextual-help-tabs-wrap blockquote {
273 border-left: 4px solid #3582c4;
274 background-color: #f6f7f7;
275 padding: 16px 20px;
276 margin: 0 0 20px;
277 }
278
279 .contextual-help-tabs-wrap blockquote p {
280 margin: 0 0 10px;
281 line-height: 1.5;
282 }
283
284 .contextual-help-tabs-wrap blockquote p:last-child {
285 margin-bottom: 0;
286 }
287
288 .contextual-help-tabs-wrap blockquote cite {
289 display: block;
290 font-weight: 600;
291 margin-top: 8px;
292 font-size: 0.9em;
293 color: #50575e;
294 }
295
296 .contextual-help-tabs-wrap blockquote cite:before {
297 content: "";
298 }
299
300 /* Plugin List Styles */
301 .plugin-list {
302 display: flex;
303 flex-wrap: wrap;
304 gap: 16px;
305 align-items: stretch;
306 }
307
308 .plugin-list .plugin-card {
309 flex: 1 1 300px;
310 display: flex;
311 flex-direction: column;
312 box-sizing: border-box;
313 border-radius: 4px;
314 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
315 margin: 0;
316 }
317
318 .plugin-list .plugin-card .desc {
319 flex: 1 1 auto;
320 }
321
322 .plugin-list .plugin-action-buttons li {
323 margin: 0 0 10px 0;
324 }
325 .plugin-list .plugin-card .action-links {
326 position: static;
327 margin-left: 148px;
328 width: auto;
329 }
330
331 .plugin-list .plugin-action-buttons {
332 float: none;
333 margin: 1em 0 0;
334 text-align: left;
335 }
336
337 .plugin-list .plugin-action-buttons li {
338 display: inline-block;
339 vertical-align: middle;
340 }
341
342 .plugin-list .plugin-action-buttons li .button {
343 margin-right: 20px;
344 }
345
346 .plugin-list .plugin-card h3 {
347 margin-right: 24px;
348 }
349
350 .plugin-list .plugin-card .name,
351 .plugin-list .plugin-card .desc,
352 .plugin-card .desc > p {
353 margin-right: 0;
354 }
355
356 .plugin-list .plugin-card .desc p:first-of-type {
357 margin-top: 0;
358 }
359
360 /* RTL Support for blockquotes */
361 .rtl .contextual-help-tabs-wrap blockquote {
362 border-left: none;
363 border-right: 4px solid #3582c4;
364 padding: 16px 20px;
365 }
366
367 #activitypub-follow-form .highlight {
368 animation: highlight-fade 3s ease-in-out;
369 border-color: #3582c4 !important;
370 box-shadow: 0 0 0 1px #3582c4;
371 }
372
373 @keyframes highlight-fade {
374 0% {
375 background-color: #e7f3ff;
376 border-color: #3582c4;
377 box-shadow: 0 0 0 1px #3582c4;
378 }
379 100% {
380 background-color: #fff;
381 border-color: #8c8f94;
382 box-shadow: none;
383 }
384 }
385
386 @media screen and (max-width: 782px) {
387 .activitypub-settings {
388 margin: 0 22px;
389 }
390
391 .activitypub-settings .row > div {
392 max-width: calc(100% - 36px);
393 width: 100%;
394 }
395 }
396