shipyard-framework 0.5.86 → 0.5.87

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/Brewfile +4 -0
  5. data/assets/icons/status/error.svg +4 -0
  6. data/assets/icons/status/fail.svg +4 -0
  7. data/assets/icons/status/idle.svg +4 -0
  8. data/assets/icons/status/running.svg +3 -0
  9. data/assets/icons/status/skipped.svg +3 -0
  10. data/assets/icons/status/success.svg +3 -0
  11. data/assets/icons/status/waiting.svg +5 -0
  12. data/assets/stylesheets/shipyard/_components.sass +1 -0
  13. data/assets/stylesheets/shipyard/components/_code.sass +1 -5
  14. data/assets/stylesheets/shipyard/components/_icons.sass +19 -10
  15. data/assets/stylesheets/shipyard/components/_statuses.sass +196 -0
  16. data/assets/stylesheets/shipyard/core/_animations.sass +12 -0
  17. data/assets/stylesheets/shipyard/utilities/_border-radius.sass +2 -0
  18. data/assets/stylesheets/shipyard/utilities/_margin-padding.sass +35 -17
  19. data/assets/stylesheets/shipyard/utilities/_typography.sass +3 -0
  20. data/assets/stylesheets/shipyard/variables/_components.scss +7 -0
  21. data/lib/shipyard-framework/jekyll/tags/icon_tag.rb +8 -3
  22. data/lib/shipyard-framework/version.rb +1 -1
  23. data/styleguide/.ruby-version +1 -1
  24. data/styleguide/Gemfile.lock +9 -9
  25. data/styleguide/_assets/css/views.sass +1 -1
  26. data/styleguide/_includes/page-heading.html +1 -1
  27. data/styleguide/_plugins/icon_item.rb +1 -1
  28. data/styleguide/_plugins/sass_output.rb +4 -1
  29. data/styleguide/components/alerts.md +2 -2
  30. data/styleguide/components/boxes.md +2 -2
  31. data/styleguide/components/buttons.md +26 -26
  32. data/styleguide/components/checkboxes.md +30 -30
  33. data/styleguide/components/code.html +4 -4
  34. data/styleguide/components/forms.md +7 -7
  35. data/styleguide/components/horizontal-rules.md +1 -1
  36. data/styleguide/components/icons.md +18 -2
  37. data/styleguide/components/index.md +2 -2
  38. data/styleguide/components/modals/_modal.html +15 -15
  39. data/styleguide/components/modals/example-billing.html +12 -12
  40. data/styleguide/components/modals/example-downgrade.html +2 -2
  41. data/styleguide/components/modals/example-survey.html +5 -5
  42. data/styleguide/components/modals/index.md +1 -1
  43. data/styleguide/components/radio-buttons.md +18 -18
  44. data/styleguide/components/statuses.md +324 -0
  45. data/styleguide/utilities/accordion.md +2 -2
  46. data/styleguide/utilities/border-radius.md +10 -3
  47. data/styleguide/utilities/colors.md +4 -4
  48. data/styleguide/utilities/grid.md +3 -3
  49. data/styleguide/utilities/index.md +1 -1
  50. data/styleguide/utilities/margin-padding.md +32 -19
  51. data/styleguide/utilities/opacity.md +2 -2
  52. data/styleguide/utilities/typography.md +2 -2
  53. metadata +13 -3
@@ -11,13 +11,13 @@ sass_file: shipyard/components/_buttons
11
11
  Shipyard gives you more buttons than you can shake a stick at.
12
12
  {: .section-description }
13
13
 
14
- <div class="margin-bottom-md">
15
- {% btn Default, :default, class: 'margin-right-xs' %}
16
- {% btn Primary, :primary, class: 'margin-right-xs' %}
17
- {% btn Primary Dark, :primary_dark, class: 'margin-right-xs' %}
18
- {% btn CTA, :cta, class: 'margin-right-xs' %}
19
- {% btn Caution, :caution, class: 'margin-right-xs' %}
20
- {% btn Disabled, :disabled, class: 'margin-right-xs' %}
14
+ <div class="mb-20">
15
+ {% btn Default, :default, class: 'mr-10' %}
16
+ {% btn Primary, :primary, class: 'mr-10' %}
17
+ {% btn Primary Dark, :primary_dark, class: 'mr-10' %}
18
+ {% btn CTA, :cta, class: 'mr-10' %}
19
+ {% btn Caution, :caution, class: 'mr-10' %}
20
+ {% btn Disabled, :disabled, class: 'mr-10' %}
21
21
  {% btn Link, :link %}
22
22
  </div>
