diff --git a/.gitignore b/.gitignore index 5da72ec272..4f1c485c27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .DS_Store *.sw[mpcod] + +.sass-cache/ \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000000..1d7571020c --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,3 @@ +module.exports = function(grunt) { + +} \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..47a1887e95 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ + + +all: release + +release: + @sass -I scss/ scss/framework-structure.scss:dist/framework-structure.css + @sass -I scss/ scss/framework-theme-default.scss:dist/framework-theme-default.css \ No newline at end of file diff --git a/dist/framework-structure.css b/dist/framework-structure.css new file mode 100644 index 0000000000..c4c739b548 --- /dev/null +++ b/dist/framework-structure.css @@ -0,0 +1,15 @@ +@charset "UTF-8"; +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; } + +body { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + font: 14px/1.25 "Helvetica Neue", sans-serif; } + +a { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } diff --git a/buttons.html b/dist/framework-theme-default.css similarity index 100% rename from buttons.html rename to dist/framework-theme-default.css diff --git a/grid.html b/example/buttons.html similarity index 100% rename from grid.html rename to example/buttons.html diff --git a/listview.html b/example/grid.html similarity index 100% rename from listview.html rename to example/grid.html diff --git a/example/index.html b/example/index.html index b1dc976849..86e0c8003f 100644 --- a/example/index.html +++ b/example/index.html @@ -1,7 +1,7 @@ - +
diff --git a/example/listview.html b/example/listview.html new file mode 100644 index 0000000000..e69de29bb2 diff --git a/package.json b/package.json new file mode 100644 index 0000000000..c79cb8c058 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "framework", + "private": true, + "version": "0.0.01", + "devDependencies": { + "grunt": "~0.4.0", + "grunt-contrib-watch": "~0.1.0", + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/zurb/foundation/blob/master/LICENSE" + } + ] +} \ No newline at end of file diff --git a/scss/framework-structure.scss b/scss/framework-structure.scss new file mode 100755 index 0000000000..deebe72761 --- /dev/null +++ b/scss/framework-structure.scss @@ -0,0 +1,27 @@ +@charset "UTF-8"; + + +// Components +@import + "framework/structure/base", + "framework/structure/accordion", + "framework/structure/button-group", + "framework/structure/clearing", + "framework/structure/footer", + "framework/structure/form", + "framework/structure/grid", + "framework/structure/header", + "framework/structure/icon", + "framework/structure/img", + "framework/structure/input-checkbox", + "framework/structure/input-radio", + "framework/structure/input-select", + "framework/structure/input-slider", + "framework/structure/input-text", + "framework/structure/label", + "framework/structure/listview", + "framework/structure/table", + "framework/structure/thumb", + "framework/structure/transition", + "framework/structure/transition-slide", + "framework/structure/video"; diff --git a/scss/framework-theme-default.scss b/scss/framework-theme-default.scss new file mode 100755 index 0000000000..c4b44bc5ee --- /dev/null +++ b/scss/framework-theme-default.scss @@ -0,0 +1,26 @@ +@charset "UTF-8"; + + +// Components +@import + "framework/theme/accordion", + "framework/theme/button-group", + "framework/theme/clearing", + "framework/theme/footer", + "framework/theme/form", + "framework/theme/grid", + "framework/theme/header", + "framework/theme/icon", + "framework/theme/img", + "framework/theme/input-checkbox", + "framework/theme/input-radio", + "framework/theme/input-select", + "framework/theme/input-slider", + "framework/theme/input-text", + "framework/theme/label", + "framework/theme/listview", + "framework/theme/table", + "framework/theme/thumb", + "framework/theme/transition", + "framework/theme/transition-slide", + "framework/theme/video"; diff --git a/scss/framework/structure/_base.scss b/scss/framework/structure/_base.scss new file mode 100644 index 0000000000..f1bd980f75 --- /dev/null +++ b/scss/framework/structure/_base.scss @@ -0,0 +1,20 @@ + +// Make sure iOS Safari doesn't scale fonts on orientation changes +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + font: 14px/1.25 "Helvetica Neue", sans-serif; +} + +// Remove tap highlight color on Safari +a { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} \ No newline at end of file diff --git a/scss/normalize.scss b/scss/framework/structure/_normalize.scss similarity index 100% rename from scss/normalize.scss rename to scss/framework/structure/_normalize.scss diff --git a/scss/framework/theme/default/_icon.scss b/scss/framework/theme/default/_icon.scss new file mode 100644 index 0000000000..e69de29bb2 diff --git a/scss/framework/theme/default/_variables.scss b/scss/framework/theme/default/_variables.scss new file mode 100644 index 0000000000..e69de29bb2