locomotivecms_wagon 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/generators/{bootstrap3 → bootstrap}/Gemfile.tt +0 -0
- data/generators/{bootstrap3 → bootstrap}/app/content_types/.empty_directory +0 -0
- data/generators/bootstrap/app/views/pages/404.liquid +18 -0
- data/generators/bootstrap/app/views/pages/404.liquid.haml +14 -0
- data/generators/bootstrap/app/views/pages/index.liquid +31 -0
- data/generators/bootstrap/app/views/pages/index.liquid.haml +25 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid +31 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid.haml +30 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid +36 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid.haml +29 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid +5 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid.haml +3 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid +26 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid.haml +19 -0
- data/generators/{bootstrap3 → bootstrap}/config/deploy.yml +0 -0
- data/generators/bootstrap/config/site.yml.tt +1 -6
- data/generators/{bootstrap3 → bootstrap}/config/translations.yml +0 -0
- data/generators/{bootstrap3 → bootstrap}/data/.empty_directory +0 -0
- data/generators/{bootstrap3 → bootstrap}/icon.png +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/generators/{bootstrap3/public/samples → bootstrap/public/images}/favicon.png +0 -0
- data/generators/bootstrap/public/javascripts/application.js +2 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/affix.js +60 -35
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/alert.js +15 -9
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/button.js +33 -20
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/carousel.js +79 -47
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/collapse.js +84 -43
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/dropdown.js +64 -46
- data/generators/bootstrap/public/javascripts/bootstrap/modal.js +337 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/popover.js +12 -14
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/scrollspy.js +57 -38
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tab.js +54 -24
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tooltip.js +202 -87
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/transition.js +19 -8
- data/generators/bootstrap/public/javascripts/bootstrap.min.js +7 -0
- data/generators/bootstrap/public/javascripts/jquery.min.js +5 -0
- data/generators/bootstrap/public/stylesheets/application.css +7 -0
- data/generators/bootstrap/public/stylesheets/application.scss +7 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_alerts.scss +9 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_badges.scss +26 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_button-groups.scss +32 -14
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_buttons.scss +22 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_carousel.scss +43 -6
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_close.scss +1 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_code.scss +7 -1
- data/generators/bootstrap/public/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_dropdowns.scss +12 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_forms.scss +240 -65
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_glyphicons.scss +83 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_grid.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_input-groups.scss +7 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_jumbotron.scss +12 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_labels.scss +11 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_list-group.scss +32 -12
- data/generators/bootstrap/public/stylesheets/bootstrap/_media.scss +66 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_mixins.scss +40 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_modals.scss +18 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navbar.scss +75 -33
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navs.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_normalize.scss +29 -28
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pager.scss +2 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pagination.scss +4 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_panels.scss +40 -10
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_popovers.scss +6 -8
- data/generators/bootstrap/public/stylesheets/bootstrap/_print.scss +101 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_progress-bars.scss +13 -6
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_scaffolding.scss +31 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tables.scss +17 -16
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_theme.scss +57 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_thumbnails.scss +2 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tooltip.scss +13 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_type.scss +38 -24
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_utilities.scss +3 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_variables.scss +86 -47
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_wells.scss +0 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_buttons.scss +68 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.css +5 -0
- data/generators/{bootstrap3/public/stylesheets/bootstrap.css.scss → bootstrap/public/stylesheets/bootstrap.scss} +16 -2
- data/lib/locomotive/wagon/cli.rb +3 -3
- data/lib/locomotive/wagon/commands/authenticate_command.rb +2 -1
- data/lib/locomotive/wagon/commands/concerns/spinner_concern.rb +29 -0
- data/lib/locomotive/wagon/commands/pull_command.rb +18 -3
- data/lib/locomotive/wagon/commands/push_command.rb +28 -4
- data/lib/locomotive/wagon/commands/sync_command.rb +21 -6
- data/lib/locomotive/wagon/commands/sync_sub_commands/sync_pages_command.rb +27 -3
- data/lib/locomotive/wagon/generators/site/{bootstrap3.rb → bootstrap.rb} +12 -6
- data/lib/locomotive/wagon/generators/site.rb +1 -1
- data/lib/locomotive/wagon/tools/listen.rb +1 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +2 -2
- data/locomotivecms_wagon.gemspec +3 -2
- data/spec/unit/decorators/theme_asset_decorator_spec.rb +10 -0
- metadata +124 -90
- data/generators/bootstrap3/app/views/pages/404.liquid +0 -13
- data/generators/bootstrap3/app/views/pages/404.liquid.haml +0 -10
- data/generators/bootstrap3/app/views/pages/index.liquid +0 -738
- data/generators/bootstrap3/app/views/pages/index.liquid.haml +0 -1018
- data/generators/bootstrap3/app/views/snippets/footer.liquid +0 -3
- data/generators/bootstrap3/app/views/snippets/footer.liquid.haml +0 -2
- data/generators/bootstrap3/config/site.yml.tt +0 -28
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +0 -229
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap3/public/images/.empty_directory +0 -1
- data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +0 -243
- data/generators/bootstrap3/public/javascripts/bootstrap.min.js +0 -12
- data/generators/bootstrap3/public/samples/apple-touch-icon-114x114-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-144x144-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-72x72-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-precomposed.png +0 -0
- data/generators/bootstrap3/public/stylesheets/application.css +0 -1
- data/generators/bootstrap3/public/stylesheets/application.css.scss +0 -8
- data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +0 -29
- data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +0 -56
- data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +0 -947
- data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +0 -101
- data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +0 -74
- data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +0 -49
- data/generators/bootstrap3/public/stylesheets/bootstrap.css +0 -5784
- data/lib/locomotive/wagon/generators/site/bootstrap2.rb +0 -34
@@ -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,74 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Responsive: Utility classes
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// IE10 in Windows (Phone) 8
|
7
|
-
//
|
8
|
-
// Support for responsive views via media queries is kind of borked in IE10, for
|
9
|
-
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
10
|
-
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
11
|
-
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
12
|
-
// our Getting Started page for more information on this bug.
|
13
|
-
//
|
14
|
-
// For more information, see the following:
|
15
|
-
//
|
16
|
-
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
17
|
-
// Docs: http://getbootstrap.com/getting-started/#browsers
|
18
|
-
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
19
|
-
|
20
|
-
@-ms-viewport {
|
21
|
-
width: device-width;
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
// Visibility utilities
|
26
|
-
|
27
|
-
@include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg');
|
28
|
-
|
29
|
-
@media (max-width: $screen-xs-max) {
|
30
|
-
@include responsive-visibility('.visible-xs');
|
31
|
-
}
|
32
|
-
|
33
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
34
|
-
@include responsive-visibility('.visible-sm');
|
35
|
-
}
|
36
|
-
|
37
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
38
|
-
@include responsive-visibility('.visible-md');
|
39
|
-
}
|
40
|
-
|
41
|
-
@media (min-width: $screen-lg-min) {
|
42
|
-
@include responsive-visibility('.visible-lg');
|
43
|
-
}
|
44
|
-
|
45
|
-
@media (max-width: $screen-xs-max) {
|
46
|
-
@include responsive-invisibility('.hidden-xs');
|
47
|
-
}
|
48
|
-
|
49
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
50
|
-
@include responsive-invisibility('.hidden-sm');
|
51
|
-
}
|
52
|
-
|
53
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
54
|
-
@include responsive-invisibility('.hidden-md');
|
55
|
-
}
|
56
|
-
|
57
|
-
@media (min-width: $screen-lg-min) {
|
58
|
-
@include responsive-invisibility('.hidden-lg');
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
// Print utilities
|
63
|
-
//
|
64
|
-
// Media queries are placed on the inside to be mixin-friendly.
|
65
|
-
|
66
|
-
@include responsive-invisibility('.visible-print');
|
67
|
-
|
68
|
-
@media print {
|
69
|
-
@include responsive-visibility('.visible-print');
|
70
|
-
}
|
71
|
-
|
72
|
-
@media print {
|
73
|
-
@include responsive-invisibility('.hidden-print');
|
74
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
// Core variables and mixins
|
2
|
-
@import "variables";
|
3
|
-
@import "mixins";
|
4
|
-
|
5
|
-
// Reset
|
6
|
-
@import "normalize";
|
7
|
-
@import "print";
|
8
|
-
|
9
|
-
// Core CSS
|
10
|
-
@import "scaffolding";
|
11
|
-
@import "type";
|
12
|
-
@import "code";
|
13
|
-
@import "grid";
|
14
|
-
@import "tables";
|
15
|
-
@import "forms";
|
16
|
-
@import "buttons";
|
17
|
-
|
18
|
-
// Components
|
19
|
-
@import "component-animations";
|
20
|
-
@import "glyphicons";
|
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 "wells";
|
39
|
-
@import "close";
|
40
|
-
|
41
|
-
// Components w/ JavaScript
|
42
|
-
@import "modals";
|
43
|
-
@import "tooltip";
|
44
|
-
@import "popovers";
|
45
|
-
@import "carousel";
|
46
|
-
|
47
|
-
// Utility classes
|
48
|
-
@import "utilities";
|
49
|
-
@import "responsive-utilities";
|