Make WordPress Core

Changeset 31598


Ignore:
Timestamp:
03/02/2015 01:17:26 AM (10 years ago)
Author:
azaozz
Message:

PressThis: fix and update buttons styles. Props Michael-Arestad. Fixes #31498.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/press-this.css

    r31583 r31598  
    313313* Pushing buttons is what I do.
    314314*/
    315 .button-primary,
     315
    316316.button-subtle,
    317317.scan-submit {
     
    331331}
    332332
    333 .button-primary {
    334     background: #2ea2cc;
    335     border-color: #2581a2;
    336     color: #fff;
    337 }
    338 
    339 .button-primary:hover,
    340 .button-primary:focus {
    341     background: #2991b7;
    342     border-color: #20708e;
    343     color: #fff;
    344     outline: 0;
    345 }
    346 
    347 .button-primary:active {
    348     background: #2581a2;
    349     border-color: #20708e;
    350     color: #fff;
    351 }
    352 
    353 .button-primary[disabled],
    354 .button-primary:disabled {
    355     color: #c7ced1 !important;
    356     background: #2688ab !important;
    357     border-color: #20708e !important;
    358 }
    359 
    360 .button-primary:visited {
    361     color: #fff;
    362 }
    363 
    364333.button-subtle {
    365334    background: none;
     
    395364.button-reset:focus {
    396365    outline: 0;
     366}
     367
     368.button-link {
     369    margin: 0;
     370    padding: 0;
     371    border: 0;
     372    background: none;
     373    color: #0074a2;
     374    cursor: pointer;
     375    -webkit-appearance: none;
     376}
     377
     378.button-link:hover,
     379.button-link:active,
     380.button-link:focus {
     381    color: #2ea2cc;
     382    text-decoration: underline;
    397383}
    398384
     
    668654    -webkit-border-radius: 0;
    669655    border-radius: 0;
     656    margin: 0;
    670657    padding: 0 16px;
    671658    background: #f7f7f7;
    672659    border-left: 1px solid #f1f1f1;
     660    -webkit-box-shadow: none;
     661    box-shadow: none;
    673662}
    674663
     
    680669    border-color: #20708e;
    681670    color: #fff;
     671    -webkit-box-shadow: none;
     672    box-shadow: none;
    682673}
    683674
  • trunk/src/wp-includes/css/buttons.css

    r29466 r31598  
    341341    /* Reset responsive styles in Press This, Customizer */
    342342
    343     .wp-core-ui.wp-customizer .button,
    344     .press-this.wp-core-ui .button,
    345     .press-this input#publish,
    346     .press-this input#save-post,
    347     .press-this a.preview {
     343    .wp-core-ui.wp-customizer .button {
    348344        padding: 0 10px 1px;
    349345        font-size: 13px;
Note: See TracChangeset for help on using the changeset viewer.