23
23
 
@@ -37,9 +37,9 @@ Shipyard gives you more buttons than you can shake a stick at.
37
37
  Useful when you have a button on a darker background.
38
38
  {: .section-description }
39
39
 
40
- <div class="margin-bottom-md">
41
- {% btn Secondary, :secondary, class: 'margin-right-xs' %}
42
- {% btn Secondary Dark, :secondary_dark, class: 'margin-right-xs' %}
40
+ <div class="mb-20">
41
+ {% btn Secondary, :secondary, class: 'mr-10' %}
42
+ {% btn Secondary Dark, :secondary_dark, class: 'mr-10' %}
43
43
  {% btn Secondary Link, :secondary_link %}
44
44
  </div>
45
45
 
@@ -55,8 +55,8 @@ Useful when you have a button on a darker background.
55
55
  Useful when you have a button on a darker background.
56
56
  {: .section-description }
57
57
 
58
- <div class="box-secondary box-padding bg-gray-dark margin-bottom-md">
59
- {% btn Inverse, :inverse, class: 'margin-right-xs' %}
58
+ <div class="box-secondary box-padding bg-gray-dark mb-20">
59
+ {% btn Inverse, :inverse, class: 'mr-10' %}
60
60
  {% btn Inverse Secondary, :inverse_secondary %}
61
61
  </div>
62
62
 
@@ -71,11 +71,11 @@ Useful when you have a button on a darker background.
71
71
  Useful when you want a button with completely rounded corners.
72
72
  {: .section-description }
73
73
 
74
- <div class="margin-bottom-md">
75
- {% btn Default, :rounded, class: 'margin-right-xs' %}
76
- {% btn Primary, :primary :rounded, class: 'margin-right-xs' %}
77
- {% btn CTA, :cta :rounded, class: 'margin-right-xs' %}
78
- {% btn Caution, :caution :rounded, class: 'margin-right-xs' %}
74
+ <div class="mb-20">
75
+ {% btn Default, :rounded, class: 'mr-10' %}
76
+ {% btn Primary, :primary :rounded, class: 'mr-10' %}
77
+ {% btn CTA, :cta :rounded, class: 'mr-10' %}
78
+ {% btn Caution, :caution :rounded, class: 'mr-10' %}
79
79
  {% btn Secondary, :secondary :rounded %}
80
80
  </div>
81
81
 
@@ -89,13 +89,13 @@ Useful when you want a button with completely rounded corners.
89
89
  Useful when you have a button that triggers an asynchronous action.
90
90
  {: .section-description }
91
91
 
92
- <div class="margin-bottom-md">
93
- {% btn Default, :loading, class: 'margin-right-xs' %}
94
- {% btn Primary, :primary :loading, class: 'margin-right-xs' %}
95
- {% btn CTA, :cta :loading, class: 'margin-right-xs' %}
96
- {% btn Caution, :caution :loading, class: 'margin-right-xs' %}
97
- {% btn Secondary, :secondary :loading, class: 'margin-right-xs' %}
98
- {% btn Secondary Link, :secondary_link :loading, class: 'margin-right-xs' %}
92
+ <div class="mb-20">
93
+ {% btn Default, :loading, class: 'mr-10' %}
94
+ {% btn Primary, :primary :loading, class: 'mr-10' %}
95
+ {% btn CTA, :cta :loading, class: 'mr-10' %}
96
+ {% btn Caution, :caution :loading, class: 'mr-10' %}
97
+ {% btn Secondary, :secondary :loading, class: 'mr-10' %}
98
+ {% btn Secondary Link, :secondary_link :loading, class: 'mr-10' %}
99
99
  </div>
100
100
 
