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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -7
  2. data/.travis.yml +13 -0
  3. data/README.md +81 -0
  4. data/bower.json +14 -12
  5. data/sache.json +5 -0
  6. data/templates/project/_base-elements.scss +22 -0
  7. data/templates/project/_components.scss +73 -0
  8. data/templates/project/_init.scss +14 -4
  9. data/templates/project/_layouts.scss +143 -0
  10. data/templates/project/_visually-hidden.scss +2 -18
  11. data/templates/project/example.html +53 -24
  12. data/templates/project/manifest.rb +3 -2
  13. data/templates/project/styles.scss +3 -2
  14. data/tests/Gemfile +11 -0
  15. data/tests/README.md +16 -0
  16. data/tests/Rakefile +25 -0
  17. data/tests/config.rb +22 -0
  18. data/tests/controls/compass-compatibility.css +112 -0
  19. data/{templates/unit-tests/test-results → tests/controls}/function-zen-direction-switch.css +1 -1
  20. data/{templates/unit-tests/test-results → tests/controls}/function-zen-grid-item-width.css +0 -0
  21. data/{templates/unit-tests/test-results → tests/controls}/function-zen-half-gutter.css +0 -0
  22. data/{templates/unit-tests/test-results → tests/controls}/function-zen-unit-width.css +0 -0
  23. data/{templates/unit-tests/test-results → tests/controls}/zen-float.css +0 -0
  24. data/{templates/unit-tests/test-results/zen-grid-flow-item.css → tests/controls/zen-flow-item-width.css} +21 -55
  25. data/tests/controls/zen-grid-background.css +52 -0
  26. data/{templates/unit-tests/test-results → tests/controls}/zen-grid-container.css +20 -5
  27. data/{templates/unit-tests/test-results → tests/controls}/zen-grid-item-base.css +9 -12
  28. data/{templates/unit-tests/test-results → tests/controls}/zen-grid-item.css +14 -2
  29. data/{templates/unit-tests/test-results → tests/controls}/zen-new-row.css +0 -0
  30. data/tests/tests/compass-compatibility.scss +55 -0
  31. data/{templates/unit-tests/sass → tests/tests}/function-zen-direction-switch.scss +1 -0
  32. data/{templates/unit-tests/sass → tests/tests}/function-zen-grid-item-width.scss +6 -6
  33. data/{templates/unit-tests/sass → tests/tests}/function-zen-half-gutter.scss +2 -2
  34. data/{templates/unit-tests/sass → tests/tests}/function-zen-unit-width.scss +12 -12
  35. data/{templates/unit-tests/sass → tests/tests}/zen-float.scss +3 -3
  36. data/tests/tests/zen-flow-item-width.scss +85 -0
  37. data/tests/tests/zen-grid-background.scss +85 -0
  38. data/tests/tests/zen-grid-container.scss +49 -0
  39. data/tests/tests/zen-grid-item-base.scss +65 -0
  40. data/tests/tests/zen-grid-item.scss +101 -0
  41. data/{templates/unit-tests/sass → tests/tests}/zen-new-row.scss +3 -3
  42. data/tests/unit_tests.rb +57 -0
  43. data/zen-grids.gemspec +4 -45
  44. data/zen-grids/_background.scss +97 -157
  45. data/zen-grids/_flow.scss +39 -22
  46. data/zen-grids/_functions.scss +119 -0
  47. data/zen-grids/_grids.scss +71 -171
  48. data/zen-grids/_variables.scss +65 -0
  49. data/zen-grids/internal/_functions-compass-polyfill.scss +70 -0
  50. data/zen-grids/internal/_variables-background.scss +57 -0
  51. metadata +80 -69
  52. data/README.txt +0 -88
  53. data/templates/project/_layout.scss +0 -117
  54. data/templates/project/_modules.scss +0 -78
  55. data/templates/unit-tests/README.txt +0 -16
  56. data/templates/unit-tests/manifest.rb +0 -37
  57. data/templates/unit-tests/sass/zen-grid-background.scss +0 -80
  58. data/templates/unit-tests/sass/zen-grid-container.scss +0 -44
  59. data/templates/unit-tests/sass/zen-grid-flow-item.scss +0 -78
  60. data/templates/unit-tests/sass/zen-grid-item-base.scss +0 -59
  61. data/templates/unit-tests/sass/zen-grid-item.scss +0 -91
  62. data/templates/unit-tests/test-results/zen-grid-background.css +0 -60
