background: -moz-linear-gradient(left, #770c19 0%, #710c1e 12%, #670c29 26%, #510c3f 45%, #260d69 78%, #1b0d73 89%, #150d79 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #770c19 0%,#710c1e 12%,#670c29 26%,#510c3f 45%,#260d69 78%,#1b0d73 89%,#150d79 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #770c19 0%,#710c1e 12%,#670c29 26%,#510c3f 45%,#260d69 78%,#1b0d73 89%,#150d79 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
sass = require 'gulp-sass'
slim = require 'gulp-slim'
coffee = require 'gulp-coffee'
notify = require 'gulp-notify'
plumber = require 'gulp-plumber'
connect = require 'gulp-connect'
gulp = require 'gulp'
paths =
app: 'app'
sass: 'sass/**/*.scss'
slim: 'slim/**/*.slim'
coffee: 'coffee/**/*.coffee'
js: 'js/**/*.js'
########################################
########################################
tsass = ->
gulp.src paths.sass
.pipe plumber { errorHandler: notify.onError message: "<%= error.message %>", title: "Ошибка" }
.pipe sass outputStyle: 'expanded'
.pipe gulp.dest paths.app
.pipe connect.reload( )
########################################
tslim = ->
gulp.src paths.slim
.pipe plumber { errorHandler: notify.onError message: "<%= error.message %>", title: "Ошибка" }
.pipe slim pretty: true
.pipe gulp.dest paths.app
.pipe connect.reload( )
########################################
tjs = ->
gulp.src paths.js
.pipe plumber { errorHandler: notify.onError message: "<%= error.message %>", title: "Ошибка" }
.pipe gulp.dest paths.app
.pipe connect.reload( )
########################################
tcoffee = ->
gulp.src paths.coffee
.pipe plumber { errorHandler: notify.onError message: "<%= error.message %>", title: "Ошибка" }
.pipe coffee bare: true
.pipe gulp.dest paths.app
.pipe connect.reload( )
########################################
twatch = ->
gulp.watch paths.sass, tsass
gulp.watch paths.slim, tslim
gulp.watch paths.coffee, tcoffee
gulp.watch paths.js, tjs
########################################
tconnect = ->
connect.server
root: paths.app
port: 8888
livereload: true
########################################
watch = gulp.parallel tconnect,
gulp.series( gulp.parallel( tslim, tsass, tcoffee, tjs ), twatch )
gulp.task 'default', watch
body.scoll-off {
position: fixed;
width: 100%;
overflow-y: scroll;
}