bootstrap-generators 3.2.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/Rakefile +9 -18
- data/lib/bootstrap/generators/version.rb +1 -1
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +31 -21
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +38 -24
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/starter.scss +2 -1
- data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.erb +3 -3
- data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.haml +5 -3
- data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.slim +7 -4
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +10 -9
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.haml +12 -9
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.slim +15 -11
- data/readme-template.md.erb +3 -1
- data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +1 -1
- data/vendor/assets/javascripts/bootstrap/affix.js +43 -23
- data/vendor/assets/javascripts/bootstrap/alert.js +6 -4
- data/vendor/assets/javascripts/bootstrap/button.js +16 -10
- data/vendor/assets/javascripts/bootstrap/carousel.js +27 -10
- data/vendor/assets/javascripts/bootstrap/collapse.js +69 -28
- data/vendor/assets/javascripts/bootstrap/dropdown.js +20 -10
- data/vendor/assets/javascripts/bootstrap/modal.js +67 -23
- data/vendor/assets/javascripts/bootstrap/popover.js +13 -7
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +12 -7
- data/vendor/assets/javascripts/bootstrap/tab.js +41 -16
- data/vendor/assets/javascripts/bootstrap/tooltip.js +60 -39
- data/vendor/assets/javascripts/bootstrap/transition.js +1 -1
- data/vendor/assets/stylesheets/bootstrap.css.erb +332 -203
- data/vendor/assets/stylesheets/bootstrap.css.map +1 -0
- data/vendor/twitter/bootstrap/less/badges.less +7 -1
- data/vendor/twitter/bootstrap/less/button-groups.less +16 -13
- data/vendor/twitter/bootstrap/less/buttons.less +7 -4
- data/vendor/twitter/bootstrap/less/carousel.less +24 -0
- data/vendor/twitter/bootstrap/less/code.less +1 -0
- data/vendor/twitter/bootstrap/less/component-animations.less +5 -2
- data/vendor/twitter/bootstrap/less/dropdowns.less +3 -5
- data/vendor/twitter/bootstrap/less/forms.less +46 -40
- data/vendor/twitter/bootstrap/less/glyphicons.less +2 -1
- data/vendor/twitter/bootstrap/less/jumbotron.less +6 -5
- data/vendor/twitter/bootstrap/less/list-group.less +1 -8
- data/vendor/twitter/bootstrap/less/media.less +27 -36
- data/vendor/twitter/bootstrap/less/mixins/buttons.less +2 -0
- data/vendor/twitter/bootstrap/less/mixins/forms.less +5 -1
- data/vendor/twitter/bootstrap/less/mixins/grid-framework.less +2 -2
- data/vendor/twitter/bootstrap/less/mixins/image.less +0 -1
- data/vendor/twitter/bootstrap/less/mixins/labels.less +1 -1
- data/vendor/twitter/bootstrap/less/mixins/vendor-prefixes.less +6 -3
- data/vendor/twitter/bootstrap/less/modals.less +3 -5
- data/vendor/twitter/bootstrap/less/navbar.less +30 -25
- data/vendor/twitter/bootstrap/less/navs.less +3 -1
- data/vendor/twitter/bootstrap/less/normalize.less +5 -3
- data/vendor/twitter/bootstrap/less/pager.less +1 -2
- data/vendor/twitter/bootstrap/less/pagination.less +1 -1
- data/vendor/twitter/bootstrap/less/panels.less +21 -3
- data/vendor/twitter/bootstrap/less/popovers.less +6 -4
- data/vendor/twitter/bootstrap/less/print.less +102 -96
- data/vendor/twitter/bootstrap/less/progress-bars.less +1 -19
- data/vendor/twitter/bootstrap/less/responsive-embed.less +2 -1
- data/vendor/twitter/bootstrap/less/scaffolding.less +1 -1
- data/vendor/twitter/bootstrap/less/tables.less +11 -10
- data/vendor/twitter/bootstrap/less/theme.less +23 -9
- data/vendor/twitter/bootstrap/less/thumbnails.less +1 -1
- data/vendor/twitter/bootstrap/less/tooltip.less +12 -4
- data/vendor/twitter/bootstrap/less/type.less +0 -11
- data/vendor/twitter/bootstrap/less/utilities.less +0 -1
- data/vendor/twitter/bootstrap/less/variables.less +31 -21
- data/vendor/twitter/bootstrap/sass/_bootstrap-compass.scss +7 -0
- data/vendor/twitter/bootstrap/sass/_bootstrap-mincer.scss +17 -0
- data/vendor/twitter/bootstrap/sass/_bootstrap-sprockets.scss +7 -0
- data/vendor/twitter/bootstrap/sass/_bootstrap.scss +50 -0
- data/vendor/twitter/bootstrap/sass/{_alerts.scss → bootstrap/_alerts.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_badges.scss → bootstrap/_badges.scss} +7 -1
- data/vendor/twitter/bootstrap/sass/{_breadcrumbs.scss → bootstrap/_breadcrumbs.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_button-groups.scss → bootstrap/_button-groups.scss} +18 -15
- data/vendor/twitter/bootstrap/sass/{_buttons.scss → bootstrap/_buttons.scss} +8 -5
- data/vendor/twitter/bootstrap/sass/{_carousel.scss → bootstrap/_carousel.scss} +25 -1
- data/vendor/twitter/bootstrap/sass/{_close.scss → bootstrap/_close.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_code.scss → bootstrap/_code.scss} +1 -0
- data/vendor/twitter/bootstrap/sass/{_component-animations.scss → bootstrap/_component-animations.scss} +5 -2
- data/vendor/twitter/bootstrap/sass/{_dropdowns.scss → bootstrap/_dropdowns.scss} +4 -6
- data/vendor/twitter/bootstrap/sass/{_forms.scss → bootstrap/_forms.scss} +53 -43
- data/vendor/twitter/bootstrap/sass/{_glyphicons.scss → bootstrap/_glyphicons.scss} +7 -10
- data/vendor/twitter/bootstrap/sass/{_grid.scss → bootstrap/_grid.scss} +4 -4
- data/vendor/twitter/bootstrap/sass/{_input-groups.scss → bootstrap/_input-groups.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_jumbotron.scss → bootstrap/_jumbotron.scss} +6 -5
- data/vendor/twitter/bootstrap/sass/{_labels.scss → bootstrap/_labels.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_list-group.scss → bootstrap/_list-group.scss} +1 -8
- data/vendor/twitter/bootstrap/sass/bootstrap/_media.scss +47 -0
- data/vendor/twitter/bootstrap/sass/{_mixins.scss → bootstrap/_mixins.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_modals.scss → bootstrap/_modals.scss} +4 -6
- data/vendor/twitter/bootstrap/sass/{_navbar.scss → bootstrap/_navbar.scss} +36 -33
- data/vendor/twitter/bootstrap/sass/{_navs.scss → bootstrap/_navs.scss} +5 -3
- data/vendor/twitter/bootstrap/sass/{_normalize.scss → bootstrap/_normalize.scss} +5 -3
- data/vendor/twitter/bootstrap/sass/{_pager.scss → bootstrap/_pager.scss} +2 -3
- data/vendor/twitter/bootstrap/sass/{_pagination.scss → bootstrap/_pagination.scss} +1 -1
- data/vendor/twitter/bootstrap/sass/{_panels.scss → bootstrap/_panels.scss} +22 -4
- data/vendor/twitter/bootstrap/sass/{_popovers.scss → bootstrap/_popovers.scss} +6 -4
- data/vendor/twitter/bootstrap/sass/bootstrap/_print.scss +107 -0
- data/vendor/twitter/bootstrap/sass/{_progress-bars.scss → bootstrap/_progress-bars.scss} +2 -20
- data/vendor/twitter/bootstrap/sass/{_responsive-embed.scss → bootstrap/_responsive-embed.scss} +2 -1
- data/vendor/twitter/bootstrap/sass/{_responsive-utilities.scss → bootstrap/_responsive-utilities.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{_scaffolding.scss → bootstrap/_scaffolding.scss} +3 -3
- data/vendor/twitter/bootstrap/sass/{_tables.scss → bootstrap/_tables.scss} +11 -10
- data/vendor/twitter/bootstrap/sass/{_theme.scss → bootstrap/_theme.scss} +27 -13
- data/vendor/twitter/bootstrap/sass/{_thumbnails.scss → bootstrap/_thumbnails.scss} +2 -2
- data/vendor/twitter/bootstrap/sass/{_tooltip.scss → bootstrap/_tooltip.scss} +12 -4
- data/vendor/twitter/bootstrap/sass/{_type.scss → bootstrap/_type.scss} +10 -16
- data/vendor/twitter/bootstrap/sass/{_utilities.scss → bootstrap/_utilities.scss} +3 -4
- data/vendor/twitter/bootstrap/sass/{_variables.scss → bootstrap/_variables.scss} +38 -24
- data/vendor/twitter/bootstrap/sass/{_wells.scss → bootstrap/_wells.scss} +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_alerts.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_background-variant.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_border-radius.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_buttons.scss +2 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_center-block.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_clearfix.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_forms.scss +5 -1
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_gradients.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_grid-framework.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_grid.scss +2 -2
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_hide-text.scss +1 -1
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_image.scss +0 -1
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_labels.scss +1 -1
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_list-group.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_nav-divider.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_nav-vertical-align.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_opacity.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_pagination.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_panels.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_progress-bar.scss +1 -1
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_reset-filter.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_resize.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_responsive-visibility.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_size.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_tab-focus.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_table-row.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_text-emphasis.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_text-overflow.scss +0 -0
- data/vendor/twitter/bootstrap/sass/{mixins → bootstrap/mixins}/_vendor-prefixes.scss +6 -3
- metadata +76 -72
- data/vendor/twitter/bootstrap/sass/_media.scss +0 -56
- data/vendor/twitter/bootstrap/sass/_print.scss +0 -101
- data/vendor/twitter/bootstrap/sass/bootstrap.scss +0 -50
@@ -1,56 +0,0 @@
|
|
1
|
-
// Media objects
|
2
|
-
// Source: http://stubbornella.org/content/?p=497
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Common styles
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
// Clear the floats
|
10
|
-
.media,
|
11
|
-
.media-body {
|
12
|
-
overflow: hidden;
|
13
|
-
zoom: 1;
|
14
|
-
}
|
15
|
-
|
16
|
-
// Proper spacing between instances of .media
|
17
|
-
.media,
|
18
|
-
.media .media {
|
19
|
-
margin-top: 15px;
|
20
|
-
}
|
21
|
-
.media:first-child {
|
22
|
-
margin-top: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
// For images and videos, set to block
|
26
|
-
.media-object {
|
27
|
-
display: block;
|
28
|
-
}
|
29
|
-
|
30
|
-
// Reset margins on headings for tighter default spacing
|
31
|
-
.media-heading {
|
32
|
-
margin: 0 0 5px;
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
// Media image alignment
|
37
|
-
// -------------------------
|
38
|
-
|
39
|
-
.media {
|
40
|
-
> .pull-left {
|
41
|
-
margin-right: 10px;
|
42
|
-
}
|
43
|
-
> .pull-right {
|
44
|
-
margin-left: 10px;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
// Media list variation
|
50
|
-
// -------------------------
|
51
|
-
|
52
|
-
// Undo default ul/ol styles
|
53
|
-
.media-list {
|
54
|
-
padding-left: 0;
|
55
|
-
list-style: none;
|
56
|
-
}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Basic print styles
|
3
|
-
// --------------------------------------------------
|
4
|
-
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
5
|
-
|
6
|
-
@media print {
|
7
|
-
|
8
|
-
* {
|
9
|
-
text-shadow: none !important;
|
10
|
-
color: #000 !important; // Black prints faster: h5bp.com/s
|
11
|
-
background: transparent !important;
|
12
|
-
box-shadow: none !important;
|
13
|
-
}
|
14
|
-
|
15
|
-
a,
|
16
|
-
a:visited {
|
17
|
-
text-decoration: underline;
|
18
|
-
}
|
19
|
-
|
20
|
-
a[href]:after {
|
21
|
-
content: " (" attr(href) ")";
|
22
|
-
}
|
23
|
-
|
24
|
-
abbr[title]:after {
|
25
|
-
content: " (" attr(title) ")";
|
26
|
-
}
|
27
|
-
|
28
|
-
// Don't show links for images, or javascript/internal links
|
29
|
-
a[href^="javascript:"]:after,
|
30
|
-
a[href^="#"]:after {
|
31
|
-
content: "";
|
32
|
-
}
|
33
|
-
|
34
|
-
pre,
|
35
|
-
blockquote {
|
36
|
-
border: 1px solid #999;
|
37
|
-
page-break-inside: avoid;
|
38
|
-
}
|
39
|
-
|
40
|
-
thead {
|
41
|
-
display: table-header-group; // h5bp.com/t
|
42
|
-
}
|
43
|
-
|
44
|
-
tr,
|
45
|
-
img {
|
46
|
-
page-break-inside: avoid;
|
47
|
-
}
|
48
|
-
|
49
|
-
img {
|
50
|
-
max-width: 100% !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
p,
|
54
|
-
h2,
|
55
|
-
h3 {
|
56
|
-
orphans: 3;
|
57
|
-
widows: 3;
|
58
|
-
}
|
59
|
-
|
60
|
-
h2,
|
61
|
-
h3 {
|
62
|
-
page-break-after: avoid;
|
63
|
-
}
|
64
|
-
|
65
|
-
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
66
|
-
// Once fixed, we can just straight up remove this.
|
67
|
-
select {
|
68
|
-
background: #fff !important;
|
69
|
-
}
|
70
|
-
|
71
|
-
// Bootstrap components
|
72
|
-
.navbar {
|
73
|
-
display: none;
|
74
|
-
}
|
75
|
-
.table {
|
76
|
-
td,
|
77
|
-
th {
|
78
|
-
background-color: #fff !important;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
.btn,
|
82
|
-
.dropup > .btn {
|
83
|
-
> .caret {
|
84
|
-
border-top-color: #000 !important;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
.label {
|
88
|
-
border: 1px solid #000;
|
89
|
-
}
|
90
|
-
|
91
|
-
.table {
|
92
|
-
border-collapse: collapse !important;
|
93
|
-
}
|
94
|
-
.table-bordered {
|
95
|
-
th,
|
96
|
-
td {
|
97
|
-
border: 1px solid #ddd !important;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
// Core variables and mixins
|
2
|
-
@import "variables";
|
3
|
-
@import "mixins";
|
4
|
-
|
5
|
-
// Reset and dependencies
|
6
|
-
@import "normalize";
|
7
|
-
@import "print";
|
8
|
-
@import "glyphicons";
|
9
|
-
|
10
|
-
// Core CSS
|
11
|
-
@import "scaffolding";
|
12
|
-
@import "type";
|
13
|
-
@import "code";
|
14
|
-
@import "grid";
|
15
|
-
@import "tables";
|
16
|
-
@import "forms";
|
17
|
-
@import "buttons";
|
18
|
-
|
19
|
-
// Components
|
20
|
-
@import "component-animations";
|
21
|
-
@import "dropdowns";
|
22
|
-
@import "button-groups";
|
23
|
-
@import "input-groups";
|
24
|
-
@import "navs";
|
25
|
-
@import "navbar";
|
26
|
-
@import "breadcrumbs";
|
27
|
-
@import "pagination";
|
28
|
-
@import "pager";
|
29
|
-
@import "labels";
|
30
|
-
@import "badges";
|
31
|
-
@import "jumbotron";
|
32
|
-
@import "thumbnails";
|
33
|
-
@import "alerts";
|
34
|
-
@import "progress-bars";
|
35
|
-
@import "media";
|
36
|
-
@import "list-group";
|
37
|
-
@import "panels";
|
38
|
-
@import "responsive-embed";
|
39
|
-
@import "wells";
|
40
|
-
@import "close";
|
41
|
-
|
42
|
-
// Components w/ JavaScript
|
43
|
-
@import "modals";
|
44
|
-
@import "tooltip";
|
45
|
-
@import "popovers";
|
46
|
-
@import "carousel";
|
47
|
-
|
48
|
-
// Utility classes
|
49
|
-
@import "utilities";
|
50
|
-
@import "responsive-utilities";
|