| 1 |
/** |
| 2 |
* Sharedaddy Admin Styles |
| 3 |
*/ |
| 4 |
#services-config { |
| 5 |
min-width: 700px; |
| 6 |
width: 100%; |
| 7 |
float: right; |
| 8 |
} |
| 9 |
|
| 10 |
#services-config h3 { |
| 11 |
font-weight: 400; |
| 12 |
font-size: 15px; |
| 13 |
margin: 0; |
| 14 |
padding: 8px 10px; |
| 15 |
overflow: hidden; |
| 16 |
white-space: nowrap; |
| 17 |
color: #464646; |
| 18 |
} |
| 19 |
|
| 20 |
#available-services, |
| 21 |
#enabled-services, |
| 22 |
#live-preview { |
| 23 |
padding: 0; |
| 24 |
width: 100%; |
| 25 |
padding-top: 20px; |
| 26 |
border-spacing: 0; |
| 27 |
} |
| 28 |
|
| 29 |
#enabled-services .ui-sortable { |
| 30 |
min-height: 50px; |
| 31 |
} |
| 32 |
|
| 33 |
#enabled-services { |
| 34 |
padding-bottom: 20px; |
| 35 |
} |
| 36 |
|
| 37 |
#available-services, |
| 38 |
#enabled-services { |
| 39 |
border-bottom: 2px solid #ccc; |
| 40 |
} |
| 41 |
|
| 42 |
#live-preview { |
| 43 |
border-bottom: 1px solid #dcdcde; |
| 44 |
padding-bottom: 60px; |
| 45 |
} |
| 46 |
|
| 47 |
#available-services h3, |
| 48 |
#enabled-services h3, |
| 49 |
#live-preview h3 { |
| 50 |
padding: 0; |
| 51 |
margin-top: 0; |
| 52 |
margin-bottom: 1em; |
| 53 |
} |
| 54 |
|
| 55 |
body.settings_page_sharing .description { |
| 56 |
width: 180px; |
| 57 |
vertical-align: top; |
| 58 |
} |
| 59 |
|
| 60 |
body.settings_page_sharing .description p { |
| 61 |
font-size: 13px; |
| 62 |
font-style: italic; |
| 63 |
} |
| 64 |
|
| 65 |
body.settings_page_sharing .services { |
| 66 |
padding: 0 20px; |
| 67 |
vertical-align: top; |
| 68 |
} |
| 69 |
|
| 70 |
body.settings_page_sharing .services ul li { |
| 71 |
cursor: move; |
| 72 |
} |
| 73 |
|
| 74 |
body.settings_page_sharing .services ul li.divider { |
| 75 |
border: none; |
| 76 |
padding: 0; |
| 77 |
background: none; |
| 78 |
cursor: default; |
| 79 |
} |
| 80 |
|
| 81 |
body.settings_page_sharing ul.services-hidden { |
| 82 |
margin-bottom: 0; |
| 83 |
} |
| 84 |
|
| 85 |
/* Generic style */ |
| 86 |
#available-services .service, |
| 87 |
#enabled-services .service { |
| 88 |
color: #2c3338 !important; |
| 89 |
display: inline-block; |
| 90 |
font-family: "Open Sans", sans-serif; |
| 91 |
font-size: 13px; |
| 92 |
font-weight: 500; |
| 93 |
line-height: 23px; |
| 94 |
margin: 0 0 8px 8px; |
| 95 |
padding: 3px 9px 4px 11px; |
| 96 |
border-radius: 4px; |
| 97 |
background: #fff; |
| 98 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.12); |
| 99 |
} |
| 100 |
|
| 101 |
#available-services .service .options-left, |
| 102 |
#enabled-services .service .options-left { |
| 103 |
align-items: center; |
| 104 |
display: flex; |
| 105 |
} |
| 106 |
|
| 107 |
#available-services .service:hover, |
| 108 |
#enabled-services .service:hover { |
| 109 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.22); |
| 110 |
} |
| 111 |
|
| 112 |
#available-services .service.share-deprecated, |
| 113 |
#enabled-services .service.share-deprecated { |
| 114 |
opacity: 0.5; |
| 115 |
padding: 5px; |
| 116 |
text-decoration: line-through; |
| 117 |
} |
| 118 |
|
| 119 |
#available-services .service.share-deprecated { |
| 120 |
display: none; |
| 121 |
} |
| 122 |
|
| 123 |
/* Generic style icons */ |
| 124 |
li.service span::before { |
| 125 |
-webkit-font-smoothing: antialiased; |
| 126 |
font: 400 18px/1 social-logos; |
| 127 |
position: relative; |
| 128 |
top: -1px; |
| 129 |
margin-left: 6px; |
| 130 |
width: 16px; |
| 131 |
height: 16px; |
| 132 |
} |
| 133 |
|
| 134 |
li.service.share-print span::before { |
| 135 |
content: "\f469"; |
| 136 |
} |
| 137 |
|
| 138 |
li.service.share-digg span::before { |
| 139 |
content: "\f221"; |
| 140 |
} |
| 141 |
|
| 142 |
li.service.share-email span::before { |
| 143 |
content: "\f410"; |
| 144 |
} |
| 145 |
|
| 146 |
li.service.share-linkedin span::before { |
| 147 |
content: "\f207"; |
| 148 |
} |
| 149 |
|
| 150 |
li.service.share-x span::before, |
| 151 |
li.service.share-twitter span::before { |
| 152 |
content: "\f10e"; |
| 153 |
} |
| 154 |
|
| 155 |
li.service.share-reddit span::before { |
| 156 |
content: "\f222"; |
| 157 |
} |
| 158 |
|
| 159 |
li.service.share-tumblr span::before { |
| 160 |
content: "\f214"; |
| 161 |
} |
| 162 |
|
| 163 |
li.service.share-pocket span::before { |
| 164 |
content: "\f224"; |
| 165 |
} |
| 166 |
|
| 167 |
li.service.share-pinterest span::before { |
| 168 |
content: "\f209"; |
| 169 |
} |
| 170 |
|
| 171 |
li.service.share-facebook span::before { |
| 172 |
content: "\f203"; |
| 173 |
} |
| 174 |
|
| 175 |
li.service.share-press-this span::before { /* Fixme: remove this button in favor of reblog */ |
| 176 |
content: "\f205"; |
| 177 |
} |
| 178 |
|
| 179 |
li.service.share-telegram span::before { |
| 180 |
content: "\f606"; |
| 181 |
} |
| 182 |
|
| 183 |
li.service.share-threads span::before { |
| 184 |
content: "\f10d"; |
| 185 |
} |
| 186 |
|
| 187 |
li.service.share-jetpack-whatsapp span::before { |
| 188 |
content: "\f608"; |
| 189 |
} |
| 190 |
|
| 191 |
li.service.share-mastodon span::before { |
| 192 |
content: "\f10a"; |
| 193 |
} |
| 194 |
|
| 195 |
li.service.share-nextdoor span::before { |
| 196 |
content: "\f10c"; |
| 197 |
} |
| 198 |
|
| 199 |
li.service.share-bluesky span::before { |
| 200 |
content: "\f10f"; |
| 201 |
} |
| 202 |
|
| 203 |
/** |
| 204 |
* Preview section |
| 205 |
*/ |
| 206 |
body.settings_page_sharing ul.preview { |
| 207 |
display: flex; |
| 208 |
flex-wrap: wrap; |
| 209 |
float: right; |
| 210 |
} |
| 211 |
|
| 212 |
body.settings_page_sharing ul.preview li.preview-item, |
| 213 |
body.settings_page_sharing ul.preview li.preview-item a { |
| 214 |
cursor: default; |
| 215 |
text-decoration: none; |
| 216 |
} |
| 217 |
|
| 218 |
div.sd-social-icon ul.preview li.preview-item a span, |
| 219 |
div.sd-social-icon .inner li.preview-item a span { |
| 220 |
display: none; |
| 221 |
} |
| 222 |
|
| 223 |
div.sd-social-icon ul.preview li.preview-item.preview-custom a span { |
| 224 |
display: inline-block; |
| 225 |
} |
| 226 |
|
| 227 |
.services .preview li.share-custom a { |
| 228 |
text-decoration: none; |
| 229 |
} |
| 230 |
|
| 231 |
.services ul li.end-fix { |
| 232 |
clear: both; |
| 233 |
float: none; |
| 234 |
visibility: hidden; |
| 235 |
padding: 0; |
| 236 |
margin: 0; |
| 237 |
height: 20px; |
| 238 |
width: 0; |
| 239 |
} |
| 240 |
|
| 241 |
#enabled-services h2 { |
| 242 |
font-size: 20px; |
| 243 |
padding-top: 0; |
| 244 |
font-weight: 400 !important; |
| 245 |
color: #999; |
| 246 |
} |
| 247 |
|
| 248 |
body.settings_page_sharing #live-preview h2 { |
| 249 |
font-size: 20px; |
| 250 |
font-weight: 400 !important; |
| 251 |
color: #e3e3e3; |
| 252 |
} |
| 253 |
|
| 254 |
body.settings_page_sharing .clearing { |
| 255 |
clear: both; |
| 256 |
} |
| 257 |
|
| 258 |
body.settings_page_sharing .options .options-left { |
| 259 |
float: right; |
| 260 |
} |
| 261 |
|
| 262 |
body.settings_page_sharing .input label { |
| 263 |
font-size: 11px; |
| 264 |
line-height: 16px; |
| 265 |
} |
| 266 |
|
| 267 |
body.settings_page_sharing .advanced-form { |
| 268 |
padding: 10px 10px 8px 14px; |
| 269 |
margin-right: -24px; |
| 270 |
display: none; |
| 271 |
border-top: 1px #e3e3e3 solid; |
| 272 |
margin-top: 4px; |
| 273 |
} |
| 274 |
|
| 275 |
body.settings_page_sharing .utility { |
| 276 |
float: left; |
| 277 |
padding-top: 10px; |
| 278 |
padding-left: 10px; |
| 279 |
font-size: 10px; |
| 280 |
} |
| 281 |
|
| 282 |
body.settings_page_sharing .advanced input[type=submit] { |
| 283 |
float: right; |
| 284 |
margin-top: 10px; |
| 285 |
margin-left: 10px; |
| 286 |
} |
| 287 |
|
| 288 |
.services li.dropzone { |
| 289 |
border: 1px dashed #999; |
| 290 |
border-radius: 3px; |
| 291 |
background: #e3e3e3; |
| 292 |
margin-left: 10px; |
| 293 |
padding: 5px; |
| 294 |
height: 18px; |
| 295 |
} |
| 296 |
|
| 297 |
.advanced-form .form-table th { |
| 298 |
width: auto !important; |
| 299 |
} |
| 300 |
|
| 301 |
.advanced-form .button-secondary { |
| 302 |
margin-top: 0 !important; |
| 303 |
} |
| 304 |
|
| 305 |
#hidden-drop-target { |
| 306 |
background: #e1e1e1; |
| 307 |
border: 1px solid #cdcdcd; |
| 308 |
width: 29%; |
| 309 |
padding: 10px; |
| 310 |
vertical-align: top; |
| 311 |
} |
| 312 |
|
| 313 |
#hidden-drop-target p { |
| 314 |
font-size: 13px; |
| 315 |
font-style: italic; |
| 316 |
margin: 0 0 10px 0; |
| 317 |
} |
| 318 |
|
| 319 |
/* Official button previews */ |
| 320 |
.preview li.preview-item { |
| 321 |
background-position: 100% 5px; |
| 322 |
cursor: default; |
| 323 |
} |
| 324 |
|
| 325 |
.preview .option-smart-on { |
| 326 |
margin: 3px 0 0 5px; |
| 327 |
} |
| 328 |
|
| 329 |
.preview-digg .option-smart-on { |
| 330 |
background: url(../../modules/sharedaddy/images/smart-digg.png) no-repeat top right; |
| 331 |
background-size: 76px 17px; |
| 332 |
width: 76px; |
| 333 |
height: 17px; |
| 334 |
margin-top: 2px; |
| 335 |
} |
| 336 |
|
| 337 |
.preview-facebook .option-smart-on { |
| 338 |
background: url(../../modules/sharedaddy/images/smart-like.png) no-repeat top right; |
| 339 |
background-size: 85px 20px; |
| 340 |
width: 85px; |
| 341 |
height: 20px; |
| 342 |
margin-right: -4px; |
| 343 |
} |
| 344 |
|
| 345 |
.preview-twitter .option-smart-on, |
| 346 |
.preview-x .option-smart-on { |
| 347 |
background: url(../../modules/sharedaddy/images/smart-x.png) no-repeat top right; |
| 348 |
background-size: 60px 20px; |
| 349 |
width: 60px; |
| 350 |
height: 20px; |
| 351 |
} |
| 352 |
|
| 353 |
.preview-linkedin .option-smart-on { |
| 354 |
background: url(../../modules/sharedaddy/images/linkedin-smart.png) no-repeat top center; |
| 355 |
background-size: 99px 18px; |
| 356 |
width: 99px; |
| 357 |
height: 20px; |
| 358 |
} |
| 359 |
|
| 360 |
.preview-tumblr .option-smart-on { |
| 361 |
background: url(../../modules/sharedaddy/images/smart-tumblr.png) no-repeat top right; |
| 362 |
background-size: 62px 20px; |
| 363 |
width: 62px; |
| 364 |
height: 20px; |
| 365 |
} |
| 366 |
|
| 367 |
.preview-pinterest .option-smart-on { |
| 368 |
background: url(../../modules/sharedaddy/images/smart-pinterest.png) no-repeat top right; |
| 369 |
background-size: 39px 20px; |
| 370 |
width: 39px; |
| 371 |
height: 20px; |
| 372 |
} |
| 373 |
|
| 374 |
.preview-pocket .option-smart-on { |
| 375 |
background: url(../../modules/sharedaddy/images/smart-pocket.png) no-repeat top right; |
| 376 |
background-size: 60px 20px; |
| 377 |
width: 60px; |
| 378 |
height: 20px; |
| 379 |
} |
| 380 |
|
| 381 |
.preview-item.share-deprecated { |
| 382 |
opacity: 0.5; |
| 383 |
} |
| 384 |
|
| 385 |
.preview-item.share-deprecated a span { |
| 386 |
text-decoration: line-through; |
| 387 |
} |
| 388 |
|
| 389 |
@media (min-resolution: 120dpi) { |
| 390 |
.preview-digg .option-smart-on { |
| 391 |
background-image: url(../../modules/sharedaddy/images/smart-digg@2x.png); |
| 392 |
} |
| 393 |
.preview-facebook .option-smart-on { |
| 394 |
background-image: url(../../modules/sharedaddy/images/smart-like@2x.png); |
| 395 |
} |
| 396 |
.preview-twitter .option-smart-on, |
| 397 |
.preview-x .option-smart-on { |
| 398 |
background-image: url(../../modules/sharedaddy/images/smart-x@2x.png); |
| 399 |
} |
| 400 |
.preview-linkedin .option-smart-on { |
| 401 |
background-image: url(../../modules/sharedaddy/images/linkedin-smart@2x.png); |
| 402 |
} |
| 403 |
.preview-tumblr .option-smart-on { |
| 404 |
background-image: url(../../modules/sharedaddy/images/smart-tumblr@2x.png); |
| 405 |
} |
| 406 |
.preview-pinterest .option-smart-on { |
| 407 |
background-image: url(../../modules/sharedaddy/images/smart-pinterest@2x.png); |
| 408 |
} |
| 409 |
.preview-pocket .option-smart-on { |
| 410 |
background-image: url(../../modules/sharedaddy/images/smart-pocket@2x.png); |
| 411 |
} |
| 412 |
} |
| 413 |
/** |
| 414 |
* Overflow sharing dialog |
| 415 |
*/ |
| 416 |
.services .sharing-hidden li { |
| 417 |
background-color: transparent; |
| 418 |
} |
| 419 |
|
| 420 |
.sharing-hidden li.share-end { |
| 421 |
clear: both; |
| 422 |
height: 0; |
| 423 |
padding: 0 !important; |
| 424 |
margin: 0 !important; |
| 425 |
width: 0; |
| 426 |
visibility: hidden; |
| 427 |
float: none; |
| 428 |
} |
| 429 |
|
| 430 |
.preview .sharing-label { |
| 431 |
font-weight: 700; |
| 432 |
border: 0; |
| 433 |
padding: 4px 0 0 6px; |
| 434 |
} |
| 435 |
|
| 436 |
#services-config a.remove { |
| 437 |
background: #dcdcde; |
| 438 |
color: #fff; |
| 439 |
padding: 0 4px 2px; |
| 440 |
border-radius: 15px; |
| 441 |
text-decoration: none; |
| 442 |
font-weight: 700; |
| 443 |
font-size: 10px; |
| 444 |
} |
| 445 |
|
| 446 |
#services-config a.remove:hover { |
| 447 |
background: #f00; |
| 448 |
} |
| 449 |
|
| 450 |
.sd-social-icon .inner a.sd-button span, |
| 451 |
.sd-social-icon .inner a.share-icon span { |
| 452 |
display: inline-block; |
| 453 |
overflow: hidden; |
| 454 |
width: 0; |
| 455 |
text-indent: 100%; |
| 456 |
} |
| 457 |
|
| 458 |
.sharing-block-message__items-wrapper { |
| 459 |
display: flex; |
| 460 |
flex-wrap: wrap; |
| 461 |
column-gap: 6rem; |
| 462 |
} |
| 463 |
|
| 464 |
.sharing-block-message__buttons-wrapper .button { |
| 465 |
margin-left: 1rem; |
| 466 |
} |
| 467 |
|
| 468 |
.sharing-block-message__buttons-wrapper .button-primary:visited { |
| 469 |
color: #fff; |
| 470 |
} |
| 471 |
|
| 472 |
.admin-sharing-settings__block-theme-description { |
| 473 |
margin-top: 1rem; |
| 474 |
font-style: italic; |
| 475 |
} |
| 476 |
|
| 477 |
a.dops-card__link { |
| 478 |
cursor: pointer; |
| 479 |
} |
| 480 |
|
| 481 |
.settings-sharing__block-theme-description { |
| 482 |
font-style: italic; |
| 483 |
} |
| 484 |
|