.friends-notice b.headline { font-size: 110%; } .friends-header { text-align: center; margin: 0 0 1rem; background: #fff; border-bottom: 1px solid #dcdcde; } .friends-title-section { display: flex; align-items: center; justify-content: center; clear: both; padding-top: 8px; } .friends-tabs-wrapper { display: inline-grid; grid-auto-flow: column; } .friends-tab { text-decoration: none; color: inherit; padding: 0.5rem 1rem 1rem; margin: 0 1rem; transition: box-shadow 0.5s ease-in-out; &:focus { color: #1d2327; outline: 1px solid #787c82; box-shadow: none; } &.active { box-shadow: inset 0 -3px #3582c4; font-weight: 600; } } .friends-body { max-width: 800px; margin: 0 auto; &.edit-friend-feeds { max-width: 90%; } &.friends { & p { margin-bottom: 1.5em; } & ul { margin-left: 1em; } & ul li { list-style: disc; margin-bottom: 1em; } & ul li ul li { list-style: circle; margin-top: 1em; } } & summary { cursor: pointer; } } .friends-notice b.headline:before, #friends-welcome-panel h2:before { content: "\f307"; color: #82878c; font-family: dashicons; speak: none; display: inline-block; padding: 0 5px 0 0; position: relative; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-decoration: none !important; vertical-align: top; } #dashboard_right_now li a { &.friends:before { content: "\f307"; padding: 0 5px 0 0; } &.friend-requests:before { content: "\f336"; padding: 0 5px 0 0; } &.subscriptions:before { content: "\f123"; padding: 0 5px 0 0; } &.friend-posts:before { content: "\f105"; padding: 0 5px 0 0; } } tr { & .row-actions span.friends { display: none; } &:hover .row-actions span.friends { display: inline; } } /* Feed Accordion Styles */ ul.feeds { list-style: none; padding: 0; margin: 0; & li { margin-bottom: 8px; & details { border: 1px solid #ddd; border-radius: 4px; background: #fff; &[open] { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); & summary { border-radius: 4px 4px 0 0; border-bottom: 1px solid #ddd; } & summary::before { transform: rotate(90deg); } } } & summary { padding: 12px 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; background: #f9f9f9; border-radius: 4px; font-weight: 500; list-style: none; &::-webkit-details-marker { display: none; } &::before { content: "\25B6"; font-size: 10px; color: #888; transition: transform 0.2s; } & .feed-title { font-weight: 600; color: #1d2327; } & .feed-url { color: #888; font-size: 13px; font-weight: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; &:hover { color: #2271b1; } } & .feed-badge { display: inline-block; background-color: var(--feed-color, #888); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px; } } &.inactive summary { opacity: 0.6; border-left: 3px solid #dc3232; & .feed-title { text-decoration: line-through; } } &.active summary { border-left: 3px solid var(--feed-color, #4ab866); } & .feed-content { padding: 16px; & .form-table { margin: 0; & th { width: 140px; padding: 8px 12px 8px 0; font-weight: normal; color: #646970; } & td { padding: 8px 0; } } } } } table.reader-table .check-column { width: 5em; vertical-align: top; text-align: center; } table.feed-table.widefat { & td, & th { padding: .5em; } & th, & th.check-column { vertical-align: bottom; } & td.nowrap, & th.nowrap { white-space: nowrap; } } #available-widgets [class*="friends-widget"] .widget-title:before { content: "\f307"; } p.lastlog { padding: .8em 1em; margin-bottom: 2em; } h4.unfriend .avatar { vertical-align: middle; } div.button.unfriend { float: right; border-color: #b00; &:hover { border-color: #a00; } } .button.button-destructive { border-color: #b00; color: #a00; text-decoration: none; } a.unfriend:any-link { color: #a00; text-decoration: none; } span.disabled { color: #999; } span#friends_enable_retention_days_line, span#friends_enable_retention_number_line { cursor: pointer; } #friends-reaction-picker { margin-top: 1em; border: 1px solid #999999; box-shadow: 2px 2px 5px #cccccc; border-radius: .25em; background-color: #fff; padding: 1em; max-width: 50%; max-height: 20%; overflow: auto; & button { padding: .2em; margin: 0; font-size: 18px; background-color: #fff; border: 0; cursor: pointer; z-index: 999999; &:focus { outline: none; } } } #available-emojis-template { display: none; } #wpadminbar li#wp-admin-bar-friends { display: block; } @keyframes loading { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .friends-loading { color: rgba(0, 0, 0, 0) !important; min-height: .8rem; pointer-events: none; position: relative; margin-left: 1em; &::after { animation: loading 500ms infinite linear; background: rgba(0, 0, 0, 0); border: .1rem solid #2e5bec; border-radius: 50%; border-right-color: rgba(0, 0, 0, 0); border-top-color: rgba(0, 0, 0, 0); content: ""; display: block; height: .8rem; left: 50%; margin-left: -0.4rem; margin-top: -0.4rem; opacity: 1; padding: 0; position: absolute; top: 50%; width: .8rem; z-index: 1; } } #friends-dashboard-widget .author-avatar { vertical-align: middle; } .friends-notification-manager details.options { margin-top: 1em; & fieldset { margin-top: 1em; margin-bottom: 1em; display: flex; flex-wrap: wrap; & label { width: 10em; } } } .friends-logs pre { width: 38em; white-space: pre-wrap; } /* ActivityPub feed styles */ ul.feeds li.feed-parser-activitypub { & .activitypub-plugin-data, & .activitypub-subscription-check { background: #fef9f3; border-bottom: 1px solid #fde0c2; margin: 0 -16px 16px -16px; padding: 12px 16px; & .ap-section-header { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #996633; margin: 0 0 8px 0; display: flex; align-items: center; gap: 6px; &::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #f6ad55; border-radius: 50%; } } & .ap-data-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; } & .ap-data-label { color: #666; } & .ap-data-value { color: #1d2327; } & .ap-data-value a { color: #2271b1; } & .ap-actor-name { font-weight: 600; } & .ap-actor-acct { color: #888; margin-left: 0.5em; } & .ap-section-footer { margin-top: 8px; font-size: 12px; color: #888; & a { color: #996633; } } } & code { background: #f0f0f1; padding: 2px 6px; border-radius: 3px; font-size: 12px; } & .activitypub-unfollow { color: #b00; } }