Skip to content

Commit

Permalink
Fixed CSS concatenation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeReV committed Jun 25, 2014
1 parent e8282fa commit bee5df4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
14 changes: 12 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
src: ['public/js', 'public/mpdisco.css']
src: ['public/js', 'public/css']
},
jshint: {
gruntfile: {
Expand Down Expand Up @@ -54,9 +54,11 @@ module.exports = function(grunt) {
debug: {
options: {
compress: false,
mangle: false
mangle: false,
beautify: true
},
files: [{
expand: true,
cwd: 'js',
src: '**/*.js',
dest: 'public/js'
Expand All @@ -65,6 +67,14 @@ module.exports = function(grunt) {
},
sass: {
release: {
options: {
style: 'compressed'
},
files: {
'public/css/mpdisco.css': 'css/mpdisco.scss'
}
},
debug: {
files: {
'public/css/mpdisco.css': 'css/mpdisco.scss'
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions css/mpdisco.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '960.css';
@import 'bootstrap.css';
@import 'bootstrap-theme.css';
@import 'jquery-ui.css';
@import '960.scss';
@import 'bootstrap.scss';
@import 'bootstrap-theme.scss';
@import 'jquery-ui.scss';

html {
background: #956dc6;
Expand Down
2 changes: 1 addition & 1 deletion views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!--<link rel="stylesheet" href="css/normalize.css">-->
<link rel="stylesheet" href="mpdisco.css">
<link rel="stylesheet" href="css/mpdisco.css">
</head>
<body class="container_12">
<div id="container" role="main" class="grid_12"></div>
Expand Down

0 comments on commit bee5df4

Please sign in to comment.