101
101
  ```html
@@ -108,7 +108,7 @@ Useful when you have a button that triggers an asynchronous action.
108
108
  Often really useful on mobile screens or in combination with other grids.
109
109
  {: .section-description }
110
110
 
111
- <div class="margin-bottom-md">
111
+ <div class="mb-20">
112
112
  {% btn Save Changes, :full %}
113
113
  </div>
114
114
 
@@ -122,7 +122,7 @@ Often really useful on mobile screens or in combination with other grids.
122
122
  The button classes can be applied to any type of html tag to achieve the desired result. The most common examples being the `button`, `a`, and `input` tags as seen in the example below.
123
123
  {: .section-description }
124
124
 
125
- <div class="margin-bottom-lg">
125
+ <div class="mb-30">
126
126
  {% btn Button %}
127
127
  <a href="#" class="btn">Link</a>
128
128
  <input type="button" class="btn" value="Input" />
@@ -16,7 +16,7 @@ labels:
16
16
  Useful when you want to group a series of checkboxes together on a single line.
17
17
  {: .section-description }
18
18
 
19
- <ul class="input-list margin-bottom-lg">
19
+ <ul class="input-list mb-30">
20
20
  {% for label in page.labels %}
21
21
  <li class="input-item-inline">
22
22
  <input id="checkbox-inline-{{ forloop.index }}" name="checkbox-list" type="checkbox" class="input input-checkbox" {% if forloop.index == 1 %}checked{% endif %} />
@@ -40,8 +40,8 @@ Useful when you want to group a series of checkboxes together on a single line.
40
40
  Useful when you want to group a series of checkboxes together in a list (stacked by default).
41
41
  {: .section-description }
42
42
 
43
- <div class="col-container margin-bottom-sm margin-bottom-x1-lg">
44
- <div class="col col-100 col-x1-50 margin-bottom-sm margin-bottom-x1-none">
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
45
  <div class="rounded bg-white box-padding">
46
46
  <ul class="input-list">
47
47
  {% for label in page.labels %}
@@ -129,35 +129,35 @@ Useful when you want to the user to proceed with caution about the choices they'
129
129
  ---
130
130
 
131
131
  ## Checkboxes Nested in Buttons
132
- {: .margin-bottom-md }
132
+ {: .mb-20 }
133
133
 
134
- <button class="btn btn-secondary margin-right-xs margin-bottom-xs">
135
- <input type="checkbox" class="input input-checkbox margin-right-xxs" />
134
+ <button class="btn btn-secondary mr-10 mb-10">
135
+ <input type="checkbox" class="input input-checkbox mr-5" />
136
136
  Unchecked
137
137
  </button>
138
- <button class="btn btn-secondary margin-right-xs margin-bottom-xs">
139
- <input type="checkbox" class="input input-checkbox margin-right-xxs" checked />
138
+ <button class="btn btn-secondary mr-10 mb-10">
139
+ <input type="checkbox" class="input input-checkbox mr-5" checked />
140
140
  Checked
141
141
  </button>
142
- <button class="btn btn-cta margin-right-xs margin-bottom-xs">
143
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse margin-right-xxs" />
142
+ <button class="btn btn-cta mr-10 mb-10">
143
+ <input type="checkbox" class="input input-checkbox input-checkbox-inverse mr-5" />
144
144
  Inverse Unchecked
145
145
  </button>
146
- <button class="btn btn-cta margin-right-xs margin-bottom-xs">
147
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse margin-right-xxs" checked />
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
148
  Inverse Checked
149
149
  </button>
150
150
 
151
151
  ```html
152
152
  <!-- Secondary button with a checkbox in the unchecked state. -->
153
153
  <button class="btn btn-secondary">
154
- <input type="checkbox" class="input input-checkbox margin-right-xxs" />
154
+ <input type="checkbox" class="input input-checkbox mr-5" />
155
155
  Button Text
156
156
  </button>
157
157
 
158
158
  <!-- CTA button with a checkbox in the checked state. -->
159
159
  <button class="btn btn-cta">
160
- <input type="checkbox" class="input input-checkbox input-checkbox-inverse margin-right-xxs" checked />
160
+ <input type="checkbox" class="input input-checkbox input-checkbox-inverse mr-5" checked />
161
161
  Button Text
162
162
  </button>
