express_ui 0.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +38 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/config/express_ui_manifest.js +2 -0
  6. data/app/assets/javascripts/express_ui/application.js +1 -0
  7. data/app/assets/javascripts/express_ui/copy_code.js +63 -0
  8. data/app/assets/javascripts/express_ui/search.js +103 -0
  9. data/app/assets/javascripts/express_ui/styleguide.js +90 -0
  10. data/app/assets/stylesheets/express_ui/atoms/_animations.sass +35 -0
  11. data/app/assets/stylesheets/express_ui/atoms/_buttons.sass +119 -0
  12. data/app/assets/stylesheets/express_ui/atoms/_headings.sass +51 -0
  13. data/app/assets/stylesheets/express_ui/atoms/_icons.sass +3 -0
  14. data/app/assets/stylesheets/express_ui/atoms/_images.sass +37 -0
  15. data/app/assets/stylesheets/express_ui/atoms/_media_queries.sass +27 -0
  16. data/app/assets/stylesheets/express_ui/atoms/_mixins.sass +33 -0
  17. data/app/assets/stylesheets/express_ui/atoms/_reset.sass +11 -0
  18. data/app/assets/stylesheets/express_ui/atoms/_typography.sass +167 -0
  19. data/app/assets/stylesheets/express_ui/atoms/_variables.sass +52 -0
  20. data/app/assets/stylesheets/express_ui/molecules/_button_group.sass +54 -0
  21. data/app/assets/stylesheets/express_ui/molecules/_container.sass +29 -0
  22. data/app/assets/stylesheets/express_ui/molecules/_flash_messages.sass +56 -0
  23. data/app/assets/stylesheets/express_ui/molecules/_form_groups.sass +96 -0
  24. data/app/assets/stylesheets/express_ui/molecules/_forms.sass +159 -0
  25. data/app/assets/stylesheets/express_ui/molecules/_lists.sass +56 -0
  26. data/app/assets/stylesheets/express_ui/molecules/_nav.sass +85 -0
  27. data/app/assets/stylesheets/express_ui/molecules/_tables.sass +77 -0
  28. data/app/assets/stylesheets/express_ui/molecules/_tabs.sass +23 -0
  29. data/app/assets/stylesheets/express_ui/organisms/_header.sass +29 -0
  30. data/app/assets/stylesheets/express_ui/organisms/_sidebar.sass +113 -0
  31. data/app/assets/stylesheets/express_ui/style.sass +31 -0
  32. data/app/assets/stylesheets/express_ui/styleguide.sass +200 -0
  33. data/app/assets/stylesheets/express_ui/templates/_content_sidebar.sass +31 -0
  34. data/app/assets/stylesheets/express_ui/templates/_full_width.sass +5 -0
  35. data/app/assets/stylesheets/express_ui/templates/_half_width.sass +8 -0
  36. data/app/assets/stylesheets/express_ui/templates/_master_detail.sass +50 -0
  37. data/app/components/code_demo.rb +31 -0
  38. data/app/controllers/express_ui/about_controller.rb +10 -0
  39. data/app/controllers/express_ui/application_controller.rb +5 -0
  40. data/app/controllers/express_ui/styleguide_controller.rb +10 -0
  41. data/app/controllers/express_ui/templates_controller.rb +26 -0
  42. data/app/controllers/express_ui/uicomponents_controller.rb +26 -0
  43. data/app/helpers/express_ui/application_helper.rb +28 -0
  44. data/app/jobs/express_ui/application_job.rb +4 -0
  45. data/app/mailers/express_ui/application_mailer.rb +6 -0
  46. data/app/models/express_ui/application_record.rb +5 -0
  47. data/app/views/express_ui/atoms/_animations.html.erb +33 -0
  48. data/app/views/express_ui/atoms/_buttons.html.erb +129 -0
  49. data/app/views/express_ui/atoms/_headings.html.erb +3 -0
  50. data/app/views/express_ui/atoms/_icons.html.erb +13 -0
  51. data/app/views/express_ui/atoms/_mixins.html.erb +6 -0
  52. data/app/views/express_ui/atoms/_typography.html.erb +201 -0
  53. data/app/views/express_ui/atoms/_variables.html.erb +50 -0
  54. data/app/views/express_ui/molecules/_button_group.html.erb +90 -0
  55. data/app/views/express_ui/molecules/_container.html.erb +32 -0
  56. data/app/views/express_ui/molecules/_flash_messages.html.erb +49 -0
  57. data/app/views/express_ui/molecules/_form_group_horizontal.html.erb +14 -0
  58. data/app/views/express_ui/molecules/_form_group_inline.html.erb +1 -0
  59. data/app/views/express_ui/molecules/_form_group_single_line.html.erb +9 -0
  60. data/app/views/express_ui/molecules/_form_groups.html.erb +69 -0
  61. data/app/views/express_ui/molecules/_forms.html.erb +209 -0
  62. data/app/views/express_ui/molecules/_forms_checkbox.html.erb +20 -0
  63. data/app/views/express_ui/molecules/_forms_radio.html.erb +12 -0
  64. data/app/views/express_ui/molecules/_forms_select.html.erb +11 -0
  65. data/app/views/express_ui/molecules/_nav.html.erb +11 -0
  66. data/app/views/express_ui/molecules/_nav_mega_menu.html.erb +74 -0
  67. data/app/views/express_ui/molecules/_table.html.erb +93 -0
  68. data/app/views/express_ui/molecules/_table_with_filtering.html.erb +55 -0
  69. data/app/views/express_ui/organisms/_header.html.erb +24 -0
  70. data/app/views/express_ui/shared/_header.html.erb +10 -0
  71. data/app/views/express_ui/shared/_search_box.html.erb +6 -0
  72. data/app/views/express_ui/shared/_sidebar_left.html.erb +4 -0
  73. data/app/views/express_ui/shared/_sidebar_right.html.erb +5 -0
  74. data/app/views/express_ui/styleguide/about.html.erb +22 -0
  75. data/app/views/express_ui/styleguide/index.html.erb +79 -0
  76. data/app/views/express_ui/templates/_header.html.erb +15 -0
  77. data/app/views/express_ui/templates/_templates.html.erb +57 -0
  78. data/app/views/express_ui/templates/content_and_sidebar.html.erb +32 -0
  79. data/app/views/express_ui/templates/content_and_sidebar_fixed.html.erb +34 -0
  80. data/app/views/express_ui/templates/full_width.html.erb +25 -0
  81. data/app/views/express_ui/templates/half_width.html.erb +25 -0
  82. data/app/views/express_ui/templates/master_detail.html.erb +41 -0
  83. data/app/views/express_ui/templates/master_detail_fixed.html.erb +36 -0
  84. data/app/views/express_ui/uicomponents/_buttons.html.et +10 -0
  85. data/app/views/express_ui/uicomponents/_flash_message.html.et +19 -0
  86. data/app/views/express_ui/uicomponents/_forms.html.et +118 -0
  87. data/app/views/express_ui/uicomponents/_heading.html.et +24 -0
  88. data/app/views/express_ui/uicomponents/_icons.html.et +35 -0
  89. data/app/views/express_ui/uicomponents/_layout.html.et +47 -0
  90. data/app/views/express_ui/uicomponents/_lists.html.et +9 -0
  91. data/app/views/express_ui/uicomponents/_login.html.erb +15 -0
  92. data/app/views/express_ui/uicomponents/_nav.html.et +18 -0
  93. data/app/views/express_ui/uicomponents/_pages.html.et +22 -0
  94. data/app/views/express_ui/uicomponents/_panel.html.et +33 -0
  95. data/app/views/express_ui/uicomponents/_popup.html.et +19 -0
  96. data/app/views/express_ui/uicomponents/_register.html.erb +14 -0
  97. data/app/views/express_ui/uicomponents/_sidebar.html.et +8 -0
  98. data/app/views/express_ui/uicomponents/_table.html.et +29 -0
  99. data/app/views/express_ui/uicomponents/_widget_box.html.et +14 -0
  100. data/app/views/express_ui/uicomponents/index.html.erb +55 -0
  101. data/app/views/layouts/express_ui/styleguide.html.erb +20 -0
  102. data/config/routes.rb +12 -0
  103. data/lib/express_ui.rb +5 -0
  104. data/lib/express_ui/engine.rb +12 -0
  105. data/lib/express_ui/version.rb +3 -0
  106. data/lib/tasks/express_ui_tasks.rake +4 -0
  107. metadata +251 -0
