Ticket #45541: 45541.1.patch
File 45541.1.patch, 15.0 KB (added by , 6 years ago) |
---|
-
src/wp-content/themes/twentyeleven/blocks.css
232 232 /* Buttons */ 233 233 234 234 .wp-block-button .wp-block-button__link { 235 border: none;236 -moz-border-radius: 3px;237 border-radius: 3px;238 235 -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); 239 236 -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); 240 237 box-shadow: 0px 1px 2px rgba(0,0,0,0.3); … … 242 239 font-size: 15px; 243 240 margin: 20px 0; 244 241 padding: 5px 22px; 242 text-decoration: none; 245 243 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 246 244 } 247 245 248 .wp-block-button__link { 246 .is-style-outline .wp-block-button__link:not(.has-text-color) { 247 color: #222; 248 text-shadow: none; 249 } 250 251 .wp-block-button__link, 252 .wp-block-button .wp-block-button__link:hover, 253 .wp-block-button .is-style-outline .wp-block-button__link:hover { 249 254 background: #222; 250 255 color: #eee; 251 256 } -
src/wp-content/themes/twentyeleven/editor-blocks.css
371 371 /* Buttons */ 372 372 373 373 .wp-block-button .wp-block-button__link { 374 background: #222;375 border: none;376 -moz-border-radius: 3px;377 border-radius: 3px;378 374 -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); 379 375 -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); 380 376 box-shadow: 0px 1px 2px rgba(0,0,0,0.3); 381 color: #eee;382 377 cursor: pointer; 383 378 font-size: 15px; 384 379 line-height: 24px; … … 387 382 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 388 383 } 389 384 385 .wp-block-button__link { 386 background: #222; 387 color: #eee; 388 } 389 390 .is-style-outline .wp-block-button__link { 391 color: #222; 392 } 393 394 .wp-block-button__link.has-text-color { 395 text-shadow: none; 396 } 397 390 398 /* Media & Text */ 391 399 392 400 .wp-block-media-text *:last-child { -
src/wp-content/themes/twentyfifteen/css/blocks.css
384 384 /* Button */ 385 385 386 386 .wp-block-button .wp-block-button__link { 387 border: 0;388 border-radius: 0;389 387 cursor: pointer; 390 388 font-family: "Noto Sans", sans-serif; 391 389 font-size: 12px; … … 397 395 vertical-align: baseline; 398 396 } 399 397 398 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link { 399 border: 0; 400 } 401 402 .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { 403 border-bottom: 2px solid; 404 } 405 400 406 .wp-block-button__link { 401 407 background-color: #333; 402 408 color: #fff; 403 409 } 404 410 411 .is-style-outline .wp-block-button__link:not(.has-text-color) { 412 color: #333; 413 } 414 405 415 .wp-block-button__link:hover, 406 .wp-block-button__link:focus { 416 .wp-block-button__link:focus, 417 .is-style-outline .wp-block-button__link:hover, 418 .is-style-outline .wp-block-button__link:focus { 407 419 background-color: #707070; 408 420 background-color: rgba(51, 51, 51, 0.7); 409 421 color: #fff; -
src/wp-content/themes/twentyfifteen/css/editor-blocks.css
708 708 /* Button */ 709 709 710 710 .wp-block-button .wp-block-button__link { 711 background-color: #333;712 border: 0;713 border-radius: 0;714 color: #fff;715 711 cursor: pointer; 716 712 font-family: "Noto Sans", sans-serif; 717 713 font-size: 12px; … … 722 718 vertical-align: baseline; 723 719 } 724 720 721 .wp-block-button__link { 722 background-color: #333; 723 color: #fff; 724 } 725 726 .is-style-outline .wp-block-button__link { 727 color: #333; 728 } 729 725 730 @media screen and (min-width: 46.25em) { 726 731 .wp-block-button .wp-block-button__link { 727 732 font-size: 14px; -
src/wp-content/themes/twentyfourteen/css/blocks.css
139 139 .wp-block-file .wp-block-file__button { 140 140 background-color: #24890d; 141 141 border: 0; 142 border-radius: 2px;143 142 color: #fff; 144 143 font-size: 12px; 145 144 font-weight: 700; … … 221 220 /* Buttons */ 222 221 223 222 .wp-block-button .wp-block-button__link { 224 border: 0;225 border-radius: 2px;226 223 font-size: 12px; 227 224 font-weight: 700; 228 225 line-height: 15px; 229 226 padding: 10px 30px 11px; 230 227 text-transform: uppercase; 228 text-decoration: none; 231 229 vertical-align: bottom; 232 230 } 233 231 … … 236 234 color: #fff; 237 235 } 238 236 237 .is-style-outline .wp-block-button__link:not(.has-text-color) { 238 color: #24890d; 239 } 240 239 241 .wp-block-button__link:hover, 240 .wp-block-button__link:focus { 242 .wp-block-button__link:focus, 243 .is-style-outline .wp-block-button__link:not(.has-text-color):hover, 244 .is-style-outline .wp-block-button__link:not(.has-text-color):focus { 241 245 background-color: #41a62a; 242 246 color: #fff; 243 247 } -
src/wp-content/themes/twentyfourteen/css/editor-blocks.css
389 389 /* Buttons */ 390 390 391 391 .wp-block-button .wp-block-button__link { 392 background-color: #24890d;393 border: 0;394 border-radius: 2px;395 color: #fff;396 392 font-size: 12px; 397 393 font-weight: 700; 398 394 padding: 10px 30px 11px; … … 400 396 vertical-align: bottom; 401 397 } 402 398 399 .wp-block-button__link { 400 background-color: #24890d; 401 color: #fff; 402 } 403 404 .is-style-outline .wp-block-button__link { 405 color: #24890d; 406 } 407 403 408 .editor-block-list__block .wp-block-button .mce-content-body { 404 409 line-height: normal; 405 410 } -
src/wp-content/themes/twentyseventeen/assets/css/blocks.css
188 188 189 189 .wp-block-button .wp-block-button__link { 190 190 background-color: #222; 191 -webkit-border-radius: 2px;192 border-radius: 2px;193 191 -webkit-box-shadow: none; 194 192 box-shadow: none; 195 193 color: #fff; -
src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
705 705 706 706 .wp-block-button .wp-block-button__link { 707 707 background-color: #222; 708 -webkit-border-radius: 2px;709 border-radius: 2px;710 708 -webkit-box-shadow: none; 711 709 box-shadow: none; 712 710 color: #fff; -
src/wp-content/themes/twentysixteen/css/blocks.css
232 232 /* Buttons */ 233 233 234 234 .wp-block-button .wp-block-button__link { 235 border: 0; 236 border-radius: 2px; 235 box-shadow: none; 237 236 font-family: Montserrat, "Helvetica Neue", sans-serif; 238 237 font-weight: 700; 239 238 letter-spacing: 0.046875em; 240 239 line-height: 1; 241 padding: 0.84375em 0.875em 0.78125em;240 padding: 0.84375em 1.3125em 0.78125em; 242 241 text-transform: uppercase; 243 242 } 244 243 … … 247 246 color: #fff; 248 247 } 249 248 249 .entry-content .is-style-outline .wp-block-button__link:not(.has-background) { 250 background: transparent; 251 } 252 253 .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color) { 254 color: #1a1a1a; 255 } 256 250 257 .entry-content .wp-block-button__link:hover, 251 .entry-content .wp-block-button__link:focus { 258 .entry-content .wp-block-button__link:focus, 259 .entry-content .is-style-outline .wp-block-button__link:not(.has-background):hover, 260 .entry-content .is-style-outline .wp-block-button__link:not(.has-background):focus, 261 .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color):hover, 262 .entry-content .is-style-outline .wp-block-button__link:not(.has-text-color):focus { 252 263 background: #007acc; 253 264 color: #fff; 254 265 } -
src/wp-content/themes/twentysixteen/css/editor-blocks.css
543 543 /* Buttons */ 544 544 545 545 .wp-block-button .wp-block-button__link { 546 background: #1a1a1a;547 border: 0;548 border-radius: 2px;549 color: #fff;550 546 font-family: Montserrat, "Helvetica Neue", sans-serif; 551 547 font-weight: 700; 552 548 letter-spacing: 0.046875em; 553 549 line-height: 1; 554 padding: 0.84375em 0.875em 0.78125em;550 padding: 0.84375em 1.3125em 0.78125em; 555 551 text-transform: uppercase; 556 552 } 557 553 554 .wp-block-button__link { 555 background: #1a1a1a; 556 color: #fff; 557 } 558 559 .is-style-outline .wp-block-button__link { 560 color: #1a1a1a; 561 } 562 558 563 /* Media & Text */ 559 564 560 565 .wp-block-media-text *:last-child { -
src/wp-content/themes/twentythirteen/css/blocks.css
201 201 background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ 202 202 background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ 203 203 border: none; 204 border-radius: 2px; 204 205 border-bottom: 3px solid #b93207; 205 border-radius: 2px;206 206 color: #fff; 207 207 display: inline-block; 208 208 font-size: 16px; … … 336 336 } 337 337 338 338 .wp-block-button .wp-block-button__link { 339 border: none;340 339 border-bottom: 3px solid #b93207; 341 border-radius: 2px;342 340 display: inline-block; 343 341 font-size: 16px; 344 342 padding: 11px 24px 10px; … … 350 348 color: #fff; 351 349 } 352 350 353 .entry-content .wp-block-button __link:not(.has-background) {351 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { 354 352 background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ 355 353 background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ 356 354 } 357 355 358 356 .entry-content .wp-block-button__link:hover, 359 .entry-content .wp-block-button__link:focus { 357 .entry-content .wp-block-button__link:focus, 358 .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover, 359 .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):focus { 360 360 background: #ed6a31; 361 361 color: #fff; 362 362 } 363 363 364 .wp-block-button.is-style-outline .wp-block-button__link { 365 background-color: inherit; 366 border-color: inherit; 367 border-width: 2px; 368 } 369 370 .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) { 371 color: #ed6a31; 372 } 373 364 374 .entry-content .wp-block-button__link:not(.has-background):hover, 365 .entry-content .wp-block-button__link:not(.has-background):hover { 375 .entry-content .wp-block-button__link:not(.has-background):hover, 376 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover { 366 377 background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */ 367 378 background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */ 368 379 } -
src/wp-content/themes/twentythirteen/css/editor-blocks.css
257 257 background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ 258 258 border: none; 259 259 border-bottom: 3px solid #b93207; 260 border-radius: 2px;261 260 color: #fff; 262 261 display: inline-block; 263 262 font-size: 16px; … … 326 325 /* Buttons */ 327 326 328 327 .wp-block-button .wp-block-button__link { 329 background: #e05d22;330 border: none;331 border-bottom: 3px solid #b93207;332 border-radius: 2px;333 color: #fff;334 328 display: inline-block; 335 329 font-size: 16px; 336 330 line-height: 24px; … … 338 332 text-decoration: none; 339 333 } 340 334 341 .wp-block-button__link:not(.has-background) { 335 .wp-block-button__link { 336 background: #e05d22; 337 border-bottom: 3px solid #b93207; 338 color: #fff; 339 } 340 341 .is-style-outline .wp-block-button__link { 342 border-width: 2px; 343 color: #e05d22; 344 } 345 346 .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { 342 347 background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */ 343 348 background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */ 344 349 } -
src/wp-content/themes/twentytwelve/css/blocks.css
246 246 247 247 .wp-block-button .wp-block-button__link { 248 248 border: 1px solid #d2d2d2; 249 border-radius: 3px;250 249 font-family: inherit; 251 250 font-size: 11px; 252 251 font-size: 0.785714286rem; … … 262 261 color: #7c7c7c; 263 262 } 264 263 264 .wp-block-button.is-style-outline .wp-block-button__link, 265 .wp-block-button.is-style-outline .wp-block-button__link:visited { 266 background-color: inherit; 267 border-color: inherit; 268 } 269 265 270 .entry-content .wp-block-button__link:hover, 266 271 .entry-content .wp-block-button__link:visited:hover, 267 272 .entry-content .wp-block-button__link:focus { … … 274 279 color: #757575; 275 280 } 276 281 277 .wp-block-button __link:not(.has-background) {282 .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { 278 283 background-repeat: repeat-x; 279 284 background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); 280 285 background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6); -
src/wp-content/themes/twentytwelve/css/editor-blocks.css
234 234 text-decoration: underline; 235 235 } 236 236 237 .wp-block-file .wp-block-file__button, 238 .wp-block-button .wp-block-file__button:hover { 237 .wp-block-file .wp-block-file__button { 239 238 background-color: #e6e6e6; 240 239 background-repeat: repeat-x; 241 240 background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); … … 342 341 343 342 .wp-block-button .wp-block-button__link { 344 343 border: 1px solid #d2d2d2; 345 border-radius: 3px;346 344 font-family: inherit; 347 345 font-size: 11px; 348 346 font-weight: normal; … … 358 356 box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); 359 357 } 360 358 361 .wp-block-button .wp-block-button__link:not(.has-background) { 359 .wp-block-button.is-style-outline .wp-block-button__link { 360 background-color: inherit; 361 border-color: inherit; 362 } 363 364 .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { 362 365 background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); 363 366 background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6); 364 367 background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);