163
163
  ```
@@ -168,18 +168,18 @@ Useful when you want to the user to proceed with caution about the choices they'
168
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
169
  {: .section-description }
170
170
 
171
- <div class="box box-xs margin-bottom-sm padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
171
+ <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
172
172
  <div class="col-container-nowrap">
173
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 margin-left-sm">
174
+ <div class="col ml-15">
175
175
  <input type="checkbox" class="input input-switch" checked />
176
176
  </div>
177
177
  </div>
178
178
  </div>
179
- <div class="box-secondary box-xs padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
179
+ <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
180
180
  <div class="col-container-nowrap">
181
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 margin-left-sm">
182
+ <div class="col ml-15">
183
183
  <input type="checkbox" class="input input-switch" />
184
184
  </div>
185
185
  </div>
@@ -195,18 +195,18 @@ Switches are useful when the user has a choice to toggle on and off. Note: For t
195
195
  Useful when you don't need to draw attention to the bright-red, off state.
196
196
  {: .section-description }
197
197
 
198
- <div class="box box-xs margin-bottom-sm padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
198
+ <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
199
199
  <div class="col-container-nowrap">
200
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 margin-left-sm">
201
+ <div class="col ml-15">
202
202
  <input type="checkbox" class="input input-switch-secondary" checked />
203
203
  </div>
204
204
  </div>
205
205
  </div>
206
- <div class="box-secondary box-xs padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
206
+ <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
207
207
  <div class="col-container-nowrap">
208
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 margin-left-sm">
209
+ <div class="col ml-15">
210
210
  <input type="checkbox" class="input input-switch-secondary" />
211
211
  </div>
212
212
  </div>
@@ -221,18 +221,18 @@ Useful when you don't need to draw attention to the bright-red, off state.
221
221
  Useful to communicate that your object is only partially connected, and it needs additional attention.
222
222
  {: .section-description }
223
223
 
224
- <div class="box box-xs margin-bottom-sm padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
224
+ <div class="box box-xs mb-15 pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
225
225
  <div class="col-container-nowrap">
226
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 margin-left-sm">
227
+ <div class="col ml-15">
228
228
  <input type="checkbox" class="input input-switch-secondary input-switch-warning" checked />
229
229
  </div>
230
230
  </div>
231
231
  </div>
232
- <div class="box-secondary box-xs padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
232
+ <div class="box-secondary box-xs pt-20 pb-20 pl-15 pr-15 pl-x1-30 pr-x1-30">
233
233
  <div class="col-container-nowrap">
234
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 margin-left-sm">
235
+ <div class="col ml-15">
236
236
  <input type="checkbox" class="input input-switch-secondary input-switch-warning" />
237
237
  </div>
238
238
  </div>
@@ -250,19 +250,19 @@ Each size can be used or altered at any breakpoint.
250
250
  <ul class="input-list">
251
251
  <li class="input-item">
252
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 margin-left-xxs medium">Small</label>
253
+ <label for="small-switch-on" class="text-sm text-light ml-5 medium">Small</label>
254
254
  </li>
255
255
  <li class="input-item">
256
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 margin-left-xxs medium">Medium (Default)</label>
257
+ <label for="small-switch-on" class="text-sm text-light ml-5 medium">Medium (Default)</label>
258
258
  </li>
259
259
  <li class="input-item">
260
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 margin-left-xxs medium">Large</label>
261
+ <label for="small-switch-on" class="text-sm text-light ml-5 medium">Large</label>
262
262
  </li>
263
263
  <li class="input-item">
264
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 margin-left-xxs medium">X-Large</label>
265
+ <label for="small-switch-on" class="text-sm text-light ml-5 medium">X-Large</label>
266
266
  </li>
267
267
  </ul>
268
268
 
@@ -7,13 +7,13 @@ sass_file: shipyard/components/_code
7
7
 
8
8
  <hr />
9
9
 
10
- <h2>Inline Code Example <code class="code-inline margin-left-xxs">.code-inline</code></h2>
10
+ <h2>Inline Code Example <code class="code-inline ml-5">.code-inline</code></h2>
11
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
12
 
13
13
  <hr />
14
14
 
15
- <h2>Code Block Example <code class="code-inline margin-left-xxs">.code-block</code></h2>
16
- <pre class="code-block margin-top-sm"><code>class Shipyard
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
17
  def foo
18
18
  end
19
19
 
@@ -23,7 +23,7 @@ end</code></pre>
23
23
 
24
24
  <hr />
25
25
 
26
- <h2 class="margin-bottom-sm">Code Alert Examples</h2>
26
+ <h2 class="mb-15">Code Alert Examples</h2>
27
27
  {% alert :info %}
28
28
  Ten other people are also viewing tickets for this flight.
29
29
  Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
@@ -7,15 +7,15 @@ title: Shipyard Forms
7
7
  ---
8
8
 
9
9
  <div class="col-container input-group">
10
- <div class="col col-100 col-x1-33 margin-bottom-sm margin-bottom-x1-none">
10
+ <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
11
11
  <label class="label">Textbox</label>
12
12
  <input type="text" class="input input-text" placeholder=".input-text" />
13
13
  </div>
14
- <div class="col col-100 col-x1-33 margin-bottom-sm margin-bottom-x1-none">
14
+ <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
15
15
  <label class="label">Textbox Read-Only</label>
16
16
  <input type="text" class="input input-text input-readonly" placeholder=".input-readonly" value="copy-paste-me" readonly />
17
17
  </div>
18
- <div class="col col-100 col-x1-33 margin-bottom-sm margin-bottom-x1-none">
18
+ <div class="col col-100 col-x1-33 mb-15 mb-x1-0">
19
19
  <label class="label">Textbox Disabled</label>
20
20
  <input type="text" class="input input-text" placeholder=".input-text" disabled />
21
21
  </div>
@@ -84,14 +84,14 @@ title: Shipyard Forms
84
84
 
85
85
  ---
86
86
 
87
- <h2 class="margin-bottom-xs">Input Boxes</h2>
87
+ <h2 class="mb-10">Input Boxes</h2>
88
88
  <div class="input-box">
89
89
  <input type="text" class="input input-text" placeholder=".input .input-text" />
90
90
  </div>
91
91
 
92
92
  ---
93
93
 
94
- <h2 class="margin-bottom-xs">Required Fields</h2>
94
+ <h2 class="mb-10">Required Fields</h2>
95
95
  <div class="col-container">
96
96
  <div class="col col-50">
97
97
  <div class="input-required">
@@ -114,7 +114,7 @@ title: Shipyard Forms
114
114
 
115
115
  ---
116
116
 
117
- <h2 class="margin-bottom-xs">Form Errors</h2>
117
+ <h2 class="mb-10">Form Errors</h2>
118
118
  <div class="form-error-container">
119
119
  <ul class="form-error-list">
120
120
  <li class="form-error-item">
@@ -128,7 +128,7 @@ title: Shipyard Forms
128
128
  </li>
129
129
  </ul>
130
130
  </div>
131
- <div class="col-container margin-top-md margin-bottom-md">
131
+ <div class="col-container mt-20 mb-20">
132
132
  <div class="col col-50 input-error">
133
133
  <label class="label">Required Select Box</label>
134
134
  <div class="input-required">
@@ -34,7 +34,7 @@ text_shades: [normal, light, lighter, lightest]
34
34
  ---
35
35
 
36
36
  ## Thin Horizontal Rules `.hr-thin`
37
- {: .margin-bottom-md }
37
+ {: .mb-20 }
38
38
 
39
39
  <div class="utilities-typography-hr-box-default">
40
40
  <hr class="utilities-typography-hr hr-thin" />
@@ -29,6 +29,22 @@ The following icons are the most frequently used in just about any application.
29
29
 
30
30
  ---
31
31
 
32
+ ### Status Icons
33
+ The following icons are used primarily in the <a href="{{ site.baseurl }}/components/statuses">status component</a>.
34
+ {: .section-description }
35
+
36
+ <ul class="icon-list col-container">
37
+ {% iconitem :error, class: 'center' %}
38
+ {% iconitem :fail, class: 'center' %}
39
+ {% iconitem :idle, class: 'center' %}
40
+ {% iconitem :running, class: 'center' %}
41
+ {% iconitem :skipped, class: 'center' %}
42
+ {% iconitem :success, class: 'center' %}
43
+ {% iconitem 'waiting', class: 'center' %}
44
+ </ul>
45
+
46
+ ---
47
+
32
48
  ### Brand Icons
33
49
  If you need to style several paths inside of the icon, it's important to make sure you use the *injected* version of the icon.
34
50
  {: .section-description }
@@ -97,8 +113,8 @@ The icon size utility classes can be applied to any icon, and are useful when yo
97
113
  One of the most common problems when using an icon is that doesn't line up with the text content next to it. Don't worry though, we've got you covered — simply apply the `.align-middle` class to any icon to fix this issue.
98
114
  {: .section-description }
99
115
 
100
- <div class="margin-bottom-lg">
101
- <button class="btn btn-secondary">{% icon :plus, class: 'align-middle icon-sm margin-right-xxs' %} Create</button>
116
+ <div class="mb-30">
117
+ <button class="btn btn-secondary">{% icon :plus, class: 'align-middle icon-sm mr-5' %} Create</button>
102
118
  </div>
103
119
 
104
120
  ```erb
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: Shipyard Components
3
- components: [Boxes, Buttons, Empty States, Alerts, Notes, Forms, Radio Buttons, Checkboxes, Icons, Modals, Tooltips, Code, Tables, Horizontal Rules]
3
+ components: [Boxes, Buttons, Empty States, Alerts, Notes, Forms, Statuses, Radio Buttons, Checkboxes, Icons, Modals, Tooltips, Code, Tables, Horizontal Rules]
4
4
  ---