@@ -0,0 +1,6 @@
1
+ <h4>Mixins</h4>
2
+ <section>
3
+ <p>Mixins define styles that can be re-used throughout the stylesheet without needing to resort to non-semantic classes like .float-left. Mixins can also contain full CSS rules, and anything else allowed elsewhere in a Sass document. They can even take arguments which allows you to produce a wide variety of styles with very few mixins."</p>
4
+
5
+ <p><small>Source: SASS Reference. See <a href="http://sass-lang.com/documentation/file.SASS_REFERENCE.html#mixins">SASS Reference</a> for the full documentation on `@mixins`</small>.</p>
6
+ </section>
@@ -0,0 +1,201 @@
1
+ <section>
2
+ <table>
3
+ <thead>
4
+ <th>Font Family</th>
5
+ <th>Variable</th>
6
+ <th>Value</th>
7
+ <th>Usage</th>
8
+ </thead>
9
+ <tbody>
10
+ <tr>
11
+ <td><b>Lato Bold</b></td>
12
+ <td><span class="citation">@header-font</span></td>
13
+ <td>font-family: ‘Lato’, sans-serif</td>
14
+ <td>Headings</td>
15
+ </tr>
16
+ <tr>
17
+ <td>Lato</td>
18
+ <td><span class="citation">@body-font</span></td>
19
+ <td>font-family: ‘Lato’, sans-serif</td>
20
+ <td>Body</td>
21
+ </tr>
22
+ </tbody>
23
+ </table>
24
+ <p>ExpressUI uses Lato for both headings and body text. It should be specified otherwise when headings and body fonts differ. ExpressUI automatically imports Lato via Google Fonts</p>
25
+
26
+ <h4>Headings</h4>
27
+ <%= render "express_ui/atoms/headings" %>
28
+
29
+ <h4>Icons</h4>
30
+ <%= render "express_ui/atoms/icons" %>
31
+
32
+ <h4>Inline and Block Elements</h4>
33
+
34
+ <p>Assign margin and padding to headers to make sure they are spaced well against other elements</p>
35
+
36
+ <table>
37
+ <thead>
38
+ <th>Element</th>
39
+ <th>Demo</th>
40
+ <th>Notes</th>
41
+ </thead>
42
+ <tbody>
43
+ <tr>
44
+ <td><code>&lt;p&gt;&lt;/p&gt;</code></td>
45
+ <td><p>A paragraph (from the Greek paragraphos, &quot;to write beside&quot; or &quot;written beside&quot;) is a self-contained unit of a discourse in writing dealing with a particular point or idea. </p>
46
+ <td>Wraps block elements</td>
47
+ </tr>
48
+
49
+ <tr>
50
+ <td><code>&lt;a href="#" title=""&gt;&lt;/a&gt;</code></td>
51
+ <td><a href="#" title="Describe where the link is taking the user">This is a text link</a></td>
52
+ <td>Always add a descriptive <code>title</code> attribute to links</td>
53
+ </tr>
54
+
55
+ <tr>
56
+ <td><code>&lt;strong&gt;&lt;/strong&gt;</code></td>
57
+ <td><strong>I'm very important</strong></td>
58
+ <td>Strong is used to indicate strong importance</td>
59
+ </tr>
60
+
61
+ <tr>
62
+ <td><code>&lt;em&gt;&lt;/em&gt;</code></td>
63
+ <td><em>I'm slightly important</em></td>
64
+ <td>Add emphasis</td>
65
+ </tr>
66
+
67
+ <tr>
68
+ <td><code>&lt;i&gt;&lt;/i&gt;</code></td>
69
+ <td><i>icon</i></td>
70
+ <td>For font icons</td>
71
+ </tr>
72
+
73
+ <tr>
74
+ <td><code>&lt;sup&gt;&lt;/sup&gt;</code></td>
75
+ <td>Rotate the image by 90<sup>º</sup></td>
76
+ <td>Slightly elevate text above the normal line</td>
77
+ </tr>
78
+
79
+ <tr>
80
+ <td><code>&lt;small&gt;&lt;/small&gt;</code></td>
81
+ <td><small>Terms and conditions apply</small></td>
82
+ <td>For fine print</td>
83
+ </tr>
84
+
85
+ <tr>
86
+ <td><code>&lt;code&gt;&lt;/code&gt;</code></td>
87
+ <td>&lt;html&gt;&lt;/html&gt;</td>
88
+ <td>For inline code</td>
89
+ </tr>
90
+
91
+ </tbody>
92
+ </table>
93
+
94
+ <p>See list of deprecated tags at <a href="https://www.codehelp.co.uk/html/deprecated.html" title="Deprecated tags"> https://www.codehelp.co.uk/html/deprecated.html </a></p>
95
+
96
+ <h4>Status</h4>
97
+ <p>Status labels can be used to denote the state of an item or page, e.g., when an item has incurred a “cancelled” or “successful” state.</p>
98
+ <p>The <code>.ae-status</code> class is required.</p>
99
+ <table>
100
+ <thead>
101
+ <tr>
102
+ <th>Class</th>
103
+ <th>Demo</th>
104
+ <th>Usage</th>
105
+ </tr>
106
+ </thead>
107
+ <tbody>
108
+ <tr>
109
+ <td><code>.ae-status-success</code></td>
110
+ <td><span class="ae-status ae-status-success">Success</span>
111
+ </td>
112
+ <td>Finished, done, successful, correct,</td>
113
+ </tr>
114
+ <tr>
115
+ <td><code>.ae-status-cancelled</code> or <code>.ae-status-error</code></td>
116
+ <td><span class="ae-status ae-status-cancelled">Cancelled</span></td>
117
+ <td>Cancelled, alert</td>
118
+ </tr>
119
+ <tr>
120
+ <td><code>.ae-status-pending</code></td>
121
+ <td><span class="ae-status ae-status-pending">Pending</span></td>
122
+ <td>Pending, ongoing, reminder, warning</td>
123
+ </tr>
124
+ <tr>
125
+ <td><code>.ae-status-deleted</code></td>
126
+ <td><span class="ae-status ae-status-deleted">Deleted</span></td>
127
+ <td>Deleted, removed</td>
128
+ </tr>
129
+ </tbody>
130
+ </table>
131
+
132
+ <p>Use badges to indicate the number of items for a specific notification or link.</p>
133
+ <p>The <code>.ae-badge</code> class is required.</p>
134
+
135
+ <table>
136
+ <thead>
137
+ <tr>
138
+ <th>Class</th>
139
+ <th>Demo</th>
140
+ </tr>
141
+ </thead>
142
+ <tbody>
143
+ <tr>
144
+ <td><code>.ae-badge-success</code></td>
145
+ <td><span class="ae-badge ae-badge-success">1</span>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td><code>.ae-badge-cancelled</code> or <code>.ae-badge-error</code></td>
150
+ <td><span class="ae-badge ae-badge-cancelled">10</span>
151
+ </td>
152
+ </tr>
153
+ <tr>
154
+ <td><code>.ae-badge-pending</code></td>
155
+ <td><span class="ae-badge ae-badge-pending">100</span>
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td><code>.ae-badge-deleted</code></td>
160
+ <td><span class="ae-badge ae-badge-deleted">1000</span>
161
+ </td>
162
+ </tr>
163
+ </tbody>
164
+ </table>
165
+
166
+
167
+ <h4>Text Utilities</h4>
168
+ <table>
169
+ <thead>
170
+ <tr>
171
+ <th>Class</th>
172
+ <th>Value</th>
173
+ </thead>
174
+ <tbody>
175
+ <tr>
176
+ <td><code>.ae-u-text-left</code></td>
177
+ <td>text-align: left</td>
178
+ </tr>
179
+ <tr>
180
+ <td><code>.ae-u-text-center</code></td>
181
+ <td>text-align: center</td>
182
+ </tr>
183
+ <tr>
184
+ <td><code>.ae-u-text-right</code></td>
185
+ <td>text-align: right</td>
186
+ </tr>
187
+ <tr>
188
+ <td><code>.ae-u-text-justify</code></td>
189
+ <td>text-align: justify</td>
190
+ </tr>
191
+ <tr>
192
+ <td><code>.ae-u-float-left</code></td>
193
+ <td>float: left</td>
194
+ </tr>
195
+ <tr>
196
+ <td><code>.ae-u-float-right</code></td>
197
+ <td>float: right</td>
198
+ </tr>
199
+ </tbody>
200
+ </table>
201
+ </section>
@@ -0,0 +1,50 @@
1
+ #### Variables
2
+
3
+ Define brand colors
4
+
5
+
6
+ Color | Variable | Value | Usage
7
+ --- | --- | --- | ---
8
+ <span class="ae-swatch ae-swatch-primary-color"></span> | $primary-color | #6699CC | The same ÆLOGICA blue is used as primary color. <br/><br/> Button background, button text, links <br/>
9
+ <span class="ae-swatch ae-swatch-secondary-color"></span> | $secondary-color | #999999 | No notes
10
+ <span class="ae-swatch ae-swatch-success"></span> | $success | #3c763d | <a href="#status">See notes</a>
11
+ <span class="ae-swatch ae-swatch-cancelled"></span> | $cancelled | #a94442 | <a href="#status">See notes</a>
12
+ <span class="ae-swatch ae-swatch-pending"></span> | $pending | #faf2cc | <a href="#status">See notes</a>
13
+ <span class="ae-swatch ae-swatch-deleted"></span> | $deleted | lighten($secondary-color, 30%) | <a href="#status">See notes</a>
14
+ <span class="ae-swatch ae-swatch-border-light"></span> | $secondary-color <br /> $border-light | #aeaeae | No notes
15
+ <span class="ae-swatch ae-swatch-body-color"></span> | $body-color | #666 | Body text color
16
+ <span class="ae-swatch ae-swatch-link-color"></span> | $link-color | #6699CC | Links
17
+ <span class="ae-swatch ae-swatch-body-lighter"></span> | $body-lighter | #999 | Lighter font color
18
+ <span class="ae-swatch ae-swatch-icon-color"></span> | $icon-color | #333 | No notes
19
+ <span class="ae-swatch ae-swatch-gray-background"></span> | $gray-background | #F7F7F7 | Panels, wells, even table row
20
+ <span class="ae-swatch ae-swatch-dark-gray-background"></span> | $dark-gray-background | rgba(#ccc, 0.1) | Panels, wells, odd table row background
21
+ <span class="ae-swatch ae-swatch-thead-color"></span> | $thead-color | #888 | Table head row background
22
+
23
+ Adjusting colors
24
+
25
+ Using SASS's color adjustment functions, you may fine-tune colors by specifying the variable and amount of adjustment. Use this sparingly as changing up colors too much may cause brand color disconnect.
26
+
27
+ Color | Variable | Usage
28
+ --- | --- | ---
29
+ <span class="ae-swatch ae-swatch-primary-color-lighten"></span> | `lighten($primary-color, 20%)` | Lightens $primary-color by 20%
30
+ <span class="ae-swatch ae-swatch-secondary-color-darken"></span> |`darken($secondary-color, 20%)` | Darkens $secondary-color by 20%
31
+
32
+ Learn more at http://sass-lang.com/documentation/Sass/Script/Functions.html
33
+
34
+ Define helper variables
35
+
36
+
37
+ Variable | Value | Usage
38
+ --- | --- | ---
39
+ $line-height | 14px | Sets amount of space above and below inline elements
40
+ $container | 960px | Page elements fit within this width
41
+
42
+ Media Query values
43
+
44
+ Variable | Value | Typical Models
45
+ --- | --- | ---
46
+ $smartphone | 480px | iPhones 4, 5, 6, 7, Samsung Galaxy
47
+ $tablet | 768px | iPads
48
+ $laptop | 1024px | Macs
49
+ $desktop | 1440px | Macs, wide screens, iMacs
50
+
@@ -0,0 +1,90 @@
1
+ <section>
2
+ <p>A button group is a container for a set of buttons that may or may not be related to each other. This is great for grouping form actions, such as Save and Cancel, Save and Confirm, and so on.</p>
3
+ <p><strong>Required</strong>. Add <code>.ae-btn-group</code> and <code>.ae-btn-group-*</code> to the buttons’ parent element to align them to the left, center, right, or justified.</p>
4
+ <p><i class="fa fa-mobile"></i> <strong>Mobile view</strong>. Button groups will always stack buttons vertically as block elements.</p>
5
+ <table>
6
+ <thead>
7
+ <tr class="header">
8
+ <th>Alignment</th>
9
+ <th>Class</th>
10
+ <th>Notes</th>
11
+ </tr>
12
+ </thead>
13
+ <tbody>
14
+ <tr>
15
+ <td>Left</td>
16
+ <td><code>.ae-btn-group-left</code></td>
17
+ <td>Buttons are forced to the left</td>
18
+ </tr>
19
+ <tr>
20
+ <td></td>
21
+ <td colspan="2"><div class="ae-btn-group ae-btn-group-left">
22
+ <button class="ae-btn ae-btn-primary" type="submit">Save</button>
23
+ <button class="ae-btn ae-btn-default" type="cancel">Cancel</button>
24
+ </div>
25
+ </td>
26
+ </tr>
27
+ <tr>
28
+ <td>Center</td>
29
+ <td><code>.ae-btn-group-center</code></td>
30
+ <td>Buttons are forced to the center</td>
31
+ </tr>
32
+ <tr>
33
+ <td></td>
34
+ <td colspan="2"><div class="ae-btn-group ae-btn-group-center">
35
+ <button class="ae-btn ae-btn-primary" type="submit">Save</button>
36
+ <button class="ae-btn ae-btn-default" type="cancel">Cancel</button>
37
+ </div>
38
+ </td>
39
+ </tr>
40
+ <tr>
41
+ <td>Right</td>
42
+ <td><code>.ae-btn-group-right</code></td>
43
+ <td>Buttons are forced to the right</td>
44
+ </tr>
45
+ <tr>
46
+ <td></td>
47
+ <td colspan="2"><div class="ae-btn-group ae-btn-group-right">
48
+ <button class="ae-btn ae-btn-primary" type="submit">Save</button>
49
+ <button class="ae-btn ae-btn-default" type="cancel">Cancel</button>
50
+ </div>
51
+ </td>
52
+ </tr>
53
+ <tr>
54
+ <td>Justified</td>
55
+ <td><code>.ae-btn-group-justified</code></td>
56
+ <td>Button widths will auto adjust based on width</td>
57
+ </tr>
58
+ <tr>
59
+ <td></td>
60
+ <td colspan="2">
61
+ <p>Individually wrap buttons in <code>&lt;div class=&quot;ae-btn-group&quot;&gt;&lt;/div&gt;</code> to justify-align them. Adjust screen size to see how the buttons automatically fill the width.</p>
62
+
63
+ <div class="ae-btn-group ae-btn-group-justified">
64
+ <div class="ae-btn-group">
65
+ <button class="ae-btn ae-btn-primary" type="submit">Save</button>
66
+ </div>
67
+ <div class="ae-btn-group">
68
+ <button class="ae-btn ae-btn-default" type="cancel">Cancel</button>
69
+ </div>
70
+ </div>
71
+ </td>
72
+ </tr><tr>
73
+ <tr>
74
+ <td>Full width</td>
75
+ <td><code>.ae-btn-group-full-width</code></td>
76
+ <td>Buttons appear at the far left and far right</td>
77
+ </tr>
78
+ <tr>
79
+ <td></td>
80
+ <td colspan="2">
81
+ <p>Add <code>.ae-btn-left</code> or <code>.ae-btn-right</code> to buttons to position them.</p>
82
+ <div class="ae-btn-group ae-btn-group-full-width">
83
+ <button class="ae-btn ae-btn-default ae-btn-left" type="cancel">Cancel</button>
84
+ <button class="ae-btn ae-btn-primary ae-btn-right" type="submit">Save</button>
85
+ </div>
86
+ </td>
87
+ </tr><tr>
88
+ </tbody>
89
+ </table>
90
+ <section>
@@ -0,0 +1,32 @@
1
+ <section>
2
+ <p>A container is used to keep elements confined within a prescribed width. This is to prevent elements from “scattering” throughout the page. Its behavior, width, and paddings are affected by the parent template it follows. </p>
3
+ <p>More info on <a href="#templates" title="Templates">Templates</a> here.</p>
4
+ <table>
5
+ <thead>
6
+ <tr>
7
+ <th>Width</th>
8
+ <th>Usage</th>
9
+ <th>Notes</th>
10
+ </tr>
11
+ </thead>
12
+ <tbody>
13
+ <tr>
14
+ <td>Fixed</td>
15
+ <td><code>.ae-container</code></td>
16
+ <td>Uses a fixed width, which can be set in <code>variables.sass</code>. This is set to <code>960px</code> by default.</td>
17
+ </tr>
18
+ <tr>
19
+ <td>Full or fluid</td>
20
+ <td><code>.ae-container-full</code></td>
21
+ <td>Stretches throughout the width of the screen</td>
22
+ </tr>
23
+
24
+ <tr>
25
+ <td>Table</td>
26
+ <td><code>.ae-container-table</code> for the parent container <code>&lt;div&gt;</code><br/><br/> <code>.ae-container-table-cell</code> for the direct children container <code>&lt;div&gt;</code> </td>
27
+ <td>Makes a <code>&lt;div&gt;</code> and its children behave like a table and table cells, respective.</td>
28
+ </tr>
29
+
30
+ </tbody>
31
+ </table>
32
+ </section>
@@ -0,0 +1,49 @@
1
+ <section>
2
+ <p>Flash messages provide a system of feedback to users after an action is done.</p>
3
+ <p>See <a href="#status">Status</a> for the list of actions.</p>
4
+ <table>
5
+ <thead>
6
+ <tr class="header">
7
+ <th>Action</th>
8
+ <th>Usage</th>
9
+ </tr>
10
+ </thead>
11
+ <tbody>
12
+ <tr class="odd">
13
+ <td>Success</td>
14
+ <td><code>.ae-alert-success</code></td>
15
+ </tr>
16
+ <tr class="even">
17
+ <td>Error</td>
18
+ <td><code>.ae-alert-error</code></td>
19
+ </tr>
20
+ <tr class="odd">
21
+ <td>Pending</td>
22
+ <td><code>.ae-alert-pending</code></td>
23
+ </tr>
24
+ <tr class="even">
25
+ <td>Info</td>
26
+ <td><code>.ae-alert-info</code></td>
27
+ </tr>
28
+ </tbody>
29
+ </table>
30
+
31
+ <div class="ae-alert ae-alert-success">
32
+ <p>Congratulations! <a href="#" title="Click here to do something">Click here to do something</a>.</p>
33
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
34
+ </div>
35
+
36
+ <div class="ae-alert ae-alert-error">
37
+ <p>Error. <a href="#" title="Click here to do something">Click here to do something</a>.</p>
38
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
39
+ </div>
40
+
41
+ <div class="ae-alert ae-alert-pending">
42
+ <p>Warning. <a href="#" title="Click here to do something">Click here to do something</a>.</p>
43
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
44
+ </div>
45
+ <div class="ae-alert ae-alert-info">
46
+ <p>Information. <a href="#" title="Click here to do something">Click here to do something</a>.</p>
47
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
48
+ </div>
49
+ </section>
@@ -0,0 +1,14 @@
1
+ <form class="ae-form-horizontal">
2
+ <div class="ae-form-field">
3
+ <label for="email">Email</label>
4
+ <input class="ae-text-field ae-input-md" type="email" name="email" value="user@email.com" id="email" placeholder="user@email.com" />
5
+ <p class="ae-hint">The email you used to sign up.</p>
6
+ </div>
7
+ <div class="ae-form-field">
8
+ <label for="password">Password</label>
9
+ <input class="ae-text-field ae-input-md" type="password" name="password" value="Enter password" id="password" placeholder="Enter password" />
10
+ </div>
11
+ <div class="ae-actions">
12
+ <button class="ae-btn ae-btn-primary ae-btn-md" type="submit">Log In</button>
13
+ </div>
14
+ </form>