shipyard-framework 0.5.87 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/{shipyard.es6 → shipyard.js} +0 -0
  3. data/assets/javascripts/shipyard/{accordion-trigger.es6 → accordion-trigger.js} +0 -0
  4. data/assets/javascripts/shipyard/{accordion.es6 → accordion.js} +0 -0
  5. data/assets/javascripts/shipyard/{alert-timer.es6 → alert-timer.js} +0 -0
  6. data/assets/javascripts/shipyard/{alert.es6 → alert.js} +0 -0
  7. data/assets/javascripts/shipyard/{core.es6 → core.js} +0 -0
  8. data/assets/javascripts/shipyard/{hamburger.es6 → hamburger.js} +0 -0
  9. data/assets/javascripts/shipyard/{modal-trigger.es6 → modal-trigger.js} +0 -0
  10. data/assets/javascripts/shipyard/{modal.es6 → modal.js} +0 -0
  11. data/assets/javascripts/shipyard/{scroll.es6 → scroll.js} +0 -0
  12. data/assets/stylesheets/shipyard/_functions.sass +1 -0
  13. data/assets/stylesheets/shipyard/components/_tooltips.sass +140 -40
  14. data/assets/stylesheets/shipyard/core/_reset.sass +5 -1
  15. data/assets/stylesheets/shipyard/functions/_opposite-direction.sass +9 -0
  16. data/assets/stylesheets/shipyard/utilities/_typography.sass +2 -1
  17. data/lib/shipyard-framework/version.rb +1 -1
  18. metadata +19 -114
  19. data/.gitignore +0 -13
  20. data/.rspec +0 -3
  21. data/.ruby-version +0 -1
  22. data/.travis.yml +0 -40
  23. data/Brewfile +0 -4
  24. data/CODE_OF_CONDUCT.md +0 -74
  25. data/Gemfile +0 -3
  26. data/LICENSE.txt +0 -21
  27. data/README.md +0 -46
  28. data/Rakefile +0 -16
  29. data/ci/build.rb +0 -5
  30. data/ci/deploy +0 -31
  31. data/ci/jekyll +0 -16
  32. data/ci/percy +0 -16
  33. data/ci/sass_lint +0 -47
  34. data/ci/setup +0 -6
  35. data/shipyard.gemspec +0 -28
  36. data/spec/helpers/alert_helper_spec.rb +0 -27
  37. data/spec/helpers/box_helper_spec.rb +0 -27
  38. data/spec/helpers/button_helper_spec.rb +0 -37
  39. data/spec/helpers/form_helper_spec.rb +0 -29
  40. data/spec/helpers/icon_helper_spec.rb +0 -21
  41. data/spec/helpers/note_helper_spec.rb +0 -19
  42. data/spec/shipyard_spec.rb +0 -7
  43. data/spec/spec_helper.rb +0 -104
  44. data/styleguide/.gitignore +0 -3
  45. data/styleguide/.nojekyll +0 -0
  46. data/styleguide/.ruby-version +0 -1
  47. data/styleguide/Gemfile +0 -9
  48. data/styleguide/Gemfile.lock +0 -125
  49. data/styleguide/_assets/css/application.sass +0 -3
  50. data/styleguide/_assets/css/fonts.sass +0 -2
  51. data/styleguide/_assets/css/layout.sass +0 -10
  52. data/styleguide/_assets/css/syntax.css +0 -209
  53. data/styleguide/_assets/css/vendor.sass +0 -4
  54. data/styleguide/_assets/css/views.sass +0 -103
  55. data/styleguide/_assets/img/arrows/down.svg +0 -3
  56. data/styleguide/_assets/img/checkmark.svg +0 -3
  57. data/styleguide/_assets/js/application.es6 +0 -6
  58. data/styleguide/_assets/js/views/components/alert-trigger.es6 +0 -20
  59. data/styleguide/_assets/js/views/utilities/colors.es6 +0 -14
  60. data/styleguide/_config.yml +0 -67
  61. data/styleguide/_data/breakpoints.yml +0 -15
  62. data/styleguide/_includes/css-stats.html +0 -14
  63. data/styleguide/_includes/page-heading.html +0 -4
  64. data/styleguide/_layouts/application.html +0 -45
  65. data/styleguide/_plugins/color_css_class.rb +0 -13
  66. data/styleguide/_plugins/component_css_class.rb +0 -9
  67. data/styleguide/_plugins/css_declarations.rb +0 -16
  68. data/styleguide/_plugins/css_selectors.rb +0 -16
  69. data/styleguide/_plugins/css_size.rb +0 -20
  70. data/styleguide/_plugins/human_size_filter.rb +0 -12
  71. data/styleguide/_plugins/icon_item.rb +0 -28
  72. data/styleguide/_plugins/opacity_css_class.rb +0 -12
  73. data/styleguide/_plugins/sass_generator.rb +0 -55
  74. data/styleguide/_plugins/sass_output.rb +0 -24
  75. data/styleguide/components/alerts.md +0 -107
  76. data/styleguide/components/boxes.md +0 -97
  77. data/styleguide/components/buttons.md +0 -192
  78. data/styleguide/components/checkboxes.md +0 -281
  79. data/styleguide/components/code.html +0 -49
  80. data/styleguide/components/empty-states.html +0 -12
  81. data/styleguide/components/forms.md +0 -151
  82. data/styleguide/components/horizontal-rules.md +0 -82
  83. data/styleguide/components/icons.md +0 -129
  84. data/styleguide/components/index.md +0 -18
  85. data/styleguide/components/modals/_modal.html +0 -100
  86. data/styleguide/components/modals/example-billing.html +0 -80
  87. data/styleguide/components/modals/example-downgrade.html +0 -33
  88. data/styleguide/components/modals/example-small.html +0 -19
  89. data/styleguide/components/modals/example-survey.html +0 -52
  90. data/styleguide/components/modals/example-tall.html +0 -6
  91. data/styleguide/components/modals/index.md +0 -41
  92. data/styleguide/components/notes.md +0 -67
  93. data/styleguide/components/radio-buttons.md +0 -195
  94. data/styleguide/components/statuses.md +0 -324
  95. data/styleguide/components/tables.md +0 -34
  96. data/styleguide/components/tooltips.md +0 -16
  97. data/styleguide/index.md +0 -27
  98. data/styleguide/stats.md +0 -49
  99. data/styleguide/utilities/accordion.md +0 -55
  100. data/styleguide/utilities/border-radius.md +0 -104
  101. data/styleguide/utilities/colors.md +0 -45
  102. data/styleguide/utilities/grid.md +0 -256
  103. data/styleguide/utilities/index.md +0 -19
  104. data/styleguide/utilities/margin-padding.md +0 -124
  105. data/styleguide/utilities/opacity.md +0 -28
  106. data/styleguide/utilities/position.md +0 -24
  107. data/styleguide/utilities/responsive.md +0 -20
  108. data/styleguide/utilities/typography.md +0 -74