5
5
 
6
6
  {% include page-heading.html page=page %}
@@ -9,7 +9,7 @@ components: [Boxes, Buttons, Empty States, Alerts, Notes, Forms, Radio Buttons,
9
9
 
10
10
  <ul class="col-container">
11
11
  {% for component in page.components %}
12
- <li class="margin-bottom-xs margin-bottom-x1-sm margin-bottom-x2-lg col col-100 col-x1-33 col-x2-25">
12
+ <li class="mb-10 mb-x1-15 mb-x2-30 col col-100 col-x1-33 col-x2-25">
13
13
  <a href="{{ site.baseurl }}/components/{{ component | replace: ' ', '-' | downcase }}" class="box-link box-padding align-center text-md text-x1-lg text-x2-xl">
14
14
  {{ component }}
15
15
  </a>
@@ -1,11 +1,11 @@
1
1
  <div class="modal-container {{ include.css_class }}" modal="example">
2
2
  <div class="modal" role="dialog">
3
3
  <div class="modal-content">
4
- <div class="modal-title-border margin-bottom-x1-md">
4
+ <div class="modal-title-border mb-x1-20">
5
5
  <h1 class="text-lg text-x1-xl">Billing Info</h1>
6
6
  </div>
7
7
  <form>
8
- <div class="col-container margin-bottom-md">
8
+ <div class="col-container mb-20">
9
9
  <div class="col">
10
10
  <label class="label">First Name</label>
11
11
  <div class="input-required">
@@ -19,8 +19,8 @@
19
19
  </div>
20
20
  </div>
21
21
  </div>
22
- <div class="col-container margin-bottom-md">
23
- <div class="col col-100 col-x1-50 margin-bottom-sm margin-bottom-x1-none">
22
+ <div class="col-container mb-20">
23
+ <div class="col col-100 col-x1-50 mb-15 mb-x1-0">
24
24
  <label class="label">Email Address</label>
25
25
  <input type="text" class="input input-text" />
26
26
  </div>
@@ -31,23 +31,23 @@
31
31
  </div>
32
32
  </div>
33
33
  </div>
34
- <div class="col-container margin-bottom-md">
35
- <div class="col col-100 margin-bottom-sm">
34
+ <div class="col-container mb-20">
35
+ <div class="col col-100 mb-15">
36
36
  <label class="label">Billing Address</label>
37
37
  <input type="text" class="input input-text" placeholder="Company Name" />
38
38
  </div>
39
- <div class="col col-100 margin-bottom-sm">
39
+ <div class="col col-100 mb-15">
40
40
  <input type="text" class="input input-text" placeholder="Street Address" />
41
41
  </div>
42
- <div class="col col-100 col-x1-33 margin-bottom-sm">
42
+ <div class="col col-100 col-x1-33 mb-15">
43
43
  <div class="input-required">
44
44
  <input type="text" class="input input-text" placeholder="Postal Code" />
45
45
  </div>
46
46
  </div>
47
- <div class="col col-50 col-x1-33 margin-bottom-sm">
47
+ <div class="col col-50 col-x1-33 mb-15">
48
48
  <input type="text" class="input input-text" placeholder="City" />
49
49
  </div>
50
- <div class="col col-50 col-x1-33 margin-bottom-sm">
50
+ <div class="col col-50 col-x1-33 mb-15">
51
51
  <input type="text" class="input input-text" placeholder="State" />
52
52
  </div>
53
53
  <div class="col col-100">
@@ -64,13 +64,13 @@
64
64
  </div>
65
65
  </div>
66
66
  </div>
67
- <div class="col-container margin-bottom-md">
67
+ <div class="col-container mb-20">
68
68
  <div class="col">
69
69
  <label class="label">Tax Information</label>
70
70
  <input type="text" class="input input-text" placeholder="VAT Number" />
71
71
  </div>
72
72
  </div>
73
- <div class="col-container margin-bottom-sm margin-bottom-x1-none">
73
+ <div class="col-container mb-15 mb-x1-0">
74
74
  <div class="col">
75
75
  <label class="label">Additional Invoice Information</label>
76
76
  <p class="label-note">This information will appear on each invoice. Don't include any confidential financial information.</p>
@@ -86,11 +86,11 @@
86
86
  Save
87
87
  <span class="display-none display-x1-inline">&amp; Close</span>
88
88
  </button>
89
- <button class="btn btn-secondary btn-sm btn-x1-md margin-left-xxs margin-left-x1-xs" modal-close>Cancel</button>
89
+ <button class="btn btn-secondary btn-sm btn-x1-md ml-5 ml-x1-10" modal-close>Cancel</button>
90
90
  </div>
91
91
  <div class="col align-right">
92
- <span class="btn-sm btn-x1-md white-space-nowrap padding-none">
93
- {% icon :lock, class: 'green-dark align-middle margin-right-xxs' %}
92
+ <span class="btn-sm btn-x1-md white-space-nowrap p-0">
93
+ {% icon :lock, class: 'green-dark align-middle mr-5' %}
94
94
  <span class="text-sm text-lighter medium">Secure Server</span>
95
95
  </span>
96
96
  </div>
@@ -7,7 +7,7 @@ title: Shipyard Modal Example
7
7
  <div class="modal-container" modal="example-small">
8
8
  <div class="modal modal-sm modal-billing" role="dialog">
9
9
  <div class="modal-content">
10
- <div class="modal-title-border margin-bottom-md margin-bottom-x1-lg">
10
+ <div class="modal-title-border mb-20 mb-x1-30">
11
11
  <div class="col-container">
12
12
  <h1 class="text-lg text-x1-xl col">Payment Period</h1>
13
13
  <p class="col text-light medium align-right display-none display-x1-block">
@@ -17,27 +17,27 @@ title: Shipyard Modal Example
17
17
  </p>
18
18
  </div>
19
19
  </div>
20
- <button class="btn btn-cta btn-sm btn-x1-md margin-right-xs margin-right-x1-sm margin-bottom-xs margin-bottom-x1-none">
21
- <input type="radio" class="input input-radio-checkbox input-radio-inverse margin-right-xs" checked />
20
+ <button class="btn btn-cta btn-sm btn-x1-md mr-10 mr-x1-15 mb-10 mb-x1-0">
21
+ <input type="radio" class="input input-radio-checkbox input-radio-inverse mr-10" checked />
22
22
  Monthly &mdash; $39
23
23
  </button>
24
24
  <button class="btn btn-secondary-link btn-sm btn-x1-md">
25
- <input type="radio" class="input input-radio-checkbox margin-right-xs" />
25
+ <input type="radio" class="input input-radio-checkbox mr-10" />
26
26
  Yearly &mdash; $390
27
- <span class="btn btn-cta btn-rounded btn-xxs margin-left-xs modal-billing-yearly-promo">2 Months Free</span>
27
+ <span class="btn btn-cta btn-rounded btn-xxs ml-10 modal-billing-yearly-promo">2 Months Free</span>
28
28
  {% icon :tag, class: 'icon-inverse' %}
29
29
  </button>
30
- <p class="text-light margin-top-xs margin-top-x1-sm" markdown="1">
30
+ <p class="text-light mt-10 mt-x1-15" markdown="1">
31
31
  Your new subscription will be prorated on your next invoice. If you have any questions, don't hesitate to <a href="#" class="medium">contact our support team</a>.
32
32
  </p>
33
- <div class="modal-title-border margin-top-lg margin-bottom-md margin-bottom-x1-lg">
33
+ <div class="modal-title-border mt-30 mb-20 mb-x1-30">
34
34
  <h1 class="text-lg text-x1-xl">Payment Info</h1>
35
35
  </div>
36
36
  <form>
37
37
  <div class="input-required">
38
38
  <input type="text" class="input input-text" placeholder="Card Number" />
39
39
  </div>
40
- <div class="col-container margin-top-md">
40
+ <div class="col-container mt-20">
41
41
  <div class="col col-50 col-x1-33">
42
42
  <label class="label">Expiry Date</label>
43
43
  <div class="input-required">
@@ -50,7 +50,7 @@ title: Shipyard Modal Example
50
50
  <input type="text" class="input input-text" placeholder="3 or 4 digits" />
51
51
  </div>
52
52
  </div>
53
- <div class="col col-100 col-x1-33 margin-top-md margin-top-x1-none margin-bottom-sm margin-bottom-x1-none">
53
+ <div class="col col-100 col-x1-33 mt-20 mt-x1-0 mb-15 mb-x1-0">
54
54
  <label class="label">Zip Code</label>
55
55
  <div class="input-required">
56
56
  <input type="text" class="input input-text" />
@@ -66,11 +66,11 @@ title: Shipyard Modal Example
66
66
  Save
67
67
  <span class="display-none display-x1-inline">&amp; Continue</span>
68
68
  </button>
69
- <button class="btn btn-secondary btn-sm btn-x1-md margin-left-xxs margin-left-x1-xs" modal-close>Cancel</button>
69
+ <button class="btn btn-secondary btn-sm btn-x1-md ml-5 ml-x1-10" modal-close>Cancel</button>
70
70
  </div>
71
71
  <div class="col align-right">
72
- <span class="btn-sm btn-x1-md white-space-nowrap padding-none">
73
- {% icon :lock, class: 'green-dark align-middle margin-right-xxs' %}
72
+ <span class="btn-sm btn-x1-md white-space-nowrap p-0">
73
+ {% icon :lock, class: 'green-dark align-middle mr-5' %}
74
74
  <span class="text-sm text-lighter medium">Secure Server</span>
75
75
  </span>
76
76
  </div>
@@ -11,7 +11,7 @@ answers:
11
11
  <div class="modal modal-sm modal-billing" role="dialog">
12
12
  <div class="modal-content">
13
13
  <h1 class="modal-title text-lg text-x1-xl">Codeship Basic Downgrade</h1>
14
- <p class="text-light margin-bottom-md">
14
+ <p class="text-light mb-20">
15
15
  Our mission is to ensure that Codeship enables all users to be successful with their projects. The best way to do this is through continuous feedback. Before we process your request, please let us know why you're canceling your current Codeship Basic plan.
16
16
  </p>
17
17
  <form>
@@ -26,7 +26,7 @@ answers:
26
26
  </form>
27
27
  </div>
28
28
  <div class="modal-ctas">
29
- <a href="{{ site.baseurl }}/components/modals/example-survey" class="btn btn-primary btn-sm btn-x1-md margin-right-xxs margin-right-x1-xs" modal-close>Continue</a>
29
+ <a href="{{ site.baseurl }}/components/modals/example-survey" class="btn btn-primary btn-sm btn-x1-md mr-5 mr-x1-10" modal-close>Continue</a>
30
30
  <button class="btn btn-secondary btn-sm btn-x1-md" modal-close>Cancel</button>
31
31
  </div>
32
32
  </div>
@@ -12,9 +12,9 @@ answers:
12
12
 
13
13
  <div class="modal-container" modal="example-small">
14
14
  <div class="modal modal-sm modal-billing" role="dialog">
15
- <div class="alert alert-success margin-bottom-none rounded-top medium text-sm">
15
+ <div class="alert alert-success mb-0 rounded-top medium text-sm">
16
16
  We'd like to offer you
17
- <span class="modal-downgrade-coupon code-inline strong"><span class="modal-downgrade-tag bg-green-dark margin-right-none rounded-left">{% icon :tag, class: 'align-middle modal-downgrade-tag-icon' %}</span><span class="modal-downgrade-coupon-txt">50% OFF</span></span>
17
+ <span class="modal-downgrade-coupon code-inline strong"><span class="modal-downgrade-tag bg-green-dark mr-0 rounded-left">{% icon :tag, class: 'align-middle modal-downgrade-tag-icon' %}</span><span class="modal-downgrade-coupon-txt">50% OFF</span></span>
18
18
  one month if you decide to stay.
19
19
  <button class="alert-cta btn btn-cta btn-sm" modal-close>Apply Discount</button>
20
20
  </div>
@@ -22,7 +22,7 @@ answers:
22
22
  <div class="modal-title">
23
23
  <h1 class="text-lg text-x1-xl">Codeship Basic Downgrade</h1>
24
24
  </div>
25
- <p class="text-light margin-bottom-md">
25
+ <p class="text-light mb-20">
26
26
  We'd appreciate it if you would take a moment to share your thoughts
27
27
  and experience on why Codeship wasn't a good fit for your team.
28
28
  </p>
@@ -42,10 +42,10 @@ answers:
42
42
  </form>
43
43
  </div>
44
44
  <div class="modal-ctas">
45
- <button class="btn btn-caution btn-sm btn-x1-md margin-right-xxs margin-right-x1-xs" modal-close>
45
+ <button class="btn btn-caution btn-sm btn-x1-md mr-5 mr-x1-10" modal-close>
46
46
  <span class="display-none display-x1-inline">Confirm</span> Downgrade
47
47
  </button>
48
- <button class="btn btn-cta btn-sm btn-x1-md margin-right-xxs margin-right-x1-xs" modal-close>Apply Discount</button>
48
+ <button class="btn btn-cta btn-sm btn-x1-md mr-5 mr-x1-10" modal-close>Apply Discount</button>
49
49
  <button class="btn btn-secondary btn-sm btn-x1-md" modal-close>Cancel</button>
50
50
  </div>
51
51
  </div>
@@ -11,7 +11,7 @@ sass_file: shipyard/components/_modals
11
11
  <div class="col-container-x1-nowrap">
12
12
  <div class="col col-100">
13
13
  <h3 class="col-100">Building Modals</h3>
14
- <p class="text-light margin-bottom-sm">Useful when you need to draw attention to information that requires additional action.</p>
14
+ <p class="text-light mb-15">Useful when you need to draw attention to information that requires additional action.</p>
15
15
  </div>
16
16
  <div class="col">
17
17
  <button class="btn btn-sm btn-x1-md btn-secondary white-space-nowrap" modal-trigger="example">Demo Modal</button>