@@ -11,30 +11,55 @@
11
11
  <a href="#main-menu" class="skip-link__link">Jump to main menu</a>
12
12
  </p>
13
13
 
14
- <div class="centered">
14
+ <div class="l-basic">
15
15
 
16
- <header class="header">
16
+ <header class="l-basic__header">
17
+ <p class="meta">
18
+ <span class="meta__heading">Header</span>
19
+ <span class="meta__data">HTML source order: 1</span>
20
+ </p>
17
21
  <h1 class="header__title">Zen Grids: sample usage</h1>
18
22
  </header>
19
23
 
20
- <div class="main">
24
+ <div class="l-basic__main">
21
25
 
22
- <article class="grid-item grid-item__content" role="main">
23
- <header>
24
- <h1>Main content</h1>
25
- <p>Source order: 1</p>
26
+ <article class="l-basic__content" role="main">
27
+ <header class="meta">
28
+ <h1 class="meta__heading">Main content</h1>
29
+ <p class="meta__data">HTML source order: 2</p>
26
30
  </header>
27
- <aside class="pull-quote">‘There’s no such thing!’</aside>
28
31
  <p>Alice did not quite know what to say to this: so she helped herself to some tea and bread-and-butter, and then turned to the Dormouse, and repeated her question. ‘Why did they live at the bottom of a well?’</p>
29
- <p>The Dormouse again took a minute or two to think about it, and then said, ‘It was a treacle-well.’</p>
30
- <p>‘There’s no such thing!’ Alice was beginning very angrily, but the Hatter and the March Hare went ‘Sh! sh!’ and the Dormouse sulkily remarked, ‘If you can’t be civil, you’d better finish the story for yourself.’</p>
32
+ <aside class="pull-quote">
33
+ <span class="meta">
34
+ <span class="meta__heading">Pull quote</span>
35
+ <span class="meta__data">HTML source order: 2.1</span>
36
+ </span>
37
+ ‘There’s no such thing!’
38
+ </aside>
39
+ <p>The Dormouse again took a minute or two to think about it, and then said, ‘It was a treacle-well.’ ‘There’s no such thing!’ Alice was beginning very angrily, but the Hatter and the March Hare went ‘Sh! sh!’ and the Dormouse sulkily remarked, ‘If you can’t be civil, you’d better finish the story for yourself.’</p>
40
+ <div class="l-basic__columns">
41
+ <p class="l-basic__col1">
42
+ <span class="meta">
43
+ <span class="meta__heading">Nested column 1</span>
44
+ <span class="meta__data">HTML source order: 2.2.1</span>
45
+ </span>
46
+ At some breakpoints, this is a nested grid. At some breakpoints, this is a nested grid. At some breakpoints, this is a nested grid. At some breakpoints, this is a nested grid.
47
+ </p>
48
+ <p class="l-basic__col2">
49
+ <span class="meta">
50
+ <span class="meta__heading">Nested column 2</span>
51
+ <span class="meta__data">HTML source order: 2.2.2</span>
52
+ </span>
53
+ At some breakpoints, this is a nested grid. At some breakpoints, this is a nested grid.
54
+ </p>
55
+ </div>
31
56
  <p>‘No, please go on!’ Alice said very humbly; ‘I won’t interrupt again. I dare say there may be ONE.’</p>
32
57
  </article>
33
58
 
