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