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
friends / friends-admin.css

friends-admin.css in Friends 4.3.2, at friends-admin.css

388 lines 6.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .friends-notice b.headline {
2 font-size: 110%;
3 }
4
5 .friends-header {
6 text-align: center;
7 margin: 0 0 1rem;
8 background: #fff;
9 border-bottom: 1px solid #dcdcde;
10 }
11
12 .friends-title-section {
13 display: flex;
14 align-items: center;
15 justify-content: center;
16 clear: both;
17 padding-top: 8px;
18 }
19
20 .friends-tabs-wrapper {
21 display: inline-grid;
22 grid-auto-flow: column;
23 }
24
25 .friends-tab {
26 text-decoration: none;
27 color: inherit;
28 padding: 0.5rem 1rem 1rem;
29 margin: 0 1rem;
30 transition: box-shadow 0.5s ease-in-out;
31
32 &:focus {
33 color: #1d2327;
34 outline: 1px solid #787c82;
35 box-shadow: none;
36 }
37
38 &.active {
39 box-shadow: inset 0 -3px #3582c4;
40 font-weight: 600;
41 }
42 }
43
44 .friends-body {
45 max-width: 800px;
46 margin: 0 auto;
47
48 &.edit-friend-feeds {
49 max-width: 90%;
50 }
51
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 }
58
59 & summary {
60 cursor: pointer;
61 }
62 }
63
64 .friends-notice b.headline:before,
65 #friends-welcome-panel h2:before {
66 content: "\f307";
67 color: #82878c;
68 font-family: dashicons;
69 speak: none;
70 display: inline-block;
71 padding: 0 5px 0 0;
72 position: relative;
73 -webkit-font-smoothing: antialiased;
74 -moz-osx-font-smoothing: grayscale;
75 text-decoration: none !important;
76 vertical-align: top;
77 }
78
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; }
84 }
85
86 tr {
87 & .row-actions span.friends { display: none; }
88 &:hover .row-actions span.friends { display: inline; }
89 }
90
91 /* Feed Accordion Styles */
92 ul.feeds {
93 list-style: none;
94 padding: 0;
95 margin: 0;
96
97 & li {
98 margin-bottom: 8px;
99
100 & details {
101 border: 1px solid #ddd;
102 border-radius: 4px;
103 background: #fff;
104
105 &[open] {
106 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
107
108 & summary {
109 border-radius: 4px 4px 0 0;
110 border-bottom: 1px solid #ddd;
111 }
112
113 & summary::before {
114 transform: rotate(90deg);
115 }
116 }
117 }
118
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 }
185 }
186
187 table.reader-table .check-column {
188 width: 5em;
189 vertical-align: top;
190 text-align: center;
191 }
192
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; }
197 }
198
199 #available-widgets [class*="friends-widget"] .widget-title:before {
200 content: "\f307";
201 }
202
203 p.lastlog {
204 padding: .8em 1em;
205 margin-bottom: 2em;
206 }
207
208 h4.unfriend .avatar {
209 vertical-align: middle;
210 }
211
212 div.button.unfriend {
213 float: right;
214 border-color: #b00;
215
216 &:hover { border-color: #a00; }
217 }
218
219 .button.button-destructive {
220 border-color: #b00;
221 color: #a00;
222 text-decoration: none;
223 }
224
225 a.unfriend:any-link {
226 color: #a00;
227 text-decoration: none;
228 }
229
230 span.disabled {
231 color: #999;
232 }
233
234 span#friends_enable_retention_days_line,
235 span#friends_enable_retention_number_line {
236 cursor: pointer;
237 }
238
239 #friends-reaction-picker {
240 margin-top: 1em;
241 border: 1px solid #999999;
242 box-shadow: 2px 2px 5px #cccccc;
243 border-radius: .25em;
244 background-color: #fff;
245 padding: 1em;
246 max-width: 50%;
247 max-height: 20%;
248 overflow: auto;
249
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;
258
259 &:focus { outline: none; }
260 }
261 }
262
263 #available-emojis-template {
264 display: none;
265 }
266
267 #wpadminbar li#wp-admin-bar-friends {
268 display: block;
269 }
270
271 @keyframes loading {
272 0% { transform: rotate(0deg); }
273 100% { transform: rotate(360deg); }
274 }
275
276 .friends-loading {
277 color: rgba(0, 0, 0, 0) !important;
278 min-height: .8rem;
279 pointer-events: none;
280 position: relative;
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 }
303 }
304
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; }
387 }
388