Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
db46075
start documentation castlecss-tabs
Feb 15, 2017
80bd93f
tabs documentation work in progress
Feb 16, 2017
d78556a
update tabs documentation
Feb 17, 2017
ae00a92
improvements castlecss tabs
Feb 20, 2017
79ed0c2
breadcrumbs
Mar 8, 2017
9c9821c
update documentation castleCSS Tabs
Mar 14, 2017
7722b35
Merge branch 'feature/castlecss-tabs' of https://github.com/CastleCSS…
Mar 14, 2017
06db8ac
Merge branch 'hotfix/tag_manager_missing' into develop
Mar 14, 2017
1ea3b7b
change .tabs-title to .tab-title
Mar 29, 2017
364c72f
ignore node_modules/
Jul 3, 2017
8ec2211
Merge branch 'develop' into feature/castlecss-tabs
Jul 3, 2017
f3da2de
scripts.js
Jul 3, 2017
522979b
gitignore
dariusrosendahl Sep 5, 2017
e9da34b
gitignore
dariusrosendahl Sep 5, 2017
2e0f8b4
-
dariusrosendahl Sep 5, 2017
7ffae3d
Removed unnecessary dist files
dariusrosendahl Sep 5, 2017
d4ebef5
gitignore
dariusrosendahl Sep 5, 2017
fe8aa58
Upgraded castlecss-breadcrumbs to 1.1.1
dariusrosendahl Sep 5, 2017
c9d14b3
package-lock
dariusrosendahl Sep 5, 2017
ab6407a
Removed tabs, not released yet
dariusrosendahl Sep 5, 2017
425f7be
Update README.md
dariusrosendahl Sep 7, 2017
eb6b586
Deleted generated scripts and added them to .gitignore. They should b…
dariusrosendahl Sep 7, 2017
f5ea01e
1.3.0
dariusrosendahl Sep 7, 2017
7d99c4a
Indentation gruntfile
dariusrosendahl Sep 7, 2017
8a7bd95
Added npm scripts to build the project. Updated devdependencies
dariusrosendahl Sep 7, 2017
18714b2
Updated readme with new npm scripts
dariusrosendahl Sep 7, 2017
d893cec
Typo in readme
dariusrosendahl Sep 7, 2017
d72d1b8
Added a browserSync server!
dariusrosendahl Sep 7, 2017
bb40e6d
Update README.md
basmulderdnz Sep 11, 2017
85915cc
Removed & wait at the create_all task to avoid errors on Windows
dariusrosendahl Sep 12, 2017
857dd6e
-
dariusrosendahl Sep 12, 2017
8d0de49
First checkin sass-lint and added it in package.json
Sep 14, 2017
1d2483d
Changed variables to lowercase
Sep 14, 2017
7733a83
changed lint rules, changed docs to normal border-radius
Sep 14, 2017
ce7be7e
Completed the sass-lint rules
Sep 14, 2017
b9940a0
installed with --no-optional so windows builds no longer break due to…
Sep 14, 2017
9ad344f
changed order of properties
Sep 14, 2017
71147fd
Removed fonts and stylesheet. No longer used
Sep 14, 2017
f4b73a7
Changed stylesheets: now following the sass-linter rules, removed old…
Sep 14, 2017
befa554
minified castlecss-logo
Sep 14, 2017
fa9c9ab
Style guidelines page
Sep 14, 2017
bc4ef79
Changed comment
Sep 14, 2017
cb6e7b3
-
Sep 14, 2017
c066df3
Added sass-lint in package.json so you don't have to install it with -g
dariusrosendahl Sep 14, 2017
eb1141f
Changed order in sass-lint
Sep 15, 2017
4a164fd
Order styling
Sep 15, 2017
6bf0e67
sass-lint
Sep 15, 2017
dbc149a
Merge branch 'feature/sass-lint' of https://github.com/CastleCSS/cast…
Sep 15, 2017
480ccd2
Added min and max width/height to sort property rules
dariusrosendahl Sep 17, 2017
217b9fa
Merge commit and added border to sorting rules
dariusrosendahl Sep 17, 2017
96af14a
Linter order + linter file
Sep 18, 2017
5848c48
-
Sep 18, 2017
af2eb10
Brace style style-lint
Sep 19, 2017
23be80f
Removed generated linter file.
Sep 19, 2017
d91103e
Updated gitignore.
Sep 19, 2017
2019e6f
Changed property order docs_mainvisual
Sep 19, 2017
b99630d
Merge pull request #7 from CastleCSS/feature/sass-lint
dariusrosendahl Sep 19, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.log
thumbs.db
node_modules
*.log
thumbs.db
node_modules
node_modules/
6 changes: 3 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.log
thumbs.db

*.log
thumbs.db
node_modules
242 changes: 129 additions & 113 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,113 +1,129 @@
/* Grunt Task configuration */
module.exports = function(grunt) {

/* using jit-grunt for automatically loading all required plugins */
require('jit-grunt')(grunt);

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

// Compile Sass to CSS and produce SoureMaps;
sass: {
options: {
sourceMap: true,
outputStyle: 'uncompressed'
},
files: {
src: 'scss/main.scss',
dest: 'dist/css/styles.min.css',
ext: '.css'
}
},

// PostCSS for adding prefixers and setting rem to pixels;
postcss: {
dist: {
src: 'dist/css/styles.min.css'

},
options: {
// Rewrite and save sourcemap as seperate file
map: {
annotation: 'styles/'
},
processors: [
// add fallbacks for rem units
require('pixrem')({
atrules: true
}),
// add vendor prefixes
require('autoprefixer')({ browsers: 'iOS >= 7, last 2 versions, ie > 7' }),
// minify the result
require('cssnano')()
]
},
},

watch: {
scss: {
files: ['scss/**/*.scss', 'node_modules/**/*.scss' ],
tasks: ['sass', 'postcss'],
options: {
spawn: false,
},
},
nunjucks: {
files: 'views/**/*.html',
tasks: ['nunjucks'],
options: {
spawn: false,
},
}
},

nunjucks: {
render: {
options: {
paths: ['views'],
trimBlock: true,
lstripBlocks: true,
data: grunt.file.readJSON('templates-data.json')
},
files: [
{
expand: true,
cwd: "views/",
src: "*.html",
dest: "dist/",
ext: ".html"
}
]
}
},


});

