| 1 |
.activitypub-settings { |
| 2 |
max-width: 800px; |
| 3 |
margin: 0 auto; |
| 4 |
position: relative; |
| 5 |
} |
| 6 |
|
| 7 |
.settings_page_activitypub .notice { |
| 8 |
max-width: 800px; |
| 9 |
margin: 0 auto 30px; |
| 10 |
} |
| 11 |
|
| 12 |
.settings_page_activitypub .update-nag { |
| 13 |
margin: 25px 20px 15px 22px; |
| 14 |
} |
| 15 |
|
| 16 |
.settings_page_activitypub .wrap { |
| 17 |
padding-left: 22px; |
| 18 |
} |
| 19 |
|
| 20 |
.activitypub-settings-header { |
| 21 |
text-align: center; |
| 22 |
margin: 0 0 1rem; |
| 23 |
background: #fff; |
| 24 |
border-bottom: 1px solid #dcdcde; |
| 25 |
} |
| 26 |
|
| 27 |
.activitypub-settings-header h1 { |
| 28 |
display: inline-block; |
| 29 |
font-weight: 600; |
| 30 |
margin: 0 0.8rem 1rem; |
| 31 |
font-size: 23px; |
| 32 |
padding: 9px 0 4px; |
| 33 |
line-height: 1.3; |
| 34 |
} |
| 35 |
|
| 36 |
.activitypub-settings-title-section { |
| 37 |
display: flex; |
| 38 |
align-items: center; |
| 39 |
justify-content: center; |
| 40 |
clear: both; |
| 41 |
padding-top: 8px; |
| 42 |
} |
| 43 |
|
| 44 |
.settings_page_activitypub #wpcontent { |
| 45 |
padding-left: 0; |
| 46 |
} |
| 47 |
|
| 48 |
.activitypub-settings-tabs-wrapper { |
| 49 |
display: inline-flex; |
| 50 |
vertical-align: top; |
| 51 |
flex-wrap: nowrap; |
| 52 |
gap: 0; |
| 53 |
} |
| 54 |
|
| 55 |
.activitypub-settings-tab.active { |
| 56 |
box-shadow: inset 0 -3px #3582c4; |
| 57 |
font-weight: 600; |
| 58 |
} |
| 59 |
|
| 60 |
.activitypub-settings-tab { |
| 61 |
display: block; |
| 62 |
text-decoration: none; |
| 63 |
color: inherit; |
| 64 |
padding: .5rem 1rem 1rem; |
| 65 |
margin: 0 1rem; |
| 66 |
transition: box-shadow .5s ease-in-out; |
| 67 |
} |
| 68 |
|
| 69 |
.activitypub-settings .row { |
| 70 |
margin-bottom: 16px; |
| 71 |
} |
| 72 |
|
| 73 |
.activitypub-settings .row > div { |
| 74 |
max-width: calc(100% - 24px); |
| 75 |
display: inline-flex; |
| 76 |
flex-direction: column; |
| 77 |
} |
| 78 |
|
| 79 |
.activitypub-settings .row .description { |
| 80 |
margin-top: 0; |
| 81 |
} |
| 82 |
|
| 83 |
.wp-header-end { |
| 84 |
visibility: hidden; |
| 85 |
margin: -2px 0 0; |
| 86 |
} |
| 87 |
|
| 88 |
summary { |
| 89 |
cursor: pointer; |
| 90 |
text-decoration: underline; |
| 91 |
color: #2271b1; |
| 92 |
} |
| 93 |
|
| 94 |
.activitypub-settings-accordion { |
| 95 |
border: 1px solid #c3c4c7; |
| 96 |
} |
| 97 |
|
| 98 |
.activitypub-settings-accordion-heading { |
| 99 |
margin: 0; |
| 100 |
border-top: 1px solid #c3c4c7; |
| 101 |
font-size: inherit; |
| 102 |
line-height: inherit; |
| 103 |
font-weight: 600; |
| 104 |
color: inherit; |
| 105 |
} |
| 106 |
|
| 107 |
.activitypub-settings-accordion-heading:first-child { |
| 108 |
border-top: none; |
| 109 |
} |
| 110 |
|
| 111 |
.activitypub-settings-accordion-panel { |
| 112 |
margin: 0; |
| 113 |
padding: 1em 1.5em; |
| 114 |
background: #fff; |
| 115 |
} |
| 116 |
|
| 117 |
.activitypub-settings-accordion-trigger { |
| 118 |
background: #fff; |
| 119 |
border: 0; |
| 120 |
color: #2c3338; |
| 121 |
cursor: pointer; |
| 122 |
display: flex; |
| 123 |
font-weight: 400; |
| 124 |
margin: 0; |
| 125 |
padding: 1em 3.5em 1em 1.5em; |
| 126 |
min-height: 46px; |
| 127 |
position: relative; |
| 128 |
text-align: left; |
| 129 |
width: 100%; |
| 130 |
align-items: center; |
| 131 |
justify-content: space-between; |
| 132 |
-webkit-user-select: auto; |
| 133 |
user-select: auto; |
| 134 |
} |
| 135 |
|
| 136 |
.activitypub-settings-accordion-trigger { |
| 137 |
color: #2c3338; |
| 138 |
cursor: pointer; |
| 139 |
font-weight: 400; |
| 140 |
text-align: left; |
| 141 |
} |
| 142 |
|
| 143 |
.activitypub-settings-accordion-trigger .title { |
| 144 |
pointer-events: none; |
| 145 |
font-weight: 600; |
| 146 |
flex-grow: 1; |
| 147 |
} |
| 148 |
|
| 149 |
.activitypub-settings-accordion-trigger .icon, |
| 150 |
.activitypub-settings-accordion-viewed .icon { |
| 151 |
border: solid #50575e medium; |
| 152 |
border-width: 0 2px 2px 0; |
| 153 |
height: .5rem; |
| 154 |
pointer-events: none; |
| 155 |
position: absolute; |
| 156 |
right: 1.5em; |
| 157 |
top: 50%; |
| 158 |
transform: translateY(-70%) rotate(45deg); |
| 159 |
width: .5rem; |
| 160 |
} |
| 161 |
|
| 162 |
.activitypub-settings-accordion-trigger[aria-expanded="true"] .icon { |
| 163 |
transform: translateY(-30%) rotate(-135deg); |
| 164 |
} |
| 165 |
|
| 166 |
.activitypub-settings-accordion-trigger:active, |
| 167 |
.activitypub-settings-accordion-trigger:hover { |
| 168 |
background: #f6f7f7; |
| 169 |
} |
| 170 |
|
| 171 |
.activitypub-settings-accordion-trigger:focus { |
| 172 |
color: #1d2327; |
| 173 |
border: none; |
| 174 |
box-shadow: none; |
| 175 |
outline-offset: -1px; |
| 176 |
outline: 2px solid #2271b1; |
| 177 |
background-color: #f6f7f7; |
| 178 |
} |
| 179 |
|
| 180 |
.activitypub-settings |
| 181 |
input.blog-user-identifier { |
| 182 |
text-align: right; |
| 183 |
} |
| 184 |
|
| 185 |
.activitypub-settings |
| 186 |
.header-image { |
| 187 |
width: 100%; |
| 188 |
height: 80px; |
| 189 |
position: relative; |
| 190 |
display: block; |
| 191 |
margin-bottom: 40px; |
| 192 |
background-image: rgb(168,165,175); |
| 193 |
background-image: linear-gradient(180deg, red, yellow); |
| 194 |
background-size: cover; |
| 195 |
} |
| 196 |
|
| 197 |
.activitypub-settings .logo { |
| 198 |
height: 80px; |
| 199 |
width: 80px; |
| 200 |
position: relative; |
| 201 |
top: 40px; |
| 202 |
left: 40px; |
| 203 |
} |
| 204 |
|
| 205 |
.settings_page_activitypub .plugin-recommendations { |
| 206 |
border-bottom: none; |
| 207 |
margin-bottom: 0; |
| 208 |
} |
| 209 |
|
| 210 |
#dashboard_right_now li a.activitypub-followers::before { |
| 211 |
content: "\f307"; |
| 212 |
font-family: dashicons; |
| 213 |
} |
| 214 |
|
| 215 |
.repost .dashboard-comment-wrap, |
| 216 |
.like .dashboard-comment-wrap { |
| 217 |
padding-inline-start: 63px; |
| 218 |
} |
| 219 |
|
| 220 |
.repost .dashboard-comment-wrap .comment-author, |
| 221 |
.like .dashboard-comment-wrap .comment-author { |
| 222 |
margin-block: 0; |
| 223 |
} |
| 224 |
|
| 225 |
.activitypub-settings .welcome-tab-close { |
| 226 |
position: absolute; |
| 227 |
top: 0px; |
| 228 |
right: 0px; |
| 229 |
font-size: 13px; |
| 230 |
padding: 0 5px 0 20px; |
| 231 |
text-decoration: none; |
| 232 |
z-index: 1; |
| 233 |
} |
| 234 |
|
| 235 |
.activitypub-settings .welcome-tab-close::before { |
| 236 |
position: absolute; |
| 237 |
top: 0px; |
| 238 |
left: 0; |
| 239 |
transition: all .1s ease-in-out; |
| 240 |
font: normal 16px/20px dashicons; |
| 241 |
content: '\f335'; |
| 242 |
font-size: 20px; |
| 243 |
} |
| 244 |
|
| 245 |
.activitypub-notice .count { |
| 246 |
display: inline-block; |
| 247 |
vertical-align: top; |
| 248 |
box-sizing: border-box; |
| 249 |
margin: 1px 0 -1px 2px; |
| 250 |
padding: 0 5px; |
| 251 |
min-width: 18px; |
| 252 |
height: 18px; |
| 253 |
border-radius: 9px; |
| 254 |
background-color: #dba617; |
| 255 |
color: #fff; |
| 256 |
font-size: 11px; |
| 257 |
line-height: 1.6; |
| 258 |
text-align: center; |
| 259 |
z-index: 26; |
| 260 |
} |
| 261 |
|
| 262 |
.activitypub-notice .dashicons-warning { |
| 263 |
color: #dba617; |
| 264 |
} |
| 265 |
|
| 266 |
.extra-fields-nav a + a { |
| 267 |
margin-left: 8px; |
| 268 |
} |
| 269 |
.rtl .extra-fields-nav a + a { |
| 270 |
margin-left: auto; |
| 271 |
margin-right: 8px; |
| 272 |
} |
| 273 |
|