Make WordPress Core


Ignore:
Timestamp:
02/13/2014 08:29:16 AM (12 years ago)
Author:
nacin
Message:

Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes.

We'll be using it for two distinct tasks:

  • Core CSS files will keep prefixes. grunt autoprefixer:core will update files directly in src/ as a pre-commit step, rather than doing it on build.
  • Color CSS files will receive prefixes when they are built.

This commit:

  • Adds prefixes we were missing to core CSS.
  • Removes prefixes that we no longer need from core CSS.
  • Removes all prefixes from colors CSS.

props ocean90.
fixes #27078.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_mixins.scss

    r26993 r27174  
    11/*
    2  * Button mixin- creates 3d-ish button effect with correct 
     2 * Button mixin- creates 3d-ish button effect with correct
    33 * highlights/shadows, based on a base color.
    44 */
     
    77    border-color: darken( $button-color, 10% );
    88    color: $text-color;
    9     -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    109    box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    1110
     
    1514        border-color: darken( $button-color, 15% );
    1615        color: $text-color;
    17         -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
    1816        box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
    1917    }
     
    2321        border-color: darken( $button-color, 15% );
    2422        color: $text-color;
    25         -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    2623        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    2724    }
Note: See TracChangeset for help on using the changeset viewer.