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