Make WordPress Core

Ticket #35571: 35571.2.patch

File 35571.2.patch, 3.7 KB (added by iseulde, 9 years ago)
  • src/wp-includes/css/buttons.css

     
    162162.wp-core-ui .button-secondary:active {
    163163        background: #eee;
    164164        border-color: #999;
    165         -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    166         box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    167         -webkit-transform: translateY(1px);
    168         -ms-transform: translateY(1px);
    169         transform: translateY(1px);
     165        -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     166        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     167        -webkit-transform: translateY(1px);
     168        -ms-transform: translateY(1px);
     169        transform: translateY(1px);
    170170}
    171171
    172172.wp-core-ui .button.active:focus {
     
    224224        background: #0085ba;
    225225        border-color: #0073aa #006799 #006799;
    226226        -webkit-box-shadow: 0 1px 0 #006799;
    227         box-shadow: 0 1px 0 #006799;
    228         color: #fff;
     227        box-shadow: 0 1px 0 #006799;
     228        color: #fff;
    229229        text-decoration: none;
    230230        text-shadow: 0 -1px 1px #006799,
    231231                1px 0 1px #006799,
     
    256256.wp-core-ui .button-primary:active {
    257257        background: #0073aa;
    258258        border-color: #006799;
    259         -webkit-box-shadow: inset 0 2px 0 #006799;
    260         box-shadow: inset 0 2px 0 #006799;
    261         vertical-align: top;
     259        -webkit-box-shadow: inset 0 2px 0 #006799;
     260        box-shadow: inset 0 2px 0 #006799;
     261        vertical-align: top;
    262262}
    263263
    264264.wp-core-ui .button-primary[disabled],
  • src/wp-includes/css/jquery-ui-dialog.css

     
    200200        color: #555;
    201201        border-color: #cccccc;
    202202        background: #f7f7f7;
    203         -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
    204         box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
    205         vertical-align: top;
     203        -webkit-box-shadow: 0 1px 0 #cccccc;
     204        box-shadow: 0 1px 0 #cccccc;
     205        vertical-align: top;
    206206}
    207207
    208208.ui-button:active,
     
    212212
    213213/* Remove the dotted border on :focus and the extra padding in Firefox */
    214214.ui-button::-moz-focus-inner {
    215         border-width: 1px 0;
    216         border-style: solid none;
    217         border-color: transparent;
     215        border-width: 0;
     216        border-style: none;
    218217        padding: 0;
    219218}
    220219
     
    226225}
    227226
    228227.ui-button:focus {
    229         -webkit-box-shadow:
    230                 0 0 0 1px #5b9dd9,
    231                 0 0 2px 1px rgba( 30, 140, 190, 0.8 );
    232         box-shadow:
    233                 0 0 0 1px #5b9dd9,
    234                 0 0 2px 1px rgba( 30, 140, 190, 0.8 );
     228        border-color: #5b9dd9;
     229        -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
     230        box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    235231}
    236232
    237233.ui-button:active {
    238234        background: #eee;
    239235        border-color: #999;
    240         color: #32373c;
    241236        -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    242237        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     238        -webkit-transform: translateY(1px);
     239        -ms-transform: translateY(1px);
     240        transform: translateY(1px);
    243241}
    244242
    245243.ui-button[disabled],
     
    251249        box-shadow: none !important;
    252250        text-shadow: 0 1px 0 #fff !important;
    253251        cursor: default;
     252        -webkit-transform: none !important;
     253        -ms-transform: none !important;
     254        transform: none !important;
    254255}
    255256
    256257@media screen and ( max-width: 782px ) {
    257258
    258259        .ui-button {
    259                 padding: 10px 14px;
    260                 line-height: 1;
     260                padding: 6px 14px;
     261                line-height: normal;
    261262                font-size: 14px;
    262263                vertical-align: middle;
    263264                height: auto;
     
    280281
    281282.ui-dialog-titlebar {
    282283        background: #fcfcfc;
    283         border-bottom: 1px solid #ddd;
     284        border-bottom: 1px solid #dfdfdf;
    284285        height: 36px;
    285286        font-size: 18px;
    286287        font-weight: 600;
     
    332333
    333334.ui-dialog-buttonpane {
    334335        background: #fcfcfc;
    335         border-top: 1px solid #ddd;
     336        border-top: 1px solid #dfdfdf;
    336337        padding: 16px;
    337338}
    338339