34
- <nav class="grid-item grid-item__menu" role="navigation" id="main-menu">
35
- <header>
36
- <h2>Menu</h2>
37
- <p>Source order: 2</p>
59
+ <nav class="l-basic__menu" role="navigation" id="main-menu">
60
+ <header class="meta">
61
+ <h2 class="meta__heading">Menu</h2>
62
+ <p class="meta__data">HTML source order: 3</p>
38
63
  </header>
39
64
  <a href="#">Alice</a> ★
40
65
  <a href="#">Mad Hatter</a> ★
@@ -42,18 +67,18 @@
42
67
  <a href="#">Tom Petty</a>
43
68
  </nav>
44
69
 
45
- <aside class="grid-item grid-item__aside1">
46
- <header>
47
- <h2>Aside</h2>
48
- <p>Source order: 3</p>
70
+ <aside class="l-basic__aside1">
71
+ <header class="meta">
72
+ <h2 class="meta__heading">Aside</h2>
73
+ <p class="meta__data">HTML source order: 4</p>
49
74
  </header>
50
75
  <p>‘Have some wine,’ the March Hare said in an encouraging tone.</p>
51
76
  </aside>
52
77
 
53
- <aside class="grid-item grid-item__aside2">
54
- <header>
55
- <h2>Aside</h2>
56
- <p>Source order: 4</p>
78
+ <aside class="l-basic__aside2">
79
+ <header class="meta">
80
+ <h2 class="meta__heading">Aside</h2>
81
+ <p class="meta__data">HTML source order: 5</p>
57
82
  </header>
58
83
  <p>‘Please would you tell me,’ said Alice, a little timidly, for she was not quite sure whether it was good manners for her to speak first, ‘why your cat grins like that?’</p>
59
84
  <p>‘It’s a Cheshire cat,’ said the Duchess, ‘and that’s why. Pig!’</p>
@@ -61,8 +86,12 @@
61
86
 
62
87
  </div>
63
88
 
64
- <footer class="footer">
65
- <small>© 2013. The small print.</small>
89
+ <footer class="l-basic__footer">
90
+ <p class="meta">
91
+ <span class="meta__heading">Footer</span>
92
+ <span class="meta__data">HTML source order: 6</span>
93
+ </p>
94
+ <small>The small print.™</small>
66
95
  </footer>
67
96
 
68
97
  </div>
@@ -1,8 +1,9 @@
1
1
  description "The Zen Grids system."
2
2
 
3
3
  stylesheet '_init.scss', :media => 'all'
4
- stylesheet '_layout.scss', :media => 'all'
5
- stylesheet '_modules.scss', :media => 'all'
4
+ stylesheet '_base-elements.scss', :media => 'all'
5
+ stylesheet '_layouts.scss', :media => 'all'
6
+ stylesheet '_components.scss', :media => 'all'
6
7
  stylesheet '_visually-hidden.scss', :media => 'all'
7
8
  stylesheet 'styles.scss', :media => 'all'
8
9
 
@@ -2,5 +2,6 @@
2
2
  @import "init";
3
3
 
4
4
  // Aggregate all the stylesheets into one file.
