Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Fix for CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
TheModFather committed Sep 14, 2013
1 parent 9bfc26d commit 706d981
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
12 changes: 11 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ module.exports = function(grunt) {
}
}
},
connect: {
server: {
options: {
port: 9001,
base: '.'
}
}
},
clean: {
default: ['bower_components', 'lib'],
dist: ['dist'],
Expand All @@ -116,9 +124,11 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-connect');

// Default task.
grunt.registerTask('default', ['clean', 'bower', 'jshint', 'qunit', 'requirejs', 'uglify', 'less']);
//grunt.registerTask('devserver', ['bower', 'lint', 'qunit', 'recess', 'server', 'watch']); // development server
grunt.registerTask('devserver', ['bower', 'jshint', 'qunit', 'connect', 'watch']); // development server

};
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en" class="fuelux">
<html lang="en" class="dieselui">
<head>
<meta charset="utf-8">
<title>Fuel UX 2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="dist/css/fuelux.css" rel="stylesheet">
<link href="dist/css/dieselui.css" rel="stylesheet">

<script src="lib/require.js"></script>
<script src="lib/requirejs/require.js"></script>

<style type="text/css">
body {
Expand Down Expand Up @@ -48,14 +48,14 @@
<script>
requirejs.config({
paths: {
'jquery': 'lib/jquery',
'jquery': 'lib/jquery/jquery',
'underscore': 'http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min',
'bootstrap': 'lib/bootstrap/js',
'fuelux': 'src'
'bootstrap': 'lib/bootstrap/bootstrap',
'dieselui': 'src'
}
});

require(['jquery', 'sample/data', 'sample/datasource', 'sample/datasourceTree', 'fuelux/all'], function ($, sampleData, StaticDataSource, DataSourceTree) {
require(['jquery', 'sample/data', 'sample/datasource', 'sample/datasourceTree', 'dieselui/all'], function ($, sampleData, StaticDataSource, DataSourceTree) {

// COMBOBOX
$('#btnComboboxDisable').on('click', function () {
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"grunt-bower-task": "~0.3.2",
"grunt-contrib-less": "~0.7.0",
"grunt-contrib-requirejs": "~0.4.1",
"grunt-contrib-uglify": "~0.2.4"
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-connect": "~0.5.0"
},
"keywords": [
"dieselui",
Expand Down
2 changes: 1 addition & 1 deletion src/less/dieselui.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.fuelux {
.dieselui {

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
Expand Down

0 comments on commit 706d981

Please sign in to comment.