uniform-ui 0.6 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/CNAME +1 -0
- data/Gemfile +0 -4
- data/Gemfile.lock +1 -11
- data/README.md +2 -3
- data/Rakefile +34 -24
- data/index.html +240 -1160
- data/preview/{_tables.html.erb → alerts.html.erb} +0 -0
- data/preview/buttons.html.erb +62 -0
- data/preview/cards.html.erb +23 -0
- data/preview/colors.html.erb +22 -0
- data/preview/{_tabs.html.erb → dropdown.html.erb} +0 -0
- data/preview/form.html.erb +233 -0
- data/preview/grid.html.erb +304 -0
- data/preview/helpers.html.erb +225 -0
- data/preview/index.html.erb +74 -50
- data/preview/{_tiles.html.erb → labels.html.erb} +0 -0
- data/preview/layout.html.erb +63 -0
- data/preview/loaders.html.erb +83 -0
- data/preview/modal.html.erb +1 -0
- data/preview/nav.html.erb +77 -0
- data/preview/preview.scss +39 -10
- data/preview/rows.html.erb +36 -0
- data/preview/select.html.erb +1 -0
- data/preview/tables.html.erb +1 -0
- data/preview/tabs.html.erb +17 -0
- data/preview/tiles.html.erb +1 -0
- data/preview/tooltip.erb +1 -0
- data/site/alerts.html +157 -0
- data/site/alerts.html copy +133 -0
- data/site/buttons.html +286 -0
- data/site/cards.html +177 -0
- data/site/colors.html +275 -0
- data/site/dropdown.html +157 -0
- data/site/dropdown.html copy +141 -0
- data/site/form.html +369 -0
- data/site/grid.html +716 -0
- data/site/helpers.html +1008 -0
- data/site/index.html +208 -617
- data/site/labels.html +157 -0
- data/site/layout.html +313 -0
- data/site/loaders.html +233 -0
- data/site/modal.html +157 -0
- data/site/nav.html +229 -0
- data/site/preview.css +1 -1
- data/site/preview.js +59 -0
- data/site/rows.html +190 -0
- data/site/select.html +157 -0
- data/site/tables.html +157 -0
- data/site/tabs.html +171 -0
- data/site/tiles.html +157 -0
- data/site/tiles.html copy +109 -0
- data/site/tooltip +157 -0
- data/site/uniform.css +1 -1
- data/uniform.gemspec +2 -8
- data/vendor/assets/stylesheets/uniform.scss +4 -4
- data/vendor/assets/stylesheets/uniform/base.scss +2 -0
- data/vendor/assets/stylesheets/uniform/components/alert.scss +27 -0
- data/vendor/assets/stylesheets/uniform/components/buttons.scss +135 -86
- data/vendor/assets/stylesheets/uniform/components/card.scss +69 -67
- data/vendor/assets/stylesheets/uniform/components/dropdown.scss +69 -0
- data/vendor/assets/stylesheets/uniform/components/form.scss +268 -85
- data/vendor/assets/stylesheets/uniform/components/grid.scss +214 -72
- data/vendor/assets/stylesheets/uniform/components/label.scss +63 -0
- data/vendor/assets/stylesheets/uniform/components/loaders.scss +38 -18
- data/vendor/assets/stylesheets/uniform/components/modal.scss +51 -0
- data/vendor/assets/stylesheets/uniform/components/nav.scss +171 -54
- data/vendor/assets/stylesheets/uniform/components/row.scss +69 -101
- data/vendor/assets/stylesheets/uniform/components/select.scss +98 -0
- data/vendor/assets/stylesheets/uniform/components/table.scss +83 -0
- data/vendor/assets/stylesheets/uniform/components/tabs.scss +39 -26
- data/vendor/assets/stylesheets/uniform/components/tile.scss +15 -27
- data/vendor/assets/stylesheets/uniform/components/tooltip.scss +46 -0
- data/vendor/assets/stylesheets/uniform/defaults.scss +85 -19
- data/vendor/assets/stylesheets/uniform/helpers.scss +82 -81
- data/vendor/assets/stylesheets/uniform/helpers/colors.scss +37 -0
- data/vendor/assets/stylesheets/uniform/helpers/margin.scss +44 -0
- data/vendor/assets/stylesheets/uniform/helpers/padding.scss +74 -0
- data/vendor/assets/stylesheets/uniform/helpers/sizes.scss +31 -0
- data/vendor/assets/stylesheets/uniform/helpers/text.scss +121 -0
- data/vendor/assets/stylesheets/uniform/mixins.scss +25 -48
- data/vendor/assets/stylesheets/uniform/variables.scss +10 -28
- metadata +61 -85
- data/preview/_buttons.html.erb +0 -59
- data/preview/_cards.html.erb +0 -82
- data/preview/_colors.html.erb +0 -12
- data/preview/_forms.html.erb +0 -196
- data/preview/_grid.html.erb +0 -49
- data/preview/_helpers.html.erb +0 -158
- data/preview/_inputs.html.erb +0 -93
- data/preview/_installation.html.erb +0 -4
- data/preview/_lists.html.erb +0 -53
- data/preview/_loaders.html.erb +0 -72
- data/preview/_nav.html.erb +0 -46
- data/preview/_philosophy.html.erb +0 -33
- data/preview/_rows.html.erb +0 -35
- data/preview/_uniform.html.erb +0 -4
- data/site/site/logo.png +0 -0
- data/site/site/preview.css +0 -1
- data/site/site/uniform.css +0 -1
- data/vendor/assets/stylesheets/uniform/components/inputs.scss +0 -131
- data/vendor/assets/stylesheets/uniform/components/lists.scss +0 -62
- data/vendor/assets/stylesheets/uniform/components/table-container.scss +0 -44
- data/vendor/assets/stylesheets/uniform/components/table-form.scss +0 -159
- data/vendor/assets/stylesheets/uniform/mixins/grid-framework.scss +0 -142
File without changes
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<div class="section">
|
2
|
+
<h1>Buttons</h1>
|
3
|
+
<p>Mix and match styles to make the right button, all colors are available as well.</p>
|
4
|
+
<p><code><%= CGI::escapeHTML "<a href='#' class='uniformButton'></a>" %></code></p>
|
5
|
+
<table class="uniformTable" cellspacing="0" cellpadding="0">
|
6
|
+
<tr>
|
7
|
+
<th></th>
|
8
|
+
<th>Normal</th>
|
9
|
+
<th><code>.green</code></th>
|
10
|
+
<th><code>.blue</code></th>
|
11
|
+
<th><code>.red</code></th>
|
12
|
+
<th><code>.white</code></th>
|
13
|
+
<th><code>.gray</code></th>
|
14
|
+
</tr>
|
15
|
+
<tr>
|
16
|
+
<th></th>
|
17
|
+
<td><a class="uniformButton">Button</a></td>
|
18
|
+
<td><a class="uniformButton green">Button</a></td>
|
19
|
+
<td><a class="uniformButton blue">Button</a></td>
|
20
|
+
<td><a class="uniformButton red">Button</a></td>
|
21
|
+
<td><a class="uniformButton white">Button</a></td>
|
22
|
+
<td><a class="uniformButton gray">Button</a></td>
|
23
|
+
</tr>
|
24
|
+
<% [
|
25
|
+
['hover, :hover', 'hover'],
|
26
|
+
['active, :active', 'active'],
|
27
|
+
['disabled, :disabled', 'disabled'],
|
28
|
+
'small',
|
29
|
+
'large',
|
30
|
+
'warn',
|
31
|
+
'block',
|
32
|
+
'outline',
|
33
|
+
].each do |klass| %>
|
34
|
+
<% klass = [klass, klass] if !klass.is_a?(Array) %>
|
35
|
+
<tr>
|
36
|
+
<th><code>.<%= klass[0] %></code></th>
|
37
|
+
<td><a class="uniformButton <%= klass[1] %>">Button</a></td>
|
38
|
+
<td><a class="uniformButton green <%= klass[1] %>">Button</a></td>
|
39
|
+
<td><a class="uniformButton blue <%= klass[1] %>">Button</a></td>
|
40
|
+
<td><a class="uniformButton red <%= klass[1] %>">Button</a></td>
|
41
|
+
<td><a class="uniformButton white <%= klass[1] %>">Button</a></td>
|
42
|
+
<td><a class="uniformButton gray <%= klass[1] %>">Button</a></td>
|
43
|
+
</tr>
|
44
|
+
<% end %>
|
45
|
+
<tr>
|
46
|
+
<th><code>.outline</code></th>
|
47
|
+
<td class="bg-gray"><a class="uniformButton outline">Button</a></td>
|
48
|
+
<td class="bg-gray"><a class="uniformButton green outline">Button</a></td>
|
49
|
+
<td class="bg-gray"><a class="uniformButton blue outline">Button</a></td>
|
50
|
+
<td class="bg-gray"><a class="uniformButton red outline">Button</a></td>
|
51
|
+
<td class="bg-gray"><a class="uniformButton white outline">Button</a></td>
|
52
|
+
<td class="bg-gray"><a class="uniformButton gray outline">Button</a></td>
|
53
|
+
</tr>
|
54
|
+
</table>
|
55
|
+
|
56
|
+
<h3 class="margin-top-more">uniformButtonGroup</h3>
|
57
|
+
<div class="uniformButtonGroup">
|
58
|
+
<a href="#">Link 1</a>
|
59
|
+
<a href="#">Link 2</a>
|
60
|
+
<a href="#">Link 3</a>
|
61
|
+
</div>
|
62
|
+
</div>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div class="section">
|
2
|
+
<h1>Cards</h1>
|
3
|
+
<div class="grid">
|
4
|
+
<div class="col-6">
|
5
|
+
<div class="uniformCard">
|
6
|
+
<div class="uniformCard-header">
|
7
|
+
<span class="title">Sample Card</span>
|
8
|
+
</div>
|
9
|
+
<div class="uniformCard-body">Put Content In Here</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="col-6">
|
13
|
+
<% html_block do %>
|
14
|
+
<div class="uniformCard">
|
15
|
+
<div class="uniformCard-header">
|
16
|
+
<span class="title">Sample Card</span>
|
17
|
+
</div>
|
18
|
+
<div class="uniformCard-body">Put Content In Here</div>
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div class="section">
|
2
|
+
<h1>Colors</h1>
|
3
|
+
<table class="uniformTable">
|
4
|
+
<thead class="dark">
|
5
|
+
<tr>
|
6
|
+
<th></th>
|
7
|
+
<th>sass</th>
|
8
|
+
<th>class</th>
|
9
|
+
</tr>
|
10
|
+
</thead>
|
11
|
+
<% %w(green blue red gray yellow).each do |color| %>
|
12
|
+
<% ["-light", "", "-dark"].each do |style| %>
|
13
|
+
<tr>
|
14
|
+
<td><span class='swatch bg-<%= color %><%= style %>'></span></td>
|
15
|
+
<td><code>$<%= color %><%= style %></code></td>
|
16
|
+
<td><code>.<%= color %><%= style %></code></td>
|
17
|
+
</tr>
|
18
|
+
<% end %>
|
19
|
+
<tr><td colspan='3'> </td></tr>
|
20
|
+
<% end %>
|
21
|
+
</table>
|
22
|
+
</div>
|
File without changes
|
@@ -0,0 +1,233 @@
|
|
1
|
+
<div class="section">
|
2
|
+
<h1>Forms</h1>
|
3
|
+
<h3>UniformForm</h3>
|
4
|
+
<div class="grid">
|
5
|
+
<div class="col-6">
|
6
|
+
<form class="uniformForm">
|
7
|
+
<div class="form-group">
|
8
|
+
<label>Name</label>
|
9
|
+
<input type="text">
|
10
|
+
</div>
|
11
|
+
<div class="form-group" data-error-message="example error message">
|
12
|
+
<label>Phone</label>
|
13
|
+
<input type="text">
|
14
|
+
</div>
|
15
|
+
<div class="form-group">
|
16
|
+
<label>Email</label>
|
17
|
+
<input type="text">
|
18
|
+
</div>
|
19
|
+
</form>
|
20
|
+
</div>
|
21
|
+
<div class="col-6">
|
22
|
+
<% html_block do %>
|
23
|
+
<form class="uniformForm">
|
24
|
+
<div class="form-group">
|
25
|
+
<label>Name</label>
|
26
|
+
<input type="text">
|
27
|
+
</div>
|
28
|
+
<div class="form-group" data-error-message="example error message">
|
29
|
+
<label>Phone</label>
|
30
|
+
<input type="text">
|
31
|
+
</div>
|
32
|
+
<div class="form-group">
|
33
|
+
<label>Email</label>
|
34
|
+
<input type="text">
|
35
|
+
</div>
|
36
|
+
</form>
|
37
|
+
<% end %>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="grid">
|
42
|
+
<div class="col-6">
|
43
|
+
<form class="uniformForm uniformForm-table">
|
44
|
+
<div class="form-group">
|
45
|
+
<label>Name</label>
|
46
|
+
<div>
|
47
|
+
<input type="text">
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
<div class="form-group">
|
51
|
+
<label>Phone</label>
|
52
|
+
<div>
|
53
|
+
<div data-error-message="example error message">
|
54
|
+
<input type="text">
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
<div class="form-group">
|
59
|
+
<label>Email</label>
|
60
|
+
<div>
|
61
|
+
<input type="text">
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</form>
|
65
|
+
</div>
|
66
|
+
<div class="col-6">
|
67
|
+
<% html_block do %>
|
68
|
+
<form class="uniformForm uniformForm-table">
|
69
|
+
<div class="form-group">
|
70
|
+
<label>Name</label>
|
71
|
+
<input type="text">
|
72
|
+
</div>
|
73
|
+
<div class="form-group" data-error-message="example error message">
|
74
|
+
<label>Phone</label>
|
75
|
+
<input type="text">
|
76
|
+
</div>
|
77
|
+
<div class="form-group">
|
78
|
+
<label>Email</label>
|
79
|
+
<input type="text">
|
80
|
+
</div>
|
81
|
+
</form>
|
82
|
+
<% end %>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
<h3>UniformInput</h3>
|
88
|
+
<div class="grid">
|
89
|
+
<div class="col-6">
|
90
|
+
<p><input type="text" class="uniformInput" /></p>
|
91
|
+
<p><input type="text" class="uniformInput large" /></p>
|
92
|
+
</div>
|
93
|
+
<div class="col-6">
|
94
|
+
<% html_block do %>
|
95
|
+
<input type="text" class="uniformInput" />
|
96
|
+
<% end %>
|
97
|
+
<% html_block do %>
|
98
|
+
<input type="text" class="uniformInput large" />
|
99
|
+
<% end %>
|
100
|
+
</div>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<h3>Custom Inputs</h3>
|
104
|
+
<div class="grid nest">
|
105
|
+
<div class="col-6">
|
106
|
+
<p>Styled Select Box</p>
|
107
|
+
<p><span class="uniformSelect"><select><option>An Option</option></select></span></p>
|
108
|
+
</div>
|
109
|
+
<div class="col-6">
|
110
|
+
<% html_block do %>
|
111
|
+
<span class='uniformSelect'>
|
112
|
+
<select>
|
113
|
+
<option>An Option</option>
|
114
|
+
</select>
|
115
|
+
</span>
|
116
|
+
<% end %>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
<div class="col-6">
|
120
|
+
<p>uniformCheckboxCollection</p>
|
121
|
+
<div class="uniformCheckboxCollection">
|
122
|
+
<label><input type="checkbox"> Option 1</label>
|
123
|
+
<label><input type="checkbox"> Option 2</label>
|
124
|
+
<label><input type="checkbox"> Option 3</label>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
<div class="col-6">
|
128
|
+
<% html_block do %>
|
129
|
+
<div class="uniformCheckboxCollection">
|
130
|
+
<label><input type="checkbox"> Option 1</label>
|
131
|
+
<label><input type="checkbox"> Option 2</label>
|
132
|
+
<label><input type="checkbox"> Option 3</label>
|
133
|
+
</div>
|
134
|
+
<% end %>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<div class="col-6">
|
138
|
+
<p>uniformCheckboxCollection.inline</p>
|
139
|
+
<div class="uniformCheckboxCollection inline">
|
140
|
+
<label><input type="radio"> Option 1</label>
|
141
|
+
<label><input type="radio"> Option 2</label>
|
142
|
+
<label><input type="radio"> Option 3</label>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
<div class="col-6">
|
146
|
+
<% html_block do %>
|
147
|
+
<div class="uniformCheckboxCollection inline">
|
148
|
+
<label><input type="radio"> Option 1</label>
|
149
|
+
<label><input type="radio"> Option 2</label>
|
150
|
+
<label><input type="radio"> Option 3</label>
|
151
|
+
</div>
|
152
|
+
<% end %>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
</div>
|
157
|
+
|
158
|
+
<h3>Floating Label</h3>
|
159
|
+
<p>Requires Javascript to fully work, but fails gracefully when not applied.</p>
|
160
|
+
<div class="grid">
|
161
|
+
<div class="col-6">
|
162
|
+
<div class="uniformFloatingLabel">
|
163
|
+
<label for="example-1">Name</label>
|
164
|
+
<input type="text" class="pad-more" id="example-1">
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
<div class="col-6">
|
168
|
+
<% html_block do %>
|
169
|
+
<div class="uniformFloatingLabel">
|
170
|
+
<label for="example-1">Name</label>
|
171
|
+
<input type="text" class="pad-more" id="example-1">
|
172
|
+
</div>
|
173
|
+
<% end %>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<h3>Input Group</h3>
|
178
|
+
<p>Ever want to put in an input and it's label in line, and have it be 100% width responsive? Well, you can't, unless you use something like uniformInputGroup.</p>
|
179
|
+
<div class="grid">
|
180
|
+
<div class="col-6">
|
181
|
+
<div class="uniformInputGroup">
|
182
|
+
<span class="label">
|
183
|
+
<label for="rate">$</label>
|
184
|
+
</span>
|
185
|
+
<span class="input">
|
186
|
+
<input id="rate">
|
187
|
+
</span>
|
188
|
+
<span class="units">
|
189
|
+
<label for="rate">/hour</label>
|
190
|
+
</span>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
<div class="col-6">
|
194
|
+
<% html_block do %>
|
195
|
+
<div class="uniformInputGroup">
|
196
|
+
<span class="label">
|
197
|
+
<label for="rate">$</label>
|
198
|
+
</span>
|
199
|
+
<span class="input">
|
200
|
+
<input id="rate">
|
201
|
+
</span>
|
202
|
+
<span class="units">
|
203
|
+
<label for="rate">/hour</label>
|
204
|
+
</span>
|
205
|
+
</div>
|
206
|
+
<% end %>
|
207
|
+
</div>
|
208
|
+
</div>
|
209
|
+
<div class="grid">
|
210
|
+
<div class="col-6">
|
211
|
+
<div class="uniformInputGroup">
|
212
|
+
<span class="label">
|
213
|
+
<label for="car">Car Preference</label>
|
214
|
+
</span>
|
215
|
+
<span>
|
216
|
+
<input id="name" value="Jonathan Doe" disabled>
|
217
|
+
</span>
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
<div class="col-6">
|
221
|
+
<% html_block do %>
|
222
|
+
<div class="uniformInputGroup">
|
223
|
+
<span class="label">
|
224
|
+
<label for="car">Car Preference</label>
|
225
|
+
</span>
|
226
|
+
<span class="input">
|
227
|
+
<input id="name" value="Jonathan Doe" disabled>
|
228
|
+
</span>
|
229
|
+
</div>
|
230
|
+
<% end %>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
</div>
|
@@ -0,0 +1,304 @@
|
|
1
|
+
<div class="section">
|
2
|
+
<h1>Grid</h1>
|
3
|
+
<p>Similar to Bootstrap 4 with some modifications. Uses flexbox with a host of helper options.</p>
|
4
|
+
<h3>Breakpoints</h3>
|
5
|
+
<p>
|
6
|
+
Any helper can have <code>-sm</code>, <code>-md</code>, <code>-lg</code>,
|
7
|
+
or <code>-xl</code> added to cause helper to only go into effect for that
|
8
|
+
breakpoint.
|
9
|
+
</p>
|
10
|
+
<p><code>xs</code> = 480px</p>
|
11
|
+
<p><code>sm</code> = 768px</p>
|
12
|
+
<p><code>md</code> = 992px</p>
|
13
|
+
<p><code>lg</code> = 1200px</p>
|
14
|
+
<% html_block do %>
|
15
|
+
<div class="grid">
|
16
|
+
<div class="col">content</div>
|
17
|
+
<div class="col">content</div>
|
18
|
+
<div class="col">content</div>
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
<h3>Grid Options</h3>
|
22
|
+
<% [
|
23
|
+
'grid-center',
|
24
|
+
'grid-top',
|
25
|
+
'grid-bottom',
|
26
|
+
'grid-stretch',
|
27
|
+
'grid-h-left',
|
28
|
+
'grid-h-center',
|
29
|
+
'grid-h-right',
|
30
|
+
'grid-h-around',
|
31
|
+
'grid-h-between'
|
32
|
+
].each do |klass| %>
|
33
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
34
|
+
.grid .<%= klass %>
|
35
|
+
<div class="grid <%= klass %>">
|
36
|
+
<div class="col bg-green-light">
|
37
|
+
<div class="bg-red-light">col</div>
|
38
|
+
</div>
|
39
|
+
<div class="col bg-green-light">
|
40
|
+
<div class="bg-red-light height-100-px">col height-100-px</div>
|
41
|
+
</div>
|
42
|
+
<div class="col bg-green-light">
|
43
|
+
<div class="bg-red-light">col</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<% end %>
|
48
|
+
|
49
|
+
<% [
|
50
|
+
'grid-v-top',
|
51
|
+
'grid-v-center',
|
52
|
+
'grid-v-bottom',
|
53
|
+
'grid-v-around',
|
54
|
+
'grid-v-between',
|
55
|
+
'grid-v-stretch'
|
56
|
+
].each do |klass| %>
|
57
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
58
|
+
.grid .<%= klass %> .height-300-px
|
59
|
+
<div class="grid <%= klass %> height-300-px">
|
60
|
+
<div class="col-4 bg-green-light border">
|
61
|
+
<div class="bg-red-light">col-4</div>
|
62
|
+
</div>
|
63
|
+
<div class="col-4 bg-green-light border">
|
64
|
+
<div class="bg-red-light height-100-px">col-4 height-100-px</div>
|
65
|
+
</div>
|
66
|
+
<div class="col-4 bg-green-light border">
|
67
|
+
<div class="bg-red-light">col-4</div>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="col-4 bg-green-light border">
|
71
|
+
<div class="bg-red-light">col-4</div>
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div class="col-4 bg-green-light border">
|
75
|
+
<div class="bg-red-light">col-4</div>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div class="col-4 bg-green-light border">
|
79
|
+
<div class="bg-red-light">col-4</div>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div class="col-4 bg-green-light border">
|
83
|
+
<div class="bg-red-light">col-4</div>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
<% end %>
|
88
|
+
|
89
|
+
|
90
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
91
|
+
.grid .no-wrap .height-300-px
|
92
|
+
<div class="grid no-wrap height-300-px">
|
93
|
+
<div class="col-4 bg-green-light border">
|
94
|
+
<div class="bg-red-light">col-4</div>
|
95
|
+
</div>
|
96
|
+
<div class="col-4 bg-green-light border">
|
97
|
+
<div class="bg-red-light height-100-px">col-4 height-100-px</div>
|
98
|
+
</div>
|
99
|
+
<div class="col-4 bg-green-light border">
|
100
|
+
<div class="bg-red-light">col-4</div>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div class="col-4 bg-green-light border">
|
104
|
+
<div class="bg-red-light">col-4</div>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div class="col-4 bg-green-light border">
|
108
|
+
<div class="bg-red-light">col-4</div>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<div class="col-4 bg-green-light border">
|
112
|
+
<div class="bg-red-light">col-4</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div class="col-4 bg-green-light border">
|
116
|
+
<div class="bg-red-light">col-4</div>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
122
|
+
.grid .grid-vertical
|
123
|
+
<div class="grid grid-vertical">
|
124
|
+
<div class="col bg-green-light">
|
125
|
+
<div class="bg-red-light">col</div>
|
126
|
+
</div>
|
127
|
+
<div class="col bg-green-light">
|
128
|
+
<div class="bg-red-light height-100-px">col height-100-px</div>
|
129
|
+
</div>
|
130
|
+
<div class="col bg-green-light">
|
131
|
+
<div class="bg-red-light">col</div>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
137
|
+
.grid .no-gutter
|
138
|
+
<div class="grid no-gutter">
|
139
|
+
<div class="col bg-green-light">
|
140
|
+
<div class="bg-red-light">col</div>
|
141
|
+
</div>
|
142
|
+
<div class="col bg-green-light">
|
143
|
+
<div class="bg-red-light height-100-px">col height-100-px</div>
|
144
|
+
</div>
|
145
|
+
<div class="col bg-green-light">
|
146
|
+
<div class="bg-red-light">col</div>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
151
|
+
.grid .nest
|
152
|
+
<div class="grid nest">
|
153
|
+
<div class="col bg-green-light">
|
154
|
+
<div class="bg-red-light">col</div>
|
155
|
+
</div>
|
156
|
+
<div class="col bg-green-light">
|
157
|
+
<div class="bg-red-light height-100-px">col height-100-px</div>
|
158
|
+
</div>
|
159
|
+
<div class="col bg-green-light">
|
160
|
+
<div class="bg-red-light">col</div>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<h3>Col Options</h3>
|
170
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
171
|
+
.grid
|
172
|
+
<div class="grid">
|
173
|
+
<div class="col">
|
174
|
+
<div class="bg-green-light">col</div>
|
175
|
+
</div>
|
176
|
+
<div class="col">
|
177
|
+
<div class="bg-green-light pad-v">
|
178
|
+
<div class="width-200-px bg-red-light">
|
179
|
+
col > width-200-px
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
<div class="col">
|
184
|
+
<div class="bg-green-light">col</div>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
190
|
+
.grid
|
191
|
+
<div class="grid">
|
192
|
+
<div class="col">
|
193
|
+
<div class="bg-green-light">col</div>
|
194
|
+
</div>
|
195
|
+
<div class="col">
|
196
|
+
<div class="bg-green-light pad-v">
|
197
|
+
<div class="width-200-px bg-red-light">
|
198
|
+
col > width-200-px
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
<div class="col-fill">
|
203
|
+
<div class="bg-green-light">col-fill</div>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
209
|
+
.grid
|
210
|
+
<div class="grid">
|
211
|
+
<div class="col-4">
|
212
|
+
<div class="bg-green-light">col-4</div>
|
213
|
+
</div>
|
214
|
+
<div class="col-4">
|
215
|
+
<div class="bg-green-light">col-4</div>
|
216
|
+
</div>
|
217
|
+
<div class="col-4">
|
218
|
+
<div class="bg-green-light">col-4</div>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
224
|
+
.grid
|
225
|
+
<div class="grid">
|
226
|
+
<div class="col-2">
|
227
|
+
<div class="bg-green-light">col-2</div>
|
228
|
+
</div>
|
229
|
+
<div class="col-6">
|
230
|
+
<div class="bg-green-light">col-6</div>
|
231
|
+
</div>
|
232
|
+
<div class="col-4">
|
233
|
+
<div class="bg-green-light">col-4</div>
|
234
|
+
</div>
|
235
|
+
</div>
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
239
|
+
.grid
|
240
|
+
<div class="grid">
|
241
|
+
<div class="col-3 col-push-2">
|
242
|
+
<div class="bg-green-light">.col-3 .col-push-2</div>
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
|
248
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
249
|
+
.grid
|
250
|
+
<div class="grid">
|
251
|
+
<div class="col-4">
|
252
|
+
<div class="bg-green-light">col-4</div>
|
253
|
+
</div>
|
254
|
+
<div class="col-4">
|
255
|
+
<div class="bg-green-light">col-4</div>
|
256
|
+
</div>
|
257
|
+
<div class="col-4">
|
258
|
+
<div class="bg-green-light">col-4</div>
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
265
|
+
.grid
|
266
|
+
<div class="grid">
|
267
|
+
<div class="col col-center">
|
268
|
+
<div class="bg-green-light">col col-center</div>
|
269
|
+
</div>
|
270
|
+
<div class="col">
|
271
|
+
<div class="bg-green-light pad-v">
|
272
|
+
<div class="width-200-px bg-red-light">
|
273
|
+
col > width-200-px
|
274
|
+
</div>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
<div class="col col-bottom">
|
278
|
+
<div class="bg-green-light">col col-bottom</div>
|
279
|
+
</div>
|
280
|
+
<div class="col col-stretch bg-green-light">
|
281
|
+
<div class="">col col-stretch</div>
|
282
|
+
</div>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
<div class="margin-bottom bg-gray-light pad-bottom">
|
287
|
+
.grid
|
288
|
+
<div class="grid">
|
289
|
+
<div class="col">
|
290
|
+
<div class="bg-green-light">col</div>
|
291
|
+
</div>
|
292
|
+
<div class="col no-gutter bg-green-light pad-v">
|
293
|
+
<div class="width-200-px bg-red-light">
|
294
|
+
col no-gutter > width-200-px
|
295
|
+
</div>
|
296
|
+
</div>
|
297
|
+
<div class="col">
|
298
|
+
<div class="bg-green-light">col</div>
|
299
|
+
</div>
|
300
|
+
</div>
|
301
|
+
</div>
|
302
|
+
|
303
|
+
|
304
|
+
</div>
|