WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2014 08:29:16 AM (7 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/_admin.scss

    r27106 r27174  
    440440    background: $button-color;
    441441    border-color: darken( $button-color, 10% );
    442     -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    443442    box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
    444443}
Note: See TracChangeset for help on using the changeset viewer.