grunt.loadNpmTasks('grunt-nunjucks-2-html');

/*
* Grunt tasks
* Run with grunt or grunt <command> in terminal
*/
grunt.registerTask('default', 'run');
grunt.registerTask('run',
[
'nunjucks',
'sass',
'postcss',
'watch'
]
);
grunt.registerTask('create_css',
[
'sass',
'postcss'
]
);
grunt.registerTask('create_html',
[
'nunjucks'
]
);
};
/* Grunt Task configuration */
module.exports = function(grunt) {

/* using jit-grunt for automatically loading all required plugins */
require('jit-grunt')(grunt);

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

// Compile Sass to CSS and produce SoureMaps;
sass: {
options: {
sourceMap: true,
outputStyle: 'uncompressed'
},
files: {
src: 'scss/main.scss',
dest: 'dist/css/styles.min.css',
ext: '.css'
}
},

// PostCSS for adding prefixers and setting rem to pixels;
postcss: {
dist: {
src: 'dist/css/styles.min.css'

},
options: {
// Rewrite and save sourcemap as seperate file
map: {
annotation: 'styles/'
},
processors: [
// add fallbacks for rem units
require('pixrem')({
atrules: true
}),
// add vendor prefixes
require('autoprefixer')({ browsers: 'iOS >= 7, last 2 versions, ie > 7' }),
// minify the result
require('cssnano')()
]
},
},

watch: {
scss: {
files: ['scss/**/*.scss', 'node_modules/**/*.scss' ],
tasks: ['sass', 'postcss'],
options: {
spawn: false,
},
},
nunjucks: {
files: 'views/**/*.html',
tasks: ['nunjucks'],
options: {
spawn: false,
},
}
},

nunjucks: {
render: {
options: {
paths: ['views'],
trimBlock: true,
lstripBlocks: true,
data: grunt.file.readJSON('templates-data.json')
},
files: [
{
expand: true,
cwd: "views/",
src: "*.html",
dest: "dist/",
ext: ".html"
}
]
}
},
browserSync: {
dev: {
bsFiles: {
src : [
'./dist/**/*.css',
'./dist/**/*.html',
]
},
options: {
watchTask: true,
server: './dist/'
}
}

}


});

grunt.loadNpmTasks('grunt-nunjucks-2-html');

/*
* Grunt tasks
* Run with grunt or grunt <command> in terminal
*/
grunt.registerTask('default', 'run');
grunt.registerTask('run',
[
'nunjucks',
'sass',
'postcss',
'browserSync',
'watch'
]
);
grunt.registerTask('create_css',
[
'sass',
'postcss'
]
);
grunt.registerTask('create_html',
[
'nunjucks'
]
);
};
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2016 De Nieuwe Zaak

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2016 De Nieuwe Zaak
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
45 changes: 28 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
# CastleCSS documentation
![CastleCSS logo @CastleCss.com](https://www.doordarius.nl/castlecss-logo-250.png)

## CastleCSS Framework
Sourcecode for www.castlecss.com and the documentation for [CastleCSS](https://github.com/CastleCSS/castlecss)

## How to install
- Download or clone this package
- Look in the dist/ folder or build if yourself with GruntJS in your terminal: ```npm install``` + ```grunt```

## Roadmap
We're currently working hard on making the CastleCSS expansions and improvements. CastleCSS is made to serve as lightweight basis for tailor made software but we do want to give you the option to install a few modules to make your life easier.

Please see the [ROADMAP.MD](https://github.com/CastleCSS/castlecss/blob/master/ROADMAP.md) for our current plans for the future.

## Contributing
Want to contribute? We'd love your help, please take a look at the roadmap or submit new suggestions.
# CastleCSS documentation
![CastleCSS logo @CastleCss.com](https://www.doordarius.nl/castlecss-logo-250.png)

## CastleCSS Framework
Sourcecode for www.castlecss.com and the documentation for [CastleCSS](https://github.com/CastleCSS/castlecss)

## How to install
- Download or clone this package
- Install the project: ```npm install```

## Build and run automatically
- Start the project with: ```npm run start```

This will automatically start a browserSync server.<br />
The project will watch for changes in your scss and html files in your /views and /scss folder and automatically reload

## Build and run manually
- Build the project: ```npm run create_all```

You can now see the project in dist folder, open a .html page in your browser

## Roadmap
We're currently working hard on making the CastleCSS expansions and improvements. CastleCSS is made to serve as lightweight basis for tailor made software but we do want to give you the option to install a few modules to make your life easier.

Please see the [ROADMAP.MD](https://github.com/CastleCSS/castlecss/blob/master/ROADMAP.md) for our current plans for the future.

## Contributing
Want to contribute? We'd love your help, please take a look at the roadmap or submit new suggestions.
7 changes: 7 additions & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.html
**/*.html
**/*.css
**/*.map
**/scripts.dist.js
**/scripts.min.js
linters
Loading