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.
- checksums.yaml +4 -4
- data/assets/javascripts/{shipyard.es6 → shipyard.js} +0 -0
- data/assets/javascripts/shipyard/{accordion-trigger.es6 → accordion-trigger.js} +0 -0
- data/assets/javascripts/shipyard/{accordion.es6 → accordion.js} +0 -0
- data/assets/javascripts/shipyard/{alert-timer.es6 → alert-timer.js} +0 -0
- data/assets/javascripts/shipyard/{alert.es6 → alert.js} +0 -0
- data/assets/javascripts/shipyard/{core.es6 → core.js} +0 -0
- data/assets/javascripts/shipyard/{hamburger.es6 → hamburger.js} +0 -0
- data/assets/javascripts/shipyard/{modal-trigger.es6 → modal-trigger.js} +0 -0
- data/assets/javascripts/shipyard/{modal.es6 → modal.js} +0 -0
- data/assets/javascripts/shipyard/{scroll.es6 → scroll.js} +0 -0
- data/assets/stylesheets/shipyard/_functions.sass +1 -0
- data/assets/stylesheets/shipyard/components/_tooltips.sass +140 -40
- data/assets/stylesheets/shipyard/core/_reset.sass +5 -1
- data/assets/stylesheets/shipyard/functions/_opposite-direction.sass +9 -0
- data/assets/stylesheets/shipyard/utilities/_typography.sass +2 -1
- data/lib/shipyard-framework/version.rb +1 -1
- metadata +19 -114
- data/.gitignore +0 -13
- data/.rspec +0 -3
- data/.ruby-version +0 -1
- data/.travis.yml +0 -40
- data/Brewfile +0 -4
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -3
- data/LICENSE.txt +0 -21
- data/README.md +0 -46
- data/Rakefile +0 -16
- data/ci/build.rb +0 -5
- data/ci/deploy +0 -31
- data/ci/jekyll +0 -16
- data/ci/percy +0 -16
- data/ci/sass_lint +0 -47
- data/ci/setup +0 -6
- data/shipyard.gemspec +0 -28
- data/spec/helpers/alert_helper_spec.rb +0 -27
- data/spec/helpers/box_helper_spec.rb +0 -27
- data/spec/helpers/button_helper_spec.rb +0 -37
- data/spec/helpers/form_helper_spec.rb +0 -29
- data/spec/helpers/icon_helper_spec.rb +0 -21
- data/spec/helpers/note_helper_spec.rb +0 -19
- data/spec/shipyard_spec.rb +0 -7
- data/spec/spec_helper.rb +0 -104
- data/styleguide/.gitignore +0 -3
- data/styleguide/.nojekyll +0 -0
- data/styleguide/.ruby-version +0 -1
- data/styleguide/Gemfile +0 -9
- data/styleguide/Gemfile.lock +0 -125
- data/styleguide/_assets/css/application.sass +0 -3
- data/styleguide/_assets/css/fonts.sass +0 -2
- data/styleguide/_assets/css/layout.sass +0 -10
- data/styleguide/_assets/css/syntax.css +0 -209
- data/styleguide/_assets/css/vendor.sass +0 -4
- data/styleguide/_assets/css/views.sass +0 -103
- data/styleguide/_assets/img/arrows/down.svg +0 -3
- data/styleguide/_assets/img/checkmark.svg +0 -3
- data/styleguide/_assets/js/application.es6 +0 -6
- data/styleguide/_assets/js/views/components/alert-trigger.es6 +0 -20
- data/styleguide/_assets/js/views/utilities/colors.es6 +0 -14
- data/styleguide/_config.yml +0 -67
- data/styleguide/_data/breakpoints.yml +0 -15
- data/styleguide/_includes/css-stats.html +0 -14
- data/styleguide/_includes/page-heading.html +0 -4
- data/styleguide/_layouts/application.html +0 -45
- data/styleguide/_plugins/color_css_class.rb +0 -13
- data/styleguide/_plugins/component_css_class.rb +0 -9
- data/styleguide/_plugins/css_declarations.rb +0 -16
- data/styleguide/_plugins/css_selectors.rb +0 -16
- data/styleguide/_plugins/css_size.rb +0 -20
- data/styleguide/_plugins/human_size_filter.rb +0 -12
- data/styleguide/_plugins/icon_item.rb +0 -28
- data/styleguide/_plugins/opacity_css_class.rb +0 -12
- data/styleguide/_plugins/sass_generator.rb +0 -55
- data/styleguide/_plugins/sass_output.rb +0 -24
- data/styleguide/components/alerts.md +0 -107
- data/styleguide/components/boxes.md +0 -97
- data/styleguide/components/buttons.md +0 -192
- data/styleguide/components/checkboxes.md +0 -281
- data/styleguide/components/code.html +0 -49
- data/styleguide/components/empty-states.html +0 -12
- data/styleguide/components/forms.md +0 -151
- data/styleguide/components/horizontal-rules.md +0 -82
- data/styleguide/components/icons.md +0 -129
- data/styleguide/components/index.md +0 -18
- data/styleguide/components/modals/_modal.html +0 -100
- data/styleguide/components/modals/example-billing.html +0 -80
- data/styleguide/components/modals/example-downgrade.html +0 -33
- data/styleguide/components/modals/example-small.html +0 -19
- data/styleguide/components/modals/example-survey.html +0 -52
- data/styleguide/components/modals/example-tall.html +0 -6
- data/styleguide/components/modals/index.md +0 -41
- data/styleguide/components/notes.md +0 -67
- data/styleguide/components/radio-buttons.md +0 -195
- data/styleguide/components/statuses.md +0 -324
- data/styleguide/components/tables.md +0 -34
- data/styleguide/components/tooltips.md +0 -16
- data/styleguide/index.md +0 -27
- data/styleguide/stats.md +0 -49
- data/styleguide/utilities/accordion.md +0 -55
- data/styleguide/utilities/border-radius.md +0 -104
- data/styleguide/utilities/colors.md +0 -45
- data/styleguide/utilities/grid.md +0 -256
- data/styleguide/utilities/index.md +0 -19
- data/styleguide/utilities/margin-padding.md +0 -124
- data/styleguide/utilities/opacity.md +0 -28
- data/styleguide/utilities/position.md +0 -24
- data/styleguide/utilities/responsive.md +0 -20
- data/styleguide/utilities/typography.md +0 -74
@@ -1,82 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Horizontal Rules
|
3
|
-
description: Shipyard doesn't make any assumptions on how you want to common tags like an `hr` to styled. As a result, we would recommend extending the `.hr` class in your own SASS files to achieve the results below on all `hr` tags (e.g. `@extend .hr`).
|
4
|
-
sass_file: shipyard/components/_horizontal-rules
|
5
|
-
text_sizes: [xxs, xs, sm, md, lg, xl, xxl, xxxl]
|
6
|
-
text_shades: [normal, light, lighter, lightest]
|
7
|
-
---
|
8
|
-
|
9
|
-
{% include page-heading.html page=page %}
|
10
|
-
|
11
|
-
{% note :warning %}
|
12
|
-
<p markdown="1">
|
13
|
-
Please note that the code examples below are **not possible** without `hr { @extend .hr }` somewhere in your application's sass files. If you haven't done this, then you'll need to include the `.hr` class on every horizontal rule.
|
14
|
-
</p>
|
15
|
-
{% endnote %}
|
16
|
-
|
17
|
-
---
|
18
|
-
|
19
|
-
## Default Horizontal Rules
|
20
|
-
<div class="utilities-typography-hr-box-default">
|
21
|
-
<hr class="utilities-typography-hr" />
|
22
|
-
</div>
|
23
|
-
<div class="utilities-typography-hr-box-dark">
|
24
|
-
<hr class="utilities-typography-hr" />
|
25
|
-
</div>
|
26
|
-
<div class="utilities-typography-hr-box-light">
|
27
|
-
<hr class="utilities-typography-hr" />
|
28
|
-
</div>
|
29
|
-
|
30
|
-
```html
|
31
|
-
<hr />
|
32
|
-
```
|
33
|
-
|
34
|
-
---
|
35
|
-
|
36
|
-
## Thin Horizontal Rules `.hr-thin`
|
37
|
-
{: .mb-20 }
|
38
|
-
|
39
|
-
<div class="utilities-typography-hr-box-default">
|
40
|
-
<hr class="utilities-typography-hr hr-thin" />
|
41
|
-
</div>
|
42
|
-
<div class="utilities-typography-hr-box-dark">
|
43
|
-
<hr class="utilities-typography-hr hr-thin" />
|
44
|
-
</div>
|
45
|
-
<div class="utilities-typography-hr-box-light">
|
46
|
-
<hr class="utilities-typography-hr hr-thin" />
|
47
|
-
</div>
|
48
|
-
|
49
|
-
```html
|
50
|
-
<hr class="hr-thin" />
|
51
|
-
```
|
52
|
-
|
53
|
-
---
|
54
|
-
|
55
|
-
## Dark Horizontal Rules
|
56
|
-
Useful when you have a horizontal rule on a darker background.
|
57
|
-
{: .section-description }
|
58
|
-
|
59
|
-
<div class="utilities-typography-hr-box-dark">
|
60
|
-
<hr class="utilities-typography-hr hr-dark" />
|
61
|
-
</div>
|
62
|
-
```html
|
63
|
-
<hr class="hr-dark" />
|
64
|
-
```
|
65
|
-
|
66
|
-
---
|
67
|
-
|
68
|
-
## Light Horizontal Rules
|
69
|
-
Useful when you have a horizontal rule on a lighter background.
|
70
|
-
{: .section-description }
|
71
|
-
|
72
|
-
<div class="utilities-typography-hr-box-light">
|
73
|
-
<hr class="utilities-typography-hr hr-light" />
|
74
|
-
</div>
|
75
|
-
|
76
|
-
```html
|
77
|
-
<hr class="hr-light" />
|
78
|
-
```
|
79
|
-
|
80
|
-
---
|
81
|
-
|
82
|
-
{% include css-stats.html %}
|
@@ -1,129 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Shipyard Icons
|
3
|
-
description: Shipyard comes with several default icons that you're welcome to use on any project. Each icon has been designed on a pixel grid at the small size possible, but can be scaled up to any size you like simply by changing the `width` and `height` in the CSS.
|
4
|
-
sass_file: shipyard/components/_icons
|
5
|
-
---
|
6
|
-
|
7
|
-
{% include page-heading.html page=page %}
|
8
|
-
|
9
|
-
---
|
10
|
-
|
11
|
-
### Common Icons
|
12
|
-
The following icons are the most frequently used in just about any application.
|
13
|
-
{: .section-description }
|
14
|
-
|
15
|
-
<ul class="icon-list col-container">
|
16
|
-
{% iconitem :plus, class: 'center' %}
|
17
|
-
{% iconitem :restart, class: 'center' %}
|
18
|
-
{% iconitem :gear, class: 'center' %}
|
19
|
-
{% iconitem :lock, class: 'center' %}
|
20
|
-
{% iconitem :card, class: 'center' %}
|
21
|
-
{% iconitem :tag, class: 'center' %}
|
22
|
-
{% iconitem :x, class: 'center' %}
|
23
|
-
{% iconitem :arrow_up, class: 'center' %}
|
24
|
-
{% iconitem :arrow_down, class: 'center' %}
|
25
|
-
{% iconitem :arrow_left, class: 'center' %}
|
26
|
-
{% iconitem :arrow_right, class: 'center' %}
|
27
|
-
{% iconitem :check, class: 'center' %}
|
28
|
-
</ul>
|
29
|
-
|
30
|
-
---
|
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
|
-
|
48
|
-
### Brand Icons
|
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.
|
50
|
-
{: .section-description }
|
51
|
-
|
52
|
-
<ul class="icon-list col-container">
|
53
|
-
{% iconitem 'bitbucket-white', class: 'center icon-xl' %}
|
54
|
-
{% iconitem 'bitbucket', class: 'center gray icon-xl' %}
|
55
|
-
{% iconitem 'bitbucket-color', class: 'center icon-xl' %}
|
56
|
-
{% iconitem :campfire_color, class: 'center icon-xl' %}
|
57
|
-
{% iconitem :codeship, class: 'center icon-xl' %}
|
58
|
-
{% iconitem :email_color, class: 'center icon-xl' %}
|
59
|
-
{% iconitem :flowdock_color, class: 'center icon-xl' %}
|
60
|
-
{% iconitem :github, class: 'center icon-xl' %}
|
61
|
-
{% iconitem :gitlab, class: 'center icon-xl' %}
|
62
|
-
{% iconitem :gitlab_color, class: 'center icon-xl' %}
|
63
|
-
{% iconitem :google_app_engine, class: 'center icon-xl' %}
|
64
|
-
{% iconitem :grove_color, class: 'center icon-xl' %}
|
65
|
-
{% iconitem :hipchat, class: 'center icon-xl' %}
|
66
|
-
{% iconitem :hipchat_color, class: 'center icon-xl' %}
|
67
|
-
{% iconitem :slack, class: 'center icon-xl' %}
|
68
|
-
{% iconitem :slack_color, class: 'center icon-xl' %}
|
69
|
-
{% iconitem :webhook, class: 'center icon-xl' %}
|
70
|
-
{% iconitem :webhook_color, class: 'center icon-xl' %}
|
71
|
-
</ul>
|
72
|
-
|
73
|
-
---
|
74
|
-
|
75
|
-
### Multi-color Icons
|
76
|
-
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.
|
77
|
-
{: .section-description }
|
78
|
-
|
79
|
-
<ul class="icon-list col-container">
|
80
|
-
{% iconitem 'email-color', class: 'icon-xl center' %}
|
81
|
-
</ul>
|
82
|
-
```erb
|
83
|
-
<%= icon 'email-color' %>
|
84
|
-
```
|
85
|
-
|
86
|
-
---
|
87
|
-
|
88
|
-
### Icon Sizes
|
89
|
-
The icon size utility classes can be applied to any icon, and are useful when you want to override the default icon size.
|
90
|
-
{: .section-description }
|
91
|
-
|
92
|
-
<ul class="icon-list col-container">
|
93
|
-
{% iconitem :gear, class: 'center icon-xxs' %}
|
94
|
-
{% iconitem :gear, class: 'center icon-xs' %}
|
95
|
-
{% iconitem :gear, class: 'center icon-sm' %}
|
96
|
-
{% iconitem :gear, class: 'center icon-md' %}
|
97
|
-
{% iconitem :gear, class: 'center icon-lg' %}
|
98
|
-
{% iconitem :gear, class: 'center icon-xl' %}
|
99
|
-
</ul>
|
100
|
-
|
101
|
-
```erb
|
102
|
-
<%= icon :gear, class: 'icon-xxs' %>
|
103
|
-
<%= icon :gear, class: 'icon-xs' %>
|
104
|
-
<%= icon :gear, class: 'icon-sm' %>
|
105
|
-
<%= icon :gear, class: 'icon-md' %>
|
106
|
-
<%= icon :gear, class: 'icon-lg' %>
|
107
|
-
<%= icon :gear, class: 'icon-xl' %>
|
108
|
-
```
|
109
|
-
|
110
|
-
---
|
111
|
-
|
112
|
-
### Centered Icons
|
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.
|
114
|
-
{: .section-description }
|
115
|
-
|
116
|
-
<div class="mb-30">
|
117
|
-
<button class="btn btn-secondary">{% icon :plus, class: 'align-middle icon-sm mr-5' %} Create</button>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
```erb
|
121
|
-
<button class="btn btn-secondary">
|
122
|
-
<%= icon :plus, class: 'align-middle icon-sm' %>
|
123
|
-
Create
|
124
|
-
</button>
|
125
|
-
```
|
126
|
-
|
127
|
-
---
|
128
|
-
|
129
|
-
{% include css-stats.html %}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Shipyard Components
|
3
|
-
components: [Boxes, Buttons, Empty States, Alerts, Notes, Forms, Statuses, Radio Buttons, Checkboxes, Icons, Modals, Tooltips, Code, Tables, Horizontal Rules]
|
4
|
-
---
|
5
|
-
|
6
|
-
{% include page-heading.html page=page %}
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<ul class="col-container">
|
11
|
-
{% for component in page.components %}
|
12
|
-
<li class="mb-10 mb-x1-15 mb-x2-30 col col-100 col-x1-33 col-x2-25">
|
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
|
-
{{ component }}
|
15
|
-
</a>
|
16
|
-
</li>
|
17
|
-
{% endfor %}
|
18
|
-
</ul>
|
@@ -1,100 +0,0 @@
|
|
1
|
-
<div class="modal-container {{ include.css_class }}" modal="example">
|
2
|
-
<div class="modal" role="dialog">
|
3
|
-
<div class="modal-content">
|
4
|
-
<div class="modal-title-border mb-x1-20">
|
5
|
-
<h1 class="text-lg text-x1-xl">Billing Info</h1>
|
6
|
-
</div>
|
7
|
-
<form>
|
8
|
-
<div class="col-container mb-20">
|
9
|
-
<div class="col">
|
10
|
-
<label class="label">First Name</label>
|
11
|
-
<div class="input-required">
|
12
|
-
<input type="text" class="input input-text" />
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
<div class="col">
|
16
|
-
<label class="label">Last Name</label>
|
17
|
-
<div class="input-required">
|
18
|
-
<input type="text" class="input input-text" />
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
<div class="col-container mb-20">
|
23
|
-
<div class="col col-100 col-x1-50 mb-15 mb-x1-0">
|
24
|
-
<label class="label">Email Address</label>
|
25
|
-
<input type="text" class="input input-text" />
|
26
|
-
</div>
|
27
|
-
<div class="col col-100 col-x1-50">
|
28
|
-
<label class="label">Phone Number</label>
|
29
|
-
<div class="input-required">
|
30
|
-
<input type="text" class="input input-text" />
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
<div class="col-container mb-20">
|
35
|
-
<div class="col col-100 mb-15">
|
36
|
-
<label class="label">Billing Address</label>
|
37
|
-
<input type="text" class="input input-text" placeholder="Company Name" />
|
38
|
-
</div>
|
39
|
-
<div class="col col-100 mb-15">
|
40
|
-
<input type="text" class="input input-text" placeholder="Street Address" />
|
41
|
-
</div>
|
42
|
-
<div class="col col-100 col-x1-33 mb-15">
|
43
|
-
<div class="input-required">
|
44
|
-
<input type="text" class="input input-text" placeholder="Postal Code" />
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
<div class="col col-50 col-x1-33 mb-15">
|
48
|
-
<input type="text" class="input input-text" placeholder="City" />
|
49
|
-
</div>
|
50
|
-
<div class="col col-50 col-x1-33 mb-15">
|
51
|
-
<input type="text" class="input input-text" placeholder="State" />
|
52
|
-
</div>
|
53
|
-
<div class="col col-100">
|
54
|
-
<div class="input-required">
|
55
|
-
<div class="input-select-container">
|
56
|
-
<select class="input input-select">
|
57
|
-
<option class="input-option-placeholder">Country</option>
|
58
|
-
<option>United States of America</option>
|
59
|
-
<option>France</option>
|
60
|
-
<option>Germany</option>
|
61
|
-
<option>Austria</option>
|
62
|
-
</select>
|
63
|
-
</div>
|
64
|
-
</div>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
<div class="col-container mb-20">
|
68
|
-
<div class="col">
|
69
|
-
<label class="label">Tax Information</label>
|
70
|
-
<input type="text" class="input input-text" placeholder="VAT Number" />
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
<div class="col-container mb-15 mb-x1-0">
|
74
|
-
<div class="col">
|
75
|
-
<label class="label">Additional Invoice Information</label>
|
76
|
-
<p class="label-note">This information will appear on each invoice. Don't include any confidential financial information.</p>
|
77
|
-
<input type="text" class="input input-text" placeholder="e.g. Invoice notes, accounts payable info, additional address info, etc..." />
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
</form>
|
81
|
-
</div>
|
82
|
-
<div class="modal-ctas">
|
83
|
-
<div class="col-container-nowrap">
|
84
|
-
<div class="col col-100">
|
85
|
-
<button class="btn btn-primary btn-sm btn-x1-md" modal-close>
|
86
|
-
Save
|
87
|
-
<span class="display-none display-x1-inline">& Close</span>
|
88
|
-
</button>
|
89
|
-
<button class="btn btn-secondary btn-sm btn-x1-md ml-5 ml-x1-10" modal-close>Cancel</button>
|
90
|
-
</div>
|
91
|
-
<div class="col align-right">
|
92
|
-
<span class="btn-sm btn-x1-md white-space-nowrap p-0">
|
93
|
-
{% icon :lock, class: 'green-dark align-middle mr-5' %}
|
94
|
-
<span class="text-sm text-lighter medium">Secure Server</span>
|
95
|
-
</span>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
</div>
|
@@ -1,80 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Shipyard Modal Example
|
3
|
-
---
|
4
|
-
|
5
|
-
{% include page-heading.html page=page %}
|
6
|
-
|
7
|
-
<div class="modal-container" modal="example-small">
|
8
|
-
<div class="modal modal-sm modal-billing" role="dialog">
|
9
|
-
<div class="modal-content">
|
10
|
-
<div class="modal-title-border mb-20 mb-x1-30">
|
11
|
-
<div class="col-container">
|
12
|
-
<h1 class="text-lg text-x1-xl col">Payment Period</h1>
|
13
|
-
<p class="col text-light medium align-right display-none display-x1-block">
|
14
|
-
<span class="strong green-dark">1</span> Concurrent Build
|
15
|
-
<span class="bullet">&</span>
|
16
|
-
<span class="strong green-dark">1</span> Test Pipeline
|
17
|
-
</p>
|
18
|
-
</div>
|
19
|
-
</div>
|
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
|
-
Monthly — $39
|
23
|
-
</button>
|
24
|
-
<button class="btn btn-secondary-link btn-sm btn-x1-md">
|
25
|
-
<input type="radio" class="input input-radio-checkbox mr-10" />
|
26
|
-
Yearly — $390
|
27
|
-
<span class="btn btn-cta btn-rounded btn-xxs ml-10 modal-billing-yearly-promo">2 Months Free</span>
|
28
|
-
{% icon :tag, class: 'icon-inverse' %}
|
29
|
-
</button>
|
30
|
-
<p class="text-light mt-10 mt-x1-15" markdown="1">
|
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
|
-
</p>
|
33
|
-
<div class="modal-title-border mt-30 mb-20 mb-x1-30">
|
34
|
-
<h1 class="text-lg text-x1-xl">Payment Info</h1>
|
35
|
-
</div>
|
36
|
-
<form>
|
37
|
-
<div class="input-required">
|
38
|
-
<input type="text" class="input input-text" placeholder="Card Number" />
|
39
|
-
</div>
|
40
|
-
<div class="col-container mt-20">
|
41
|
-
<div class="col col-50 col-x1-33">
|
42
|
-
<label class="label">Expiry Date</label>
|
43
|
-
<div class="input-required">
|
44
|
-
<input type="text" class="input input-text" placeholder="MM/YYYY" />
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
<div class="col col-50 col-x1-33">
|
48
|
-
<label class="label">CCV</label>
|
49
|
-
<div class="input-required">
|
50
|
-
<input type="text" class="input input-text" placeholder="3 or 4 digits" />
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
<div class="col col-100 col-x1-33 mt-20 mt-x1-0 mb-15 mb-x1-0">
|
54
|
-
<label class="label">Zip Code</label>
|
55
|
-
<div class="input-required">
|
56
|
-
<input type="text" class="input input-text" />
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</form>
|
61
|
-
</div>
|
62
|
-
<div class="modal-ctas">
|
63
|
-
<div class="col-container-nowrap">
|
64
|
-
<div class="col col-100">
|
65
|
-
<button class="btn btn-primary btn-sm btn-x1-md" modal-close>
|
66
|
-
Save
|
67
|
-
<span class="display-none display-x1-inline">& Continue</span>
|
68
|
-
</button>
|
69
|
-
<button class="btn btn-secondary btn-sm btn-x1-md ml-5 ml-x1-10" modal-close>Cancel</button>
|
70
|
-
</div>
|
71
|
-
<div class="col align-right">
|
72
|
-
<span class="btn-sm btn-x1-md white-space-nowrap p-0">
|
73
|
-
{% icon :lock, class: 'green-dark align-middle mr-5' %}
|
74
|
-
<span class="text-sm text-lighter medium">Secure Server</span>
|
75
|
-
</span>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
</div>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Shipyard Modal Example
|
3
|
-
answers:
|
4
|
-
- I'd like to continue using Codeship on the free plan.
|
5
|
-
- I will no longer be using Codeship.
|
6
|
-
---
|
7
|
-
|
8
|
-
{% include page-heading.html page=page %}
|
9
|
-
|
10
|
-
<div class="modal-container" modal="example-small">
|
11
|
-
<div class="modal modal-sm modal-billing" role="dialog">
|
12
|
-
<div class="modal-content">
|
13
|
-
<h1 class="modal-title text-lg text-x1-xl">Codeship Basic Downgrade</h1>
|
14
|
-
<p class="text-light mb-20">
|
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
|
-
</p>
|
17
|
-
<form>
|
18
|
-
<ul class="input-list">
|
19
|
-
{% for answer in page.answers %}
|
20
|
-
<li class="input-item">
|
21
|
-
<input id="radio-{{ forloop.index }}" name="radio-name" type="radio" class="input input-radio" {% if forloop.index == 1 %}checked{% endif %} />
|
22
|
-
<label for="radio-{{ forloop.index }}" class="input-label">{{ answer }}</label>
|
23
|
-
</li>
|
24
|
-
{% endfor %}
|
25
|
-
</ul>
|
26
|
-
</form>
|
27
|
-
</div>
|
28
|
-
<div class="modal-ctas">
|
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
|
-
<button class="btn btn-secondary btn-sm btn-x1-md" modal-close>Cancel</button>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
</div>
|