PluginProbe
Friends / 4.3.2
Friends v4.3.2
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
← All changes | friends-admin.css +256 -131 2.8.14.3.2 View file →
@@ -27,52 +27,41 @@
27 27 color: inherit;
28 28 padding: 0.5rem 1rem 1rem;
29 29 margin: 0 1rem;
30 30 transition: box-shadow 0.5s ease-in-out;
31 -}
32 31
33 -.friends-tab:focus {
34 - color: #1d2327;
35 - outline: 1px solid #787c82;
36 - box-shadow: none;
37 -}
32 + &:focus {
33 + color: #1d2327;
34 + outline: 1px solid #787c82;
35 + box-shadow: none;
36 + }
38 37
39 -.friends-tab.active {
40 - box-shadow: inset 0 -3px #3582c4;
41 - font-weight: 600;
38 + &.active {
39 + box-shadow: inset 0 -3px #3582c4;
40 + font-weight: 600;
41 + }
42 42 }
43 43
44 44 .friends-body {
45 45 max-width: 800px;
46 46 margin: 0 auto;
47 -}
48 47
49 -.friends-body.edit-friend-feeds {
50 - max-width: 90%;
51 -}
48 + &.edit-friend-feeds {
49 + max-width: 90%;
50 + }
52 51
53 -.friends-body.friends p {
54 - margin-bottom: 1.5em;
55 -}
52 + &.friends {
53 + & p { margin-bottom: 1.5em; }
54 + & ul { margin-left: 1em; }
55 + & ul li { list-style: disc; margin-bottom: 1em; }
56 + & ul li ul li { list-style: circle; margin-top: 1em; }
57 + }
56 58
57 -.friends-body.friends ul {
58 - margin-left: 1em;
59 + & summary {
60 + cursor: pointer;
61 + }
59 62 }
60 63
61 -.friends-body.friends ul li {
62 - list-style: disc;
63 - margin-bottom: 1em;
64 -}
65 -
66 -.friends-body.friends ul li ul li {
67 - list-style: circle;
68 - margin-top: 1em;
69 -}
70 -
71 -.friends-body summary {
72 - cursor: pointer;
73 -}
74 -
75 64 .friends-notice b.headline:before,
76 65 #friends-welcome-panel h2:before {
77 66 content: "\f307";
78 67 color: #82878c;
@@ -86,49 +75,114 @@
86 75 text-decoration: none !important;
87 76 vertical-align: top;
88 77 }
89 78
90 -#dashboard_right_now li a.friends:before {
91 - content: "\f307";
92 - padding: 0 5px 0 0;
79 +#dashboard_right_now li a {
80 + &.friends:before { content: "\f307"; padding: 0 5px 0 0; }
81 + &.friend-requests:before { content: "\f336"; padding: 0 5px 0 0; }
82 + &.subscriptions:before { content: "\f123"; padding: 0 5px 0 0; }
83 + &.friend-posts:before { content: "\f105"; padding: 0 5px 0 0; }
93 84 }
94 85
95 -#dashboard_right_now li a.friend-requests:before {
96 - content: "\f336";
97 - padding: 0 5px 0 0;
86 +tr {
87 + & .row-actions span.friends { display: none; }
88 + &:hover .row-actions span.friends { display: inline; }
98 89 }
99 90
100 -#dashboard_right_now li a.subscriptions:before {
101 - content: "\f123";
102 - padding: 0 5px 0 0;
103 -}
91 +/* Feed Accordion Styles */
92 +ul.feeds {
93 + list-style: none;
94 + padding: 0;
95 + margin: 0;
104 96
105 -#dashboard_right_now li a.friend-posts:before {
106 - content: "\f105";
107 - padding: 0 5px 0 0;
108 -}
97 + & li {
98 + margin-bottom: 8px;
109 99
110 -tr .row-actions span.friends {
111 - display: none;
112 -}
100 + & details {
101 + border: 1px solid #ddd;
102 + border-radius: 4px;
103 + background: #fff;
113 104
114 -tr:hover .row-actions span.friends {
115 - display: inline;
116 -}
105 + &[open] {
106 + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
117 107
118 -ul.feeds li.inactive summary {
119 - text-decoration: line-through;
120 -}
121 -ul.feeds li.active table {
122 - border-left: 2px green solid;
123 -}
108 + & summary {
109 + border-radius: 4px 4px 0 0;
110 + border-bottom: 1px solid #ddd;
111 + }
124 112
125 -ul.feeds li.inactive table {
126 - border-left: 2px red solid;
127 -}
113 + & summary::before {
114 + transform: rotate(90deg);
115 + }
116 + }
117 + }
128 118
129 -ul.feeds li th {
130 - padding-left: 1em;
119 + & summary {
120 + padding: 12px 16px;
121 + cursor: pointer;
122 + display: flex;
123 + align-items: center;
124 + gap: 8px;
125 + background: #f9f9f9;
126 + border-radius: 4px;
127 + font-weight: 500;
128 + list-style: none;
129 +
130 + &::-webkit-details-marker { display: none; }
131 +
132 + &::before {
133 + content: "\25B6";
134 + font-size: 10px;
135 + color: #888;
136 + transition: transform 0.2s;
137 + }
138 +
139 + & .feed-title { font-weight: 600; color: #1d2327; }
140 +
141 + & .feed-url {
142 + color: #888;
143 + font-size: 13px;
144 + font-weight: normal;
145 + overflow: hidden;
146 + text-overflow: ellipsis;
147 + white-space: nowrap;
148 +
149 + &:hover { color: #2271b1; }
150 + }
151 +
152 + & .feed-badge {
153 + display: inline-block;
154 + background-color: var(--feed-color, #888);
155 + color: #fff;
156 + font-size: 10px;
157 + font-weight: 600;
158 + padding: 2px 6px;
159 + border-radius: 3px;
160 + }
161 + }
162 +
163 + &.inactive summary {
164 + opacity: 0.6;
165 + border-left: 3px solid #dc3232;
166 +
167 + & .feed-title { text-decoration: line-through; }
168 + }
169 +
170 + &.active summary {
171 + border-left: 3px solid var(--feed-color, #4ab866);
172 + }
173 +
174 + & .feed-content {
175 + padding: 16px;
176 +
177 + & .form-table {
178 + margin: 0;
179 +
180 + & th { width: 140px; padding: 8px 12px 8px 0; font-weight: normal; color: #646970; }
181 + & td { padding: 8px 0; }
182 + }
183 + }
184 + }
131 185 }
132 186
133 187 table.reader-table .check-column {
134 188 width: 5em;
@@ -135,52 +189,43 @@
135 189 vertical-align: top;
136 190 text-align: center;
137 191 }
138 192
139 -table.feed-table.widefat td,
140 -table.feed-table.widefat th {
141 - padding: .5em;
193 +table.feed-table.widefat {
194 + & td, & th { padding: .5em; }
195 + & th, & th.check-column { vertical-align: bottom; }
196 + & td.nowrap, & th.nowrap { white-space: nowrap; }
142 197 }
143 198
144 -table.feed-table.widefat th,
145 -table.feed-table.widefat th.check-column {
146 - vertical-align: bottom;
147 -}
148 -
149 -table.feed-table.widefat td.nowrap,
150 -table.feed-table.widefat th.nowrap {
151 - white-space: nowrap;
152 -}
153 -
154 199 #available-widgets [class*="friends-widget"] .widget-title:before {
155 200 content: "\f307";
156 201 }
157 202
158 -a.friends-auth-link span.dashicons,
159 -button.friends-auth-link span.dashicons {
160 - color: #32c170;
161 - margin-left: 6px;
203 +p.lastlog {
204 + padding: .8em 1em;
205 + margin-bottom: 2em;
162 206 }
163 207
164 -a.explanation-friends-auth-link:hover,
165 -a.friends-auth-link :hover,
166 -a.friends-auth-link:hover span.dashicons,
167 -button.friends-auth-link:hover span.dashicons {
168 - color: #32c170;
208 +h4.unfriend .avatar {
209 + vertical-align: middle;
169 210 }
170 211
171 -p.lastlog {
172 - padding: .8em 1em;
173 - margin-bottom: 2em;
212 +div.button.unfriend {
213 + float: right;
214 + border-color: #b00;
215 +
216 + &:hover { border-color: #a00; }
174 217 }
175 218
176 -.friends-plugin-installer .plugin-card .desc,
177 -.friends-plugin-installer .plugin-card .name {
178 - margin: auto;
219 +.button.button-destructive {
220 + border-color: #b00;
221 + color: #a00;
222 + text-decoration: none;
179 223 }
180 224
181 -a.unfriend {
225 +a.unfriend:any-link {
182 226 color: #a00;
227 + text-decoration: none;
183 228 }
184 229
185 230 span.disabled {
186 231 color: #999;
@@ -200,22 +245,20 @@
200 245 padding: 1em;
201 246 max-width: 50%;
202 247 max-height: 20%;
203 248 overflow: auto;
204 -}
205 249
206 -#friends-reaction-picker button {
207 - padding: .2em;
208 - margin: 0;
209 - font-size: 18px;
210 - background-color: #fff;
211 - border: 0;
212 - cursor: pointer;
213 - z-index: 999999;
214 -}
250 + & button {
251 + padding: .2em;
252 + margin: 0;
253 + font-size: 18px;
254 + background-color: #fff;
255 + border: 0;
256 + cursor: pointer;
257 + z-index: 999999;
215 258
216 -#friends-reaction-picker button:focus {
217 - outline: none;
259 + &:focus { outline: none; }
260 + }
218 261 }
219 262
220 263 #available-emojis-template {
221 264 display: none;
@@ -223,40 +266,122 @@
223 266
224 267 #wpadminbar li#wp-admin-bar-friends {
225 268 display: block;
226 269 }
227 -@keyframes loading{
228 - 0% {
229 - transform: rotate(0deg);
230 - }
231 - 100% {
232 - transform: rotate(360deg);
233 - }
270 +
271 +@keyframes loading {
272 + 0% { transform: rotate(0deg); }
273 + 100% { transform: rotate(360deg); }
234 274 }
275 +
235 276 .friends-loading {
236 - color: rgba(0,0,0,0) !important;
277 + color: rgba(0, 0, 0, 0) !important;
237 278 min-height: .8rem;
238 279 pointer-events: none;
239 280 position: relative;
240 281 margin-left: 1em;
282 +
283 + &::after {
284 + animation: loading 500ms infinite linear;
285 + background: rgba(0, 0, 0, 0);
286 + border: .1rem solid #2e5bec;
287 + border-radius: 50%;
288 + border-right-color: rgba(0, 0, 0, 0);
289 + border-top-color: rgba(0, 0, 0, 0);
290 + content: "";
291 + display: block;
292 + height: .8rem;
293 + left: 50%;
294 + margin-left: -0.4rem;
295 + margin-top: -0.4rem;
296 + opacity: 1;
297 + padding: 0;
298 + position: absolute;
299 + top: 50%;
300 + width: .8rem;
301 + z-index: 1;
302 + }
241 303 }
242 304
243 -.friends-loading::after{
244 - animation: loading 500ms infinite linear;
245 - background: rgba(0,0,0,0);
246 - border: .1rem solid #2e5bec;
247 - border-radius: 50%;
248 - border-right-color: rgba(0,0,0,0);
249 - border-top-color: rgba(0,0,0,0);
250 - content: "";
251 - display: block;
252 - height: .8rem;
253 - left: 50%;
254 - margin-left: -0.4rem;
255 - margin-top: -0.4rem;
256 - opacity: 1;
257 - padding: 0;
258 - position: absolute;
259 - top: 50%;
260 - width: .8rem;
261 - z-index: 1;
305 +#friends-dashboard-widget .author-avatar {
306 + vertical-align: middle;
307 +}
308 +
309 +.friends-notification-manager details.options {
310 + margin-top: 1em;
311 +
312 + & fieldset {
313 + margin-top: 1em;
314 + margin-bottom: 1em;
315 + display: flex;
316 + flex-wrap: wrap;
317 +
318 + & label { width: 10em; }
319 + }
320 +}
321 +
322 +.friends-logs pre {
323 + width: 38em;
324 + white-space: pre-wrap;
325 +}
326 +
327 +/* ActivityPub feed styles */
328 +ul.feeds li.feed-parser-activitypub {
329 + & .activitypub-plugin-data,
330 + & .activitypub-subscription-check {
331 + background: #fef9f3;
332 + border-bottom: 1px solid #fde0c2;
333 + margin: 0 -16px 16px -16px;
334 + padding: 12px 16px;
335 +
336 + & .ap-section-header {
337 + font-size: 11px;
338 + font-weight: 600;
339 + text-transform: uppercase;
340 + letter-spacing: 0.5px;
341 + color: #996633;
342 + margin: 0 0 8px 0;
343 + display: flex;
344 + align-items: center;
345 + gap: 6px;
346 +
347 + &::before {
348 + content: "";
349 + display: inline-block;
350 + width: 8px;
351 + height: 8px;
352 + background: #f6ad55;
353 + border-radius: 50%;
354 + }
355 + }
356 +
357 + & .ap-data-grid {
358 + display: grid;
359 + grid-template-columns: auto 1fr;
360 + gap: 4px 12px;
361 + font-size: 13px;
362 + }
363 +
364 + & .ap-data-label { color: #666; }
365 + & .ap-data-value { color: #1d2327; }
366 + & .ap-data-value a { color: #2271b1; }
367 + & .ap-actor-name { font-weight: 600; }
368 + & .ap-actor-acct { color: #888; margin-left: 0.5em; }
369 +
370 + & .ap-section-footer {
371 + margin-top: 8px;
372 + font-size: 12px;
373 + color: #888;
374 +
375 + & a { color: #996633; }
376 + }
377 + }
378 +
379 + & code {
380 + background: #f0f0f1;
381 + padding: 2px 6px;
382 + border-radius: 3px;
383 + font-size: 12px;
384 + }
385 +
386 + & .activitypub-unfollow { color: #b00; }
262 387 }