mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-06 15:01:10 +00:00
remove mixins file, run css through autoprefixer
This commit is contained in:
@@ -12,6 +12,7 @@ nodeStatic = require 'node-static'
|
||||
lr = require 'tiny-lr'
|
||||
livereload = require 'gulp-livereload'
|
||||
plumber = require 'gulp-plumber'
|
||||
prefix = require 'gulp-autoprefixer'
|
||||
reloadServer = lr()
|
||||
|
||||
compileCoffee = (debug = false) ->
|
||||
@@ -38,6 +39,7 @@ compileStylus = (debug = false) ->
|
||||
styles = gulp
|
||||
.src('src/stylus/style.styl')
|
||||
.pipe(stylus({set: ['include css']}))
|
||||
.pipe(prefix("last 1 version", "> 1%", "ie 8"))
|
||||
|
||||
styles.pipe(CSSmin()) unless debug
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
"bower": "~1.2.8",
|
||||
"gulp": "~3.5.2",
|
||||
"browserify-shim": "~3.3.1",
|
||||
"gulp-plumber": "~0.5.6"
|
||||
"gulp-plumber": "~0.5.6",
|
||||
"gulp-autoprefixer": "0.0.6"
|
||||
},
|
||||
"browser": {},
|
||||
"browserify-shim": {},
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
vendor(prop, args)
|
||||
-webkit-{prop} args
|
||||
-moz-{prop} args
|
||||
-ms-{prop} args
|
||||
-o-{prop} args
|
||||
{prop} args
|
||||
|
||||
border-radius()
|
||||
vendor('border-radius', arguments)
|
||||
|
||||
user-select()
|
||||
vendor('user-select', arguments)
|
||||
|
||||
box-shadow()
|
||||
vendor('box-shadow', arguments)
|
||||
|
||||
box-sizing()
|
||||
vendor('box-sizing', arguments)
|
||||
|
||||
transition()
|
||||
vendor('transition', arguments)
|
||||
|
||||
transform()
|
||||
vendor('transform', arguments)
|
||||
|
||||
animation()
|
||||
vendor('animation', arguments)
|
||||
@@ -1,4 +1,2 @@
|
||||
@import "mixins"
|
||||
|
||||
body, html
|
||||
margin 0
|
||||
|
||||
Reference in New Issue
Block a user