uniform-ui 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile +2 -1
- data/Gemfile.lock +12 -0
- data/Rakefile +34 -8
- data/index.html +587 -406
- data/preview/index.html.erb +423 -433
- data/preview/preview.scss +42 -0
- data/site/index.html +660 -0
- data/site/logo.png +0 -0
- data/site/preview.css +1 -0
- data/site/site/logo.png +0 -0
- data/site/site/preview.css +1 -0
- data/site/site/uniform.css +1 -0
- data/site/uniform.css +1 -0
- data/uniform.gemspec +3 -2
- data/vendor/assets/stylesheets/uniform/components/{buttons.css.scss → buttons.scss} +66 -33
- data/vendor/assets/stylesheets/uniform/components/card.scss +83 -0
- data/vendor/assets/stylesheets/uniform/components/form.scss +221 -0
- data/vendor/assets/stylesheets/uniform/components/grid.scss +83 -0
- data/vendor/assets/stylesheets/uniform/components/{inputs.css.scss → inputs.scss} +57 -29
- data/vendor/assets/stylesheets/uniform/components/lists.scss +62 -0
- data/vendor/assets/stylesheets/uniform/components/loaders.scss +62 -0
- data/vendor/assets/stylesheets/uniform/components/nav.scss +44 -0
- data/vendor/assets/stylesheets/uniform/components/row.scss +165 -0
- data/vendor/assets/stylesheets/uniform/components/table-container.scss +44 -0
- data/vendor/assets/stylesheets/uniform/components/table-form.scss +264 -0
- data/vendor/assets/stylesheets/uniform/components/tabs.scss +32 -0
- data/vendor/assets/stylesheets/uniform/components/tile.scss +32 -0
- data/vendor/assets/stylesheets/uniform/defaults.scss +30 -0
- data/vendor/assets/stylesheets/uniform/helpers.scss +128 -0
- data/vendor/assets/stylesheets/uniform/mixins/grid-framework.scss +142 -0
- data/vendor/assets/stylesheets/uniform/{mixins.css.scss → mixins.scss} +16 -32
- data/vendor/assets/stylesheets/uniform/variables.scss +54 -0
- data/vendor/assets/stylesheets/{uniform.css.scss → uniform.scss} +4 -1
- metadata +44 -13
- data/preview/preview.css +0 -1
- data/preview/preview.css.scss +0 -3
- data/preview/uniform.css +0 -0
- data/vendor/assets/stylesheets/uniform/components/loaders.css.scss +0 -149
- data/vendor/assets/stylesheets/uniform/helpers.css.scss +0 -31
- data/vendor/assets/stylesheets/uniform/variables.css.scss +0 -44
data/preview/index.html.erb
CHANGED
@@ -2,496 +2,486 @@
|
|
2
2
|
<head>
|
3
3
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
4
4
|
<title>Uniform</title>
|
5
|
-
<link href="
|
6
|
-
<link rel="stylesheet" href="
|
7
|
-
<link rel="stylesheet" href="
|
5
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.css" type="text/css" media="screen">
|
6
|
+
<link rel="stylesheet" href="site/preview.css" type="text/css" media="screen" charset="utf-8">
|
7
|
+
<link rel="stylesheet" href="site/uniform.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
8
8
|
</head>
|
9
9
|
<body>
|
10
|
-
<div class="intro">
|
11
|
-
<div class="container">
|
12
|
-
<h1>Uniform</h1>
|
13
|
-
<p class="large">All the things to help us quickly develop front-end stuff with consistency</p>
|
14
|
-
</div>
|
15
|
-
</div>
|
16
|
-
<div class="container styles">
|
17
10
|
|
18
|
-
|
19
|
-
|
20
|
-
<p class="large">There are many things these tools do. These docs are for things specific to uniform.</p>
|
21
|
-
<div style="overflow:hidden">
|
22
|
-
<div class="col-xs-4">
|
23
|
-
<a href="http://getbootstrap.com/css/" class="btn block large outline">
|
24
|
-
Bootstrap
|
25
|
-
<span class="subtext">(Framework)</span>
|
26
|
-
</a>
|
27
|
-
</div>
|
28
|
-
<div class="col-xs-4">
|
29
|
-
<a href="http://bourbon.io/docs/" class="btn block large outline">
|
30
|
-
Bourbon
|
31
|
-
<span class="subtext">(Sass Mixins)</span>
|
32
|
-
</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<hr />
|
37
|
-
<h1>Colors</h1>
|
38
|
-
<table class="colors">
|
39
|
-
<tr class="row">
|
40
|
-
<td class="col-xs-6 gray-light">
|
41
|
-
<code>sass// $gray-light</code>
|
42
|
-
</td>
|
43
|
-
<td class="col-xs-1 yellow-light">
|
44
|
-
<code>sass// $yellow-light</code>
|
45
|
-
</td>
|
46
|
-
<td class="col-xs-3 green-light">
|
47
|
-
<code>sass// $green-light</code>
|
48
|
-
</td>
|
49
|
-
<td class="col-xs-1 blue-light">
|
50
|
-
<code>sass// $blue-light</code>
|
51
|
-
</td>
|
52
|
-
<td class="col-xs-1 red-light">
|
53
|
-
<code>sass// $red-light</code>
|
54
|
-
</td>
|
55
|
-
</tr>
|
56
|
-
<tr class="row main">
|
57
|
-
<td class="col-xs-6 gray">
|
58
|
-
<code>sass// $gray</code>
|
59
|
-
</td>
|
60
|
-
<td class="col-xs-1 yellow">
|
61
|
-
<code>sass// $yellow</code>
|
62
|
-
</td>
|
63
|
-
<td class="col-xs-3 green">
|
64
|
-
<code>sass// $green</code>
|
65
|
-
</td>
|
66
|
-
<td class="col-xs-1 blue">
|
67
|
-
<code>sass// $blue</code>
|
68
|
-
</td>
|
69
|
-
<td class="col-xs-1 red">
|
70
|
-
<code>sass// $red</code>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
<tr class="row">
|
74
|
-
<td class="col-xs-6 gray-dark" >
|
75
|
-
<code>sass// $gray-dark</code>
|
76
|
-
</td>
|
77
|
-
<td class="col-xs-1 yellow-dark">
|
78
|
-
<code>sass// $yellow-dark</code>
|
79
|
-
</td>
|
80
|
-
<td class="col-xs-3 green-dark">
|
81
|
-
<code>sass// $green-dark</code>
|
82
|
-
</td>
|
83
|
-
<td class="col-xs-1 blue-dark">
|
84
|
-
<code>sass// $blue-dark</code>
|
85
|
-
</td>
|
86
|
-
<td class="col-xs-1 red-dark">
|
87
|
-
<code>sass// $red-dark</code>
|
88
|
-
</td>
|
89
|
-
</tr>
|
90
|
-
</table>
|
91
|
-
|
92
|
-
<hr/>
|
93
|
-
|
94
|
-
<h1>CSS Guidelines</h1>
|
95
|
-
|
96
|
-
<h3>Don't use ID's</h3>
|
97
|
-
<p>Unless you have to, and even then, think twice. HTML Id's make things not reusable. There should only be one instance of an id in a document</p>
|
98
|
-
|
99
|
-
<h3>Use Semanitc Classes Presentationaly :)</h3>
|
100
|
-
<p>Here's a decent post on OOCSS (Object Oriented CSS) as it relates to semantic vs presentational classes: <a href="http://blackfalcon.roughdraft.io/5255648-oocss-v-ooscss-sasscast-show-notes">OOCSS v OOSCSS</a>
|
101
|
-
<p><strong>TL;DR:</strong> Semantic classes explain what that element is. Presentational classes explain what the shoud look like.</p>
|
102
|
-
<p><code>class="property-list"</code> vs <code>class="ul-list col-sm-4"</code>
|
103
|
-
<p>Some of us don't want to touch css files (preference: presentational), and some of us live there (preference: semantic). Honestly, the art of good ui development is balancing semantic and presentational classes. Each taken to their extreme is bad.</p>
|
104
|
-
<p>Structure html so that the semantic class is first and presentational classes follow.</p>
|
105
|
-
<p><code>class="property-list ul-list col-sm-4"</code></p>
|
106
|
-
|
107
|
-
<h3>Save the Namespace, save the world</h3>
|
108
|
-
<p>Don't make presentational classes that will clash with elements that could mean something else. I'm looking at you Bootsrap!</p>
|
109
|
-
<p><code>class="label"</code> should be <code>class="text-label"</code></p>
|
11
|
+
<% sections = {
|
12
|
+
uniform: <<-HTML,
|
110
13
|
|
111
|
-
|
112
|
-
|
14
|
+
<div class="center">
|
15
|
+
<img src="site/logo.png" width="451" height="101">
|
16
|
+
<p class="large">Sass components and defaults for building a UI that's on fleak.</p>
|
17
|
+
</div>
|
18
|
+
HTML
|
19
|
+
|
20
|
+
installation: <<-HTML,
|
21
|
+
<p>Add to your gem file<br/><code>gem 'uniform-ui'</code></p>
|
22
|
+
<p>Execute:<br/><code>$ bundle</code></p>
|
23
|
+
<p>Or install it yourself:<br/><code>$ gem install uniform-ui</code></p>
|
24
|
+
<p>Include the css library in your asset pipeline.<br/><code>@import 'uniform';</code></p>
|
113
25
|
|
114
|
-
<div class="row">
|
115
|
-
<div class="col-sm-6">
|
116
|
-
<h3>Wrappers and Containers</h3>
|
117
|
-
<p>The order of nesting should go Wrapper > Element > Container. Sometimes you have to have an inside layer to do advanced css things, and the container should be that layer. This is not a suggestion for every object; use wrapper and/or container as needed.</p>
|
118
|
-
</div>
|
119
|
-
<div class="col-sm-6">
|
120
|
-
<h3> </h3>
|
121
|
-
<pre><%= <<-HTML
|
122
|
-
<div class="property-wrapper">
|
123
|
-
<div class="property">
|
124
|
-
<div class="property-container">
|
125
26
|
|
126
|
-
|
27
|
+
HTML
|
28
|
+
|
29
|
+
|
30
|
+
philosophy: <<-HTML,
|
31
|
+
<h3>Don't use ID's</h3>
|
32
|
+
<p>Unless you have to, and even then, think twice. HTML Id's make things not reusable. There should only be one instance of an id in a document</p>
|
33
|
+
|
34
|
+
<h3>Use Semanitc Classes Presentationaly :)</h3>
|
35
|
+
<p>Here's a decent post on OOCSS (Object Oriented CSS) as it relates to semantic vs presentational classes: <a href="http://blackfalcon.roughdraft.io/5255648-oocss-v-ooscss-sasscast-show-notes">OOCSS v OOSCSS</a>
|
36
|
+
<p><strong>TL;DR:</strong> Semantic classes explain what that element is. Presentational classes explain what the shoud look like.</p>
|
37
|
+
<p><code>class="property-list"</code> vs <code>class="ul-list col-sm-4"</code>
|
38
|
+
<p>Some of us don't want to touch css files (preference: presentational), and some of us live there (preference: semantic). Honestly, the art of good ui development is balancing semantic and presentational classes. Each taken to their extreme is bad.</p>
|
39
|
+
<p>Structure html so that the semantic class is first and presentational classes follow.</p>
|
40
|
+
<p><code>class="property-list ul-list col-sm-4"</code></p>
|
41
|
+
|
42
|
+
<h3>Save the Namespace, save the world</h3>
|
43
|
+
<p>Don't make presentational classes that will clash with elements that could mean something else. I'm looking at you Bootsrap!</p>
|
44
|
+
<p><code>class="label"</code> should be <code>class="text-label"</code></p>
|
45
|
+
|
46
|
+
<h3>Train-case</h3>
|
47
|
+
<p>Use train-case for class names, not camelCase or snake_case. It's quicker to type and honestly just conventional.</p>
|
48
|
+
|
49
|
+
<div class="row">
|
50
|
+
<div class="col-sm-6">
|
51
|
+
<h3>Wrappers and Containers</h3>
|
52
|
+
<p>The order of nesting should go Wrapper > Element > Container. Sometimes you have to have an inside layer to do advanced css things, and the container should be that layer. This is not a suggestion for every object; use wrapper and/or container as needed.</p>
|
53
|
+
</div>
|
54
|
+
<div class="col-sm-6">
|
55
|
+
<h3> </h3>
|
56
|
+
<pre><xmp><div class="property-wrapper">
|
57
|
+
<div class="property">
|
58
|
+
<div class="property-container">
|
127
59
|
</div>
|
128
60
|
</div>
|
129
|
-
|
130
|
-
%></pre>
|
131
|
-
</div>
|
61
|
+
</div></xmp></pre>
|
132
62
|
</div>
|
63
|
+
</div>
|
64
|
+
HTML
|
133
65
|
|
134
|
-
<hr />
|
135
66
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
</
|
144
|
-
<
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</
|
159
|
-
<
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
</
|
164
|
-
<
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
</
|
169
|
-
<
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</
|
174
|
-
<
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
</
|
179
|
-
<
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
</
|
184
|
-
<
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
</
|
189
|
-
<
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
</
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
<
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
<
|
207
|
-
<
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
<div class="
|
221
|
-
<
|
222
|
-
<
|
223
|
-
|
224
|
-
<span>
|
225
|
-
<input id="name" placeholder="Jonathan Doe">
|
226
|
-
</span>
|
227
|
-
</div>
|
228
|
-
HTML
|
229
|
-
%></pre>
|
230
|
-
</div>
|
231
|
-
|
67
|
+
|
68
|
+
colors: <<-HTML,
|
69
|
+
<table>
|
70
|
+
#{%w(green blue red gray yellow).map{|color|
|
71
|
+
["-light", "", "-dark"].map{|style|
|
72
|
+
"<tr>
|
73
|
+
<td><span class='swatch #{color}#{style}-bg'></span></td>
|
74
|
+
<td><code>sass// $#{color}#{style}</code></td>
|
75
|
+
<td><code>class// .#{color}#{style}</code></td>
|
76
|
+
</tr>"
|
77
|
+
} + ["<tr><td colspan='3'> </td></tr>"]
|
78
|
+
}.flatten.join("\n")}
|
79
|
+
</table>
|
80
|
+
HTML
|
81
|
+
|
82
|
+
|
83
|
+
buttons: <<-HTML,
|
84
|
+
<p>Mix and match styles to make the right button, all colors are available as well.</p>
|
85
|
+
<p><code>#{CGI::escapeHTML "<a href='#' class='btn'></a>"}</code></p>
|
86
|
+
<table class="table" cellspacing="0" cellpadding="0">
|
87
|
+
<tr>
|
88
|
+
<th></th>
|
89
|
+
<th>Normal</th>
|
90
|
+
<th><code>.green</code></th>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<th></th>
|
94
|
+
<td><a class="btn">Button</a></td>
|
95
|
+
<td><a class="btn green">Button</a></td>
|
96
|
+
</tr>
|
97
|
+
<tr>
|
98
|
+
<th><code>:hover</code> or <code>.hover</code></th>
|
99
|
+
<td><a class="btn hover">Button</a></td>
|
100
|
+
<td><a class="btn green hover">Button</a></td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<th><code>:active</code> or <code>.active</code></th>
|
104
|
+
<td><a class="btn active">Button</a></td>
|
105
|
+
<td><a class="btn green active">Button</a></td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<th><code>:disabled</code> or <code>.disabled</code></th>
|
109
|
+
<td><a class="btn disabled">Button</a></td>
|
110
|
+
<td><a class="btn green disabled">Button</a></td>
|
111
|
+
</tr>
|
112
|
+
<tr>
|
113
|
+
<th><code>.subtle</code></th>
|
114
|
+
<td><a class="btn subtle">Button</a></td>
|
115
|
+
<td><a class="btn green subtle">Button</a></td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<th><code>.small</code></th>
|
119
|
+
<td><a class="btn small">Button</a></td>
|
120
|
+
<td><a class="btn green small">Button</a></td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<th><code>.large</code></th>
|
124
|
+
<td><a class="btn large">Button</a></td>
|
125
|
+
<td><a class="btn green large">Button</a></td>
|
126
|
+
</tr>
|
127
|
+
<tr>
|
128
|
+
<th><code>.outline</code></th>
|
129
|
+
<td><a class="btn outline">Button</a></td>
|
130
|
+
<td><a class="btn green outline">Button</a></td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<th><code>.circle</code></th>
|
134
|
+
<td><a class="btn circle">Button</a></td>
|
135
|
+
<td><a class="btn green circle">Button</a></td>
|
136
|
+
</tr>
|
137
|
+
<tr>
|
138
|
+
<th><code>.block</code></th>
|
139
|
+
<td><a class="btn block">Button</a></td>
|
140
|
+
<td><a class="btn green block">Button</a></td>
|
141
|
+
</tr>
|
142
|
+
</table>
|
143
|
+
HTML
|
144
|
+
|
145
|
+
grid: <<-HTML,
|
146
|
+
TODO
|
147
|
+
HTML
|
148
|
+
|
149
|
+
inputs: <<-HTML,
|
150
|
+
<h3>Custom Inputs</h3>
|
151
|
+
<div class="row">
|
152
|
+
<div class="col-sm-6">
|
153
|
+
<p>Styled Select Box
|
154
|
+
<p><span class="uniform-select"><select><option>An Option</option></select></span></p>
|
232
155
|
</div>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
<div class="inline-input">
|
249
|
-
<div class="label"><%#= label_tag :email %></div>
|
250
|
-
<div class="input"><%#= email_field_tag :email, "", :placeholder => "jonathan@42floors.com" %></div>
|
251
|
-
<div class="error"></div>
|
252
|
-
</div>
|
253
|
-
<div class="inline-input">
|
254
|
-
<div class="label"><%#= label_tag :phone %></div>
|
255
|
-
<div class="input"><%#= telephone_field_tag :phone, "", :placeholder => "###-###-####" %></div>
|
256
|
-
<div class="error"></div>
|
257
|
-
</div>
|
258
|
-
</div>
|
259
|
-
<div class="submit">
|
260
|
-
<%#= submit_tag "Contact Us", {class: "btn outline large"} %>
|
261
|
-
</div>
|
262
|
-
<%# end %>
|
263
|
-
</div>
|
264
|
-
<div class="col-sm-6">
|
265
|
-
<pre><%= <<-HTML
|
266
|
-
\<%= form_tag "#", :class => "table-form" do %\>
|
267
|
-
<div class="field-table">
|
268
|
-
<div class="inline-input">
|
269
|
-
<div class="label">\<%= label_tag :name %\></div>
|
270
|
-
<div class="input">\<%= text_field_tag :name, "", :placeholder => "Jonathan Doe" %\></div>
|
271
|
-
<div class="error"></div>
|
272
|
-
</div>
|
156
|
+
<div class="col-sm-6">
|
157
|
+
<pre><xmp><span class='uniform-select'>
|
158
|
+
<select>
|
159
|
+
<option>An Option</option>
|
160
|
+
</select>
|
161
|
+
</span></xmp></pre>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<h3>Inline Inputs</h3>
|
166
|
+
<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 inline-input.</p>
|
167
|
+
<div class="row">
|
168
|
+
<div class="col-sm-6">
|
169
|
+
|
170
|
+
|
273
171
|
<div class="inline-input">
|
274
|
-
<
|
275
|
-
|
276
|
-
|
172
|
+
<span class="label">
|
173
|
+
<label for="rate">$</label>
|
174
|
+
</span>
|
175
|
+
<span>
|
176
|
+
<input id="rate">
|
177
|
+
</span>
|
178
|
+
<span class="units">
|
179
|
+
<label for="rate">/hour</label>
|
180
|
+
</span>
|
277
181
|
</div>
|
182
|
+
</div>
|
183
|
+
<div class="col-sm-6">
|
184
|
+
<pre><xmp><div class="inline-input">
|
185
|
+
<span class="label">$</span>
|
186
|
+
<span>
|
187
|
+
<input id="name" placeholder="Jonathan Doe">
|
188
|
+
</span>
|
189
|
+
<span class="units">/hour</span>
|
190
|
+
</div></xmp></pre>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
<div class="row">
|
194
|
+
<div class="col-sm-6">
|
278
195
|
<div class="inline-input">
|
279
|
-
<
|
280
|
-
<
|
281
|
-
<div class="error"></div>
|
196
|
+
<span class="label"><label for="car">Car Preference</label></span>
|
197
|
+
<span class="select"><select id="car"><option>Tesla</option></select></span>
|
282
198
|
</div>
|
283
199
|
</div>
|
284
|
-
<div class="
|
285
|
-
|
200
|
+
<div class="col-sm-6">
|
201
|
+
<pre><xmp><div class="inline-input">
|
202
|
+
<span class="label">
|
203
|
+
<label for="car">Car Preference</label>
|
204
|
+
</span>
|
205
|
+
<span>
|
206
|
+
<select id="car"><option>Tesla</option></select>
|
207
|
+
</span>
|
208
|
+
</div></xmp></pre>
|
286
209
|
</div>
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
210
|
+
</div>
|
211
|
+
<div class="row">
|
212
|
+
<div class="col-sm-6">
|
213
|
+
<div class="inline-input block">
|
214
|
+
<span class="label">
|
215
|
+
<label for="car">Car Preference</label>
|
216
|
+
</span>
|
217
|
+
<span>
|
218
|
+
<input id="name" value="Jonathan Doe" disabled>
|
219
|
+
</span>
|
291
220
|
</div>
|
292
|
-
|
293
221
|
</div>
|
294
|
-
|
295
|
-
|
222
|
+
<div class="col-sm-6">
|
223
|
+
<pre><xmp><div class="inline-input block">
|
224
|
+
<span class="label">
|
225
|
+
<label for="car">Car Preference</label>
|
226
|
+
</span>
|
227
|
+
<span>
|
228
|
+
<input id="name" value="Jonathan Doe" disabled>
|
229
|
+
</span>
|
230
|
+
</div></xmp></pre>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
HTML
|
296
234
|
|
297
|
-
|
235
|
+
forms: <<-HTML,
|
236
|
+
TODO
|
237
|
+
HTML
|
298
238
|
|
299
|
-
|
300
|
-
|
301
|
-
|
239
|
+
loaders: <<-HTML,
|
240
|
+
<div class="row">
|
241
|
+
<div class="col-sm-6">
|
242
|
+
<div class="uniform-loader">
|
243
|
+
<div class="uniform-loader-container">
|
302
244
|
<span>•</span>
|
303
245
|
<span>•</span>
|
304
246
|
<span>•</span>
|
305
247
|
</div>
|
306
248
|
</div>
|
307
|
-
|
308
|
-
<div class="
|
309
|
-
|
249
|
+
</div>
|
250
|
+
<div class="col-sm-6">
|
251
|
+
<pre><xmp><div class="uniform-loader">
|
252
|
+
<div class="uniform-loader-container">
|
253
|
+
<span>•</span>
|
254
|
+
<span>•</span>
|
255
|
+
<span>•</span>
|
256
|
+
</div>
|
257
|
+
</div></xmp></pre>
|
258
|
+
</div>
|
259
|
+
</div>
|
260
|
+
<div class="row">
|
261
|
+
<div class="col-sm-6">
|
262
|
+
<span style="position:relative; display:inline-block">
|
263
|
+
<img src="https://unsplash.it/150/100/?random" style="display:inline-block;" width="150" height="100">
|
264
|
+
<div class="uniform-loader cover">
|
265
|
+
<div class="uniform-loader-container">
|
266
|
+
<span>•</span>
|
267
|
+
<span>•</span>
|
268
|
+
<span>•</span>
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
</span>
|
272
|
+
</div>
|
273
|
+
<div class="col-sm-6">
|
274
|
+
<pre><xmp><span style="position:relative; display:inline-block">
|
275
|
+
<img src="https://unsplash.it/150/100/?random" style="display:inline-block;">
|
276
|
+
<div class="uniform-loader cover">
|
277
|
+
<div class="uniform-loader-container">
|
310
278
|
<span>•</span>
|
311
279
|
<span>•</span>
|
312
280
|
<span>•</span>
|
313
281
|
</div>
|
314
282
|
</div>
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
<
|
324
|
-
</div>
|
325
|
-
</div>
|
326
|
-
<h4>Optional Class: <code>light</code></h4>
|
327
|
-
<pre><%= <<-HTML
|
328
|
-
<div class="loader-dots light">
|
329
|
-
<div class="loader-dots-container">
|
283
|
+
</span></xmp></pre>
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
<div class="row">
|
287
|
+
<div class="col-sm-6">
|
288
|
+
<span style="position:relative; display:inline-block">
|
289
|
+
<img src="https://unsplash.it/150/100/?random" style="display:inline-block;" width="150" height="100">
|
290
|
+
<div class="uniform-loader cover light">
|
291
|
+
<div class="uniform-loader-container">
|
330
292
|
<span>•</span>
|
331
293
|
<span>•</span>
|
332
294
|
<span>•</span>
|
333
295
|
</div>
|
334
296
|
</div>
|
335
|
-
|
336
|
-
|
337
|
-
|
297
|
+
</span>
|
298
|
+
</div>
|
299
|
+
<div class="col-sm-6">
|
300
|
+
<pre><xmp><span style="position:relative; display:inline-block">
|
301
|
+
<img src="https://unsplash.it/150/100/?random" style="display:inline-block;">
|
302
|
+
<div class="uniform-loader cover light">
|
303
|
+
<div class="uniform-loader-container">
|
304
|
+
<span>•</span>
|
305
|
+
<span>•</span>
|
306
|
+
<span>•</span>
|
307
|
+
</div>
|
308
|
+
</div>
|
309
|
+
</span></xmp></pre>
|
310
|
+
</div>
|
311
|
+
</div>
|
312
|
+
HTML
|
338
313
|
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
<span
|
345
|
-
<span>•</span>
|
314
|
+
cards: <<-HTML,
|
315
|
+
<div class="row">
|
316
|
+
<div class="col-sm-6">
|
317
|
+
<div class="uniform-card">
|
318
|
+
<div class="uniform-card-title">
|
319
|
+
<span class="type">Sample Card</span>
|
346
320
|
</div>
|
321
|
+
<div class="uniform-card-body">Put Content In Here</div>
|
347
322
|
</div>
|
348
|
-
|
349
|
-
<div
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
323
|
+
</div>
|
324
|
+
<div class="col-sm-6">
|
325
|
+
<pre><xmp><div class="uniform-card">
|
326
|
+
<div class="uniform-card-title">
|
327
|
+
<span class="type">Sample Card</span>
|
328
|
+
</div>
|
329
|
+
<div class="uniform-card-body">Put Content In Here</div>
|
330
|
+
</div></xmp></pre>
|
331
|
+
</div>
|
332
|
+
</div>
|
333
|
+
<div class="row">
|
334
|
+
<div class="col-sm-6">
|
335
|
+
<div class="uniform-card">
|
336
|
+
<div class="uniform-card-avatar">
|
337
|
+
<img src="https://unsplash.it/161/161/?random" style="display:block;" height="161" width="161">
|
338
|
+
</div>
|
339
|
+
<div class="uniform-card-container">
|
340
|
+
<div class="uniform-card-title">
|
341
|
+
<span class="type">John Dozer</span>
|
342
|
+
<div class="actions">
|
343
|
+
<a class="btn">Edit</a>
|
344
|
+
</div>
|
345
|
+
</div>
|
346
|
+
<div class="uniform-card-body">
|
347
|
+
<div class="uniform-card-attributes">
|
348
|
+
<div>
|
349
|
+
<div>Company</div>
|
350
|
+
<div>Friendly Associates</div>
|
351
|
+
</div>
|
352
|
+
<div>
|
353
|
+
<div>Title</div>
|
354
|
+
<div>Head Dude</div>
|
355
|
+
</div>
|
356
|
+
<div>
|
357
|
+
<div>Skills</div>
|
358
|
+
<div>Stapling, Jogging</div>
|
359
|
+
</div>
|
360
|
+
</div>
|
361
|
+
</div>
|
355
362
|
</div>
|
356
363
|
</div>
|
357
364
|
</div>
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
<
|
368
|
-
<div class="a4"></div>
|
369
|
-
<div class="b1"></div>
|
370
|
-
<div class="b2"></div>
|
371
|
-
<div class="b3"></div>
|
372
|
-
<div class="c1"></div>
|
373
|
-
<div class="c2"></div>
|
374
|
-
<div class="c3"></div>
|
375
|
-
<div class="c4"></div>
|
376
|
-
<div class="c5"></div>
|
377
|
-
<div class="d1"></div>
|
378
|
-
<div class="d2"></div>
|
365
|
+
<div class="col-sm-6">
|
366
|
+
<pre><xmp><div class="uniform-card">
|
367
|
+
<div class="uniform-card-avatar">
|
368
|
+
<img src="https://unsplash.it/161/161/?random" style="display:block;" height="161" width="161">
|
369
|
+
</div>
|
370
|
+
<div class="uniform-card-container">
|
371
|
+
<div class="uniform-card-title">
|
372
|
+
<span class="type">John Dozer</span>
|
373
|
+
<div class="actions">
|
374
|
+
<a class="btn">Edit</a>
|
379
375
|
</div>
|
380
376
|
</div>
|
381
|
-
<
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
<div class="d1"></div>
|
397
|
-
<div class="d2"></div>
|
377
|
+
<div class="uniform-card-body">
|
378
|
+
<div class="uniform-card-attributes">
|
379
|
+
<div>
|
380
|
+
<div>Company</div>
|
381
|
+
<div>Friendly Associates</div>
|
382
|
+
</div>
|
383
|
+
<div>
|
384
|
+
<div>Title</div>
|
385
|
+
<div>Head Dude</div>
|
386
|
+
</div>
|
387
|
+
<div>
|
388
|
+
<div>Skills</div>
|
389
|
+
<div>Stapling, Jogging</div>
|
390
|
+
</div>
|
391
|
+
</div>
|
398
392
|
</div>
|
399
393
|
</div>
|
400
|
-
|
401
|
-
|
402
|
-
|
394
|
+
</div></xmp></pre>
|
395
|
+
</div>
|
396
|
+
</div>
|
397
|
+
HTML
|
398
|
+
|
399
|
+
tiles: <<-HTML,
|
400
|
+
TODO
|
401
|
+
HTML
|
402
|
+
|
403
|
+
rows: <<-HTML,
|
404
|
+
TODO
|
405
|
+
HTML
|
406
|
+
|
407
|
+
lists: <<-HTML,
|
408
|
+
TODO
|
409
|
+
HTML
|
403
410
|
|
411
|
+
tables: <<-HTML,
|
412
|
+
TODO
|
413
|
+
HTML
|
404
414
|
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
<div
|
412
|
-
<div
|
413
|
-
<div class="b2"></div>
|
414
|
-
<div class="b3"></div>
|
415
|
-
<div class="c1"></div>
|
416
|
-
<div class="c2"></div>
|
417
|
-
<div class="c3"></div>
|
418
|
-
<div class="c4"></div>
|
419
|
-
<div class="c5"></div>
|
420
|
-
<div class="d1"></div>
|
421
|
-
<div class="d2"></div>
|
415
|
+
nav: <<-HTML,
|
416
|
+
<div class="row">
|
417
|
+
<div class="col-sm-6">
|
418
|
+
<div class="uniform-nav horizontal main">
|
419
|
+
<div class="pad">Logo</div>
|
420
|
+
<div class="right">
|
421
|
+
<div><a>Account</a></div>
|
422
|
+
<div><a>Sign Out</a></div>
|
422
423
|
</div>
|
423
424
|
</div>
|
424
|
-
|
425
|
-
<div class="
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
<
|
439
|
-
|
440
|
-
|
425
|
+
</div>
|
426
|
+
<div class="col-sm-6">
|
427
|
+
<pre><xmp><div class="uniform-nav horizontal main">
|
428
|
+
<div class="pad">Logo</div>
|
429
|
+
<div class="right">
|
430
|
+
<div><a>Account</a></div>
|
431
|
+
<div><a>Sign Out</a></div>
|
432
|
+
</div>
|
433
|
+
</div></xmp></pre>
|
434
|
+
</div>
|
435
|
+
</div>
|
436
|
+
<div class="row">
|
437
|
+
<div class="col-sm-6">
|
438
|
+
<div class="uniform-nav">
|
439
|
+
<ul>
|
440
|
+
<li><a>Account</a></li>
|
441
|
+
<li><a>Sign Out</a></li>
|
442
|
+
</ul>
|
441
443
|
</div>
|
442
444
|
</div>
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
445
|
+
<div class="col-sm-6">
|
446
|
+
<pre><xmp><div class="uniform-nav">
|
447
|
+
<ul>
|
448
|
+
<li><a>Account</a></li>
|
449
|
+
<li><a>Sign Out</a></li>
|
450
|
+
</ul>
|
451
|
+
</div></xmp></pre>
|
452
|
+
</div>
|
453
|
+
</div>
|
454
|
+
HTML
|
448
455
|
|
449
|
-
|
450
|
-
|
456
|
+
tabs: <<-HTML,
|
457
|
+
TODO
|
458
|
+
HTML
|
451
459
|
|
460
|
+
helpers: <<-HTML,
|
461
|
+
TODO
|
462
|
+
HTML
|
452
463
|
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
<div class="a2"></div>
|
458
|
-
<div class="a3"></div>
|
459
|
-
<div class="a4"></div>
|
460
|
-
<div class="b1"></div>
|
461
|
-
<div class="b2"></div>
|
462
|
-
<div class="b3"></div>
|
463
|
-
<div class="c1"></div>
|
464
|
-
<div class="c2"></div>
|
465
|
-
<div class="c3"></div>
|
466
|
-
<div class="c4"></div>
|
467
|
-
<div class="c5"></div>
|
468
|
-
<div class="d1"></div>
|
469
|
-
<div class="d2"></div>
|
470
|
-
</div>
|
471
|
-
</div>
|
472
|
-
<%= <<-HTML
|
473
|
-
<div stlye="height:100px; position:relative;">
|
474
|
-
<div class="loader-windows cover">
|
475
|
-
<div class="loader-windows-container">
|
476
|
-
<div class="a1"></div>
|
477
|
-
<div class="a2"></div>
|
478
|
-
<div class="a3"></div>
|
479
|
-
<div class="a4"></div>
|
480
|
-
<div class="b1"></div>
|
481
|
-
<div class="b2"></div>
|
482
|
-
<div class="b3"></div>
|
483
|
-
<div class="c1"></div>
|
484
|
-
<div class="c2"></div>
|
485
|
-
<div class="c3"></div>
|
486
|
-
<div class="c4"></div>
|
487
|
-
<div class="c5"></div>
|
488
|
-
<div class="d1"></div>
|
489
|
-
<div class="d2"></div>
|
490
|
-
</div>
|
464
|
+
} %>
|
465
|
+
<div class="side-nav">
|
466
|
+
<div style="padding: 20px; padding-right: 30px">
|
467
|
+
<img src="site/logo.png" style="width: 100%; height: auto;">
|
491
468
|
</div>
|
469
|
+
<ul class="uniform-nav">
|
470
|
+
<% sections.each do |key, html| %>
|
471
|
+
<li><a href="#<%= key %>"><%= key.to_s.titleize %></a></li>
|
472
|
+
<% end %>
|
473
|
+
</ul>
|
492
474
|
</div>
|
493
|
-
|
494
|
-
|
495
|
-
|
475
|
+
<div class="main-content">
|
476
|
+
<% sections.each do |key, html| %>
|
477
|
+
<a name="<%= key %>"></a>
|
478
|
+
<div class="section">
|
479
|
+
<% if key != :uniform %>
|
480
|
+
<h1><%= key.to_s.titleize %></h1>
|
481
|
+
<% end %>
|
482
|
+
<%= html %>
|
483
|
+
</div>
|
484
|
+
<% end %>
|
496
485
|
</div>
|
486
|
+
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
|
497
487
|
</body>
|