netguru_bootstrapper 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -11
- data/lib/netguru_bootstrapper/generators/templates/application.scss +4 -4
- data/lib/netguru_bootstrapper/generators/templates/{settings/_bootstrap-components.scss → framework/_components.scss} +0 -0
- data/lib/netguru_bootstrapper/generators/templates/framework/_overrides.scss +53 -0
- data/lib/netguru_bootstrapper/generators/templates/{settings/_bootstrap-variables.scss → framework/_variables.scss} +0 -0
- data/lib/netguru_bootstrapper/generators/templates/settings/{_custom-variables.scss → _variables.scss} +0 -0
- data/lib/netguru_bootstrapper/version.rb +1 -1
- data/lib/structure.yml +8 -6
- metadata +7 -7
- data/lib/netguru_bootstrapper/generators/templates/settings/_bootstrap-overrides.scss +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebd17af66e8c5925008d84a84cd9d560291d044f
|
4
|
+
data.tar.gz: 737d44abb6396c8bb8148e6888b2a252a5077659
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786af7c34366ed4e2e082c3a5da3055003561d4bcd9dfbd0069f8c7cb7fa356b8b257c5065bd741467f6eb55b3aa73b2c59ffc2f2850414974f4085b5c8553a0
|
7
|
+
data.tar.gz: da85d0166929debe1de40a9c9b9e927076178ee70e624c522850207347a57b22a18bb8b23a303aa11b94f4d35d06e03366a56815cd2ad3e76b06faa8f1ac4a62
|
data/README.md
CHANGED
@@ -34,16 +34,18 @@ $ rails g netguru_bootstrapper:bootstrap
|
|
34
34
|
├── application.scss
|
35
35
|
├── components
|
36
36
|
│ └── _your-custom-components-go-here.scss
|
37
|
-
├──
|
38
|
-
│ └── _your-
|
37
|
+
├── views
|
38
|
+
│ └── _your-view-based-styles-go-here.scss
|
39
|
+
├── framework
|
40
|
+
│ ├── _components.scss
|
41
|
+
│ ├── _overrides.scss
|
42
|
+
│ ├── _variables.scss
|
43
|
+
│ └── overrides
|
44
|
+
│ └── _framework-overrides-go-here.scss
|
39
45
|
├── settings
|
40
|
-
│ ├──
|
41
|
-
│ ├── _bootstrap-overrides.scss
|
42
|
-
│ ├── _bootstrap-variables.scss
|
46
|
+
│ ├── _z-index-variables.scss
|
43
47
|
│ ├── _breakpoint-variables.scss
|
44
|
-
│
|
45
|
-
│ └── bootstrap-overrides
|
46
|
-
│ └── _bootstrap-overrides-go-here.scss
|
48
|
+
│ └── _variables.scss
|
47
49
|
└── utilities
|
48
50
|
├── _functions.scss
|
49
51
|
├── _mixins.scss
|
@@ -53,10 +55,10 @@ $ rails g netguru_bootstrapper:bootstrap
|
|
53
55
|
|
54
56
|
### Important files
|
55
57
|
|
56
|
-
#### <code>
|
58
|
+
#### <code>framework/_components.scss</code>
|
57
59
|
This file is a copy of [bootstrap.scss](https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss) file from [bootstrap-sass](https://github.com/twbs/bootstrap-sass) gem. You can comment out components that you're not going to use.
|
58
60
|
|
59
|
-
#### <code>
|
61
|
+
#### <code>framework/_variables.scss</code>
|
60
62
|
Copy of [bootstrap/variables.scss](https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_variables.scss). To override variable simply uncomment line and remove <code>!default</code> flag.
|
61
63
|
|
62
64
|
For example:
|
@@ -69,7 +71,7 @@ Becomes:
|
|
69
71
|
$font-size-base: 16px;
|
70
72
|
```
|
71
73
|
|
72
|
-
#### <code>
|
74
|
+
#### <code>framework/_overrides.scss</code>
|
73
75
|
|
74
76
|
Similar to Boostrap Components - all overrides are commented out by default. After uncommenting an override you need to add proper file to <code>settings/bootstrap-overrides</code> directory.
|
75
77
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@import 'bootstrap-sprockets';
|
2
2
|
|
3
3
|
@import 'settings/z-index-variables';
|
4
|
-
@import 'settings/
|
5
|
-
@import '
|
4
|
+
@import 'settings/variables';
|
5
|
+
@import 'framework/variables';
|
6
6
|
|
7
|
-
@import '
|
7
|
+
@import 'framework/components';
|
8
8
|
|
9
9
|
@import 'settings/breakpoint-variables';
|
10
10
|
|
@@ -13,4 +13,4 @@
|
|
13
13
|
@import 'utilities/shared';
|
14
14
|
@import 'utilities/typography';
|
15
15
|
|
16
|
-
@import '
|
16
|
+
@import 'framework/overrides';
|
File without changes
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// Please do not change the order of these files. More more information see:
|
2
|
+
// https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss
|
3
|
+
|
4
|
+
// Core variables and mixins
|
5
|
+
// @import "overrides/variables";
|
6
|
+
// @import "overrides/mixins";
|
7
|
+
|
8
|
+
// Reset and dependencies
|
9
|
+
// @import "overrides/normalize";
|
10
|
+
// @import "overrides/print";
|
11
|
+
// @import "overrides/glyphicons";
|
12
|
+
|
13
|
+
// Core CSS
|
14
|
+
// @import "overrides/scaffolding";
|
15
|
+
// @import "overrides/type";
|
16
|
+
// @import "overrides/code";
|
17
|
+
// @import "overrides/grid";
|
18
|
+
// @import "overrides/tables";
|
19
|
+
// @import "overrides/forms";
|
20
|
+
// @import "overrides/buttons";
|
21
|
+
|
22
|
+
// Components
|
23
|
+
// @import "overrides/component-animations";
|
24
|
+
// @import "overrides/dropdowns";
|
25
|
+
// @import "overrides/button-groups";
|
26
|
+
// @import "overrides/input-groups";
|
27
|
+
// @import "overrides/navs";
|
28
|
+
// @import "overrides/navbar";
|
29
|
+
// @import "overrides/breadcrumbs";
|
30
|
+
// @import "overrides/pagination";
|
31
|
+
// @import "overrides/pager";
|
32
|
+
// @import "overrides/labels";
|
33
|
+
// @import "overrides/badges";
|
34
|
+
// @import "overrides/jumbotron";
|
35
|
+
// @import "overrides/thumbnails";
|
36
|
+
// @import "overrides/alerts";
|
37
|
+
// @import "overrides/progress-bars";
|
38
|
+
// @import "overrides/media";
|
39
|
+
// @import "overrides/list-group";
|
40
|
+
// @import "overrides/panels";
|
41
|
+
// @import "overrides/responsive-embed";
|
42
|
+
// @import "overrides/wells";
|
43
|
+
// @import "overrides/close";
|
44
|
+
|
45
|
+
// Components w/ JavaScript
|
46
|
+
// @import "overrides/modals";
|
47
|
+
// @import "overrides/tooltip";
|
48
|
+
// @import "overrides/popovers";
|
49
|
+
// @import "overrides/carousel";
|
50
|
+
|
51
|
+
// Utility classes
|
52
|
+
// @import "overrides/utilities";
|
53
|
+
// @import "overrides/responsive-utilities";
|
File without changes
|
File without changes
|
data/lib/structure.yml
CHANGED
@@ -2,15 +2,17 @@ directories:
|
|
2
2
|
- settings
|
3
3
|
- utilities
|
4
4
|
- components
|
5
|
-
-
|
6
|
-
-
|
5
|
+
- views
|
6
|
+
- framework
|
7
|
+
- framework/overrides
|
7
8
|
|
8
9
|
files:
|
10
|
+
framework:
|
11
|
+
- _variables
|
12
|
+
- _components
|
13
|
+
- _overrides
|
9
14
|
settings:
|
10
|
-
-
|
11
|
-
- _bootstrap-components
|
12
|
-
- _bootstrap-overrides
|
13
|
-
- _custom-variables
|
15
|
+
- _variables
|
14
16
|
- _z-index-variables
|
15
17
|
- _breakpoint-variables
|
16
18
|
utilities:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netguru_bootstrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Czajka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,11 +54,11 @@ files:
|
|
54
54
|
- lib/netguru_bootstrapper/engine.rb
|
55
55
|
- lib/netguru_bootstrapper/generators/netguru_bootstrapper/bootstrap_generator.rb
|
56
56
|
- lib/netguru_bootstrapper/generators/templates/application.scss
|
57
|
-
- lib/netguru_bootstrapper/generators/templates/
|
58
|
-
- lib/netguru_bootstrapper/generators/templates/
|
59
|
-
- lib/netguru_bootstrapper/generators/templates/
|
57
|
+
- lib/netguru_bootstrapper/generators/templates/framework/_components.scss
|
58
|
+
- lib/netguru_bootstrapper/generators/templates/framework/_overrides.scss
|
59
|
+
- lib/netguru_bootstrapper/generators/templates/framework/_variables.scss
|
60
60
|
- lib/netguru_bootstrapper/generators/templates/settings/_breakpoint-variables.scss
|
61
|
-
- lib/netguru_bootstrapper/generators/templates/settings/
|
61
|
+
- lib/netguru_bootstrapper/generators/templates/settings/_variables.scss
|
62
62
|
- lib/netguru_bootstrapper/generators/templates/settings/_z-index-variables.scss
|
63
63
|
- lib/netguru_bootstrapper/generators/templates/utilities/_functions.scss
|
64
64
|
- lib/netguru_bootstrapper/generators/templates/utilities/_mixins.scss
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.4.5
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Twitter Bootstrap generator for Rails
|
@@ -1,53 +0,0 @@
|
|
1
|
-
// Please do not change the order of these files. More more information see:
|
2
|
-
// https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss
|
3
|
-
|
4
|
-
// Core variables and mixins
|
5
|
-
// @import "bootstrap-overrides/variables";
|
6
|
-
// @import "bootstrap-overrides/mixins";
|
7
|
-
|
8
|
-
// Reset and dependencies
|
9
|
-
// @import "bootstrap-overrides/normalize";
|
10
|
-
// @import "bootstrap-overrides/print";
|
11
|
-
// @import "bootstrap-overrides/glyphicons";
|
12
|
-
|
13
|
-
// Core CSS
|
14
|
-
// @import "bootstrap-overrides/scaffolding";
|
15
|
-
// @import "bootstrap-overrides/type";
|
16
|
-
// @import "bootstrap-overrides/code";
|
17
|
-
// @import "bootstrap-overrides/grid";
|
18
|
-
// @import "bootstrap-overrides/tables";
|
19
|
-
// @import "bootstrap-overrides/forms";
|
20
|
-
// @import "bootstrap-overrides/buttons";
|
21
|
-
|
22
|
-
// Components
|
23
|
-
// @import "bootstrap-overrides/component-animations";
|
24
|
-
// @import "bootstrap-overrides/dropdowns";
|
25
|
-
// @import "bootstrap-overrides/button-groups";
|
26
|
-
// @import "bootstrap-overrides/input-groups";
|
27
|
-
// @import "bootstrap-overrides/navs";
|
28
|
-
// @import "bootstrap-overrides/navbar";
|
29
|
-
// @import "bootstrap-overrides/breadcrumbs";
|
30
|
-
// @import "bootstrap-overrides/pagination";
|
31
|
-
// @import "bootstrap-overrides/pager";
|
32
|
-
// @import "bootstrap-overrides/labels";
|
33
|
-
// @import "bootstrap-overrides/badges";
|
34
|
-
// @import "bootstrap-overrides/jumbotron";
|
35
|
-
// @import "bootstrap-overrides/thumbnails";
|
36
|
-
// @import "bootstrap-overrides/alerts";
|
37
|
-
// @import "bootstrap-overrides/progress-bars";
|
38
|
-
// @import "bootstrap-overrides/media";
|
39
|
-
// @import "bootstrap-overrides/list-group";
|
40
|
-
// @import "bootstrap-overrides/panels";
|
41
|
-
// @import "bootstrap-overrides/responsive-embed";
|
42
|
-
// @import "bootstrap-overrides/wells";
|
43
|
-
// @import "bootstrap-overrides/close";
|
44
|
-
|
45
|
-
// Components w/ JavaScript
|
46
|
-
// @import "bootstrap-overrides/modals";
|
47
|
-
// @import "bootstrap-overrides/tooltip";
|
48
|
-
// @import "bootstrap-overrides/popovers";
|
49
|
-
// @import "bootstrap-overrides/carousel";
|
50
|
-
|
51
|
-
// Utility classes
|
52
|
-
// @import "bootstrap-overrides/utilities";
|
53
|
-
// @import "bootstrap-overrides/responsive-utilities";
|