@@ -1,281 +0,0 @@
1
- ---
2
- title: Checkboxes
3
- labels:
4
- - Nulla vitae elit libero, a pharetra augue.
5
- - Cras mattis consectetur purus sit amet fermentum.
6
- - Cum sociis natoque penatibus et magnis dis parturient montes.
7
- - Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia.
8
- - Donec id elit non mi porta gravida at eget metus.
9
- ---
10
-
11
- {% include page-heading.html page=page %}
12
-
13
- ---
14
-
15
- ## Inline Checkbox Lists
16
- Useful when you want to group a series of checkboxes together on a single line.
17
- {: .section-description }
18
-
19
- <ul class="input-list mb-30">
20
- {% for label in page.labels %}
21
- <li class="input-item-inline">
22
- <input id="checkbox-inline-{{ forloop.index }}" name="checkbox-list" type="checkbox" class="input input-checkbox" {% if forloop.index == 1 %}checked{% endif %} />
23
- <label for="checkbox-inline-{{ forloop.index }}" class="input-label">Inline Label</label>
24
- </li>
25
- {% endfor %}
26
- </ul>
27
-
28
- ```html
29
- <ul class="input-list">
30
- <li class="input-item-inline">
31
- <input id="checkbox-id" name="checkbox-name" type="checkbox" class="input input-checkbox" checked />
32
- <label for="checkbox-id" class="input-label">Checkbox Label</label>
33
- </li>
34
- </ul>
35
- ```
36
-
37
- ---
38
-
39
- ## Stacked Checkbox Lists
40
- Useful when you want to group a series of checkboxes together in a list (stacked by default).
41
- {: .section-description }
42
-
43
- <div class="col-container mb-15 mb-x1-30">
44
- <div class="col col-100 col-x1-50 mb-15 mb-x1-0">
45
- <div class="rounded bg-white box-padding">
46
- <ul class="input-list">
47
- {% for label in page.labels %}
48
- <li class="input-item">
49
- <input id="checkbox-light-{{ forloop.index }}" name="checkbox-list" type="checkbox" class="input input-checkbox" {% if forloop.index == 1 %}checked{% endif %} />
50
- <label for="checkbox-light-{{ forloop.index }}" class="input-label">{{ label }}</label>
51
- </li>
52
- {% endfor %}
53
- </ul>
54
- </div>
55
- </div>
56
- <div class="col col-100 col-x1-50">
57
- <div class="box-secondary box-padding">
58
- <ul class="input-list">
59
- {% for label in page.labels %}
60
- <li class="input-item">
61
- <input id="checkbox-dark-{{ forloop.index }}" name="checkbox-list" type="checkbox" class="input input-checkbox" {% if forloop.index == 1 %}checked{% endif %} />
62
- <label for="checkbox-dark-{{ forloop.index }}" class="input-label">{{ label }}</label>
63
- </li>
64
- {% endfor %}
65
- </ul>
66
- </div>
67
- </div>
68
- </div>
69
-
70
- ```html
71
- <ul class="input-list">
72
- <li class="input-item">
73
- <input id="checkbox-id" name="checkbox-name" type="checkbox" class="input input-checkbox" checked />
74
- <label for="checkbox-id" class="input-label">Checkbox Label</label>
75
- </li>
76
- </ul>
77
- ```
78
-
79
- ---
80
-
81
- ## Inverse Checkbox Lists
82
- Useful when the checkboxes are displayed on a dark background.
83
- {: .section-description }
84
-
85
- <div class="box-secondary box-padding bg-gray-darker">
86
- <ul class="input-list">
87
- {% for label in page.labels %}
88
- <li class="input-item">
89
- <input id="checkbox-inverse-{{ forloop.index }}" name="checkbox-inverse-list" type="checkbox" class="input input-checkbox input-checkbox-inverse" {% if forloop.index == 1 %}checked{% endif %} />
90
- <label for="checkbox-inverse-{{ forloop.index }}" class="input-label-inverse">{{ label }}</label>
91
- </li>
92
- {% endfor %}
93
- </ul>
94
- </div>
95
-
96
- ```html
97
- <ul class="input-list">
98
- <li class="input-item">
99
- <input id="checkbox-id" name="checkbox-name" type="checkbox" class="input input-checkbox input-checkbox-inverse" checked />
100
- <label for="checkbox-id" class="input-label-inverse">Checkbox Inverse Label</label>
101
- </li>
102
- </ul>
103
- ```
104
-
105
- ---
106
-
107
- ## Caution Checkbox Lists
108
- Useful when you want to the user to proceed with caution about the choices they're making.
109
- {: .section-description }
110
-
111
- <ul class="input-list">
112
- {% for label in page.labels %}
113
- <li class="input-item">
114
- <input id="checkbox-caution-{{ forloop.index }}" name="checkbox-list" type="checkbox" class="input input-checkbox input-checkbox-caution" {% if forloop.index == 1 %}checked{% endif %} />
115
- <label for="checkbox-caution-{{ forloop.index }}" class="input-label">{{ label }}</label>
116
- </li>
117
- {% endfor %}
118
- </ul>
119
-
120
- ```html
121
- <ul class="input-list">
122
- <li class="input-item">
123
- <input id="checkbox-id" name="checkbox-name" type="checkbox" class="input input-checkbox input-checkbox-caution" checked />
124
- <label for="checkbox-id" class="input-label">Checkbox Label</label>
125
- </li>
126
- </ul>
127
- ```
128
-
129
- ---
130
-
131
- ## Checkboxes Nested in Buttons
132
- {: .mb-20 }
133
-
134
- <button class="btn btn-secondary mr-10 mb-10">
135
- <input type="checkbox" class="input input-checkbox mr-5" />
136
- Unchecked
137
- </button>
138
- <button class="btn btn-secondary mr-10 mb-10">
139
- <input type="checkbox" class="input input-checkbox mr-5" checked />
140
- Checked
141
- </button>
142
- <button class="btn btn-cta mr-10 mb-10">
143
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse mr-5" />
144
- Inverse Unchecked
145
- </button>
146
- <button class="btn btn-cta mr-10 mb-10">
147
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse mr-5" checked />
148
- Inverse Checked
149
- </button>
150
-
151
- ```html
152
- <!-- Secondary button with a checkbox in the unchecked state. -->
153
- <button class="btn btn-secondary">
154
- <input type="checkbox" class="input input-checkbox mr-5" />
155
- Button Text
156
- </button>
157
-
158
- <!-- CTA button with a checkbox in the checked state. -->
159
- <button class="btn btn-cta">
160
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse mr-5" checked />
161
- Button Text
162
- </button>
163
- ```
164
-
165
- ---
166
-
167
- ## Checkbox-Switches
168
- Switches are useful when the user has a choice to toggle on and off. Note: For the best UX, please make sure that the switch saves immediately each time it changes state.
169
- {: .section-description }
170
-
171
- <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
172
- <div class="col-container-nowrap">
173
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
174
- <div class="col ml-15">
175
- <input type="checkbox" class="input input-switch" checked />
176
- </div>
177
- </div>
178
- </div>
179
- <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
180
- <div class="col-container-nowrap">
181
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
182
- <div class="col ml-15">
183
- <input type="checkbox" class="input input-switch" />
184
- </div>
185
- </div>
186
- </div>
187
-
188
- ```html
189
- <input type="checkbox" class="input input-switch" />
190
- ```
191
-
192
- ---
193
-
194
- ## Secondary Checkbox-Switches
195
- Useful when you don't need to draw attention to the bright-red, off state.
196
- {: .section-description }
197
-
198
- <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
199
- <div class="col-container-nowrap">
200
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
201
- <div class="col ml-15">
202
- <input type="checkbox" class="input input-switch-secondary" checked />
203
- </div>
204
- </div>
205
- </div>
206
- <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
207
- <div class="col-container-nowrap">
208
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
209
- <div class="col ml-15">
210
- <input type="checkbox" class="input input-switch-secondary" />
211
- </div>
212
- </div>
213
- </div>
214
- ```html
215
- <input type="checkbox" class="input input-switch-secondary" />
216
- ```
217
-
218
- ---
219
-
220
- ## Warning Checkbox-Switches
221
- Useful to communicate that your object is only partially connected, and it needs additional attention.
222
- {: .section-description }
223
-
224
- <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
225
- <div class="col-container-nowrap">
226
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
227
- <div class="col ml-15">
228
- <input type="checkbox" class="input input-switch-secondary input-switch-warning" checked />
229
- </div>
230
- </div>
231
- </div>
232
- <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
233
- <div class="col-container-nowrap">
234
- <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
235
- <div class="col ml-15">
236
- <input type="checkbox" class="input input-switch-secondary input-switch-warning" />
237
- </div>
238
- </div>
239
- </div>
240
- ```html
241
- <input type="checkbox" class="input input-switch-secondary input-switch-warning" />
242
- ```
243
-
244
- ---
245
-
246
- ## Checkbox-Switch Sizes `input-switch-{ x1..x4 }-{ sm..xl }`
247
- Each size can be used or altered at any breakpoint.
248
- {: .section-description }
249
-
250
- <ul class="input-list">
251
- <li class="input-item">
252
- <input id="small-switch-on" type="checkbox" class="input input-switch input-switch-sm align-middle" checked />
253
- <label for="small-switch-on" class="text-sm text-light ml-5 medium">Small</label>
254
- </li>
255
- <li class="input-item">
256
- <input id="small-switch-on" type="checkbox" class="input input-switch align-middle" checked />
257
- <label for="small-switch-on" class="text-sm text-light ml-5 medium">Medium (Default)</label>
258
- </li>
259
- <li class="input-item">
260
- <input id="small-switch-on" type="checkbox" class="input input-switch input-switch-lg align-middle" checked />
261
- <label for="small-switch-on" class="text-sm text-light ml-5 medium">Large</label>
262
- </li>
263
- <li class="input-item">
264
- <input id="small-switch-on" type="checkbox" class="input input-switch input-switch-xl align-middle" checked />
265
- <label for="small-switch-on" class="text-sm text-light ml-5 medium">X-Large</label>
266
- </li>
267
- </ul>
268
-
269
- ```html
270
- <!-- Input-Switch: Small -->
271
- <input type="checkbox" class="input input-switch input-switch-sm" />
272
-
273
- <!-- Input-Switch: Medium (Default) -->
274
- <input type="checkbox" class="input input-switch" />
275
-
276
- <!-- Input-Switch: Large -->
277
- <input type="checkbox" class="input input-switch input-switch-lg" />
278
-
279
- <!-- Input-Switch: X-Large -->
280
- <input type="checkbox" class="input input-switch input-switch-xl" />
281
- ```
@@ -1,49 +0,0 @@
1
- ---
2
- title: Shipyard Code Component
3
- sass_file: shipyard/components/_code
4
- ---
5
-
6
- {% include page-heading.html page=page %}
7
-
8
- <hr />
9
-
10
- <h2>Inline Code Example <code class="code-inline ml-5">.code-inline</code></h2>
11
- <p class="p">Vestibulum id ligula porta felis <code class="code-inline">euismod semper</code>. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Sed posuere consectetur est at lobortis. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Aenean lacinia <code class="code-inline">bibendum nulla sed</code> consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. <code class="code-inline">Nullam id</code> dolor id nibh ultricies vehicula ut id elit. <code class="code-inline">Cras mattis consectetur</code> purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
12
-
13
- <hr />
14
-
15
- <h2>Code Block Example <code class="code-inline ml-5">.code-block</code></h2>
16
- <pre class="code-block mt-15"><code>class Shipyard
17
- def foo
18
- end
19
-
20
- def bar
21
- end
22
- end</code></pre>
23
-
24
- <hr />
25
-
26
- <h2 class="mb-15">Code Alert Examples</h2>
27
- {% alert :info %}
28
- Ten other people are also viewing tickets for this flight.
29
- Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
30
- {% endalert %}
31
-
32
- {% alert :success %}
33
- Pack your bags! You'll be on the next flight to Hawaii.
34
- Use the code <code class="code-inline">Travel_Light_2017</code> on your next flight.
35
- {% endalert %}
36
-
37
- {% alert :warning %}
38
- There are only 2 seats left on this flight! We recommend to book your tickets as soon as possible.
39
- Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
40
- {% endalert %}
41
-
42
- {% alert :error %}
43
- This flight is now sold out. Let's get you on the next flight to Kauai.
44
- We hope the code <code class="code-inline">Travel_Light_2017</code> will be useful for your next flight.
45
- {% endalert %}
46
-
47
- <hr />
48
-
49
- {% include css-stats.html %}
@@ -1,12 +0,0 @@
1
- ---
2
- title: Empty States
3
- ---
4
-
5
- {% include page-heading.html page=page %}
6
-
7
- <hr />
8
-
9
- <div class="empty-container align-center">
10
- <p class="empty-txt">Welcome to Shipyard!<br /> Get started by creating your first project.</p>
11
- {% btn Create Project, :primary, class: 'empty-cta' %}
12
- </div>
@@ -1,151 +0,0 @@
1
- ---
2
- title: Shipyard Forms
3
- ---
4
-
5
- {% include page-heading.html page=page %}
6
-
7
- ---
8
-
9
- <div class="col-container input-group">
10
- <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
11
- <label class="label">Textbox</label>
12
- <input type="text" class="input input-text" placeholder=".input-text" />
13
- </div>
14
- <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
15
- <label class="label">Textbox Read-Only</label>
16
- <input type="text" class="input input-text input-readonly" placeholder=".input-readonly" value="copy-paste-me" readonly />
17
- </div>
18
- <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
19
- <label class="label">Textbox Disabled</label>
20
- <input type="text" class="input input-text" placeholder=".input-text" disabled />
21
- </div>
22
- </div>
23
- ```html
24
- <!-- Default Textbox -->
25
- <input type="text" class="input input-text" />
26
-
27
- <!-- Read-Only Textbox -->
28
- <input type="text" class="input input-text input-readonly" readonly />
29
-
30
- <!-- Disabled Textbox -->
31
- <input type="text" class="input input-text" disabled />
32
- ```
33
-
34
- ---
35
-
36
- ## Connected Textboxes
37
-
38
- <div class="input-group">
39
- <input type="text" class="input input-text input-text-connect-top" placeholder=".input-text-connect-top" />
40
- <input type="text" class="input input-text input-text-connect-middle" placeholder=".input-text-connect-middle" />
41
- <input type="text" class="input input-text input-text-connect-bottom" placeholder=".input-text-connect-bottom" />
42
- </div>
43
-
44
- ```html
45
- <input type="text" class="input input-text input-text-connect-top" />
46
- <input type="text" class="input input-text input-text-connect-middle" />
47
- <input type="text" class="input input-text input-text-connect-bottom" />
48
- ```
49
-
50
- ---
51
-
52
- <div class="col-container input-group">
53
- <div class="col">
54
- <label class="label">Select Boxes</label>
55
- <div class="input-select-container">
56
- <select class="input input-select">
57
- <option class="input-option-placeholder">.input-select</option>
58
- {% for i in (1..10) %}
59
- <option>{{ i }}</option>
60
- {% endfor %}
61
- </select>
62
- </div>
63
- </div>
64
- <div class="col">
65
- <label class="label">Select Box Disabled</label>
66
- <div class="input-select-container input-select-container-disabled">
67
- <select class="input input-select" disabled>
68
- <option class="input-option-placeholder">.input-select</option>
69
- {% for i in (1..10) %}
70
- <option>{{ i }}</option>
71
- {% endfor %}
72
- </select>
73
- </div>
74
- </div>
75
- </div>
76
-
77
- ---
78
-
79
- <div class="input-group">
80
- <label class="label">Textbox</label>
81
- <p class="label-note">Some critically important notes about this field.</p>
82
- <input type="text" class="input input-text" placeholder=".input .input-text" />
83
- </div>
84
-
85
- ---
86
-
87
- <h2 class="mb-10">Input Boxes</h2>
88
- <div class="input-box">
89
- <input type="text" class="input input-text" placeholder=".input .input-text" />
90
- </div>
91
-
92
- ---
93
-
94
- <h2 class="mb-10">Required Fields</h2>
95
- <div class="col-container">
96
- <div class="col col-50">
97
- <div class="input-required">
98
- <input type="text" class="input input-text" placeholder=".input .input-text" />
99
- </div>
100
- </div>
101
- <div class="col col-50">
102
- <div class="input-required">
103
- <div class="input-select-container">
104
- <select class="input input-select">
105
- <option class="input-option-placeholder">.input-select</option>
106
- {% for i in (1..10) %}
107
- <option>{{ i }}</option>
108
- {% endfor %}
109
- </select>
110
- </div>
111
- </div>
112
- </div>
113
- </div>
114
-
115
- ---
116
-
117
- <h2 class="mb-10">Form Errors</h2>
118
- <div class="form-error-container">
119
- <ul class="form-error-list">
120
- <li class="form-error-item">
121
- <span class="form-error-text">Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</span>
122
- </li>
123
- <li class="form-error-item">
124
- <span class="form-error-text">Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</span>
125
- </li>
126
- <li class="form-error-item">
127
- <span class="form-error-text">Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</span>
128
- </li>
129
- </ul>
130
- </div>
131
- <div class="col-container mt-20 mb-20">
132
- <div class="col col-50 input-error">
133
- <label class="label">Required Select Box</label>
134
- <div class="input-required">
135
- <div class="input-select-container">
136
- <select class="input input-select">
137
- <option class="input-option-placeholder">.input-select</option>
138
- {% for i in (1..10) %}
139
- <option>{{ i }}</option>
140
- {% endfor %}
141
- </select>
142
- </div>
143
- </div>
144
- </div>
145
- <div class="col col-50 input-error">
146
- <label class="label">Required Textbox</label>
147
- <div class="input-required">
148
- <input type="text" class="input input-text" placeholder=".input .input-text" />
149
- </div>
150
- </div>
151
- </div>