updated plugin ActivityPub version 8.3.0
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
/* Admin Bar Social Web Icon */
|
||||
#wpadminbar .activitypub-admin-bar-social-web .ab-item::before {
|
||||
content: "\2042"; /* ⁂ Asterism */
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 700;
|
||||
top: 2px;
|
||||
}
|
||||
@ -4,12 +4,12 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.settings_page_activitypub .notice {
|
||||
.settings_page_activitypub div:not(.wrap) > .notice {
|
||||
max-width: 800px;
|
||||
margin: 0 auto 30px;
|
||||
}
|
||||
|
||||
.settings_page_activitypub .update-nag {
|
||||
.settings_page_activitypub div:not(.wrap) > .update-nag {
|
||||
margin: 25px 20px 15px 22px;
|
||||
}
|
||||
|
||||
@ -17,6 +17,10 @@
|
||||
padding-left: 22px;
|
||||
}
|
||||
|
||||
.activitypub-settings p.interactions {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.activitypub-settings-header {
|
||||
text-align: center;
|
||||
margin: 0 0 1rem;
|
||||
@ -45,6 +49,14 @@
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.activitypub-settings-tabs-scroller {
|
||||
overflow-x: auto;
|
||||
width: 100%;
|
||||
padding-top: 2px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.activitypub-settings-tabs-wrapper {
|
||||
display: inline-flex;
|
||||
vertical-align: top;
|
||||
@ -61,9 +73,10 @@
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
padding: .5rem 1rem 1rem;
|
||||
padding: 0.5rem 1rem 1rem;
|
||||
margin: 0 1rem;
|
||||
transition: box-shadow .5s ease-in-out;
|
||||
transition: box-shadow 0.5s ease-in-out;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.activitypub-settings .row {
|
||||
@ -91,6 +104,25 @@ summary {
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.activitypub-site-block-details {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.activitypub-site-block-details summary {
|
||||
padding: 8px 0;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.activitypub-site-block-details table {
|
||||
max-width: 500px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.activitypub-site-block-details td:last-child {
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.activitypub-settings-accordion {
|
||||
border: 1px solid #c3c4c7;
|
||||
}
|
||||
@ -133,13 +165,6 @@ summary {
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
.activitypub-settings-accordion-trigger {
|
||||
color: #2c3338;
|
||||
cursor: pointer;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.activitypub-settings-accordion-trigger .title {
|
||||
pointer-events: none;
|
||||
font-weight: 600;
|
||||
@ -150,19 +175,24 @@ summary {
|
||||
.activitypub-settings-accordion-viewed .icon {
|
||||
border: solid #50575e medium;
|
||||
border-width: 0 2px 2px 0;
|
||||
height: .5rem;
|
||||
height: 0.5rem;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 1.5em;
|
||||
top: 50%;
|
||||
transform: translateY(-70%) rotate(45deg);
|
||||
width: .5rem;
|
||||
width: 0.5rem;
|
||||
}
|
||||
|
||||
.activitypub-settings-accordion-trigger[aria-expanded="true"] .icon {
|
||||
transform: translateY(-30%) rotate(-135deg);
|
||||
}
|
||||
|
||||
table.followings .dashicons {
|
||||
font-size: 1em;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.activitypub-settings-accordion-trigger:active,
|
||||
.activitypub-settings-accordion-trigger:hover {
|
||||
background: #f6f7f7;
|
||||
@ -189,8 +219,8 @@ input.blog-user-identifier {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-bottom: 40px;
|
||||
background-image: rgb(168,165,175);
|
||||
background-image: linear-gradient(180deg, red, yellow);
|
||||
background-image: rgb(168, 165, 175);
|
||||
background-image: linear-gradient(180deg, #f00, #ff0);
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@ -207,66 +237,178 @@ input.blog-user-identifier {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line selector-id-pattern -- WordPress core ID */
|
||||
#dashboard_right_now li a.activitypub-followers::before {
|
||||
content: "\f307";
|
||||
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.repost .dashboard-comment-wrap,
|
||||
.like .dashboard-comment-wrap {
|
||||
.activitypub-comment .dashboard-comment-wrap {
|
||||
padding-inline-start: 63px;
|
||||
}
|
||||
|
||||
.repost .dashboard-comment-wrap .comment-author,
|
||||
.like .dashboard-comment-wrap .comment-author {
|
||||
.activitypub-comment .dashboard-comment-wrap .comment-author {
|
||||
margin-block: 0;
|
||||
}
|
||||
|
||||
.activitypub-settings .welcome-tab-close {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
font-size: 13px;
|
||||
padding: 0 5px 0 20px;
|
||||
text-decoration: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.activitypub-settings .welcome-tab-close::before {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0;
|
||||
transition: all .1s ease-in-out;
|
||||
font: normal 16px/20px dashicons;
|
||||
content: '\f335';
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.activitypub-notice .count {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 0 -1px 2px;
|
||||
padding: 0 5px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
background-color: #dba617;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
z-index: 26;
|
||||
}
|
||||
|
||||
.activitypub-notice .dashicons-warning {
|
||||
color: #dba617;
|
||||
}
|
||||
|
||||
.extra-fields-nav a + a {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.rtl .extra-fields-nav a + a {
|
||||
margin-left: auto;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap dt {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap .activitypub-block-screenshot {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap .activitypub-block-screenshot img {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap .activitypub-block-screenshot figcaption {
|
||||
color: #555;
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/* Blockquote Styles */
|
||||
.contextual-help-tabs-wrap blockquote {
|
||||
border-left: 4px solid #3582c4;
|
||||
background-color: #f6f7f7;
|
||||
padding: 16px 20px;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap blockquote p {
|
||||
margin: 0 0 10px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap blockquote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap blockquote cite {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-top: 8px;
|
||||
font-size: 0.9em;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
.contextual-help-tabs-wrap blockquote cite::before {
|
||||
content: "—";
|
||||
}
|
||||
|
||||
/* Plugin List Styles */
|
||||
.plugin-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-card {
|
||||
flex: 1 1 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-card .desc {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-action-buttons li {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-card .action-links {
|
||||
position: static;
|
||||
margin-left: 148px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-action-buttons {
|
||||
float: none;
|
||||
margin: 1em 0 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-action-buttons li .button {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.plugin-list .plugin-card h3 {
|
||||
margin-right: 24px;
|
||||
}
|
||||
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
.plugin-list .plugin-card .name,
|
||||
.plugin-list .plugin-card .desc,
|
||||
.plugin-card .desc > p {
|
||||
margin-right: 0;
|
||||
}
|
||||
/* stylelint-enable no-descending-specificity */
|
||||
|
||||
.plugin-list .plugin-card .desc p:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* RTL Support for blockquotes */
|
||||
.rtl .contextual-help-tabs-wrap blockquote {
|
||||
border-left: none;
|
||||
border-right: 4px solid #3582c4;
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
#activitypub-follow-form .highlight {
|
||||
animation: highlight-fade 3s ease-in-out;
|
||||
border-color: #3582c4 !important;
|
||||
box-shadow: 0 0 0 1px #3582c4;
|
||||
}
|
||||
|
||||
@keyframes highlight-fade {
|
||||
|
||||
0% {
|
||||
background-color: #e7f3ff;
|
||||
border-color: #3582c4;
|
||||
box-shadow: 0 0 0 1px #3582c4;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-color: #fff;
|
||||
border-color: #8c8f94;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
|
||||
.activitypub-settings {
|
||||
margin: 0 22px;
|
||||
}
|
||||
|
||||
.activitypub-settings .row > div {
|
||||
max-width: calc(100% - 36px);
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@ -67,13 +67,53 @@
|
||||
.activitypub-embed-content .ap-preview {
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
margin: 1em 0 0;
|
||||
min-height: 64px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border: 0;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview video,
|
||||
.activitypub-embed-content .ap-preview audio {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
grid-column: 1 / span 2;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview audio {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview.layout-1 {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview.layout-2 {
|
||||
aspect-ratio: auto;
|
||||
grid-template-rows: 1fr;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview.layout-3 > img:first-child {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
.activitypub-embed-content .ap-preview-text {
|
||||
@ -94,7 +134,9 @@
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 399px) {
|
||||
|
||||
.activitypub-embed-meta span.ap-stat {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@ -0,0 +1,201 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
font-size: 1em;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background-color: #fff;
|
||||
margin: 1em;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
main p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
hr {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
flex: 0 0 auto;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.columns {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
flex: 1;
|
||||
padding: 1em;
|
||||
max-width: 285px;
|
||||
}
|
||||
|
||||
.sidebar h1 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 1em;
|
||||
margin-top: 0;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
background-color: #6364ff;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sidebar ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar ul li {
|
||||
padding: 5px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.sidebar input[type="search"],
|
||||
.sidebar textarea {
|
||||
background-color: #f6f6f6;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
color: #333;
|
||||
display: block;
|
||||
font-size: 1em;
|
||||
margin-bottom: 1em;
|
||||
padding: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar > div,
|
||||
main address {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 1em;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: #ccc;
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.webfinger {
|
||||
color: #ccc;
|
||||
font-size: 0.8em;
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
main address .name,
|
||||
main address .webfinger {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
address img,
|
||||
.sidebar .fake-image {
|
||||
border-radius: 8px;
|
||||
margin-right: 1em;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
main article {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
main .content {
|
||||
margin: 1em 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
main .content h2 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
main .attachments {
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
margin: 1em 0;
|
||||
min-height: 64px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
main .attachments.layout-1 {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
main .attachments.layout-2 {
|
||||
aspect-ratio: auto;
|
||||
grid-template-rows: 1fr;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
main .attachments img {
|
||||
border: 0;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
main .attachments.layout-3 > img:first-child {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
main .attachments video,
|
||||
main .attachments audio {
|
||||
max-width: 100%;
|
||||
margin: 1em 0;
|
||||
display: block;
|
||||
grid-column: 1 / span 2;
|
||||
}
|
||||
|
||||
main .attachments audio {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
main .tags a {
|
||||
background-color: #f6f6f6;
|
||||
border-radius: 4px;
|
||||
color: #333;
|
||||
display: inline-block;
|
||||
margin-right: 0.5em;
|
||||
padding: 0.5em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main .tags a:hover {
|
||||
background-color: #e6e6e6;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
main .column-header {
|
||||
font-size: 1.5em;
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@ -0,0 +1,310 @@
|
||||
/* ActivityPub Welcome Page Styles */
|
||||
|
||||
.activitypub-welcome-container {
|
||||
max-width: 800px;
|
||||
margin: 40px auto;
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.activitypub-welcome-header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Progress Circle */
|
||||
.activitypub-progress-circle {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
.activitypub-progress-circle-content {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #1e1e1e;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.activitypub-progress-ring {
|
||||
transform: rotate(-90deg);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.activitypub-progress-ring-bg {
|
||||
fill: none;
|
||||
stroke: #f0f0f1;
|
||||
stroke-width: 6;
|
||||
}
|
||||
|
||||
.activitypub-progress-ring-circle {
|
||||
fill: none;
|
||||
stroke: #2271b1;
|
||||
stroke-width: 6;
|
||||
stroke-linecap: round;
|
||||
transition: stroke-dashoffset 0.5s ease;
|
||||
}
|
||||
|
||||
.activitypub-welcome-title {
|
||||
font-size: 28px;
|
||||
margin: 20px 0 10px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.activitypub-welcome-subtitle {
|
||||
font-size: 16px;
|
||||
color: #646970;
|
||||
margin: 0 0 20px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Steps Styles */
|
||||
.activitypub-onboarding-step {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
border-radius: 4px;
|
||||
background-color: #f6f7f7;
|
||||
margin-bottom: 15px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.activitypub-onboarding-step:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.activitypub-onboarding-step:hover {
|
||||
background-color: #f0f0f1;
|
||||
}
|
||||
|
||||
.step-indicator {
|
||||
margin-right: 15px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.step-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.dashicons-warning {
|
||||
color: #dba617;
|
||||
}
|
||||
|
||||
.step-content {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.step-text {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.step-text h3 {
|
||||
margin: 0 0 5px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.step-text p {
|
||||
margin: 0;
|
||||
color: #646970;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.step-action {
|
||||
flex-shrink: 0;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.activitypub-step-completed {
|
||||
background-color: #f0f7ee;
|
||||
}
|
||||
|
||||
.activitypub-step-completed:hover {
|
||||
background-color: #e2f1dc;
|
||||
}
|
||||
|
||||
.activitypub-step-completed .step-text h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.activitypub-step-completed .step-text h3::after {
|
||||
content: ".";
|
||||
}
|
||||
|
||||
.activitypub-step-completed .step-text p,
|
||||
.activitypub-step-completed .step-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.activitypub-step-completed .step-icon {
|
||||
color: #008a20;
|
||||
}
|
||||
|
||||
.step-action .button {
|
||||
min-width: 120px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Profiles Section */
|
||||
.activitypub-profiles-section {
|
||||
margin-top: 40px;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
.profiles-description {
|
||||
margin-bottom: 20px;
|
||||
font-size: 16px;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.activitypub-profiles-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.activitypub-profile-card {
|
||||
flex: 1;
|
||||
min-width: 300px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.profile-card-header {
|
||||
background-color: #f0f0f1;
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.profile-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.profile-icon .dashicons {
|
||||
font-size: 20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
.profile-card-header h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.profile-card-content {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.extra-field {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.extra-field label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.extra-field input {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
font-size: 13px;
|
||||
background-color: #f6f7f7;
|
||||
border: 1px solid #dcdcde;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.profile-description {
|
||||
font-size: 13px;
|
||||
color: #646970;
|
||||
margin: 15px 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.profile-card-content .button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
.activitypub-welcome-footer {
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.skip-steps-link {
|
||||
color: #2271b1;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.skip-steps-link:hover {
|
||||
color: #135e96;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Responsive Adjustments */
|
||||
@media screen and (max-width: 782px) {
|
||||
|
||||
.activitypub-welcome-container {
|
||||
margin: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.step-content {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.step-action {
|
||||
margin-left: 0;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.step-action .button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.activitypub-profiles-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.activitypub-profile-card {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user