zen-grids 2.0.0.alpha.2 → 2.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +333 -268
  3. data/README.txt +5 -5
  4. data/bower.json +25 -0
  5. data/templates/project/_init.scss +5 -5
  6. data/templates/project/_layout.scss +8 -8
  7. data/templates/unit-tests/manifest.rb +14 -13
  8. data/templates/unit-tests/sass/function-zen-direction-switch.scss +23 -0
  9. data/templates/unit-tests/sass/function-zen-grid-item-width.scss +12 -6
  10. data/templates/unit-tests/sass/function-zen-half-gutter.scss +6 -6
  11. data/templates/unit-tests/sass/function-zen-unit-width.scss +17 -5
  12. data/templates/unit-tests/sass/zen-float.scss +7 -7
  13. data/templates/unit-tests/sass/zen-grid-background.scss +41 -30
  14. data/templates/unit-tests/sass/zen-grid-container.scss +11 -4
  15. data/templates/unit-tests/sass/zen-grid-flow-item.scss +22 -25
  16. data/templates/unit-tests/sass/zen-grid-item-base.scss +18 -13
  17. data/templates/unit-tests/sass/zen-grid-item.scss +56 -38
  18. data/templates/unit-tests/sass/zen-new-row.scss +26 -0
  19. data/templates/unit-tests/test-results/function-zen-direction-switch.css +16 -0
  20. data/templates/unit-tests/test-results/function-zen-grid-item-width.css +7 -3
  21. data/templates/unit-tests/test-results/function-zen-half-gutter.css +4 -4
  22. data/templates/unit-tests/test-results/function-zen-unit-width.css +6 -2
  23. data/templates/unit-tests/test-results/zen-float.css +3 -3
  24. data/templates/unit-tests/test-results/zen-grid-background.css +23 -17
  25. data/templates/unit-tests/test-results/zen-grid-container.css +13 -2
  26. data/templates/unit-tests/test-results/zen-grid-flow-item.css +8 -8
  27. data/templates/unit-tests/test-results/zen-grid-item-base.css +9 -3
  28. data/templates/unit-tests/test-results/zen-grid-item.css +13 -3
  29. data/templates/unit-tests/test-results/zen-new-row.css +16 -0
  30. data/zen-grids.gemspec +8 -7
  31. data/zen-grids/_background.scss +83 -39
  32. data/zen-grids/_flow.scss +73 -46
  33. data/zen-grids/_grids.scss +137 -82
  34. metadata +13 -29
  35. data/component.json +0 -26
  36. data/templates/unit-tests/sass/function-zen-direction-flip.scss +0 -23
  37. data/templates/unit-tests/sass/zen-clear.scss +0 -26
  38. data/templates/unit-tests/test-results/function-zen-direction-flip.css +0 -16
  39. data/templates/unit-tests/test-results/zen-clear.css +0 -16
data/component.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "name": "zen-grids",
3
- "version": "2.0.0-alpha.2",
4
- "author": ["John Albin Wilkins"],
5
- "homepage": "http://zengrids.com/",
6
- "styles": [
7
- "_zen-grids.scss",
8
- "zen-grids/_background.scss",
9
- "zen-grids/_flow.scss",
10
- "zen-grids/_grids.scss"
11
- ],
12
- "main": [
13
- "_zen-grids.scss",
14
- "zen-grids/_background.scss",
15
- "zen-grids/_flow.scss",
16
- "zen-grids/_grids.scss"
17
- ],
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/JohnAlbin/compass-zen-grids.git"
21
- },
22
- "licenses": {
23
- "type": "GPLv2",
24
- "url": "http://www.gnu.org/licenses/gpl-2.0.html"
25
- }
26
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @file
3
- * Test zen-direction-flip()
4
- */
5
-
6
- @import "zen-grids";
7
-
8
- #test-zen-direction-flip {
9
- /* Test zen-direction-flip(left) */
10
- float: zen-direction-flip(left);
11
-
12
- /* Test zen-direction-flip(right) */
13
- float: zen-direction-flip(right);
14
-
15
- /* Test zen-direction-flip(both) */
16
- float: zen-direction-flip(both);
17
-
18
- /* Test zen-direction-flip(none) */
19
- float: zen-direction-flip(none);
20
-
21
- /* Test zen-direction-flip(invalid) */
22
- float: zen-direction-flip(invalid);
23
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * @file
3
- * Test zen-clear()
4
- */
5
-
6
- @import "zen-grids";
7
-
8
- #test-zen-clear {
9
- /* Test zen-clear() */
10
- @include zen-clear();
11
-
12
- /* Test zen-clear() with $zen-float-direction: right */
13
- $zen-float-direction: right;
14
- @include zen-clear();
15
- $zen-float-direction: left;
16
-
17
- /* Test zen-clear(left) */
18
- @include zen-clear(left);
19
-
20
- /* Test zen-clear(left, $reverse-all-floats: TRUE) */
21
- @include zen-clear(left, $reverse-all-floats: TRUE);
22
-
23
- /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
24
- $zen-reverse-all-floats: TRUE;
25
- @include zen-clear(left);
26
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @file
3
- * Test zen-direction-flip()
4
- */
5
- #test-zen-direction-flip {
6
- /* Test zen-direction-flip(left) */
7
- float: right;
8
- /* Test zen-direction-flip(right) */
9
- float: left;
10
- /* Test zen-direction-flip(both) */
11
- float: both;
12
- /* Test zen-direction-flip(none) */
13
- float: none;
14
- /* Test zen-direction-flip(invalid) */
15
- float: both;
16
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @file
3
- * Test zen-clear()
4
- */
5
- #test-zen-clear {
6
- /* Test zen-clear() */
7
- clear: left;
8
- /* Test zen-clear() with $zen-float-direction: right */
9
- clear: right;
10
- /* Test zen-clear(left) */
11
- clear: left;
12
- /* Test zen-clear(left, $reverse-all-floats: TRUE) */
13
- clear: right;
14
- /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
15
- clear: right;
16
- }