5
- @import "layout";
6
- @import "modules";
5
+ @import "base-elements";
6
+ @import "layouts";
7
+ @import "components";
data/tests/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ # Pull gems from RubyGems
2
+ source 'https://rubygems.org'
3
+
4
+ gem 'sass', ">= 3.3"
5
+ gem 'compass', ">= 1.0.0.alpha.13", "!= 1.0.0.alpha.16", "!= 1.0.0.alpha.17"
6
+
7
+ group :test do
8
+ gem 'rake'
9
+ gem "diffy", "~> 3.0.1"
10
+ gem "colorize", "~> 0.6.0"
11
+ end
data/tests/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # Tests
2
+
3
+ The tests for this project are built using Navigator, a Ruby testing framework
4
+ for Sass with Compass. https://github.com/Team-Sass/navigator
5
+
6
+ ## Building the test environment
7
+
8
+ Navigator works through Ruby, so you need to be running Ruby 1.8.7 or greater, and you to install [Bundler](http://bundler.io/) with `gem install bundler` or, for Mac OS X and other systems requiring administrative privileges, `sudo gem install bundler`.
9
+
10
+ Once Bundler is installed, change to the tests directory and run `bundle install` to install libraries required by this project.
11
+
12
+ ## Running tests
13
+
14
+ Once you have everything installed, change to the tests directory and run `bundle exec rake` to run the tests. This will compile all of the files in your `tests/tests` files into CSS files and compare those files to the files in `tests/controls`. If any of your output file from your tests don't line up with your controls, you'll get a `.diff` file generated of the differences and you'll get a failed assertion. If your Sass won't compile, you'll get a failed assertion.
15
+
16
+ If you're working off of a known set of good output and you'd like to generate your controls quickly, you can run `bundle exec rake compile`.
data/tests/Rakefile ADDED
@@ -0,0 +1,25 @@
1
+ # Navigator | Copyright 2013 Team Sass | MIT License | https://github.com/Team-Sass/navigator
2
+
3
+ task :default => [:test]
4
+
5
+ task :test do
6
+ require 'fileutils'
7
+
8
+ output_dir = 'output'
9
+ FileUtils.mkdir_p output_dir
10
+ ruby 'unit_tests.rb'
11
+ FileUtils.rm_rf output_dir
12
+ end
13
+
14
+ desc 'Compile baseline CSS'
15
+ task :compile do
16
+ require 'compass'
17
+ require 'compass/exec'
18
+
19
+ Compass.add_configuration 'config.rb'
20
+ Compass.configuration.project_path = Dir.pwd
21
+ # Compile into baseline directory instead of test output directory
22
+ Compass.configuration.css_dir = 'controls'
23
+ Compass.compiler.clean!
24
+ Compass.compiler.run
25
+ end
data/tests/config.rb ADDED
@@ -0,0 +1,22 @@
1
+ # Require any additional compass plugins here.
2
+
3
+ # File system locations
4
+ sass_dir = 'tests'
5
+ css_dir = 'output'
6
+
7
+ # If developing an extension, add your extension's stylesheets folder as an import path.
8
+ add_import_path '../'
9
+
10
+ # Set to true for easier debugging
11
+ line_comments = false
12
+ # preferred_syntax = :sass
13
+
14
+ # CSS output style - :nested, :expanded, :compact, or :compressed
15
+ output_style = :expanded
16
+
17
+ # Determine whether Compass asset helper functions generate relative
18
+ # or absolute paths
19
+ relative_assets = true
20
+
21
+ # Learn more:
22
+ # http://compass-style.org/docs/tutorials/configuration-reference/
@@ -0,0 +1,112 @@
1
+ /**
2
+ * @file
3
+ * Test zen-grid-container() and zen-grid-item() after @import compass.
4
+ */
5
+ #test-zen-grid-container {
6
+ /* Test zen-grid-container() */
7
+ *position: relative;
8
+ *zoom: 1;
9
+ }
10
+ #test-zen-grid-container:before, #test-zen-grid-container:after {
11
+ content: "";
12
+ display: table;
13
+ }
14
+ #test-zen-grid-container:after {
15
+ clear: both;
16
+ }
17
+
18
+ #test-zen-grid-container-2 {
19
+ /* Test zen-grid-container() with IE 8 support */
20
+ }
21
+ #test-zen-grid-container-2:before, #test-zen-grid-container-2:after {
22
+ content: "";
23
+ display: table;
24
+ }
25
+ #test-zen-grid-container-2:after {
26
+ clear: both;
27
+ }
28
+
29
+ #test-zen-grid-container-3 {
30
+ /* Test zen-grid-container() with IE 7 support */
31
+ *position: relative;
32
+ *zoom: 1;
33
+ }
34
+ #test-zen-grid-container-3:before, #test-zen-grid-container-3:after {
35
+ content: "";
36
+ display: table;
37
+ }
38
+ #test-zen-grid-container-3:after {
39
+ clear: both;
40
+ }
41
+
42
+ #test-zen-grid-container-4 {
43
+ /* Test zen-grid-container() with IE 6 support */
44
+ *position: relative;
45
+ *zoom: 1;
46
+ }
47
+ #test-zen-grid-container-4:before, #test-zen-grid-container-4:after {
48
+ content: "";
49
+ display: table;
50
+ }
51
+ #test-zen-grid-container-4:after {
52
+ clear: both;
53
+ }
54
+
55
+ #test-zen-grid-item {
56
+ /* Test zen-grid-item(1, 1) */
57
+ float: left;
58
+ width: 100%;
59
+ margin-left: 0%;
60
+ margin-right: -100%;
61
+ *margin-right: -99.9%;
62
+ padding-left: 10px;
63
+ padding-right: 10px;
64
+ -moz-box-sizing: border-box;
65
+ -webkit-box-sizing: border-box;
66
+ -ms-box-sizing: border-box;
67
+ box-sizing: border-box;
68
+ *behavior: url("/ie-box-sizing.htc");
69
+ *word-wrap: break-word;
70
+ /* Test zen-grid-item(1, 1) with IE 8 support */
71
+ float: left;
72
+ width: 100%;
73
+ margin-left: 0%;
74
+ margin-right: -100%;
75
+ padding-left: 10px;
76
+ padding-right: 10px;
77
+ -moz-box-sizing: border-box;
78
+ -webkit-box-sizing: border-box;
79
+ -ms-box-sizing: border-box;
80
+ box-sizing: border-box;
81
+ /* Test zen-grid-item(1, 1) with IE 7 support */
82
+ float: left;
83
+ width: 100%;
84
+ margin-left: 0%;
85
+ margin-right: -100%;
86
+ *margin-right: -99.9%;
87
+ padding-left: 10px;
88
+ padding-right: 10px;
89
+ -moz-box-sizing: border-box;
90
+ -webkit-box-sizing: border-box;
91
+ -ms-box-sizing: border-box;
92
+ box-sizing: border-box;
93
+ *behavior: url("/ie-box-sizing.htc");
94
+ *word-wrap: break-word;
95
+ /* Test zen-grid-item(1, 1) with IE 6 support */
96
+ float: left;
97
+ width: 100%;
98
+ margin-left: 0%;
99
+ margin-right: -100%;
100
+ *margin-right: -99.9%;
101
+ padding-left: 10px;
102
+ padding-right: 10px;
103
+ -moz-box-sizing: border-box;
104
+ -webkit-box-sizing: border-box;
105
+ -ms-box-sizing: border-box;
106
+ box-sizing: border-box;
107
+ *behavior: url("/ie-box-sizing.htc");
108
+ _display: inline;
109
+ _overflow: hidden;
110
+ _overflow-y: visible;
111
+ *word-wrap: break-word;
112
+ }
@@ -12,5 +12,5 @@
12
12
  /* Test zen-direction-switch(none) */
