| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | float: right; |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | #services-config h3 { |
| 11 | - font-weight: normal; | |
| 11 | + font-weight: 400; | |
| 12 | 12 | font-size: 15px; |
| 13 | 13 | margin: 0; |
| 14 | 14 | padding: 8px 10px; |
| 15 | 15 | overflow: hidden; |
| @@ -16,9 +16,11 @@ | ||
| 16 | 16 | white-space: nowrap; |
| 17 | 17 | color: #464646; |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | -#available-services, #enabled-services, #live-preview { | |
| 20 | +#available-services, | |
| 21 | +#enabled-services, | |
| 22 | +#live-preview { | |
| 21 | 23 | padding: 0; |
| 22 | 24 | width: 100%; |
| 23 | 25 | padding-top: 20px; |
| 24 | 26 | border-spacing: 0; |
| @@ -31,10 +33,11 @@ | ||
| 31 | 33 | #enabled-services { |
| 32 | 34 | padding-bottom: 20px; |
| 33 | 35 | } |
| 34 | 36 | |
| 35 | -#available-services, #enabled-services { | |
| 36 | - border-bottom: 2px solid #cccccc; | |
| 37 | +#available-services, | |
| 38 | +#enabled-services { | |
| 39 | + border-bottom: 2px solid #ccc; | |
| 37 | 40 | } |
| 38 | 41 | |
| 39 | 42 | #live-preview { |
| 40 | 43 | border-bottom: 1px solid #dcdcde; |
| @@ -40,11 +43,13 @@ | ||
| 40 | 43 | border-bottom: 1px solid #dcdcde; |
| 41 | 44 | padding-bottom: 60px; |
| 42 | 45 | } |
| 43 | 46 | |
| 44 | -#available-services h3, #enabled-services h3, #live-preview h3 { | |
| 45 | - padding: 0px; | |
| 46 | - margin-top: 0px; | |
| 47 | +#available-services h3, | |
| 48 | +#enabled-services h3, | |
| 49 | +#live-preview h3 { | |
| 50 | + padding: 0; | |
| 51 | + margin-top: 0; | |
| 47 | 52 | margin-bottom: 1em; |
| 48 | 53 | } |
| 49 | 54 | |
| 50 | 55 | body.settings_page_sharing .description { |
| @@ -57,9 +62,9 @@ | ||
| 57 | 62 | font-style: italic; |
| 58 | 63 | } |
| 59 | 64 | |
| 60 | 65 | body.settings_page_sharing .services { |
| 61 | - padding: 0px 20px; | |
| 66 | + padding: 0 20px; | |
| 62 | 67 | vertical-align: top; |
| 63 | 68 | } |
| 64 | 69 | |
| 65 | 70 | body.settings_page_sharing .services ul li { |
| @@ -77,10 +82,11 @@ | ||
| 77 | 82 | margin-bottom: 0; |
| 78 | 83 | } |
| 79 | 84 | |
| 80 | 85 | /* Generic style */ |
| 81 | -#available-services .service, #enabled-services .service { | |
| 82 | - color: #2C3338 !important; | |
| 86 | +#available-services .service, | |
| 87 | +#enabled-services .service { | |
| 88 | + color: #2c3338 !important; | |
| 83 | 89 | display: inline-block; |
| 84 | 90 | font-family: "Open Sans", sans-serif; |
| 85 | 91 | font-size: 13px; |
| 86 | 92 | font-weight: 500; |
| @@ -91,14 +97,16 @@ | ||
| 91 | 97 | background: #fff; |
| 92 | 98 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.12); |
| 93 | 99 | } |
| 94 | 100 | |
| 95 | -#available-services .service .options-left, #enabled-services .service .options-left { | |
| 101 | +#available-services .service .options-left, | |
| 102 | +#enabled-services .service .options-left { | |
| 96 | 103 | align-items: center; |
| 97 | 104 | display: flex; |
| 98 | 105 | } |
| 99 | 106 | |
| 100 | -#available-services .service:hover, #enabled-services .service:hover { | |
| 107 | +#available-services .service:hover, | |
| 108 | +#enabled-services .service:hover { | |
| 101 | 109 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.22); |
| 102 | 110 | } |
| 103 | 111 | |
| 104 | 112 | #available-services .service.share-deprecated, |
| @@ -112,11 +120,11 @@ | ||
| 112 | 120 | display: none; |
| 113 | 121 | } |
| 114 | 122 | |
| 115 | 123 | /* Generic style icons */ |
| 116 | -li.service span:before { | |
| 124 | +li.service span::before { | |
| 117 | 125 | -webkit-font-smoothing: antialiased; |
| 118 | - font: normal 18px/1 "social-logos"; | |
| 126 | + font: 400 18px/1 social-logos; | |
| 119 | 127 | position: relative; |
| 120 | 128 | top: -1px; |
| 121 | 129 | margin-left: 6px; |
| 122 | 130 | width: 16px; |
| @@ -122,77 +130,70 @@ | ||
| 122 | 130 | width: 16px; |
| 123 | 131 | height: 16px; |
| 124 | 132 | } |
| 125 | 133 | |
| 126 | -li.service.share-print span:before { | |
| 134 | +li.service.share-print span::before { | |
| 127 | 135 | content: "\f469"; |
| 128 | 136 | } |
| 129 | 137 | |
| 130 | -li.service.share-digg span:before { | |
| 138 | +li.service.share-digg span::before { | |
| 131 | 139 | content: "\f221"; |
| 132 | 140 | } |
| 133 | 141 | |
| 134 | -li.service.share-email span:before { | |
| 142 | +li.service.share-email span::before { | |
| 135 | 143 | content: "\f410"; |
| 136 | 144 | } |
| 137 | 145 | |
| 138 | -li.service.share-linkedin span:before { | |
| 146 | +li.service.share-linkedin span::before { | |
| 139 | 147 | content: "\f207"; |
| 140 | 148 | } |
| 141 | 149 | |
| 142 | -li.service.share-twitter span:before { | |
| 143 | - content: "\f202"; | |
| 150 | +li.service.share-x span::before, | |
| 151 | +li.service.share-twitter span::before { | |
| 152 | + content: "\f10e"; | |
| 144 | 153 | } |
| 145 | 154 | |
| 146 | -li.service.share-reddit span:before { | |
| 155 | +li.service.share-reddit span::before { | |
| 147 | 156 | content: "\f222"; |
| 148 | 157 | } |
| 149 | 158 | |
| 150 | -li.service.share-tumblr span:before { | |
| 159 | +li.service.share-tumblr span::before { | |
| 151 | 160 | content: "\f214"; |
| 152 | 161 | } |
| 153 | 162 | |
| 154 | -li.service.share-pocket span:before { | |
| 155 | - content: "\f224"; | |
| 156 | -} | |
| 157 | - | |
| 158 | -li.service.share-pinterest span:before { | |
| 163 | +li.service.share-pinterest span::before { | |
| 159 | 164 | content: "\f209"; |
| 160 | 165 | } |
| 161 | 166 | |
| 162 | -li.service.share-facebook span:before { | |
| 167 | +li.service.share-facebook span::before { | |
| 163 | 168 | content: "\f203"; |
| 164 | 169 | } |
| 165 | 170 | |
| 166 | -li.service.share-press-this span:before { /* Fixme: remove this button in favor of reblog */ | |
| 171 | +li.service.share-press-this span::before { /* Fixme: remove this button in favor of reblog */ | |
| 167 | 172 | content: "\f205"; |
| 168 | 173 | } |
| 169 | 174 | |
| 170 | -li.service.share-telegram span:before { | |
| 175 | +li.service.share-telegram span::before { | |
| 171 | 176 | content: "\f606"; |
| 172 | 177 | } |
| 173 | 178 | |
| 174 | -li.service.share-threads span:before { | |
| 179 | +li.service.share-threads span::before { | |
| 175 | 180 | content: "\f10d"; |
| 176 | 181 | } |
| 177 | 182 | |
| 178 | -li.service.share-jetpack-whatsapp span:before { | |
| 183 | +li.service.share-jetpack-whatsapp span::before { | |
| 179 | 184 | content: "\f608"; |
| 180 | 185 | } |
| 181 | 186 | |
| 182 | -li.service.share-mastodon span:before { | |
| 187 | +li.service.share-mastodon span::before { | |
| 183 | 188 | content: "\f10a"; |
| 184 | 189 | } |
| 185 | 190 | |
| 186 | -li.service.share-nextdoor span:before { | |
| 191 | +li.service.share-nextdoor span::before { | |
| 187 | 192 | content: "\f10c"; |
| 188 | 193 | } |
| 189 | 194 | |
| 190 | -li.service.share-x span:before { | |
| 191 | - content: "\f10e"; | |
| 192 | -} | |
| 193 | - | |
| 194 | -li.service.share-bluesky span:before { | |
| 195 | +li.service.share-bluesky span::before { | |
| 195 | 196 | content: "\f10f"; |
| 196 | 197 | } |
| 197 | 198 | |
| 198 | 199 | /** |
| @@ -203,9 +204,10 @@ | ||
| 203 | 204 | flex-wrap: wrap; |
| 204 | 205 | float: right; |
| 205 | 206 | } |
| 206 | 207 | |
| 207 | -body.settings_page_sharing ul.preview li.preview-item, body.settings_page_sharing ul.preview li.preview-item a { | |
| 208 | +body.settings_page_sharing ul.preview li.preview-item, | |
| 209 | +body.settings_page_sharing ul.preview li.preview-item a { | |
| 208 | 210 | cursor: default; |
| 209 | 211 | text-decoration: none; |
| 210 | 212 | } |
| 211 | 213 | |
| @@ -233,16 +235,16 @@ | ||
| 233 | 235 | } |
| 234 | 236 | |
| 235 | 237 | #enabled-services h2 { |
| 236 | 238 | font-size: 20px; |
| 237 | - padding-top: 0px; | |
| 238 | - font-weight: normal !important; | |
| 239 | + padding-top: 0; | |
| 240 | + font-weight: 400 !important; | |
| 239 | 241 | color: #999; |
| 240 | 242 | } |
| 241 | 243 | |
| 242 | 244 | body.settings_page_sharing #live-preview h2 { |
| 243 | 245 | font-size: 20px; |
| 244 | - font-weight: normal !important; | |
| 246 | + font-weight: 400 !important; | |
| 245 | 247 | color: #e3e3e3; |
| 246 | 248 | } |
| 247 | 249 | |
| 248 | 250 | body.settings_page_sharing .clearing { |
| @@ -311,9 +313,9 @@ | ||
| 311 | 313 | } |
| 312 | 314 | |
| 313 | 315 | /* Official button previews */ |
| 314 | 316 | .preview li.preview-item { |
| 315 | - background-position: 0px 5px; | |
| 317 | + background-position: 100% 5px; | |
| 316 | 318 | cursor: default; |
| 317 | 319 | } |
| 318 | 320 | |
| 319 | 321 | .preview .option-smart-on { |
| @@ -364,15 +366,8 @@ | ||
| 364 | 366 | width: 39px; |
| 365 | 367 | height: 20px; |
| 366 | 368 | } |
| 367 | 369 | |
| 368 | -.preview-pocket .option-smart-on { | |
| 369 | - background: url(../../modules/sharedaddy/images/smart-pocket.png) no-repeat top right; | |
| 370 | - background-size: 60px 20px; | |
| 371 | - width: 60px; | |
| 372 | - height: 20px; | |
| 373 | -} | |
| 374 | - | |
| 375 | 370 | .preview-item.share-deprecated { |
| 376 | 371 | opacity: 0.5; |
| 377 | 372 | } |
| 378 | 373 | |
| @@ -399,11 +394,8 @@ | ||
| 399 | 394 | } |
| 400 | 395 | .preview-pinterest .option-smart-on { |
| 401 | 396 | background-image: url(../../modules/sharedaddy/images/smart-pinterest@2x.png); |
| 402 | 397 | } |
| 403 | - .preview-pocket .option-smart-on { | |
| 404 | - background-image: url(../../modules/sharedaddy/images/smart-pocket@2x.png); | |
| 405 | - } | |
| 406 | 398 | } |
| 407 | 399 | /** |
| 408 | 400 | * Overflow sharing dialog |
| 409 | 401 | */ |
| @@ -413,10 +405,10 @@ | ||
| 413 | 405 | |
| 414 | 406 | .sharing-hidden li.share-end { |
| 415 | 407 | clear: both; |
| 416 | 408 | height: 0; |
| 417 | - padding: 0px !important; | |
| 418 | - margin: 0px !important; | |
| 409 | + padding: 0 !important; | |
| 410 | + margin: 0 !important; | |
| 419 | 411 | width: 0; |
| 420 | 412 | visibility: hidden; |
| 421 | 413 | float: none; |
| 422 | 414 | } |
| @@ -421,9 +413,9 @@ | ||
| 421 | 413 | float: none; |
| 422 | 414 | } |
| 423 | 415 | |
| 424 | 416 | .preview .sharing-label { |
| 425 | - font-weight: bold; | |
| 417 | + font-weight: 700; | |
| 426 | 418 | border: 0; |
| 427 | 419 | padding: 4px 0 0 6px; |
| 428 | 420 | } |
| 429 | 421 | |
| @@ -429,14 +421,12 @@ | ||
| 429 | 421 | |
| 430 | 422 | #services-config a.remove { |
| 431 | 423 | background: #dcdcde; |
| 432 | 424 | color: #fff; |
| 433 | - padding: 0px 4px 2px; | |
| 425 | + padding: 0 4px 2px; | |
| 434 | 426 | border-radius: 15px; |
| 435 | - -moz-border-radius: 15px; | |
| 436 | - -webkit-border-radius: 15px; | |
| 437 | 427 | text-decoration: none; |
| 438 | - font-weight: bold; | |
| 428 | + font-weight: 700; | |
| 439 | 429 | font-size: 10px; |
| 440 | 430 | } |
| 441 | 431 | |
| 442 | 432 | #services-config a.remove:hover { |
| @@ -458,8 +448,12 @@ | ||
| 458 | 448 | } |
| 459 | 449 | |
| 460 | 450 | .sharing-block-message__buttons-wrapper .button { |
| 461 | 451 | margin-left: 1rem; |
| 452 | +} | |
| 453 | + | |
| 454 | +.sharing-block-message__buttons-wrapper .button-primary:visited { | |
| 455 | + color: #fff; | |
| 462 | 456 | } |
| 463 | 457 | |
| 464 | 458 | .admin-sharing-settings__block-theme-description { |
| 465 | 459 | margin-top: 1rem; |