Skip to content

Commit

Permalink
Merge pull request joomla#54 from ciar4n/install-style
Browse files Browse the repository at this point in the history
Installation layout and style
  • Loading branch information
Dimitri Grammatikogianni authored May 30, 2017
2 parents a5213d6 + 1107db2 commit b8a55a7
Show file tree
Hide file tree
Showing 7 changed files with 9,248 additions and 301 deletions.
19 changes: 19 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = function(grunt) {
puny : 'media/vendor/punycode/js',
codemirror : 'media/vendor/codemirror',
adminTemplate : 'administrator/templates/atum',
installTemplate : 'installation/template',
siteTemplate : 'templates/aurora',
node_module : 'build/assets_tmp/node_modules/',
editors : 'media/editors',
Expand Down Expand Up @@ -202,6 +203,7 @@ module.exports = function(grunt) {
},
files: {
'<%= folder.adminTemplate %>/css/template.css': '<%= folder.adminTemplate %>/scss/template.scss',
'<%= folder.installTemplate %>/css/template.css': '<%= folder.installTemplate %>/scss/template.scss',
'<%= folder.siteTemplate %>/css/template.css' : '<%= folder.siteTemplate %>/scss/template.scss',
}
}
Expand All @@ -211,6 +213,7 @@ module.exports = function(grunt) {
scsslint: {
allFiles: [
'<%= folder.adminTemplate %>/scss',
'<%= folder.installTemplate %>/scss',
'<%= folder.siteTemplate %>/scss',
],
options: {
Expand Down Expand Up @@ -334,6 +337,7 @@ module.exports = function(grunt) {
dist: {
src: [
'<%= folder.adminTemplate %>/css/template.css',
'<%= folder.installTemplate %>/css/template.css',
'<%= folder.siteTemplate %>/css/template.css'
]
}
Expand Down Expand Up @@ -369,6 +373,20 @@ module.exports = function(grunt) {
dest: '<%= folder.adminTemplate %>/css',
}]
},
installTemplate: {
files: [{
expand: true,
matchBase: true,
ext: '.min.css',
cwd: '<%= folder.installTemplate %>/css',
src: [
'*.css',
'!*.min.css',
'!theme/*.css'
],
dest: '<%= folder.installTemplate %>/css',
}]
},
siteTemplate: {
files: [{
expand: true,
Expand All @@ -390,6 +408,7 @@ module.exports = function(grunt) {
sass: {
files: [
'<%= folder.adminTemplate %>/**/*.scss',
'<%= folder.installTemplate %>/**/*.scss',
'<%= folder.siteTemplate %>/**/*.scss',
],
tasks: ['compile']
Expand Down
1 change: 1 addition & 0 deletions administrator/templates/atum/scss/scss-lint-report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0"?><testsuites errors="0"><testsuite name="scss-lint" timestamp="2017-03-20T12:23:24"/></testsuites>
Loading

0 comments on commit b8a55a7

Please sign in to comment.