diff --git a/gulpfile.js b/gulpfile.js index 6241af60..f71621a9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,8 +81,8 @@ gulp.task("webpack-dev-server", function () { gulp.task("styles-app", function () { var includedStyles = [ - "resources/assets/styles/base/colorbox.css", - "resources/assets/styles/app.less" + "node_modules/angular-material/angular-material.css", + "resources/assets/styles/app.less", ]; if (!argv.production) { @@ -108,30 +108,32 @@ gulp.task("styles-app", function () { // note that we're not doing autoprefixer on dev builds for now to shave off roughly 600-700 milliseconds per // build. It's already taking forever to recompile the less - return argv.production + if (argv.production) { // Production pipeline - ? gulp.src(includedStyles, {base: "resources/assets/styles"}) - .pipe(plug.plumber(plumberOptions)) - .pipe(plug.if(/\.less/, plug.less())) - .pipe(plug.autoprefixer({ - browsers: ["last 2 versions"], - cascade: false - })) - .pipe(plug.concat("app.css")) - .pipe(plug.cleanCss()) - .pipe(header(licenseHeader)) - .pipe(gulp.dest("public/build/styles")) - + return gulp.src(includedStyles) + .pipe(plug.plumber(plumberOptions)) + .pipe(plug.if(/\.less/, plug.less())) + .pipe(plug.autoprefixer({ + browsers: ["last 2 versions"], + cascade: false + })) + .pipe(plug.concat("app.css")) + .pipe(plug.cleanCss()) + .pipe(header(licenseHeader)) + .pipe(gulp.dest("public/build/styles")); + } else { // Development pipeline - : gulp.src(includedStyles, {base: "resources/assets/styles"}) - .pipe(plug.plumber(plumberOptions)) - .pipe(plug.cached("styles")) - .pipe(plug.sourcemaps.init()) - .pipe(plug.if(/\.less/, plug.less())) - .pipe(header(licenseHeader)) - .pipe(plug.sourcemaps.write()) - .pipe(gulp.dest("public/build/styles")) - .pipe(plug.livereload()); + return gulp.src(includedStyles) + .pipe(plug.plumber(plumberOptions)) + .pipe(plug.cached("styles")) + .pipe(plug.sourcemaps.init()) + .pipe(plug.if(/\.less/, plug.less())) + .pipe(plug.concat("app.css")) + .pipe(header(licenseHeader)) + .pipe(plug.sourcemaps.write()) + .pipe(gulp.dest("public/build/styles")) + .pipe(plug.livereload()); + } }); gulp.task("styles-embed", function () { diff --git a/public/templates/directives/favourite-button.html b/public/templates/directives/favourite-button.html index f9778b26..649bab6e 100644 --- a/public/templates/directives/favourite-button.html +++ b/public/templates/directives/favourite-button.html @@ -1,10 +1,10 @@ - - - Favourite This! - favorite_border - - - In Your Favourites - favorite - - +
+ + Favourite + favorite_border + + + In your favourites + favorite + +
diff --git a/public/templates/partials/credits-dialog.html b/public/templates/partials/credits-dialog.html index a8a860b1..039f3390 100644 --- a/public/templates/partials/credits-dialog.html +++ b/public/templates/partials/credits-dialog.html @@ -2,7 +2,6 @@ @@ -59,6 +58,6 @@ - Close + Close diff --git a/public/templates/partials/playlist-share-dialog.html b/public/templates/partials/playlist-share-dialog.html index 4f9e630e..12ed5fac 100644 --- a/public/templates/partials/playlist-share-dialog.html +++ b/public/templates/partials/playlist-share-dialog.html @@ -1,19 +1,16 @@ -