13
13
  float: none;
14
14
  /* Test zen-direction-switch(invalid) */
15
- float: both;
15
+ float: invalid;
16
16
  }
@@ -1,163 +1,129 @@
1
1
  /**
2
2
  * @file
3
- * Test zen-grid-flow-item()
3
+ * Test zen-flow-item-width()
4
4
  */
5
- #test-zen-grid-flow-item {
6
- /* Test zen-grid-flow-item(1) without setting $parent-column-span */
7
- padding-left: 10px;
8
- padding-right: 10px;
5
+ #test-zen-flow-item-width {
6
+ /* Test zen-flow-item-width(1) without setting $parent-column-span */
9
7
  -moz-box-sizing: border-box;
10
8
  -webkit-box-sizing: border-box;
11
9
  -ms-box-sizing: border-box;
12
10
  box-sizing: border-box;
13
- word-wrap: break-word;
14
11
  width: 100%;
15
12
  padding-left: 0;
16
13
  padding-right: 0px;
17
14
  margin-right: 20px;
18
- /* Test zen-grid-flow-item(1, 4) with 20px gutter */
19
- padding-left: 10px;
20
- padding-right: 10px;
15
+ /* Test zen-flow-item-width(1, 4) with 20px gutter */
21
16
  -moz-box-sizing: border-box;
