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