-
-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,013 additions
and
919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,66 @@ | ||
"use strict"; | ||
|
||
module.exports = function(grunt) { | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON("package.json"), | ||
|
||
banner: "/*\n" + | ||
" * <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" + | ||
" * <%= pkg.description %>\n" + | ||
" * <%= pkg.homepage %>\n" + | ||
" *\n" + | ||
" * Made by <%= pkg.author.name %>\n" + | ||
" * Under <%= pkg.license %> License\n" + | ||
" */\n", | ||
|
||
jshint: { | ||
options: { | ||
jshintrc: ".jshintrc" | ||
}, | ||
all: [ | ||
"Gruntfile.js", | ||
"src/metisMenu.js" | ||
] | ||
}, | ||
concat: { | ||
plugin: { | ||
src: ["src/metisMenu.js"], | ||
dest: "dist/metisMenu.js" | ||
}, | ||
css: { | ||
src: ["src/metisMenu.css"], | ||
dest: "dist/metisMenu.css" | ||
}, | ||
options: { | ||
banner: "<%= banner %>" | ||
} | ||
}, | ||
uglify: { | ||
plugin: { | ||
src: ["dist/metisMenu.js"], | ||
dest: "dist/metisMenu.min.js" | ||
}, | ||
options: { | ||
banner: "<%= banner %>" | ||
} | ||
}, | ||
cssmin: { | ||
options: { | ||
banner: "<%= banner %>" | ||
}, | ||
menucss: { | ||
src: ["src/metisMenu.css"], | ||
dest: "dist/metisMenu.min.css" | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks("grunt-contrib-jshint"); | ||
grunt.loadNpmTasks("grunt-contrib-concat"); | ||
grunt.loadNpmTasks("grunt-contrib-uglify"); | ||
grunt.loadNpmTasks("grunt-contrib-cssmin"); | ||
|
||
grunt.registerTask("travis", ["jshint"]); | ||
grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]); | ||
}; | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON("package.json"), | ||
|
||
banner: "/*\n" + | ||
" * <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" + | ||
" * <%= pkg.description %>\n" + | ||
" * <%= pkg.homepage %>\n" + | ||
" *\n" + | ||
" * Made by <%= pkg.author.name %>\n" + | ||
" * Under <%= pkg.license %> License\n" + | ||
" */\n", | ||
|
||
jshint: { | ||
options: { | ||
jshintrc: ".jshintrc" | ||
}, | ||
all: [ | ||
"Gruntfile.js", | ||
"src/metisMenu.js" | ||
] | ||
}, | ||
concat: { | ||
plugin: { | ||
src: ["src/metisMenu.js"], | ||
dest: "dist/metisMenu.js" | ||
}, | ||
css: { | ||
src: ["src/metisMenu.css"], | ||
dest: "dist/metisMenu.css" | ||
}, | ||
options: { | ||
banner: "<%= banner %>" | ||
} | ||
}, | ||
uglify: { | ||
plugin: { | ||
src: ["dist/metisMenu.js"], | ||
dest: "dist/metisMenu.min.js" | ||
}, | ||
options: { | ||
banner: "<%= banner %>" | ||
} | ||
}, | ||
cssmin: { | ||
options: { | ||
banner: "<%= banner %>", | ||
keepSpecialComments: "0" | ||
}, | ||
menucss: { | ||
src: ["src/metisMenu.css"], | ||
dest: "dist/metisMenu.min.css" | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks("grunt-contrib-jshint"); | ||
grunt.loadNpmTasks("grunt-contrib-concat"); | ||
grunt.loadNpmTasks("grunt-contrib-uglify"); | ||
grunt.loadNpmTasks("grunt-contrib-cssmin"); | ||
|
||
grunt.registerTask("travis", ["jshint"]); | ||
grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "metisMenu", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "https://github.com/onokumus/metisMenu", | ||
"authors": [ | ||
"onokumus <[email protected]>" | ||
"onokumus <[email protected]> (http://onokumus.com)" | ||
], | ||
"description": "Easy menu jQuery plugin for Twitter Bootstrap 3", | ||
"main": [ | ||
|
@@ -28,5 +28,8 @@ | |
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
], | ||
"dependencies": { | ||
"bootstrap": "~3.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,53 @@ | ||
/* | ||
* metismenu - v1.1.1 | ||
* metismenu - v1.1.2 | ||
* Easy menu jQuery plugin for Twitter Bootstrap 3 | ||
* https://github.com/onokumus/metisMenu | ||
* | ||
* Made by Osman Nuri Okumus | ||
* Under MIT License | ||
*/ | ||
.arrow { | ||
float: right; | ||
line-height: 1.42857; //twitter bootstrap body element line-height | ||
float: right; | ||
line-height: 1.42857; | ||
/* twitter bootstrap body element line-height */ | ||
} | ||
|
||
.glyphicon.arrow:before { | ||
content: "\e079"; | ||
content: "\e079"; | ||
} | ||
|
||
.active > a > .glyphicon.arrow:before { | ||
content: "\e114"; | ||
content: "\e114"; | ||
} | ||
|
||
|
||
/* | ||
* Require Font-Awesome | ||
* http://fortawesome.github.io/Font-Awesome/ | ||
*/ | ||
|
||
|
||
.fa.arrow:before { | ||
content: "\f104"; | ||
content: "\f104"; | ||
} | ||
|
||
.active > a > .fa.arrow:before { | ||
content: "\f107"; | ||
content: "\f107"; | ||
} | ||
|
||
.plus-times { | ||
float: right; | ||
float: right; | ||
} | ||
|
||
.fa.plus-times:before { | ||
content: "\f067"; | ||
content: "\f067"; | ||
} | ||
|
||
.active > a > .fa.plus-times { | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | ||
-webkit-transform: rotate(45deg); | ||
-moz-transform: rotate(45deg); | ||
-ms-transform: rotate(45deg); | ||
-o-transform: rotate(45deg); | ||
transform: rotate(45deg); | ||
filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=1); | ||
-webkit-transform: rotate(45deg); | ||
-moz-transform: rotate(45deg); | ||
-ms-transform: rotate(45deg); | ||
-o-transform: rotate(45deg); | ||
transform: rotate(45deg); | ||
} | ||
|
||
.plus-minus { | ||
float: right; | ||
float: right; | ||
} | ||
|
||
.fa.plus-minus:before { | ||
content: "\f067"; | ||
content: "\f067"; | ||
} | ||
|
||
.active > a > .fa.plus-minus:before { | ||
content: "\f068"; | ||
} | ||
content: "\f068"; | ||
} |
Oops, something went wrong.