22
17
  -webkit-box-sizing: border-box;
23
18
  -ms-box-sizing: border-box;
24
19
  box-sizing: border-box;
25
- word-wrap: break-word;
26
20
  width: 25%;
27
21
  padding-left: 0;
28
22
  padding-right: 15px;
29
23
  margin-right: 5px;
30
- /* Test zen-grid-flow-item(1, 4) with 15px gutter */
31
- padding-left: 7px;
32
- padding-right: 8px;
24
+ /* Test zen-flow-item-width(1, 4) with 15px gutter */
33
25
  -moz-box-sizing: border-box;
34
26
  -webkit-box-sizing: border-box;
35
27
  -ms-box-sizing: border-box;
36
28
  box-sizing: border-box;
37
- word-wrap: break-word;
38
29
  width: 25%;
39
30
  padding-left: 0;
40
31
  padding-right: 11.25px;
41
32
  margin-right: 3.75px;
42
- /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter and $zen-grid-width: 1000px */
43
- padding-left: 10px;
44
- padding-right: 10px;
33
+ /* Test zen-flow-item-width(1) with 5 columns, 20px gutter and $zen-grid-width: 1000px */
45
34
  -moz-box-sizing: border-box;
46
35
  -webkit-box-sizing: border-box;
47
36
  -ms-box-sizing: border-box;
48
37
  box-sizing: border-box;
49
- word-wrap: break-word;
50
38
  width: 200px;
51
39
  padding-left: 0;
52
40
  padding-right: 20px;
53
- /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px, $alpha-gutter: true and $omega-gutter: false */
54
- padding-left: 10px;
55
- padding-right: 10px;
41
+ /* Test zen-flow-item-width(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px, $alpha-gutter: true and $omega-gutter: false */
56
42
  -moz-box-sizing: border-box;
57
43
  -webkit-box-sizing: border-box;
58
44
  -ms-box-sizing: border-box;
59
45
  box-sizing: border-box;
60
- word-wrap: break-word;
61
46
  width: 200px;
62
47
  padding-left: 20px;
63
48
  padding-right: 0;
64
- /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px and $omega-gutter: false */
65
- padding-left: 10px;
66
- padding-right: 10px;
49
+ /* Test zen-flow-item-width(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px and $omega-gutter: false */
67
50
  -moz-box-sizing: border-box;
68
51
  -webkit-box-sizing: border-box;
69
52
  -ms-box-sizing: border-box;
70
53
  box-sizing: border-box;
71
- word-wrap: break-word;
72
54
  width: 180px;
73
55
  padding-left: 0;
74
56
  padding-right: 0;
75
- /* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-direction: right */
76
- padding-left: 8px;
77
- padding-right: 7px;
57
+ /* Test zen-flow-item-width(1, 4) with 15px gutter and $zen-direction: right */
78
58
  -moz-box-sizing: border-box;
79
59
  -webkit-box-sizing: border-box;
80
60
  -ms-box-sizing: border-box;
81
61
  box-sizing: border-box;
82
- word-wrap: break-word;
83
62
  width: 25%;
84
63
  padding-right: 0;
85
64
  padding-left: 11.25px;
86
65
  margin-left: 3.75px;
