bootstrap-bookingsync-sass 0.0.19 → 1.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bowerrc +4 -0
- data/.editorconfig +34 -0
- data/.ember-cli +9 -0
- data/.gitignore +18 -0
- data/.jshintrc +32 -0
- data/.npmignore +16 -0
- data/.travis.yaml +34 -0
- data/.watchmanconfig +3 -0
- data/CHANGELOG.md +34 -1
- data/README.md +110 -5
- data/addon/.gitkeep +0 -0
- data/addon/components/bsy-button.js +34 -0
- data/addon/templates/components/bsy-button.hbs +1 -0
- data/app/.gitkeep +0 -0
- data/app/components/bsy-button.js +1 -0
- data/assets/fonts/bookingsync/bookingsync-icons.eot +0 -0
- data/assets/fonts/bookingsync/bookingsync-icons.svg +37 -0
- data/assets/fonts/bookingsync/bookingsync-icons.ttf +0 -0
- data/assets/fonts/bookingsync/bookingsync-icons.woff +0 -0
- data/assets/fonts/bookingsync/bookingsync-icons.woff2 +0 -0
- data/assets/fonts/bookingsync/bookingsync-smiles.eot +0 -0
- data/assets/fonts/bookingsync/bookingsync-smiles.svg +1 -1
- data/assets/fonts/bookingsync/bookingsync-smiles.ttf +0 -0
- data/assets/fonts/bookingsync/bookingsync-smiles.woff +0 -0
- data/assets/fonts/bookingsync/bookingsync-smiles.woff2 +0 -0
- data/assets/javascripts/bookingsync/menu.js +29 -0
- data/assets/javascripts/bookingsync/toggle.js +15 -0
- data/assets/javascripts/bootstrap-bookingsync-sprockets.js +2 -0
- data/assets/stylesheets/_bootstrap-bookingsync.scss +9 -1
- data/assets/stylesheets/bookingsync/_annotated-sections.scss +28 -0
- data/assets/stylesheets/bookingsync/_buttons.scss +218 -0
- data/assets/stylesheets/bookingsync/_ember-power-select.scss +131 -0
- data/assets/stylesheets/bookingsync/_form.scss +22 -1
- data/assets/stylesheets/bookingsync/_icons.scss +119 -0
- data/assets/stylesheets/bookingsync/_layout.scss +18 -9
- data/assets/stylesheets/bookingsync/_list-group.scss +37 -0
- data/assets/stylesheets/bookingsync/_menu.scss +230 -210
- data/assets/stylesheets/bookingsync/_modals.scss +24 -0
- data/assets/stylesheets/bookingsync/_navbar.scss +53 -0
- data/assets/stylesheets/bookingsync/_sheet.scss +9 -0
- data/assets/stylesheets/bookingsync/_smiles.scss +25 -19
- data/assets/stylesheets/bookingsync/_theme.scss +0 -22
- data/assets/stylesheets/bookingsync/_variables.scss +191 -38
- data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/styles/app.scss +3 -0
- data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/app/templates/application.hbs +31 -0
- data/blueprints/ember-cli-bootstrap-bookingsync-sass/files/ember-cli-build.js +28 -0
- data/blueprints/ember-cli-bootstrap-bookingsync-sass/index.js +15 -0
- data/bower.json +14 -0
- data/config/deploy.js +30 -0
- data/config/ember-try.js +36 -0
- data/config/environment.js +6 -0
- data/docs/Gemfile +1 -1
- data/docs/Gemfile.lock +16 -13
- data/docs/Rakefile +1 -1
- data/docs/Rules +29 -11
- data/docs/content/assets/fonts/bookingsync/bookingsync-icons.eot +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-icons.svg +37 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-icons.ttf +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-icons.woff +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-icons.woff2 +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-smiles.eot +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-smiles.svg +19 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-smiles.ttf +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-smiles.woff +0 -0
- data/docs/content/assets/fonts/bookingsync/bookingsync-smiles.woff2 +0 -0
- data/docs/content/assets/images/bookingsync.png +0 -0
- data/docs/content/assets/javascripts/application.js.coffee +1 -0
- data/docs/content/assets/stylesheets/_base.scss +64 -25
- data/docs/content/assets/stylesheets/_code.scss +6 -0
- data/docs/content/assets/stylesheets/_icons.scss +54 -0
- data/docs/content/assets/stylesheets/_override.scss +67 -0
- data/docs/content/assets/stylesheets/_variables.scss +7 -0
- data/docs/content/assets/stylesheets/application.scss +2 -1
- data/docs/content/brand.html +9 -0
- data/docs/content/brand/_navbar.html +17 -0
- data/docs/content/brand/colors.md +101 -0
- data/docs/content/brand/iconography.md +87 -0
- data/docs/content/brand/smiles.md +51 -0
- data/docs/content/brand/typography.md +301 -0
- data/docs/content/buttons.html +6 -0
- data/docs/content/buttons/_navbar.html +13 -0
- data/docs/content/buttons/buttons.md +320 -0
- data/docs/content/components.html +11 -22
- data/docs/content/components/_navbar.html +22 -0
- data/docs/content/components/chosen.md +28 -17
- data/docs/content/components/dropdown.md +2 -4
- data/docs/content/components/list-group.md +239 -0
- data/docs/content/components/menu.md +134 -219
- data/docs/content/components/modal.html +108 -0
- data/docs/content/components/sheet.md +11 -60
- data/docs/content/components/switch.md +42 -25
- data/docs/content/compositions.html +6 -0
- data/docs/content/compositions/_navbar.html +12 -0
- data/docs/content/compositions/compositions.md +348 -0
- data/docs/content/embed/menu.html +160 -0
- data/docs/content/forms.html +6 -0
- data/docs/content/forms/_navbar.html +39 -0
- data/docs/content/{css → forms}/forms.md +98 -86
- data/docs/content/utilities.html +6 -0
- data/docs/content/utilities/_navbar.html +6 -0
- data/docs/content/{css → utilities}/helpers.md +4 -6
- data/docs/layouts/default.html +12 -7
- data/docs/layouts/embed.html +7 -0
- data/docs/layouts/head.html +1 -2
- data/docs/layouts/navbar.html +15 -23
- data/docs/layouts/sidebar.html +53 -0
- data/docs/nanoc.yaml +2 -0
- data/docs/public/ember/assets/dummy-605390683726afd79cffdf529eb4531a.css +28 -0
- data/docs/public/ember/assets/dummy-daae8f1136db419cd268e84ad4f5c989.js +2 -0
- data/docs/public/ember/assets/vendor-226e4280b8b1da91e2e598b6726ea1f4.js +28 -0
- data/docs/public/ember/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css +0 -0
- data/docs/public/ember/crossdomain.xml +15 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-icons.eot +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-icons.svg +37 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-icons.ttf +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-icons.woff +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-icons.woff2 +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.eot +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.svg +19 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.ttf +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff +0 -0
- data/docs/public/ember/fonts/bookingsync/bookingsync-smiles.woff2 +0 -0
- data/docs/public/ember/index.html +27 -0
- data/docs/public/ember/robots.txt +3 -0
- data/ember-cli-build.js +23 -0
- data/index.js +78 -0
- data/lib/bootstrap/bookingsync/version.rb +1 -1
- data/package.json +62 -0
- data/testem.json +12 -0
- data/tests/.jshintrc +52 -0
- data/tests/dummy/app/app.js +18 -0
- data/tests/dummy/app/components/.gitkeep +0 -0
- data/tests/dummy/app/controllers/.gitkeep +0 -0
- data/tests/dummy/app/controllers/index.js +31 -0
- data/tests/dummy/app/helpers/.gitkeep +0 -0
- data/tests/dummy/app/index.html +25 -0
- data/tests/dummy/app/models/.gitkeep +0 -0
- data/tests/dummy/app/resolver.js +3 -0
- data/tests/dummy/app/router.js +11 -0
- data/tests/dummy/app/routes/.gitkeep +0 -0
- data/tests/dummy/app/styles/app.scss +3 -0
- data/tests/dummy/app/templates/application.hbs +7 -0
- data/tests/dummy/app/templates/components/.gitkeep +0 -0
- data/tests/dummy/app/templates/index.hbs +275 -0
- data/tests/dummy/app/templates/navbar.hbs +24 -0
- data/tests/dummy/app/templates/sidebar.hbs +47 -0
- data/tests/dummy/config/environment.js +47 -0
- data/tests/dummy/public/crossdomain.xml +15 -0
- data/tests/dummy/public/robots.txt +3 -0
- data/tests/helpers/destroy-app.js +5 -0
- data/tests/helpers/module-for-acceptance.js +23 -0
- data/tests/helpers/resolver.js +11 -0
- data/tests/helpers/start-app.js +18 -0
- data/tests/index.html +34 -0
- data/tests/integration/.gitkeep +0 -0
- data/tests/integration/components/bsy-button-test.js +24 -0
- data/tests/test-helper.js +6 -0
- data/tests/unit/.gitkeep +0 -0
- data/vendor/.gitkeep +0 -0
- metadata +127 -8
- data/docs/content/css.html +0 -68
@@ -0,0 +1,108 @@
|
|
1
|
+
<div class="example">
|
2
|
+
<div class="sheet-header">
|
3
|
+
<h3 id="modal">Modal</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<p>A rendered modal with header, body, and set of actions in the footer.</p>
|
7
|
+
|
8
|
+
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">
|
9
|
+
Launch demo modal
|
10
|
+
</button>
|
11
|
+
|
12
|
+
<div class="modal" id="myModal" tabindex="-1" role="dialog">
|
13
|
+
<div class="modal-dialog">
|
14
|
+
<div class="modal-content">
|
15
|
+
<div class="modal-header">
|
16
|
+
<button type="button" class="btn btn-sm btn-secondary-inverse btn-round btn-modal-close" data-dismiss="modal" aria-label="Close">
|
17
|
+
<span aria-hidden="true">×</span>
|
18
|
+
</button>
|
19
|
+
<h3 class="modal-title">Modal title</h3>
|
20
|
+
</div>
|
21
|
+
<div class="modal-body">
|
22
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc nec luctus felis. Nulla a lacus libero. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam mollis tortor sodales libero euismod, eget suscipit arcu mollis. Nam nibh libero, tempus eu urna convallis, tempor efficitur ex. Donec molestie nibh ac luctus imperdiet. Nulla vitae vulputate ipsum. Phasellus porta gravida odio, in iaculis quam cursus et. Ut ac vehicula erat. Nulla sapien turpis, dapibus vel pellentesque sed, suscipit sit amet nibh. Pellentesque rhoncus nibh porttitor, posuere nulla quis, auctor nunc. Pellentesque fermentum tempor justo, a interdum nulla. Nullam lacus odio, posuere ut posuere hendrerit, semper non velit.</p>
|
23
|
+
<p>Cras sed consequat nunc. Phasellus sed sagittis nibh. Aliquam a vulputate risus. Vestibulum molestie bibendum dolor, vel blandit ipsum malesuada et. Praesent enim nibh, finibus vel luctus id, bibendum vitae eros. Aliquam vel semper diam. Cras elementum molestie eros, ac venenatis quam. Proin fermentum ante eros, mollis vestibulum eros consequat eu. Cras quis lorem vel metus hendrerit porttitor. Nunc hendrerit vitae nunc ut pellentesque. Etiam quis urna ac lorem eleifend ornare. Donec nibh ante, bibendum id pellentesque non, dignissim ut urna. Phasellus congue ultricies ipsum, ut luctus augue pulvinar nec.</p>
|
24
|
+
</div>
|
25
|
+
<div class="modal-footer">
|
26
|
+
<div class="row">
|
27
|
+
<div class="col-xs-6">
|
28
|
+
<button type="button" class="btn btn-default btn-block" data-dismiss="modal">
|
29
|
+
Close
|
30
|
+
</button>
|
31
|
+
</div>
|
32
|
+
<div class="col-xs-6">
|
33
|
+
<button type="button" class="btn btn-primary btn-block">Save changes</button>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="bs-callout bs-callout-warning">
|
42
|
+
<h4>Caution</h4>
|
43
|
+
<p>
|
44
|
+
The close button need to replace the <code>close</code> class with <code>btn-modal-close</code>.
|
45
|
+
</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div class="bs-example bs-example-modal bs-sheet" data-example-id="modal">
|
49
|
+
<div class="modal" tabindex="-1" role="dialog">
|
50
|
+
<div class="modal-dialog">
|
51
|
+
<div class="modal-content">
|
52
|
+
<div class="modal-header">
|
53
|
+
<button type="button" class="btn btn-sm btn-secondary-inverse btn-round btn-modal-close" data-dismiss="modal" aria-label="Close">
|
54
|
+
<span aria-hidden="true">×</span>
|
55
|
+
</button>
|
56
|
+
<h3 class="modal-title">Modal title</h3>
|
57
|
+
</div>
|
58
|
+
<div class="modal-body">
|
59
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc nec luctus felis. Nulla a lacus libero. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam mollis tortor sodales libero euismod, eget suscipit arcu mollis. Nam nibh libero, tempus eu urna convallis, tempor efficitur ex. Donec molestie nibh ac luctus imperdiet. Nulla vitae vulputate ipsum. Phasellus porta gravida odio, in iaculis quam cursus et. Ut ac vehicula erat. Nulla sapien turpis, dapibus vel pellentesque sed, suscipit sit amet nibh. Pellentesque rhoncus nibh porttitor, posuere nulla quis, auctor nunc. Pellentesque fermentum tempor justo, a interdum nulla. Nullam lacus odio, posuere ut posuere hendrerit, semper non velit.</p>
|
60
|
+
<p>Cras sed consequat nunc. Phasellus sed sagittis nibh. Aliquam a vulputate risus. Vestibulum molestie bibendum dolor, vel blandit ipsum malesuada et. Praesent enim nibh, finibus vel luctus id, bibendum vitae eros. Aliquam vel semper diam. Cras elementum molestie eros, ac venenatis quam. Proin fermentum ante eros, mollis vestibulum eros consequat eu. Cras quis lorem vel metus hendrerit porttitor. Nunc hendrerit vitae nunc ut pellentesque. Etiam quis urna ac lorem eleifend ornare. Donec nibh ante, bibendum id pellentesque non, dignissim ut urna. Phasellus congue ultricies ipsum, ut luctus augue pulvinar nec.</p>
|
61
|
+
</div>
|
62
|
+
<div class="modal-footer">
|
63
|
+
<div class="row">
|
64
|
+
<div class="col-xs-6">
|
65
|
+
<button type="button" class="btn btn-default btn-block" data-dismiss="modal">
|
66
|
+
Close
|
67
|
+
</button>
|
68
|
+
</div>
|
69
|
+
<div class="col-xs-6">
|
70
|
+
<button type="button" class="btn btn-primary btn-block">Save changes</button>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
~~~ html
|
80
|
+
<div class="modal" tabindex="-1" role="dialog">
|
81
|
+
<div class="modal-dialog">
|
82
|
+
<div class="modal-content">
|
83
|
+
<div class="modal-header">
|
84
|
+
<button type="button" class="btn btn-sm btn-secondary-inverse btn-round btn-modal-close"
|
85
|
+
data-dismiss="modal" aria-label="Close">
|
86
|
+
<span aria-hidden="true">×</span>
|
87
|
+
</button>
|
88
|
+
<h3 class="modal-title">Modal title</h3>
|
89
|
+
</div>
|
90
|
+
<div class="modal-body">
|
91
|
+
<p>...</p>
|
92
|
+
</div>
|
93
|
+
<div class="modal-footer">
|
94
|
+
<div class="row">
|
95
|
+
<div class="col-xs-6">
|
96
|
+
<button type="button" class="btn btn-default btn-block" data-dismiss="modal">
|
97
|
+
Close
|
98
|
+
</button>
|
99
|
+
</div>
|
100
|
+
<div class="col-xs-6">
|
101
|
+
<button type="button" class="btn btn-primary btn-block">Save changes</button>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
~~~
|
@@ -1,11 +1,9 @@
|
|
1
|
-
# Sheet
|
2
|
-
|
3
1
|
<div class="example">
|
4
2
|
<div class="sheet-header">
|
5
|
-
<h3 id="sheet
|
3
|
+
<h3 id="sheet">Sheet</h3>
|
6
4
|
</div>
|
7
5
|
<p>Highly inspired from the <code>panel</code> component, the sheet will auto scale and have a relative position to ease children positioning.</p>
|
8
|
-
<div class="bs-example bs-sheet" data-example-id="sheet
|
6
|
+
<div class="bs-example bs-sheet" data-example-id="sheet">
|
9
7
|
<div class="sheet">
|
10
8
|
<p>Text...</p>
|
11
9
|
</div>
|
@@ -19,10 +17,10 @@
|
|
19
17
|
|
20
18
|
<div class="example">
|
21
19
|
<div class="sheet-header">
|
22
|
-
<h3 id="sheet-
|
20
|
+
<h3 id="sheet-with-header">Sheet with header</h3>
|
23
21
|
</div>
|
24
22
|
<div class="bs-example bs-sheet-with-header"
|
25
|
-
data-example-id="sheet-
|
23
|
+
data-example-id="sheet-with-header">
|
26
24
|
<div class="sheet">
|
27
25
|
<div class="sheet-header">
|
28
26
|
<h2>Header</h2>
|
@@ -42,9 +40,9 @@
|
|
42
40
|
|
43
41
|
<div class="example">
|
44
42
|
<div class="sheet-header">
|
45
|
-
<h3 id="sheet-
|
43
|
+
<h3 id="sheet-with-tabs">Sheet with tabs</h3>
|
46
44
|
</div>
|
47
|
-
<div class="bs-example bs-sheet" data-example-id="sheet-
|
45
|
+
<div class="bs-example bs-sheet" data-example-id="sheet-with-tabs">
|
48
46
|
<div class="sheet">
|
49
47
|
<ul class="nav nav-tabs">
|
50
48
|
<li class="active"><a href="#">Tab 1</a></li>
|
@@ -72,10 +70,10 @@
|
|
72
70
|
|
73
71
|
<div class="example">
|
74
72
|
<div class="sheet-header">
|
75
|
-
<h3 id="sheet-
|
73
|
+
<h3 id="sheet-with-stacked-tabs">Sheet with stacked tabs</h3>
|
76
74
|
</div>
|
77
75
|
<div class="bs-example bs-sheet"
|
78
|
-
data-example-id="sheet-
|
76
|
+
data-example-id="sheet-with-stacked-tabs">
|
79
77
|
<div class="sheet">
|
80
78
|
<ul class="nav nav-tabs">
|
81
79
|
<li><a href="#">Tab 1</a></li>
|
@@ -121,8 +119,8 @@
|
|
121
119
|
|
122
120
|
<div class="example">
|
123
121
|
<div class="sheet-header">
|
124
|
-
<h3 id="sheet-
|
125
|
-
|
122
|
+
<h3 id="sheet-with-auto-stackable-tabs">
|
123
|
+
Sheet with auto-stackable tabs
|
126
124
|
</h3>
|
127
125
|
</div>
|
128
126
|
|
@@ -134,7 +132,7 @@
|
|
134
132
|
</div>
|
135
133
|
|
136
134
|
<div class="bs-example bs-sheet"
|
137
|
-
data-example-id="sheet-
|
135
|
+
data-example-id="sheet-with-auto-stackable-tabs">
|
138
136
|
<div class="sheet">
|
139
137
|
<ul class="nav nav-tabs" data-toggle="stackable"
|
140
138
|
data-target=".stackable-dropdown">
|
@@ -238,50 +236,3 @@
|
|
238
236
|
</div>
|
239
237
|
</div>
|
240
238
|
~~~
|
241
|
-
|
242
|
-
<div class="example">
|
243
|
-
<div class="sheet-header">
|
244
|
-
<h3 id="sheet-example-with-nested-tabs">Example with nested tabs</h3>
|
245
|
-
</div>
|
246
|
-
<div class="bs-example bs-sheet"
|
247
|
-
data-example-id="sheet-example-with-nested-tab">
|
248
|
-
<div class="sheet">
|
249
|
-
<ul class="nav nav-tabs">
|
250
|
-
<li class="active"><a href="#">Tab 1</a></li>
|
251
|
-
<li><a href="#">Tab 2</a></li>
|
252
|
-
<li><a href="#">Tab 3</a></li>
|
253
|
-
</ul>
|
254
|
-
<div>
|
255
|
-
<p>Text...</p>
|
256
|
-
<ul class="nav nav-tabs">
|
257
|
-
<li class="active"><a href="#">Tab 1</a></li>
|
258
|
-
<li><a href="#">Tab 2</a></li>
|
259
|
-
<li><a href="#">Tab 3</a></li>
|
260
|
-
</ul>
|
261
|
-
<div>
|
262
|
-
<p>Text...</p>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
</div>
|
266
|
-
</div>
|
267
|
-
</div>
|
268
|
-
~~~ html
|
269
|
-
<div class="sheet">
|
270
|
-
<ul class="nav nav-tabs">
|
271
|
-
<li class="active"><a href="#">Tab 1</a></li>
|
272
|
-
<li><a href="#">Tab 2</a></li>
|
273
|
-
<li><a href="#">Tab 3</a></li>
|
274
|
-
</ul>
|
275
|
-
<div>
|
276
|
-
<p>Text...</p>
|
277
|
-
<ul class="nav nav-tabs">
|
278
|
-
<li class="active"><a href="#">Tab 1</a></li>
|
279
|
-
<li><a href="#">Tab 2</a></li>
|
280
|
-
<li><a href="#">Tab 3</a></li>
|
281
|
-
</ul>
|
282
|
-
<div>
|
283
|
-
<p>Text...</p>
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
</div>
|
287
|
-
~~~
|
@@ -1,29 +1,28 @@
|
|
1
|
-
# Switch
|
2
|
-
|
3
|
-
Turns checkboxes and radio buttons in toggle switches
|
4
|
-
|
5
|
-
<div class="bs-callout bs-callout-danger">
|
6
|
-
<h4>Plugin dependency</h4>
|
7
|
-
<p>
|
8
|
-
This component requires customized bootstrapSwitch JS plugin provided by the
|
9
|
-
bootstrap-bookingsync-sass gem.
|
10
|
-
</p>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div class="bs-callout bs-callout-danger">
|
14
|
-
<h4>Sizes</h4>
|
15
|
-
<p>
|
16
|
-
BootstrapSwitch plugin provides various size variants. The only variant
|
17
|
-
currently supported by bootstrap-bookingsync-sass is the
|
18
|
-
<code>switch-small</code>.
|
19
|
-
</p>
|
20
|
-
</div>
|
21
|
-
|
22
1
|
<div class="example">
|
23
2
|
<div class="sheet-header">
|
24
|
-
<h3 id="switch
|
3
|
+
<h3 id="switch">Switch</h3>
|
25
4
|
</div>
|
26
|
-
|
5
|
+
|
6
|
+
Turns checkboxes and radio buttons in toggle switches
|
7
|
+
|
8
|
+
<div class="bs-callout bs-callout-danger">
|
9
|
+
<h4>Plugin dependency</h4>
|
10
|
+
<p>
|
11
|
+
This component requires customized bootstrapSwitch JS plugin provided by the
|
12
|
+
bootstrap-bookingsync-sass gem.
|
13
|
+
</p>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="bs-callout bs-callout-danger">
|
17
|
+
<h4>Sizes</h4>
|
18
|
+
<p>
|
19
|
+
BootstrapSwitch plugin provides various size variants. The only variant
|
20
|
+
currently supported by <code>bootstrap-bookingsync-sass</code> is the
|
21
|
+
<code>switch-small</code>.
|
22
|
+
</p>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="bs-example bs-sheet" data-example-id="switch">
|
27
26
|
<div class="make-switch switch-small">
|
28
27
|
<input type="checkbox" checked>
|
29
28
|
</div>
|
@@ -37,9 +36,27 @@ Turns checkboxes and radio buttons in toggle switches
|
|
37
36
|
|
38
37
|
<div class="example">
|
39
38
|
<div class="sheet-header">
|
40
|
-
<h3 id="switch
|
39
|
+
<h3 id="disabled-switch">Disabled Switch</h3>
|
41
40
|
</div>
|
42
|
-
|
41
|
+
|
42
|
+
<div class="bs-callout bs-callout-danger">
|
43
|
+
<h4>Plugin dependency</h4>
|
44
|
+
<p>
|
45
|
+
This component requires customized bootstrapSwitch JS plugin provided by the
|
46
|
+
bootstrap-bookingsync-sass gem.
|
47
|
+
</p>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div class="bs-callout bs-callout-danger">
|
51
|
+
<h4>Sizes</h4>
|
52
|
+
<p>
|
53
|
+
BootstrapSwitch plugin provides various size variants. The only variant
|
54
|
+
currently supported by <code>bootstrap-bookingsync-sass</code> is the
|
55
|
+
<code>switch-small</code>.
|
56
|
+
</p>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div class="bs-example bs-sheet" data-example-id="disabled-switch">
|
43
60
|
<div class="make-switch switch-small">
|
44
61
|
<input type="checkbox" checked disabled>
|
45
62
|
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<ul class="list-group list-unstyled">
|
2
|
+
<li><%= link_to("Section", "#section",
|
3
|
+
class: "list-group-item") %></li>
|
4
|
+
<li><%= link_to("Nested section", "#nested-section",
|
5
|
+
class: "list-group-item") %></li>
|
6
|
+
<li><%= link_to("Annotated section", "#annotated-section",
|
7
|
+
class: "list-group-item") %></li>
|
8
|
+
<li><%= link_to("Tabulated content", "#tabulated-content",
|
9
|
+
class: "list-group-item") %></li>
|
10
|
+
<li><%= link_to("Fullscreen modal", "#fullscreen-modal",
|
11
|
+
class: "list-group-item") %></li>
|
12
|
+
</ul>
|
@@ -0,0 +1,348 @@
|
|
1
|
+
<div class="example">
|
2
|
+
<div class="sheet-header">
|
3
|
+
<h3 id="section">Section</h3>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="bs-example bs-sheet bs-example-composition-body" data-example-id="section">
|
7
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
8
|
+
<div class="container-fluid">
|
9
|
+
<div class="navbar-header">
|
10
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
11
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
12
|
+
<span class="sr-only">Toggle Navigation</span>
|
13
|
+
<span class="icon-bar"></span>
|
14
|
+
<span class="icon-bar"></span>
|
15
|
+
<span class="icon-bar"></span>
|
16
|
+
</button>
|
17
|
+
<div class="navbar-brand-container">
|
18
|
+
<span class="navbar-brand">
|
19
|
+
<h1><i class="icon-rental"></i> Rentals</h1>
|
20
|
+
</span>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
24
|
+
<div class="navbar-right">
|
25
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
26
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</nav>
|
31
|
+
<section class="main-content">
|
32
|
+
<div class="sheet">
|
33
|
+
<p>Body</p>
|
34
|
+
</div>
|
35
|
+
</section>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
~~~ html
|
39
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
40
|
+
<div class="container-fluid">
|
41
|
+
<div class="navbar-header">
|
42
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
43
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
44
|
+
<span class="sr-only">Toggle Navigation</span>
|
45
|
+
<span class="icon-bar"></span>
|
46
|
+
<span class="icon-bar"></span>
|
47
|
+
<span class="icon-bar"></span>
|
48
|
+
</button>
|
49
|
+
<div class="navbar-brand-container">
|
50
|
+
<span class="navbar-brand">
|
51
|
+
<h1><i class="icon-rental"></i> Rentals</h1>
|
52
|
+
</span>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
56
|
+
<div class="navbar-right">
|
57
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
58
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</nav>
|
63
|
+
<section class="main-content">
|
64
|
+
<div class="sheet">
|
65
|
+
<p>Body</p>
|
66
|
+
</div>
|
67
|
+
</section>
|
68
|
+
~~~
|
69
|
+
|
70
|
+
<div class="example">
|
71
|
+
<div class="sheet-header">
|
72
|
+
<h3 id="nested-section">Nested Section</h3>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div class="bs-example bs-sheet bs-example-composition-body" data-example-id="nested-section">
|
76
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
77
|
+
<div class="container-fluid">
|
78
|
+
<div class="navbar-header">
|
79
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
80
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
81
|
+
<span class="sr-only">Toggle Navigation</span>
|
82
|
+
<span class="icon-bar"></span>
|
83
|
+
<span class="icon-bar"></span>
|
84
|
+
<span class="icon-bar"></span>
|
85
|
+
</button>
|
86
|
+
<div class="navbar-brand-container">
|
87
|
+
<span class="navbar-brand">
|
88
|
+
<h1>
|
89
|
+
<span class="navbar-breadcrumb">
|
90
|
+
<i class="icon-calendar"></i> <a href="#">Bookings</a>
|
91
|
+
/
|
92
|
+
</span>
|
93
|
+
Planning
|
94
|
+
</h1>
|
95
|
+
</span>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
99
|
+
<div class="navbar-right">
|
100
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
101
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</nav>
|
106
|
+
<section class="main-content">
|
107
|
+
<div class="sheet">
|
108
|
+
<p>Body</p>
|
109
|
+
</div>
|
110
|
+
</section>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
~~~ html
|
114
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
115
|
+
<div class="container-fluid">
|
116
|
+
<div class="navbar-header">
|
117
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
118
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
119
|
+
<span class="sr-only">Toggle Navigation</span>
|
120
|
+
<span class="icon-bar"></span>
|
121
|
+
<span class="icon-bar"></span>
|
122
|
+
<span class="icon-bar"></span>
|
123
|
+
</button>
|
124
|
+
<div class="navbar-brand-container">
|
125
|
+
<span class="navbar-brand">
|
126
|
+
<h1>
|
127
|
+
<span class="navbar-breadcrumb">
|
128
|
+
<i class="icon-calendar"></i> <a href="#">Bookings</a>
|
129
|
+
/
|
130
|
+
</span>
|
131
|
+
Planning
|
132
|
+
</h1>
|
133
|
+
</span>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
137
|
+
<div class="navbar-right">
|
138
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
139
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
</nav>
|
144
|
+
<section class="main-content">
|
145
|
+
<div class="sheet">
|
146
|
+
<p>Body</p>
|
147
|
+
</div>
|
148
|
+
</section>
|
149
|
+
~~~
|
150
|
+
|
151
|
+
<div class="example">
|
152
|
+
<div class="sheet-header">
|
153
|
+
<h3 id="annotated-section">Annotated Section</h3>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<div class="bs-example bs-sheet bs-example-composition-body" data-example-id="section-with-help">
|
157
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
158
|
+
<div class="container-fluid">
|
159
|
+
<div class="navbar-header">
|
160
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
161
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
162
|
+
<span class="sr-only">Toggle Navigation</span>
|
163
|
+
<span class="icon-bar"></span>
|
164
|
+
<span class="icon-bar"></span>
|
165
|
+
<span class="icon-bar"></span>
|
166
|
+
</button>
|
167
|
+
<div class="navbar-brand-container">
|
168
|
+
<span class="navbar-brand">
|
169
|
+
<h1><i class="icon-reviews"></i> Section Name</h1>
|
170
|
+
</span>
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
174
|
+
<div class="navbar-right">
|
175
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
176
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
</nav>
|
181
|
+
<section class="main-content">
|
182
|
+
<section class="annotated-section">
|
183
|
+
<header class="annotated-section-annotation">
|
184
|
+
<h2 class="annotated-section-title">Section Name</h2>
|
185
|
+
<p>Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
|
186
|
+
<p><a href="#">More Information</a></p>
|
187
|
+
</header>
|
188
|
+
<div class="annotated-section-content">
|
189
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi blandit et tellus eget elementum. Praesent in cursus massa, nec laoreet elit. Nullam eleifend consectetur ligula et dictum. Praesent dignissim sodales nulla laoreet vehicula. Quisque at convallis lacus, at ornare lectus. Cras dapibus placerat sem, iaculis tincidunt ligula sodales non. Suspendisse dolor augue, ultricies condimentum pharetra sed, suscipit sit amet magna. In quis convallis sem. Sed cursus placerat tellus vitae tincidunt. Fusce molestie nisi et nisl pulvinar pulvinar. Nam id mauris lectus. Vivamus nisl neque, tempor nec efficitur quis, tincidunt quis justo. Curabitur pharetra auctor augue a consectetur. Integer lorem elit, fermentum non nulla quis, lobortis tincidunt ex.</p>
|
190
|
+
<p>Aenean consectetur in metus sit amet suscipit. Phasellus faucibus ornare tortor sit amet vestibulum. Nulla felis nisl, vestibulum vitae interdum vel, venenatis vitae lacus. Nullam tempus ante ut nibh pharetra, in consequat justo iaculis. Curabitur viverra, orci eu hendrerit malesuada, sapien ex varius sapien, id laoreet diam magna et mi. Fusce finibus justo quis egestas fermentum. Aliquam rhoncus orci libero, ut faucibus felis egestas et. Proin vitae eros lacus. Nulla facilisi. Maecenas ut lacinia justo. Nulla at erat non orci gravida convallis. Aliquam congue leo odio, eu sagittis mauris hendrerit sed. Duis eros augue, viverra ac justo ut, pulvinar venenatis urna. Cras auctor fermentum massa, mattis fringilla neque vehicula et. Ut vitae est a velit accumsan tempus. Duis vel congue risus.</p>
|
191
|
+
</div>
|
192
|
+
</section>
|
193
|
+
</section>
|
194
|
+
<section class="main-content">
|
195
|
+
<section class="annotated-section">
|
196
|
+
<header class="annotated-section-annotation">
|
197
|
+
<h2 class="annotated-section-title">Section Name</h2>
|
198
|
+
<p>Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
|
199
|
+
<p><a href="#">More Information</a></p>
|
200
|
+
</header>
|
201
|
+
<div class="annotated-section-content">
|
202
|
+
<p>Body</p>
|
203
|
+
</div>
|
204
|
+
</section>
|
205
|
+
</section>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
~~~ html
|
209
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
210
|
+
...
|
211
|
+
</nav>
|
212
|
+
<section class="main-content">
|
213
|
+
<section class="annotated-section">
|
214
|
+
<header class="annotated-section-annotation">
|
215
|
+
<h2 class="annotated-section-title">Section Name</h2>
|
216
|
+
<p>Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
|
217
|
+
<p><a href="#">More Information</a></p>
|
218
|
+
</header>
|
219
|
+
<div class="annotated-section-content">
|
220
|
+
<p>Lorem ipsum dolor sit amet,...</p>
|
221
|
+
</div>
|
222
|
+
</section>
|
223
|
+
<section class="annotated-section">
|
224
|
+
<header class="annotated-section-annotation">
|
225
|
+
<h2 class="annotated-section-title">Section Name</h2>
|
226
|
+
<p>Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
|
227
|
+
<p><a href="#">More Information</a></p>
|
228
|
+
</header>
|
229
|
+
<div class="annotated-section-content">
|
230
|
+
<p>Body</p>
|
231
|
+
</div>
|
232
|
+
</section>
|
233
|
+
</section>
|
234
|
+
~~~
|
235
|
+
|
236
|
+
<div class="example">
|
237
|
+
<div class="sheet-header">
|
238
|
+
<h3 id="tabulated-content">Tabulated content</h3>
|
239
|
+
</div>
|
240
|
+
|
241
|
+
<div class="bs-example bs-sheet bs-example-composition-body" data-example-id="tabulated-content">
|
242
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
243
|
+
<div class="container-fluid">
|
244
|
+
<div class="navbar-header">
|
245
|
+
<button type="button" class="navbar-toggle navbar-toggle-context"
|
246
|
+
data-toggle="collapse" data-target=".navbar-top-collapse">
|
247
|
+
<span class="sr-only">Toggle Navigation</span>
|
248
|
+
<span class="icon-bar"></span>
|
249
|
+
<span class="icon-bar"></span>
|
250
|
+
<span class="icon-bar"></span>
|
251
|
+
</button>
|
252
|
+
<div class="navbar-brand-container">
|
253
|
+
<span class="navbar-brand">
|
254
|
+
<h1><i class="icon-reviews"></i> Section Name</h1>
|
255
|
+
</span>
|
256
|
+
</div>
|
257
|
+
</div>
|
258
|
+
<div class="collapse navbar-collapse navbar-top-collapse">
|
259
|
+
<div class="navbar-right">
|
260
|
+
<button class="btn btn-secondary navbar-btn" type="button">Button</button>
|
261
|
+
<button class="btn btn-primary navbar-btn" type="button">Call to action</button>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
</nav>
|
266
|
+
<section class="main-content">
|
267
|
+
<div class="sheet">
|
268
|
+
<ul class="nav nav-tabs" data-toggle="stackable" data-target=".stackable-dropdown">
|
269
|
+
<li class="active"><a href="#">Tab 1</a></li>
|
270
|
+
<li><a href="#">Tab 2</a></li>
|
271
|
+
<li class="dropdown pull-right stackable-dropdown">
|
272
|
+
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
273
|
+
More <span class="caret"></span>
|
274
|
+
</a>
|
275
|
+
<ul class="dropdown-menu">
|
276
|
+
</ul>
|
277
|
+
</li>
|
278
|
+
</ul>
|
279
|
+
<div>
|
280
|
+
<p>Text...</p>
|
281
|
+
</div>
|
282
|
+
</div>
|
283
|
+
</section>
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
~~~ html
|
287
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
288
|
+
...
|
289
|
+
</nav>
|
290
|
+
<section class="main-content">
|
291
|
+
<div class="sheet">
|
292
|
+
<ul class="nav nav-tabs" data-toggle="stackable" data-target=".stackable-dropdown">
|
293
|
+
<li class="active"><a href="#">Tab 1</a></li>
|
294
|
+
<li><a href="#">Tab 2</a></li>
|
295
|
+
<li class="dropdown pull-right stackable-dropdown">
|
296
|
+
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
297
|
+
More <span class="caret"></span>
|
298
|
+
</a>
|
299
|
+
<ul class="dropdown-menu">
|
300
|
+
</ul>
|
301
|
+
</li>
|
302
|
+
</ul>
|
303
|
+
<div>
|
304
|
+
<p>Text...</p>
|
305
|
+
</div>
|
306
|
+
</div>
|
307
|
+
</section>
|
308
|
+
~~~
|
309
|
+
|
310
|
+
<div class="example">
|
311
|
+
<div class="sheet-header">
|
312
|
+
<h3 id="fullscreen-modal">Fullscreen modal</h3>
|
313
|
+
</div>
|
314
|
+
|
315
|
+
<div class="bs-example bs-sheet bs-example-composition-body" data-example-id="fullscreen-modal">
|
316
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
317
|
+
<div class="container-fluid">
|
318
|
+
<div class="navbar-header">
|
319
|
+
<div class="navbar-brand-container">
|
320
|
+
<span class="navbar-brand">
|
321
|
+
<h1><i class="icon-reviews"></i> Section Name</h1>
|
322
|
+
</span>
|
323
|
+
</div>
|
324
|
+
</div>
|
325
|
+
<div class="navbar-right">
|
326
|
+
<button class="btn btn-sm btn-secondary-inverse btn-round navbar-btn" type="button">
|
327
|
+
<span>×</span>
|
328
|
+
</button>
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
</nav>
|
332
|
+
<section class="main-content">
|
333
|
+
<div class="sheet sheet-fullscreen">
|
334
|
+
<p>Text...</p>
|
335
|
+
</div>
|
336
|
+
</section>
|
337
|
+
</div>
|
338
|
+
</div>
|
339
|
+
~~~ html
|
340
|
+
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
341
|
+
...
|
342
|
+
</nav>
|
343
|
+
<section class="main-content">
|
344
|
+
<div class="sheet sheet-fullscreen">
|
345
|
+
<p>Text...</p>
|
346
|
+
</div>
|
347
|
+
</section>
|
348
|
+
~~~
|