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