Permalink
Browse files

update to 5

  • Loading branch information...
Bloggerschmidt committed Feb 13, 2018
1 parent 50fcd50 commit 002b80c8de371641083481a0dc831fbc8735aeb7
Showing with 364 additions and 182 deletions.
  1. +4 −13 README.md
  2. +7 −0 css/custom.css
  3. +12 −6 css/editor.css
  4. +16 −15 css/error.css
  5. +0 −2 css/ie.css
  6. 0 css/normalize.css
  7. +19 −2 css/offline.css
  8. +4 −3 css/print.css
  9. +2 −2 css/template.css
  10. +5 −4 css/template.less
  11. +5 −4 css/template.scss
  12. +42 −62 gulpfile.js
  13. +0 −28 inc/head.php
  14. +0 −19 inc/logic.php
  15. +8 −17 index.php
  16. +31 −0 logic.php
  17. +206 −0 package-lock.json
  18. +3 −5 package.json
@@ -1,4 +1,4 @@
# [Blank 4.0.0](http://blank.vc)
# [BL4NK 5](http://blank.vc)
Light, powerful and free template for Joomla!
for faster and easier web development.
@@ -25,15 +25,14 @@ Look at [http://d.blank.vc](http://d.blank.vc) to see the source. Keep in mind i
## Functions
* Including gulp less and sass compiler
* Crazy fast with gulp css and js compressor
* Including less and sass compiler
* Crazy fast with css and js compressor
* Start from scratch with normalize.css
* Support for desktops, tablets and phones
* Customizable error, offline and print page
## Addons
* [normalize.css 3.0.2](http://necolas.github.com/normalize.css/)
* [Normalize.css](http://necolas.github.io/normalize.css/)
## PSD
@@ -43,18 +42,10 @@ Look at [http://d.blank.vc](http://d.blank.vc) to see the source. Keep in mind i
* template_preview.psd
* template_thumbnail.psd
## Get Started
Read the [wiki to get started](https://github.com/Bloggerschmidt/Blank-Template/wiki/Getting-started).
## Bootstrap
Take a look at [Blank Boostrap Edition](https://github.com/Bloggerschmidt/Blank-Bootstrap-Edition).
## Documentation
Beginn to understand the whole template by [reading the ebook](http://blank.vc/ebook/levels).
## Licence
Blank is open source software released under [GPL](http://www.gnu.org/licenses/gpl-2.0.txt).
@@ -0,0 +1,7 @@
/* CUSTOM
========================================================================== */
/**
* In best case you don't use this file.
* It's for fast fixes in browser only.
*/
18 css/editor.css 100755 → 100644
@@ -1,7 +1,13 @@
/* EDITOR CSS
*********************************************/
/* EDITOR
========================================================================== */
/**
* This file is for backend editors like JCE.
* It will be used for print style, too.
*/
body {
background-color: #fff;
color: #000;
font: normal normal normal 75%/125% arial,sans-serif;
}
background-color: #fff;
color: #000;
font: normal normal normal 75%/125% arial,sans-serif;
}
@@ -1,25 +1,26 @@
/* ERROR CSS
*********************************************/
/* ERROR
========================================================================== */
body {
background:#fff;
color:#000;
font-family:Arial,Helvetica,Sans Serif;
font-size:78%;
margin:0;
padding:0;
background:#fff;
color:#000;
font-family:Arial,Helvetica,Sans Serif;
font-size:78%;
margin:0;
padding:0;
text-align:center;
}
#error {
margin:0;
padding:0;
padding-top:40px;
padding-bottom:60px;
width:814px;
#error {
margin:0;
padding:0;
padding-top:40px;
padding-bottom:60px;
width:814px;
}
h1 {
margin:0 0 20px 0;
}
.search label {
display:none
}
}

This file was deleted.

Oops, something went wrong.
0 css/normalize.css 100755 → 100644
No changes.
@@ -1,5 +1,6 @@
/* OFFLINE CSS
*********************************************/
/* OFFLINE
========================================================================== */
body {
color: #000;
font-family: Arial,Helvetica,Sans Serif;
@@ -8,61 +9,77 @@ body {
padding: 0;
text-align: center;
}
img {
border: 0 none;
}
#frame {
margin: 20px auto;
padding: 20px;
width: 400px;
}
#frame form {
text-align: left;
}
.outline {
background: #fff;
border: 1px solid #ebe7d9;
padding: 2px;
}
.inputbox {
width: 130px;
}
form {
margin: auto;
}
form p {
margin: 0;
padding: 0;
}
form fieldset {
border: 0 none;
margin: 0;
padding: 0.2em;
}
label {
display: block;
float: left;
}
input {
padding: 3px;
}
input.button {
cursor: pointer;
width: auto;
}
label {
margin: 5px 0 2px 0;
width: 10em;
}
form p {
padding: 0.2em 0 0.2em 0;
}
form br {
display: none;
}
#frmlogin {
margin: 0 10px 0 10px;
}
#frmlogin fieldset.button {
text-align: right;
}
@@ -1,4 +1,5 @@
/* PRINT CSS
*********************************************/
/* PRINT
========================================================================== */
@import url('normalize.css');
@import url('editor.css');
@import url('editor.css');
@@ -1,3 +1,3 @@
html {
overflow-y: scroll; }
overflow-y: scroll;
}
@@ -1,13 +1,14 @@
//=======================================================================
// FRONTEND LESS
//=======================================================================
// ==========================================================================
// This file will be used to generate the template.css
html {
overflow-y: scroll; // scrollbar fix (prevent ugly left pull)
}
body {
}
@@ -1,13 +1,14 @@
//=======================================================================
// FRONTEND SASS
//=======================================================================
// ==========================================================================
// This file will be used to generate the template.css
html {
overflow-y: scroll; // scrollbar fix (prevent ugly left pull)
}
body {
}
@@ -1,87 +1,67 @@
//=======================================================================
// VARIABLES
//=======================================================================
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var minifyCSS = require('gulp-minify-css');
var concat = require('gulp-concat');
var less = require('gulp-less');
var sass = require('gulp-sass');
var autoprefix = require('gulp-autoprefixer');
var convertEncoding = require('gulp-convert-encoding');
var notify = require('gulp-notify');
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var cleanCSS = require('gulp-clean-css');
var concat = require('gulp-concat');
var less = require('gulp-less');
var sass = require('gulp-sass');
//=======================================================================
// WATCH
//=======================================================================
gulp.task('watch', function(){
// TEMPLATE
gulp.watch('js/**/*.js',['template-js']);
gulp.watch('css/**/*.less',['template-less']);
gulp.watch('css/**/*.scss',['template-sass']);
gulp.watch('css/**/*.css', ['template-css']);
gulp.watch('js/**/*.js',['js']);
gulp.watch('css/**/*.less',['less']);
gulp.watch('css/**/*.scss',['sass']);
gulp.watch('css/**/*.css',['css']);
});
// FILES
//=======================================================================
// TEMPLATE
//=======================================================================
gulp.task('files', function() {
gulp.src('node_modules/normalize.css/normalize.css')
.pipe(gulp.dest('css'));
});
// JAVASCRIPT
gulp.task('template-js', function () {
return gulp.src([
'js/script.js'
])
.pipe(uglify())
.pipe(concat('app.js'))
.pipe(convertEncoding({to: 'utf8'}))
.pipe(gulp.dest('build'))
.pipe(notify({message:'template -> app.js'}));
gulp.task('js', function () {
return gulp.src([
'js/script.js'
])
.pipe(uglify())
.pipe(concat('app.js'))
.pipe(gulp.dest('build'));
});
// LESS
gulp.task('template-less', function () {
gulp.src('css/template.less')
.pipe(less())
.pipe(autoprefix('last 10 versions', 'ie 9', 'ie 8'))
.pipe(gulp.dest('css'))
.pipe(notify({message:'template -> less -> css'}));
gulp.task('less', function () {
gulp.src('css/template.less')
.pipe(less())
.pipe(gulp.dest('css'));
});
// SASS
gulp.task('template-sass', function () {
gulp.src('css/template.scss')
.pipe(sass())
.pipe(autoprefix('last 10 versions', 'ie 9', 'ie 8'))
.pipe(gulp.dest('css'))
.pipe(notify({message:'template -> sass -> css'}));
gulp.task('sass', function () {
gulp.src('css/template.scss')
.pipe(sass())
.pipe(gulp.dest('css'));
});
// CSS
gulp.task('template-css', function () {
gulp.src([
'css/normalize.css',
'css/template.css'
])
.pipe(minifyCSS())
.pipe(concat('style.css'))
.pipe(gulp.dest('build'))
.pipe(notify({message:'template -> style.css'}));
gulp.task('css', function () {
gulp.src([
'css/normalize.css',
'css/template.css'
])
.pipe(cleanCSS())
.pipe(concat('style.css'))
.pipe(gulp.dest('build'));
});
// DEFAULT
gulp.task('default', ['files','js','less','sass','css','watch']);
Oops, something went wrong.

0 comments on commit 002b80c

Please sign in to comment.