| @@ -1,0 +1,469 @@ | ||
| 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-pinterest span::before { | |
| 164 | + content: "\f209"; | |
| 165 | +} | |
| 166 | + | |
| 167 | +li.service.share-facebook span::before { | |
| 168 | + content: "\f203"; | |
| 169 | +} | |
| 170 | + | |
| 171 | +li.service.share-press-this span::before { /* Fixme: remove this button in favor of reblog */ | |
| 172 | + content: "\f205"; | |
| 173 | +} | |
| 174 | + | |
| 175 | +li.service.share-telegram span::before { | |
| 176 | + content: "\f606"; | |
| 177 | +} | |
| 178 | + | |
| 179 | +li.service.share-threads span::before { | |
| 180 | + content: "\f10d"; | |
| 181 | +} | |
| 182 | + | |
| 183 | +li.service.share-jetpack-whatsapp span::before { | |
| 184 | + content: "\f608"; | |
| 185 | +} | |
| 186 | + | |
| 187 | +li.service.share-mastodon span::before { | |
| 188 | + content: "\f10a"; | |
| 189 | +} | |
| 190 | + | |
| 191 | +li.service.share-nextdoor span::before { | |
| 192 | + content: "\f10c"; | |
| 193 | +} | |
| 194 | + | |
| 195 | +li.service.share-bluesky span::before { | |
| 196 | + content: "\f10f"; | |
| 197 | +} | |
| 198 | + | |
| 199 | +/** | |
| 200 | + * Preview section | |
| 201 | + */ | |
| 202 | +body.settings_page_sharing ul.preview { | |
| 203 | + display: flex; | |
| 204 | + flex-wrap: wrap; | |
| 205 | + float: right; | |
| 206 | +} | |
| 207 | + | |
| 208 | +body.settings_page_sharing ul.preview li.preview-item, | |
| 209 | +body.settings_page_sharing ul.preview li.preview-item a { | |
| 210 | + cursor: default; | |
| 211 | + text-decoration: none; | |
| 212 | +} | |
| 213 | + | |
| 214 | +div.sd-social-icon ul.preview li.preview-item a span, | |
| 215 | +div.sd-social-icon .inner li.preview-item a span { | |
| 216 | + display: none; | |
| 217 | +} | |
| 218 | + | |
| 219 | +div.sd-social-icon ul.preview li.preview-item.preview-custom a span { | |
| 220 | + display: inline-block; | |
| 221 | +} | |
| 222 | + | |
| 223 | +.services .preview li.share-custom a { | |
| 224 | + text-decoration: none; | |
| 225 | +} | |
| 226 | + | |
| 227 | +.services ul li.end-fix { | |
| 228 | + clear: both; | |
| 229 | + float: none; | |
| 230 | + visibility: hidden; | |
| 231 | + padding: 0; | |
| 232 | + margin: 0; | |
| 233 | + height: 20px; | |
| 234 | + width: 0; | |
| 235 | +} | |
| 236 | + | |
| 237 | +#enabled-services h2 { | |
| 238 | + font-size: 20px; | |
| 239 | + padding-top: 0; | |
| 240 | + font-weight: 400 !important; | |
| 241 | + color: #999; | |
| 242 | +} | |
| 243 | + | |
| 244 | +body.settings_page_sharing #live-preview h2 { | |
| 245 | + font-size: 20px; | |
| 246 | + font-weight: 400 !important; | |
| 247 | + color: #e3e3e3; | |
| 248 | +} | |
| 249 | + | |
| 250 | +body.settings_page_sharing .clearing { | |
| 251 | + clear: both; | |
| 252 | +} | |
| 253 | + | |
| 254 | +body.settings_page_sharing .options .options-left { | |
| 255 | + float: right; | |
| 256 | +} | |
| 257 | + | |
| 258 | +body.settings_page_sharing .input label { | |
| 259 | + font-size: 11px; | |
| 260 | + line-height: 16px; | |
| 261 | +} | |
| 262 | + | |
| 263 | +body.settings_page_sharing .advanced-form { | |
| 264 | + padding: 10px 10px 8px 14px; | |
| 265 | + margin-right: -24px; | |
| 266 | + display: none; | |
| 267 | + border-top: 1px #e3e3e3 solid; | |
| 268 | + margin-top: 4px; | |
| 269 | +} | |
| 270 | + | |
| 271 | +body.settings_page_sharing .utility { | |
| 272 | + float: left; | |
| 273 | + padding-top: 10px; | |
| 274 | + padding-left: 10px; | |
| 275 | + font-size: 10px; | |
| 276 | +} | |
| 277 | + | |
| 278 | +body.settings_page_sharing .advanced input[type=submit] { | |
| 279 | + float: right; | |
| 280 | + margin-top: 10px; | |
| 281 | + margin-left: 10px; | |
| 282 | +} | |
| 283 | + | |
| 284 | +.services li.dropzone { | |
| 285 | + border: 1px dashed #999; | |
| 286 | + border-radius: 3px; | |
| 287 | + background: #e3e3e3; | |
| 288 | + margin-left: 10px; | |
| 289 | + padding: 5px; | |
| 290 | + height: 18px; | |
| 291 | +} | |
| 292 | + | |
| 293 | +.advanced-form .form-table th { | |
| 294 | + width: auto !important; | |
| 295 | +} | |
| 296 | + | |
| 297 | +.advanced-form .button-secondary { | |
| 298 | + margin-top: 0 !important; | |
| 299 | +} | |
| 300 | + | |
| 301 | +#hidden-drop-target { | |
| 302 | + background: #e1e1e1; | |
| 303 | + border: 1px solid #cdcdcd; | |
| 304 | + width: 29%; | |
| 305 | + padding: 10px; | |
| 306 | + vertical-align: top; | |
| 307 | +} | |
| 308 | + | |
| 309 | +#hidden-drop-target p { | |
| 310 | + font-size: 13px; | |
| 311 | + font-style: italic; | |
| 312 | + margin: 0 0 10px 0; | |
| 313 | +} | |
| 314 | + | |
| 315 | +/* Official button previews */ | |
| 316 | +.preview li.preview-item { | |
| 317 | + background-position: 100% 5px; | |
| 318 | + cursor: default; | |
| 319 | +} | |
| 320 | + | |
| 321 | +.preview .option-smart-on { | |
| 322 | + margin: 3px 0 0 5px; | |
| 323 | +} | |
| 324 | + | |
| 325 | +.preview-digg .option-smart-on { | |
| 326 | + background: url(../../modules/sharedaddy/images/smart-digg.png) no-repeat top right; | |
| 327 | + background-size: 76px 17px; | |
| 328 | + width: 76px; | |
| 329 | + height: 17px; | |
| 330 | + margin-top: 2px; | |
| 331 | +} | |
| 332 | + | |
| 333 | +.preview-facebook .option-smart-on { | |
| 334 | + background: url(../../modules/sharedaddy/images/smart-like.png) no-repeat top right; | |
| 335 | + background-size: 85px 20px; | |
| 336 | + width: 85px; | |
| 337 | + height: 20px; | |
| 338 | + margin-right: -4px; | |
| 339 | +} | |
| 340 | + | |
| 341 | +.preview-twitter .option-smart-on, | |
| 342 | +.preview-x .option-smart-on { | |
| 343 | + background: url(../../modules/sharedaddy/images/smart-x.png) no-repeat top right; | |
| 344 | + background-size: 60px 20px; | |
| 345 | + width: 60px; | |
| 346 | + height: 20px; | |
| 347 | +} | |
| 348 | + | |
| 349 | +.preview-linkedin .option-smart-on { | |
| 350 | + background: url(../../modules/sharedaddy/images/linkedin-smart.png) no-repeat top center; | |
| 351 | + background-size: 99px 18px; | |
| 352 | + width: 99px; | |
| 353 | + height: 20px; | |
| 354 | +} | |
| 355 | + | |
| 356 | +.preview-tumblr .option-smart-on { | |
| 357 | + background: url(../../modules/sharedaddy/images/smart-tumblr.png) no-repeat top right; | |
| 358 | + background-size: 62px 20px; | |
| 359 | + width: 62px; | |
| 360 | + height: 20px; | |
| 361 | +} | |
| 362 | + | |
| 363 | +.preview-pinterest .option-smart-on { | |
| 364 | + background: url(../../modules/sharedaddy/images/smart-pinterest.png) no-repeat top right; | |
| 365 | + background-size: 39px 20px; | |
| 366 | + width: 39px; | |
| 367 | + height: 20px; | |
| 368 | +} | |
| 369 | + | |
| 370 | +.preview-item.share-deprecated { | |
| 371 | + opacity: 0.5; | |
| 372 | +} | |
| 373 | + | |
| 374 | +.preview-item.share-deprecated a span { | |
| 375 | + text-decoration: line-through; | |
| 376 | +} | |
| 377 | + | |
| 378 | +@media (min-resolution: 120dpi) { | |
| 379 | + .preview-digg .option-smart-on { | |
| 380 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 381 | + } | |
| 382 | + .preview-facebook .option-smart-on { | |
| 383 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 384 | + } | |
| 385 | + .preview-twitter .option-smart-on, | |
| 386 | + .preview-x .option-smart-on { | |
| 387 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 388 | + } | |
| 389 | + .preview-linkedin .option-smart-on { | |
| 390 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 391 | + } | |
| 392 | + .preview-tumblr .option-smart-on { | |
| 393 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 394 | + } | |
| 395 | + .preview-pinterest .option-smart-on { | |
| 396 | + background-image: url(../../modules/sharedaddy/images/[email protected]); | |
| 397 | + } | |
| 398 | +} | |
| 399 | +/** | |
| 400 | + * Overflow sharing dialog | |
| 401 | + */ | |
| 402 | +.services .sharing-hidden li { | |
| 403 | + background-color: transparent; | |
| 404 | +} | |
| 405 | + | |
| 406 | +.sharing-hidden li.share-end { | |
| 407 | + clear: both; | |
| 408 | + height: 0; | |
| 409 | + padding: 0 !important; | |
| 410 | + margin: 0 !important; | |
| 411 | + width: 0; | |
| 412 | + visibility: hidden; | |
| 413 | + float: none; | |
| 414 | +} | |
| 415 | + | |
| 416 | +.preview .sharing-label { | |
| 417 | + font-weight: 700; | |
| 418 | + border: 0; | |
| 419 | + padding: 4px 0 0 6px; | |
| 420 | +} | |
| 421 | + | |
| 422 | +#services-config a.remove { | |
| 423 | + background: #dcdcde; | |
| 424 | + color: #fff; | |
| 425 | + padding: 0 4px 2px; | |
| 426 | + border-radius: 15px; | |
| 427 | + text-decoration: none; | |
| 428 | + font-weight: 700; | |
| 429 | + font-size: 10px; | |
| 430 | +} | |
| 431 | + | |
| 432 | +#services-config a.remove:hover { | |
| 433 | + background: #f00; | |
| 434 | +} | |
| 435 | + | |
| 436 | +.sd-social-icon .inner a.sd-button span, | |
| 437 | +.sd-social-icon .inner a.share-icon span { | |
| 438 | + display: inline-block; | |
| 439 | + overflow: hidden; | |
| 440 | + width: 0; | |
| 441 | + text-indent: 100%; | |
| 442 | +} | |
| 443 | + | |
| 444 | +.sharing-block-message__items-wrapper { | |
| 445 | + display: flex; | |
| 446 | + flex-wrap: wrap; | |
| 447 | + column-gap: 6rem; | |
| 448 | +} | |
| 449 | + | |
| 450 | +.sharing-block-message__buttons-wrapper .button { | |
| 451 | + margin-left: 1rem; | |
| 452 | +} | |
| 453 | + | |
| 454 | +.sharing-block-message__buttons-wrapper .button-primary:visited { | |
| 455 | + color: #fff; | |
| 456 | +} | |
| 457 | + | |
| 458 | +.admin-sharing-settings__block-theme-description { | |
| 459 | + margin-top: 1rem; | |
| 460 | + font-style: italic; | |
| 461 | +} | |
| 462 | + | |
| 463 | +a.dops-card__link { | |
| 464 | + cursor: pointer; | |
| 465 | +} | |
| 466 | + | |
| 467 | +.settings-sharing__block-theme-description { | |
| 468 | + font-style: italic; | |
| 469 | +} | |