87
- /* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
88
- padding-left: 7px;
89
- padding-right: 8px;
66
+ /* Test zen-flow-item-width(1, 4) with 15px gutter and $alpha-gutter: true */
90
67
  -moz-box-sizing: border-box;
91
68
  -webkit-box-sizing: border-box;
92
69
  -ms-box-sizing: border-box;
93
70
  box-sizing: border-box;
94
- word-wrap: break-word;
95
71
  width: 25%;
96
72
  padding-left: 0;
97
73
  margin-left: 15px;
98
74
  padding-right: 11.25px;
99
75
  margin-right: 3.75px;
100
- /* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
101
- padding-left: 7px;
102
- padding-right: 8px;
76
+ /* Test zen-flow-item-width(1, 4) with 15px gutter and $omega-gutter: false */
103
77
  -moz-box-sizing: border-box;
104
78
  -webkit-box-sizing: border-box;
105
79
  -ms-box-sizing: border-box;
106
80
  box-sizing: border-box;
107
- word-wrap: break-word;
108
81
  width: 25%;
109
82
  padding-left: 0;
110
83
  padding-right: 11.25px;
111
84
  margin-right: -11.25px;
112
- /* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
113
- padding-left: 10px;
114
- padding-right: 10px;
85
+ /* Test zen-flow-item-width(3, 4) with 20px gutter and $alpha-gutter: true */
115
86
  -moz-box-sizing: border-box;
116
87
  -webkit-box-sizing: border-box;
117
88
  -ms-box-sizing: border-box;
118
89
  box-sizing: border-box;
119
- word-wrap: break-word;
120
90
  width: 75%;
121
91
  padding-left: 0;
122
92
  margin-left: 20px;
123
93
  padding-right: 5px;
124
94
  margin-right: 15px;
125
- /* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
126
- padding-left: 10px;
127
- padding-right: 10px;
95
+ /* Test zen-flow-item-width(3, 4) with 20px gutter and $omega-gutter: false */
128
96
  -moz-box-sizing: border-box;
129
97
  -webkit-box-sizing: border-box;
130
98
  -ms-box-sizing: border-box;
131
99
  box-sizing: border-box;
132
- word-wrap: break-word;
133
100
  width: 75%;
134
101
  padding-left: 0;
135
102
  padding-right: 5px;
136
103
  margin-right: -5px;
137
- /* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-direction: right and $alpha-gutter: true */
138
- padding-left: 8px;
139
- padding-right: 7px;
104
+ /* Test zen-flow-item-width(1, 4) with 15px gutter, $zen-direction: right and $alpha-gutter: true */
140
105
  -moz-box-sizing: border-box;
141
106
  -webkit-box-sizing: border-box;
142
107
  -ms-box-sizing: border-box;
143
108
  box-sizing: border-box;
144
- word-wrap: break-word;
145
109
  width: 25%;
146
110
  padding-right: 0;
147
111
  margin-right: 15px;
148
112
  padding-left: 11.25px;
149
113
  margin-left: 3.75px;
150
- /* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
151
- padding-left: 7.14286%;
152
- padding-right: 7.14286%;
114
+ /* Test zen-flow-item-width(1, 4) with $zen-box-sizing: content-box and 10% gutter */
153
115
  border-left: 0 !important;
154
116
  border-right: 0 !important;
155
- word-wrap: break-word;
156
117
  width: 10.71429%;
157
118
  padding-left: 0;
158
119
  padding-right: 10.71429%;
159
120
  margin-right: 3.57143%;
160
- /* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
121
+ /* Test zen-flow-item-width(1, 4) with $zen-box-sizing: universal-border-box */
122
+ width: 25%;
123
+ padding-left: 0;
124
+ padding-right: 15px;
125
+ margin-right: 5px;
126
+ /* Test zen-flow-item-width(1, 4) with $zen-auto-include-flow-item-base: false */
161
127
  width: 25%;
162
128
  padding-left: 0;
163
129
  padding-right: 15px;