• Robert Knight's avatar
    Use autoprefixer to add vendor prefixes to CSS · 00c29fe7
    Robert Knight authored
    Use postcss and the autoprefixer plugin to post-process
    CSS to add vendor prefixes and remove use of compass
    mixins which did the same thing.
    
    This moves compatibility concerns out of our styling
    and down to a post-processor whose options can be adjusted
    as necessary and moves us a step towards removing the
    build dependency on compass.
    
    Looking at the generated output, it fixes several issues
    where we were inconsistent about which prefixes were used.
    
    Pyramid webassets does have an autoprefixer filter but
    it was written for an older version of autoprefixer which
    was a standalone tool rather than a postcss plugin. In future
    this also paves the way to replacing the cleancss asset filter
    with an optional step in the postcss-filter.js script.
    00c29fe7
topbar.scss 824 Bytes