- Timestamp:
- 01/02/2019 03:52:07 AM (6 years ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/blocks.css
r44313 r44381 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); … … 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; -
trunk/src/wp-content/themes/twentyeleven/editor-blocks.css
r44313 r44381 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; … … 386 381 padding: 5px 22px; 387 382 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 383 } 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; 388 396 } 389 397 -
trunk/src/wp-content/themes/twentyfifteen/css/blocks.css
r44313 r44381 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; … … 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; … … 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); -
trunk/src/wp-content/themes/twentyfifteen/css/editor-blocks.css
r44313 r44381 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; … … 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 { -
trunk/src/wp-content/themes/twentyfourteen/css/blocks.css
r44378 r44381 140 140 background-color: #24890d; 141 141 border: 0; 142 border-radius: 2px;143 142 color: #fff; 144 143 font-size: 12px; … … 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; … … 238 235 } 239 236 237 .is-style-outline .wp-block-button__link:not(.has-text-color) { 238 color: #24890d; 239 } 240 240 241 .wp-block-button__link:hover, 241 .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 { 242 245 background-color: #41a62a; 243 246 color: #fff; -
trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css
r44313 r44381 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; … … 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; -
trunk/src/wp-content/themes/twentyseventeen/assets/css/blocks.css
r44313 r44381 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; -
trunk/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
r44313 r44381 709 709 .wp-block-button .wp-block-button__link { 710 710 background-color: #222; 711 -webkit-border-radius: 2px;712 border-radius: 2px;713 711 -webkit-box-shadow: none; 714 712 box-shadow: none; -
trunk/src/wp-content/themes/twentysixteen/css/blocks.css
r44313 r44381 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 } … … 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; -
trunk/src/wp-content/themes/twentysixteen/css/editor-blocks.css
r44313 r44381 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; 552 } 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; 556 561 } 557 562 -
trunk/src/wp-content/themes/twentythirteen/css/blocks.css
r44313 r44381 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; … … 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; … … 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 */ … … 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 */ -
trunk/src/wp-content/themes/twentythirteen/css/editor-blocks.css
r44313 r44381 258 258 border: none; 259 259 border-bottom: 3px solid #b93207; 260 border-radius: 2px;261 260 color: #fff; 262 261 display: inline-block; … … 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; … … 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 */ -
trunk/src/wp-content/themes/twentytwelve/css/blocks.css
r44313 r44381 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; … … 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, … … 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); -
trunk/src/wp-content/themes/twentytwelve/css/editor-blocks.css
r44313 r44381 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; … … 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; … … 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);
Note: See TracChangeset
for help on using the changeset viewer.