customizable_bootstrap 0.9.5 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/Gemfile +4 -4
- data/Rakefile +4 -0
- data/VERSION +1 -1
- data/customizable_bootstrap.gemspec +16 -101
- data/lib/generators/customizable_bootstrap/install/install_generator.rb +3 -4
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/colors.css.scss +183 -99
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/font.css.scss +24 -9
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/index.css.scss +3 -3
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/spacing.css.scss +50 -0
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/colors.css.scss +183 -99
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/font.css.scss +24 -9
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/index.css.scss +3 -3
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/overrides.css.scss +0 -4
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/spacing.css.scss +50 -0
- data/spec/spec_helper.rb +1 -2
- metadata +23 -417
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/grid.css.scss +0 -6
- data/lib/generators/customizable_bootstrap/install/templates/stylesheets/layers.css.scss +0 -7
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/grid.css.scss +0 -7
- data/spec/dummy/app/assets/stylesheets/customizable_bootstrap/layers.css.scss +0 -7
@@ -1,9 +1,24 @@
|
|
1
|
-
$
|
2
|
-
$
|
3
|
-
$
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$
|
9
|
-
$
|
1
|
+
$font-family-sans-serif: Open Sans;
|
2
|
+
$font-family-serif: PT Serif;
|
3
|
+
$font-family-monospace: Monaco;
|
4
|
+
$font-family-base: $font-family-sans-serif;
|
5
|
+
$font-size-base: 14px;
|
6
|
+
$font-size-large: ceil($font-size-base * 1.25);
|
7
|
+
$font-size-small: ceil($font-size-base * 0.85);
|
8
|
+
$font-size-h1: floor(($font-size-base * 2.6));
|
9
|
+
$font-size-h2: floor(($font-size-base * 2.15));
|
10
|
+
$font-size-h3: floor(($font-size-base * 1.7));
|
11
|
+
$font-size-h4: floor(($font-size-base * 1.25));
|
12
|
+
$font-size-h5: $font-size-base;
|
13
|
+
$font-size-h6: floor(($font-size-base * 0.85));
|
14
|
+
$line-height-base: 1.428571429;
|
15
|
+
$line-height-computed: floor($font-size-base * $line-height-base);
|
16
|
+
$headings-font-family: $font-family-base;
|
17
|
+
$headings-font-weight: 500;
|
18
|
+
$headings-line-height: 1.1;
|
19
|
+
$headings-color: inherit;
|
20
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
21
|
+
|
22
|
+
// Sprites
|
23
|
+
$icon-font-path: '../app/fonts/';
|
24
|
+
$icon-font-name: glyphicons-halflings-regular;
|
@@ -2,12 +2,12 @@
|
|
2
2
|
// You'll break it.
|
3
3
|
//
|
4
4
|
// Actually, you can customize it at will.
|
5
|
+
//
|
6
|
+
// Special thanks to pikock http://www.pikock.com/, who provided the less on which this sass was based.
|
5
7
|
|
6
8
|
@import './font';
|
7
9
|
@import './colors';
|
8
|
-
@import './
|
9
|
-
@import './layers';
|
10
|
+
@import './spacing';
|
10
11
|
@import 'bootstrap';
|
11
|
-
@import 'bootstrap-responsive';
|
12
12
|
// @import 'font-awesome';
|
13
13
|
@import './overrides';
|
@@ -0,0 +1,50 @@
|
|
1
|
+
$padding-base-vertical: 6px;
|
2
|
+
$padding-base-horizontal: 12px;
|
3
|
+
$padding-large-vertical: 10px;
|
4
|
+
$padding-large-horizontal: 16px;
|
5
|
+
$padding-small-vertical: 5px;
|
6
|
+
$padding-small-horizontal: 10px;
|
7
|
+
$border-radius-base: 4px;
|
8
|
+
$border-radius-large: 6px;
|
9
|
+
$border-radius-small: 3px;
|
10
|
+
$line-height-large: 1.33;
|
11
|
+
$line-height-small: 1.5;
|
12
|
+
|
13
|
+
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
|
14
|
+
$input-height-large: (floor($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2);
|
15
|
+
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);
|
16
|
+
|
17
|
+
$table-cell-padding: 8px;
|
18
|
+
$table-condensed-cell-padding: 5px;
|
19
|
+
$table-cell-padding: 8px;
|
20
|
+
$table-condensed-cell-padding: 5px;
|
21
|
+
|
22
|
+
$navbar-height: 50px;
|
23
|
+
$navbar-margin-bottom: $line-height-computed;
|
24
|
+
|
25
|
+
$navbar-border-radius: $border-radius-base;
|
26
|
+
$navbar-padding-horizontal: floor($grid-gutter-width / 2);
|
27
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
|
28
|
+
|
29
|
+
$nav-link-padding: 10px 15px;
|
30
|
+
|
31
|
+
$nav-pills-border-radius: $border-radius-base;
|
32
|
+
|
33
|
+
$jumbotron-padding: 30px;
|
34
|
+
|
35
|
+
|
36
|
+
$pager-border-radius: 15px;
|
37
|
+
|
38
|
+
|
39
|
+
$tooltip-max-width: 200px;
|
40
|
+
|
41
|
+
$tooltip-arrow-width: 5px;
|
42
|
+
|
43
|
+
|
44
|
+
$popover-max-width: 276px;
|
45
|
+
|
46
|
+
$popover-arrow-width: 10px;
|
47
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1);
|
48
|
+
|
49
|
+
|
50
|
+
$list-group-border-radius: $border-radius-base;
|
@@ -1,100 +1,184 @@
|
|
1
|
+
// Grays
|
2
|
+
$gray-darker: #222222;
|
3
|
+
$gray-dark: #333333;
|
4
|
+
$gray: #555555;
|
5
|
+
$gray-light: #999999;
|
6
|
+
$gray-lighter: #eeeeee;
|
1
7
|
|
2
|
-
|
3
|
-
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
$
|
13
|
-
$
|
14
|
-
$
|
15
|
-
$
|
16
|
-
$
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
$
|
21
|
-
$
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
$
|
26
|
-
$
|
27
|
-
$
|
28
|
-
$
|
29
|
-
|
30
|
-
$
|
31
|
-
$
|
32
|
-
$
|
33
|
-
$
|
34
|
-
$
|
35
|
-
|
36
|
-
$
|
37
|
-
$
|
38
|
-
$
|
39
|
-
$
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
$
|
44
|
-
$
|
45
|
-
$
|
46
|
-
$
|
47
|
-
$
|
48
|
-
$
|
49
|
-
$
|
50
|
-
$
|
51
|
-
|
52
|
-
$
|
53
|
-
$
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
$
|
58
|
-
|
59
|
-
$
|
60
|
-
$
|
61
|
-
$
|
62
|
-
$
|
63
|
-
$
|
64
|
-
$
|
65
|
-
$
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
$
|
71
|
-
$
|
72
|
-
$
|
73
|
-
$
|
74
|
-
$
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
$
|
79
|
-
$
|
80
|
-
$
|
81
|
-
$
|
82
|
-
$
|
83
|
-
$
|
84
|
-
|
85
|
-
$
|
86
|
-
$
|
87
|
-
$
|
88
|
-
|
89
|
-
$
|
90
|
-
$
|
91
|
-
$
|
92
|
-
$
|
93
|
-
$
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
$
|
98
|
-
$
|
99
|
-
$
|
100
|
-
$
|
8
|
+
|
9
|
+
// Brand Colors
|
10
|
+
$brand-primary: #428bca;
|
11
|
+
$brand-success: #5cb85c;
|
12
|
+
$brand-warning: #f0ad4e;
|
13
|
+
$brand-danger: #d9534f;
|
14
|
+
$brand-info: #5bc0de;
|
15
|
+
|
16
|
+
|
17
|
+
// Scaffolding
|
18
|
+
$body-bg: #fff;
|
19
|
+
$text-color: $gray-dark;
|
20
|
+
$link-color: $brand-primary;
|
21
|
+
$link-hover-color: darken($link-color, 15%);
|
22
|
+
$component-active-bg: $brand-primary;
|
23
|
+
|
24
|
+
|
25
|
+
// Buttons
|
26
|
+
$btn-font-weight: normal;
|
27
|
+
$btn-default-color: #333;
|
28
|
+
$btn-default-bg: #fff;
|
29
|
+
$btn-default-border: #ccc;
|
30
|
+
$btn-primary-color: #fff;
|
31
|
+
$btn-primary-bg: $brand-primary;
|
32
|
+
$btn-primary-border: darken($btn-primary-bg, 5%);
|
33
|
+
$btn-success-color: #fff;
|
34
|
+
$btn-success-bg: $brand-success;
|
35
|
+
$btn-success-border: darken($btn-success-bg, 5%);
|
36
|
+
$btn-warning-color: #fff;
|
37
|
+
$btn-warning-bg: $brand-warning;
|
38
|
+
$btn-warning-border: darken($btn-warning-bg, 5%);
|
39
|
+
$btn-danger-color: #fff;
|
40
|
+
$btn-danger-bg: $brand-danger;
|
41
|
+
$btn-danger-border: darken($btn-danger-bg, 5%);
|
42
|
+
$btn-info-color: #fff;
|
43
|
+
$btn-info-bg: $brand-info;
|
44
|
+
$btn-info-border: darken($btn-info-bg, 5%);
|
45
|
+
$btn-link-disabled-color: $gray-light;
|
46
|
+
|
47
|
+
|
48
|
+
// Dropdowns
|
49
|
+
$dropdown-bg: #fff;
|
50
|
+
$dropdown-border: rgba(0,0,0,.15);
|
51
|
+
$dropdown-divider-bg: #e5e5e5;
|
52
|
+
$dropdown-link-active-color: #fff;
|
53
|
+
$dropdown-link-active-bg: $component-active-bg;
|
54
|
+
$dropdown-link-color: $gray-dark;
|
55
|
+
$dropdown-link-hover-color: #fff;
|
56
|
+
$dropdown-link-hover-bg: $dropdown-link-active-bg;
|
57
|
+
$dropdown-link-disabled-color: $gray-light;
|
58
|
+
$dropdown-header-color: $gray-light;
|
59
|
+
$dropdown-caret-color: #000;
|
60
|
+
|
61
|
+
|
62
|
+
// Forms
|
63
|
+
$input-bg: #fff;
|
64
|
+
$input-bg-disabled: $gray-lighter;
|
65
|
+
$input-color: $gray;
|
66
|
+
$input-border: #ccc;
|
67
|
+
$input-border-radius: $border-radius-base;
|
68
|
+
$input-color-placeholder: $gray-light;
|
69
|
+
$legend-color: $gray-dark;
|
70
|
+
$legend-border-color: #e5e5e5;
|
71
|
+
$input-group-addon-bg: $gray-lighter;
|
72
|
+
$input-group-addon-border-color: $input-border;
|
73
|
+
|
74
|
+
|
75
|
+
// Table
|
76
|
+
$table-bg: transparent;
|
77
|
+
$table-bg-accent: #f9f9f9;
|
78
|
+
$table-bg-hover: #f5f5f5;
|
79
|
+
$table-bg-active: $table-bg-hover;
|
80
|
+
$table-border-color: #ddd;
|
81
|
+
|
82
|
+
|
83
|
+
// Navbar
|
84
|
+
$navbar-default-color: #777;
|
85
|
+
$navbar-default-bg: #f8f8f8;
|
86
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%);
|
87
|
+
$navbar-default-link-color: #777;
|
88
|
+
$navbar-default-link-hover-color: #333;
|
89
|
+
$navbar-default-link-hover-bg: transparent;
|
90
|
+
$navbar-default-link-active-color: #555;
|
91
|
+
$navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%);
|
92
|
+
$navbar-default-link-disabled-color: #ccc;
|
93
|
+
$navbar-default-link-disabled-bg: transparent;
|
94
|
+
$navbar-default-brand-color: $navbar-default-link-color;
|
95
|
+
$navbar-default-brand-hover-color: darken($navbar-default-link-color, 10%);
|
96
|
+
$navbar-default-brand-hover-bg: transparent;
|
97
|
+
$navbar-default-toggle-hover-bg: #ddd;
|
98
|
+
$navbar-default-toggle-icon-bar-bg: #888;
|
99
|
+
$navbar-default-toggle-border-color: #ddd;
|
100
|
+
|
101
|
+
|
102
|
+
// Navs Tabs
|
103
|
+
$nav-link-hover-bg: $gray-lighter;
|
104
|
+
$nav-disabled-link-color: $gray-light;
|
105
|
+
$nav-disabled-link-hover-color: $gray-light;
|
106
|
+
$nav-tabs-border-color: #ddd;
|
107
|
+
$nav-tabs-link-hover-border-color: $gray-lighter;
|
108
|
+
$nav-tabs-active-link-hover-bg: $body-bg;
|
109
|
+
$nav-tabs-active-link-hover-color: $gray;
|
110
|
+
$nav-tabs-active-link-hover-border-color: #ddd;
|
111
|
+
$nav-tabs-justified-link-border-color: #ddd;
|
112
|
+
$nav-tabs-justified-active-link-border-color: $body-bg;
|
113
|
+
$nav-pills-active-link-hover-bg: $component-active-bg;
|
114
|
+
$nav-pills-active-link-hover-color: #fff;
|
115
|
+
|
116
|
+
|
117
|
+
// Jumbotron
|
118
|
+
$jumbotron-color: inherit;
|
119
|
+
$jumbotron-bg: $gray-lighter;
|
120
|
+
|
121
|
+
|
122
|
+
// Pagination
|
123
|
+
$pagination-bg: #fff;
|
124
|
+
$pagination-border: #ddd;
|
125
|
+
$pagination-hover-bg: $gray-lighter;
|
126
|
+
$pagination-hover-color: $link-hover-color;
|
127
|
+
$pagination-hover-border: #ddd;
|
128
|
+
$pagination-active-bg: $brand-primary;
|
129
|
+
$pagination-active-color: #fff;
|
130
|
+
$pagination-active-border: $brand-primary;
|
131
|
+
$pagination-disabled-color: $gray-light;
|
132
|
+
$pagination-disabled-bg: #fff;
|
133
|
+
$pagination-disabled-border: #ddd;
|
134
|
+
$pager-bg: $pagination-bg;
|
135
|
+
$pager-border: $pagination-border;
|
136
|
+
$pager-hover-bg: $pagination-hover-bg;
|
137
|
+
$pager-active-bg: $pagination-active-bg;
|
138
|
+
$pager-active-color: $pagination-active-color;
|
139
|
+
$pager-bg: $pagination-bg;
|
140
|
+
$pager-disabled-color: $gray-light;
|
141
|
+
|
142
|
+
|
143
|
+
// Form States
|
144
|
+
$state-warning-text: #c09853;
|
145
|
+
$state-warning-bg: #fcf8e3;
|
146
|
+
$state-warning-border: darken(spin($state-warning-bg, -10), 3%);
|
147
|
+
$state-danger-text: #b94a48;
|
148
|
+
$state-danger-bg: #f2dede;
|
149
|
+
$state-danger-border: darken(spin($state-danger-bg, -10), 3%);
|
150
|
+
$state-success-text: #468847;
|
151
|
+
$state-success-bg: #dff0d8;
|
152
|
+
$state-success-border: darken(spin($state-success-bg, -10), 5%);
|
153
|
+
$state-info-text: #3a87ad;
|
154
|
+
$state-info-bg: #d9edf7;
|
155
|
+
$state-info-border: darken(spin($state-info-bg, -10), 7%);
|
156
|
+
|
157
|
+
|
158
|
+
// ToolTip
|
159
|
+
$tooltip-color: #fff;
|
160
|
+
$tooltip-bg: #000;
|
161
|
+
$tooltip-arrow-color: $tooltip-bg;
|
162
|
+
$tooltip-opacity: .9;
|
163
|
+
|
164
|
+
|
165
|
+
// Popover
|
166
|
+
$popover-bg: #fff;
|
167
|
+
$popover-border-color: rgba(0,0,0,.2);
|
168
|
+
$popover-fallback-border-color: #ccc;
|
169
|
+
$popover-title-bg: darken($popover-bg, 3%);
|
170
|
+
$popover-arrow-color: #fff;
|
171
|
+
$popover-arrow-outer-color: rgba(0,0,0,.25);
|
172
|
+
$popover-arrow-outer-fallback-color: #999;
|
173
|
+
|
174
|
+
|
175
|
+
// List Group
|
176
|
+
$list-group-bg: #fff;
|
177
|
+
$list-group-border: #ddd;
|
178
|
+
$list-group-hover-bg: #f5f5f5;
|
179
|
+
$list-group-active-color: #fff;
|
180
|
+
$list-group-active-bg: $component-active-bg;
|
181
|
+
$list-group-active-border: $list-group-active-bg;
|
182
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
|
183
|
+
$list-group-link-color: #555;
|
184
|
+
$list-group-link-heading-color: #333;
|
@@ -1,9 +1,24 @@
|
|
1
|
-
$
|
2
|
-
$
|
3
|
-
$
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$
|
9
|
-
$
|
1
|
+
$font-family-sans-serif: Open Sans;
|
2
|
+
$font-family-serif: PT Serif;
|
3
|
+
$font-family-monospace: Monaco;
|
4
|
+
$font-family-base: $font-family-sans-serif;
|
5
|
+
$font-size-base: 14px;
|
6
|
+
$font-size-large: ceil($font-size-base * 1.25);
|
7
|
+
$font-size-small: ceil($font-size-base * 0.85);
|
8
|
+
$font-size-h1: floor(($font-size-base * 2.6));
|
9
|
+
$font-size-h2: floor(($font-size-base * 2.15));
|
10
|
+
$font-size-h3: floor(($font-size-base * 1.7));
|
11
|
+
$font-size-h4: floor(($font-size-base * 1.25));
|
12
|
+
$font-size-h5: $font-size-base;
|
13
|
+
$font-size-h6: floor(($font-size-base * 0.85));
|
14
|
+
$line-height-base: 1.428571429;
|
15
|
+
$line-height-computed: floor($font-size-base * $line-height-base);
|
16
|
+
$headings-font-family: $font-family-base;
|
17
|
+
$headings-font-weight: 500;
|
18
|
+
$headings-line-height: 1.1;
|
19
|
+
$headings-color: inherit;
|
20
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
21
|
+
|
22
|
+
// Sprites
|
23
|
+
$icon-font-path: '../app/fonts/';
|
24
|
+
$icon-font-name: glyphicons-halflings-regular;
|
@@ -2,12 +2,12 @@
|
|
2
2
|
// You'll break it.
|
3
3
|
//
|
4
4
|
// Actually, you can customize it at will.
|
5
|
+
//
|
6
|
+
// Special thanks to pikock http://www.pikock.com/, who provided the less on which this sass was based.
|
5
7
|
|
6
8
|
@import './font';
|
7
9
|
@import './colors';
|
8
|
-
@import './
|
9
|
-
@import './layers';
|
10
|
+
@import './spacing';
|
10
11
|
@import 'bootstrap';
|
11
|
-
@import 'bootstrap-responsive';
|
12
12
|
// @import 'font-awesome';
|
13
13
|
@import './overrides';
|