bootstrap-generators 2.3.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +12 -2
  3. data/{LICENSE.txt → MIT-LICENSE} +1 -3
  4. data/README.md +19 -64
  5. data/Rakefile +24 -22
  6. data/bootstrap-generators.gemspec +3 -1
  7. data/lib/bootstrap-generators.rb +12 -1
  8. data/lib/bootstrap/generators/version.rb +1 -1
  9. data/lib/generators/bootstrap/install/install_generator.rb +9 -24
  10. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +498 -179
  11. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +620 -0
  12. data/lib/generators/bootstrap/install/templates/assets/stylesheets/{fluid.css → starter.css} +6 -6
  13. data/lib/generators/bootstrap/install/templates/assets/stylesheets/{fluid.css.less → starter.less} +7 -7
  14. data/lib/generators/bootstrap/install/templates/assets/stylesheets/{fluid.css.scss → starter.scss} +7 -8
  15. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.erb +11 -9
  16. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.haml +9 -8
  17. data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +50 -0
  18. data/lib/generators/bootstrap/install/templates/layouts/{hero.html.haml → starter.html.haml} +0 -0
  19. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/edit.html.erb +3 -3
  20. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/index.html.erb +25 -25
  21. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/new.html.erb +2 -2
  22. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb +5 -5
  23. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/edit.html.haml +3 -3
  24. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/index.html.haml +20 -19
  25. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/new.html.haml +2 -2
  26. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/show.html.haml +5 -5
  27. data/readme-template.md.erb +5 -48
  28. data/test/lib/generators/bootstrap/install_generator_test.rb +3 -33
  29. data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  30. data/vendor/assets/fonts/glyphicons-halflings-regular.svg +228 -0
  31. data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  32. data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  33. data/vendor/assets/javascripts/bootstrap-ie.js +2 -0
  34. data/vendor/assets/javascripts/bootstrap-ie/html5shiv.js +8 -0
  35. data/vendor/assets/javascripts/bootstrap-ie/respond.min.js +6 -0
  36. data/vendor/assets/javascripts/bootstrap.js +12 -13
  37. data/vendor/assets/javascripts/bootstrap/affix.js +126 -0
  38. data/vendor/assets/javascripts/{bootstrap-alert.js → bootstrap/alert.js} +35 -36
  39. data/vendor/assets/javascripts/bootstrap/button.js +109 -0
  40. data/vendor/assets/javascripts/bootstrap/carousel.js +217 -0
  41. data/vendor/assets/javascripts/bootstrap/collapse.js +179 -0
  42. data/vendor/assets/javascripts/bootstrap/dropdown.js +154 -0
  43. data/vendor/assets/javascripts/bootstrap/modal.js +246 -0
  44. data/vendor/assets/javascripts/bootstrap/popover.js +117 -0
  45. data/vendor/assets/javascripts/bootstrap/scrollspy.js +158 -0
  46. data/vendor/assets/javascripts/bootstrap/tab.js +135 -0
  47. data/vendor/assets/javascripts/bootstrap/tooltip.js +386 -0
  48. data/vendor/assets/javascripts/bootstrap/transition.js +56 -0
  49. data/vendor/assets/stylesheets/bootstrap.css +4638 -4000
  50. data/vendor/twitter/bootstrap/less/alerts.less +46 -58
  51. data/vendor/twitter/bootstrap/less/badges.less +51 -0
  52. data/vendor/twitter/bootstrap/less/bootstrap.less +27 -31
  53. data/vendor/twitter/bootstrap/less/breadcrumbs.less +7 -8
  54. data/vendor/twitter/bootstrap/less/button-groups.less +173 -154
  55. data/vendor/twitter/bootstrap/less/buttons.less +97 -165
  56. data/vendor/twitter/bootstrap/less/carousel.less +115 -64
  57. data/vendor/twitter/bootstrap/less/close.less +20 -19
  58. data/vendor/twitter/bootstrap/less/code.less +17 -22
  59. data/vendor/twitter/bootstrap/less/component-animations.less +10 -3
  60. data/vendor/twitter/bootstrap/less/dropdowns.less +92 -147
  61. data/vendor/twitter/bootstrap/less/forms.less +224 -561
  62. data/vendor/twitter/bootstrap/less/glyphicons.less +232 -0
  63. data/vendor/twitter/bootstrap/less/grid.less +336 -11
  64. data/vendor/twitter/bootstrap/less/input-groups.less +127 -0
  65. data/vendor/twitter/bootstrap/less/jumbotron.less +40 -0
  66. data/vendor/twitter/bootstrap/less/labels.less +58 -0
  67. data/vendor/twitter/bootstrap/less/list-group.less +88 -0
  68. data/vendor/twitter/bootstrap/less/media.less +8 -7
  69. data/vendor/twitter/bootstrap/less/mixins.less +487 -466
  70. data/vendor/twitter/bootstrap/less/modals.less +98 -52
  71. data/vendor/twitter/bootstrap/less/navbar.less +507 -383
  72. data/vendor/twitter/bootstrap/less/navs.less +169 -349
  73. data/vendor/twitter/bootstrap/less/normalize.less +396 -0
  74. data/vendor/twitter/bootstrap/less/pager.less +45 -33
  75. data/vendor/twitter/bootstrap/less/pagination.less +65 -105
  76. data/vendor/twitter/bootstrap/less/panels.less +148 -0
  77. data/vendor/twitter/bootstrap/less/popovers.less +51 -51
  78. data/vendor/twitter/bootstrap/less/print.less +100 -0
  79. data/vendor/twitter/bootstrap/less/progress-bars.less +28 -55
  80. data/vendor/twitter/bootstrap/less/responsive-utilities.less +195 -34
  81. data/vendor/twitter/bootstrap/less/scaffolding.less +101 -24
  82. data/vendor/twitter/bootstrap/less/tables.less +170 -178
  83. data/vendor/twitter/bootstrap/less/theme.less +232 -0
  84. data/vendor/twitter/bootstrap/less/thumbnails.less +11 -33
  85. data/vendor/twitter/bootstrap/less/tooltip.less +45 -20
  86. data/vendor/twitter/bootstrap/less/type.less +100 -109
  87. data/vendor/twitter/bootstrap/less/utilities.less +19 -7
  88. data/vendor/twitter/bootstrap/less/variables.less +498 -179
  89. data/vendor/twitter/bootstrap/less/wells.less +7 -7
  90. data/vendor/twitter/bootstrap/sass/_alerts.scss +46 -58
  91. data/vendor/twitter/bootstrap/sass/_badges.scss +51 -0
  92. data/vendor/twitter/bootstrap/sass/_breadcrumbs.scss +8 -9
  93. data/vendor/twitter/bootstrap/sass/_button-groups.scss +173 -154
  94. data/vendor/twitter/bootstrap/sass/_buttons.scss +97 -165
  95. data/vendor/twitter/bootstrap/sass/_carousel.scss +116 -65
  96. data/vendor/twitter/bootstrap/sass/_close.scss +9 -8
  97. data/vendor/twitter/bootstrap/sass/_code.scss +16 -21
  98. data/vendor/twitter/bootstrap/sass/_component-animations.scss +10 -3
  99. data/vendor/twitter/bootstrap/sass/_dropdowns.scss +94 -148
  100. data/vendor/twitter/bootstrap/sass/_forms.scss +220 -559
  101. data/vendor/twitter/bootstrap/sass/_glyphicons.scss +232 -0
  102. data/vendor/twitter/bootstrap/sass/_grid.scss +336 -11
  103. data/vendor/twitter/bootstrap/sass/_input-groups.scss +127 -0
  104. data/vendor/twitter/bootstrap/sass/_jumbotron.scss +40 -0
  105. data/vendor/twitter/bootstrap/sass/_labels.scss +58 -0
  106. data/vendor/twitter/bootstrap/sass/_list-group.scss +88 -0
  107. data/vendor/twitter/bootstrap/sass/_media.scss +8 -7
  108. data/vendor/twitter/bootstrap/sass/_mixins.scss +465 -433
  109. data/vendor/twitter/bootstrap/sass/_modals.scss +102 -52
  110. data/vendor/twitter/bootstrap/sass/_navbar.scss +511 -383
  111. data/vendor/twitter/bootstrap/sass/_navs.scss +169 -349
  112. data/vendor/twitter/bootstrap/sass/_normalize.scss +396 -0
  113. data/vendor/twitter/bootstrap/sass/_pager.scss +45 -33
  114. data/vendor/twitter/bootstrap/sass/_pagination.scss +65 -105
  115. data/vendor/twitter/bootstrap/sass/_panels.scss +148 -0
  116. data/vendor/twitter/bootstrap/sass/_popovers.scss +51 -51
  117. data/vendor/twitter/bootstrap/sass/_print.scss +100 -0
  118. data/vendor/twitter/bootstrap/sass/_progress-bars.scss +28 -55
  119. data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +180 -45
  120. data/vendor/twitter/bootstrap/sass/_scaffolding.scss +101 -24
  121. data/vendor/twitter/bootstrap/sass/_tables.scss +169 -168
  122. data/vendor/twitter/bootstrap/sass/_theme.scss +232 -0
  123. data/vendor/twitter/bootstrap/sass/_thumbnails.scss +11 -33
  124. data/vendor/twitter/bootstrap/sass/_tooltip.scss +45 -20
  125. data/vendor/twitter/bootstrap/sass/_type.scss +101 -110
  126. data/vendor/twitter/bootstrap/sass/_utilities.scss +19 -22
  127. data/vendor/twitter/bootstrap/sass/_variables.scss +498 -179
  128. data/vendor/twitter/bootstrap/sass/_wells.scss +7 -7
  129. data/vendor/twitter/bootstrap/sass/bootstrap.scss +29 -33
  130. metadata +47 -56
  131. data/lib/bootstrap/generators/engine.rb +0 -14
  132. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.scss +0 -301
  133. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css +0 -18
  134. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.less +0 -19
  135. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.scss +0 -19
  136. data/lib/generators/bootstrap/install/templates/config/initializers/simple_form.rb +0 -176
  137. data/lib/generators/bootstrap/install/templates/config/locales/simple_form.en.yml +0 -24
  138. data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb +0 -13
  139. data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml +0 -10
  140. data/lib/generators/bootstrap/install/templates/layouts/fluid.html.erb +0 -80
  141. data/lib/generators/bootstrap/install/templates/layouts/fluid.html.haml +0 -94
  142. data/lib/generators/bootstrap/install/templates/layouts/hero.html.erb +0 -53
  143. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  144. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  145. data/vendor/assets/javascripts/bootstrap-affix.js +0 -117
  146. data/vendor/assets/javascripts/bootstrap-button.js +0 -105
  147. data/vendor/assets/javascripts/bootstrap-carousel.js +0 -207
  148. data/vendor/assets/javascripts/bootstrap-collapse.js +0 -167
  149. data/vendor/assets/javascripts/bootstrap-dropdown.js +0 -169
  150. data/vendor/assets/javascripts/bootstrap-modal.js +0 -247
  151. data/vendor/assets/javascripts/bootstrap-popover.js +0 -114
  152. data/vendor/assets/javascripts/bootstrap-scrollspy.js +0 -162
  153. data/vendor/assets/javascripts/bootstrap-tab.js +0 -144
  154. data/vendor/assets/javascripts/bootstrap-tooltip.js +0 -361
  155. data/vendor/assets/javascripts/bootstrap-transition.js +0 -60
  156. data/vendor/assets/javascripts/bootstrap-typeahead.js +0 -335
  157. data/vendor/assets/stylesheets/bootstrap-responsive.css +0 -1109
  158. data/vendor/twitter/bootstrap/less/accordion.less +0 -34
  159. data/vendor/twitter/bootstrap/less/hero-unit.less +0 -25
  160. data/vendor/twitter/bootstrap/less/labels-badges.less +0 -84
  161. data/vendor/twitter/bootstrap/less/layouts.less +0 -16
  162. data/vendor/twitter/bootstrap/less/reset.less +0 -216
  163. data/vendor/twitter/bootstrap/less/responsive-1200px-min.less +0 -28
  164. data/vendor/twitter/bootstrap/less/responsive-767px-max.less +0 -193
  165. data/vendor/twitter/bootstrap/less/responsive-768px-979px.less +0 -19
  166. data/vendor/twitter/bootstrap/less/responsive-navbar.less +0 -189
  167. data/vendor/twitter/bootstrap/less/responsive.less +0 -48
  168. data/vendor/twitter/bootstrap/less/sprites.less +0 -197
  169. data/vendor/twitter/bootstrap/sass/_accordion.scss +0 -34
  170. data/vendor/twitter/bootstrap/sass/_hero-unit.scss +0 -25
  171. data/vendor/twitter/bootstrap/sass/_labels-badges.scss +0 -83
  172. data/vendor/twitter/bootstrap/sass/_layouts.scss +0 -16
  173. data/vendor/twitter/bootstrap/sass/_reset.scss +0 -216
  174. data/vendor/twitter/bootstrap/sass/_responsive-1200px-min.scss +0 -28
  175. data/vendor/twitter/bootstrap/sass/_responsive-767px-max.scss +0 -193
  176. data/vendor/twitter/bootstrap/sass/_responsive-768px-979px.scss +0 -19
  177. data/vendor/twitter/bootstrap/sass/_responsive-navbar.scss +0 -189
  178. data/vendor/twitter/bootstrap/sass/_sprites.scss +0 -197
  179. data/vendor/twitter/bootstrap/sass/responsive.scss +0 -48
@@ -0,0 +1,620 @@
1
+ //
2
+ // Variables
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Global values
7
+ // --------------------------------------------------
8
+
9
+ // Grays
10
+ // -------------------------
11
+
12
+ $gray-darker: lighten(#000, 13.5%) !default; // #222
13
+ $gray-dark: lighten(#000, 20%) !default; // #333
14
+ $gray: lighten(#000, 33.5%) !default; // #555
15
+ $gray-light: lighten(#000, 60%) !default; // #999
16
+ $gray-lighter: lighten(#000, 93.5%) !default; // #eee
17
+
18
+ // Brand colors
19
+ // -------------------------
20
+
21
+ $brand-primary: #428bca !default;
22
+ $brand-success: #5cb85c !default;
23
+ $brand-warning: #f0ad4e !default;
24
+ $brand-danger: #d9534f !default;
25
+ $brand-info: #5bc0de !default;
26
+
27
+ // Scaffolding
28
+ // -------------------------
29
+
30
+ $body-bg: #fff !default;
31
+ $text-color: $gray-dark !default;
32
+
33
+ // Links
34
+ // -------------------------
35
+
36
+ $link-color: $brand-primary !default;
37
+ $link-hover-color: darken($link-color, 15%) !default;
38
+
39
+ // Typography
40
+ // -------------------------
41
+
42
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
43
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
44
+ $font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace !default;
45
+ $font-family-base: $font-family-sans-serif !default;
46
+
47
+ $font-size-base: 14px !default;
48
+ $font-size-large: ceil($font-size-base * 1.25) !default; // ~18px
49
+ $font-size-small: ceil($font-size-base * 0.85) !default; // ~12px
50
+
51
+ $line-height-base: 1.428571429 !default; // 20/14
52
+ $line-height-computed: floor($font-size-base * $line-height-base) !default; // ~20px
53
+
54
+ $headings-font-family: $font-family-base !default;
55
+ $headings-font-weight: 500 !default;
56
+ $headings-line-height: 1.1 !default;
57
+
58
+ // Iconography
59
+ // -------------------------
60
+
61
+ $icon-font-path: "/assets/" !default;
62
+ $icon-font-name: "glyphicons-halflings-regular" !default;
63
+
64
+
65
+ // Components
66
+ // -------------------------
67
+ // Based on 14px font-size and 1.428 line-height (~20px to start)
68
+
69
+ $padding-base-vertical: 6px !default;
70
+ $padding-base-horizontal: 12px !default;
71
+
72
+ $padding-large-vertical: 10px !default;
73
+ $padding-large-horizontal: 16px !default;
74
+
75
+ $padding-small-vertical: 5px !default;
76
+ $padding-small-horizontal: 10px !default;
77
+
78
+ $line-height-large: 1.33 !default;
79
+ $line-height-small: 1.5 !default;
80
+
81
+ $border-radius-base: 4px !default;
82
+ $border-radius-large: 6px !default;
83
+ $border-radius-small: 3px !default;
84
+
85
+ $component-active-bg: $brand-primary !default;
86
+
87
+ $caret-width-base: 4px !default;
88
+ $caret-width-large: 5px !default;
89
+
90
+ // Tables
91
+ // -------------------------
92
+
93
+ $table-cell-padding: 8px !default;
94
+ $table-condensed-cell-padding: 5px !default;
95
+
96
+ $table-bg: transparent !default; // overall background-color
97
+ $table-bg-accent: #f9f9f9 !default; // for striping
98
+ $table-bg-hover: #f5f5f5 !default;
99
+ $table-bg-active: $table-bg-hover !default;
100
+
101
+ $table-border-color: #ddd !default; // table and cell border
102
+
103
+
104
+ // Buttons
105
+ // -------------------------
106
+
107
+ $btn-font-weight: normal !default;
108
+
109
+ $btn-default-color: #333 !default;
110
+ $btn-default-bg: #fff !default;
111
+ $btn-default-border: #ccc !default;
112
+
113
+ $btn-primary-color: #fff !default;
114
+ $btn-primary-bg: $brand-primary !default;
115
+ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
116
+
117
+ $btn-success-color: #fff !default;
118
+ $btn-success-bg: $brand-success !default;
119
+ $btn-success-border: darken($btn-success-bg, 5%) !default;
120
+
121
+ $btn-warning-color: #fff !default;
122
+ $btn-warning-bg: $brand-warning !default;
123
+ $btn-warning-border: darken($btn-warning-bg, 5%) !default;
124
+
125
+ $btn-danger-color: #fff !default;
126
+ $btn-danger-bg: $brand-danger !default;
127
+ $btn-danger-border: darken($btn-danger-bg, 5%) !default;
128
+
129
+ $btn-info-color: #fff !default;
130
+ $btn-info-bg: $brand-info !default;
131
+ $btn-info-border: darken($btn-info-bg, 5%) !default;
132
+
133
+ $btn-link-disabled-color: $gray-light !default;
134
+
135
+
136
+ // Forms
137
+ // -------------------------
138
+
139
+ $input-bg: #fff !default;
140
+ $input-bg-disabled: $gray-lighter !default;
141
+
142
+ $input-color: $gray !default;
143
+ $input-border: #ccc !default;
144
+ $input-border-radius: $border-radius-base !default;
145
+ $input-border-focus: #66afe9 !default;
146
+
147
+ $input-color-placeholder: $gray-light !default;
148
+
149
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
150
+ $input-height-large: (floor($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
151
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
152
+
153
+ $legend-color: $gray-dark !default;
154
+ $legend-border-color: #e5e5e5 !default;
155
+
156
+ $input-group-addon-bg: $gray-lighter !default;
157
+ $input-group-addon-border-color: $input-border !default;
158
+
159
+
160
+ // Dropdowns
161
+ // -------------------------
162
+
163
+ $dropdown-bg: #fff !default;
164
+ $dropdown-border: rgba(0,0,0,.15) !default;
165
+ $dropdown-fallback-border: #ccc !default;
166
+ $dropdown-divider-bg: #e5e5e5 !default;
167
+
168
+ $dropdown-link-active-color: #fff !default;
169
+ $dropdown-link-active-bg: $component-active-bg !default;
170
+
171
+ $dropdown-link-color: $gray-dark !default;
172
+ $dropdown-link-hover-color: #fff !default;
173
+ $dropdown-link-hover-bg: $dropdown-link-active-bg !default;
174
+
175
+ $dropdown-link-disabled-color: $gray-light !default;
176
+
177
+ $dropdown-header-color: $gray-light !default;
178
+
179
+ $dropdown-caret-color: #000 !default;
180
+
181
+
182
+ // COMPONENT VARIABLES
183
+ // --------------------------------------------------
184
+
185
+
186
+ // Z-index master list
187
+ // -------------------------
188
+ // Used for a bird's eye view of components dependent on the z-axis
189
+ // Try to avoid customizing these :)
190
+
191
+ $zindex-navbar: 1000 !default;
192
+ $zindex-dropdown: 1000 !default;
193
+ $zindex-popover: 1010 !default;
194
+ $zindex-tooltip: 1030 !default;
195
+ $zindex-navbar-fixed: 1030 !default;
196
+ $zindex-modal-background: 1040 !default;
197
+ $zindex-modal: 1050 !default;
198
+
199
+ // Media queries breakpoints
200
+ // --------------------------------------------------
201
+
202
+ // Extra small screen / phone
203
+ $screen-xs: 480px !default;
204
+ $screen-phone: $screen-xs !default;
205
+
206
+ // Small screen / tablet
207
+ $screen-sm: 768px !default;
208
+ $screen-tablet: $screen-sm !default;
209
+
210
+ // Medium screen / desktop
211
+ $screen-md: 992px !default;
212
+ $screen-desktop: $screen-md !default;
213
+
214
+ // Large screen / wide desktop
215
+ $screen-lg: 1200px !default;
216
+ $screen-lg-desktop: $screen-lg !default;
217
+
218
+ // So media queries don't overlap when required, provide a maximum
219
+ $screen-xs-max: ($screen-sm - 1) !default;
220
+ $screen-sm-max: ($screen-md - 1) !default;
221
+ $screen-md-max: ($screen-lg - 1) !default;
222
+
223
+
224
+ // Grid system
225
+ // --------------------------------------------------
226
+
227
+ // Number of columns in the grid system
228
+ $grid-columns: 12 !default;
229
+ // Padding, to be divided by two and applied to the left and right of all columns
230
+ $grid-gutter-width: 30px !default;
231
+ // Point at which the navbar stops collapsing
232
+ $grid-float-breakpoint: $screen-tablet !default;
233
+
234
+
235
+ // Navbar
236
+ // -------------------------
237
+
238
+ // Basics of a navbar
239
+ $navbar-height: 50px !default;
240
+ $navbar-margin-bottom: $line-height-computed !default;
241
+ $navbar-default-color: #777 !default;
242
+ $navbar-default-bg: #f8f8f8 !default;
243
+ $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
244
+ $navbar-border-radius: $border-radius-base !default;
245
+ $navbar-padding-horizontal: floor($grid-gutter-width / 2) !default;
246
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
247
+
248
+ // Navbar links
249
+ $navbar-default-link-color: #777 !default;
250
+ $navbar-default-link-hover-color: #333 !default;
251
+ $navbar-default-link-hover-bg: transparent !default;
252
+ $navbar-default-link-active-color: #555 !default;
253
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
254
+ $navbar-default-link-disabled-color: #ccc !default;
255
+ $navbar-default-link-disabled-bg: transparent !default;
256
+
257
+ // Navbar brand label
258
+ $navbar-default-brand-color: $navbar-default-link-color !default;
259
+ $navbar-default-brand-hover-color: darken($navbar-default-link-color, 10%) !default;
260
+ $navbar-default-brand-hover-bg: transparent !default;
261
+
262
+ // Navbar toggle
263
+ $navbar-default-toggle-hover-bg: #ddd !default;
264
+ $navbar-default-toggle-icon-bar-bg: #ccc !default;
265
+ $navbar-default-toggle-border-color: #ddd !default;
266
+
267
+
268
+ // Inverted navbar
269
+ //
270
+ // Reset inverted navbar basics
271
+ $navbar-inverse-color: $gray-light !default;
272
+ $navbar-inverse-bg: #222 !default;
273
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
274
+
275
+ // Inverted navbar links
276
+ $navbar-inverse-link-color: $gray-light !default;
277
+ $navbar-inverse-link-hover-color: #fff !default;
278
+ $navbar-inverse-link-hover-bg: transparent !default;
279
+ $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
280
+ $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
281
+ $navbar-inverse-link-disabled-color: #444 !default;
282
+ $navbar-inverse-link-disabled-bg: transparent !default;
283
+
284
+ // Inverted navbar brand label
285
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
286
+ $navbar-inverse-brand-hover-color: #fff !default;
287
+ $navbar-inverse-brand-hover-bg: transparent !default;
288
+
289
+ // Inverted navbar search
290
+ // Normal navbar needs no special styles or vars
291
+ $navbar-inverse-search-bg: lighten($navbar-inverse-bg, 25%) !default;
292
+ $navbar-inverse-search-bg-focus: #fff !default;
293
+ $navbar-inverse-search-border: $navbar-inverse-bg !default;
294
+ $navbar-inverse-search-placeholder-color: #ccc !default;
295
+
296
+ // Inverted navbar toggle
297
+ $navbar-inverse-toggle-hover-bg: #333 !default;
298
+ $navbar-inverse-toggle-icon-bar-bg: #fff !default;
299
+ $navbar-inverse-toggle-border-color: #333 !default;
300
+
301
+
302
+ // Navs
303
+ // -------------------------
304
+
305
+ $nav-link-padding: 10px 15px !default;
306
+ $nav-link-hover-bg: $gray-lighter !default;
307
+
308
+ $nav-disabled-link-color: $gray-light !default;
309
+ $nav-disabled-link-hover-color: $gray-light !default;
310
+
311
+ $nav-open-link-hover-color: #fff !default;
312
+ $nav-open-caret-border-color: #fff !default;
313
+
314
+ // Tabs
315
+ $nav-tabs-border-color: #ddd !default;
316
+
317
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
318
+
319
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
320
+ $nav-tabs-active-link-hover-color: $gray !default;
321
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
322
+
323
+ $nav-tabs-justified-link-border-color: #ddd !default;
324
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
325
+
326
+ // Pills
327
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
328
+ $nav-pills-active-link-hover-color: #fff !default;
329
+
330
+
331
+ // Pagination
332
+ // -------------------------
333
+
334
+ $pagination-bg: #fff !default;
335
+ $pagination-border: #ddd !default;
336
+
337
+ $pagination-hover-bg: $gray-lighter !default;
338
+
339
+ $pagination-active-bg: $brand-primary !default;
340
+ $pagination-active-color: #fff !default;
341
+
342
+ $pagination-disabled-color: $gray-light !default;
343
+
344
+
345
+ // Pager
346
+ // -------------------------
347
+
348
+ $pager-border-radius: 15px !default;
349
+ $pager-disabled-color: $gray-light !default;
350
+
351
+
352
+ // Jumbotron
353
+ // -------------------------
354
+
355
+ $jumbotron-padding: 30px !default;
356
+ $jumbotron-color: inherit !default;
357
+ $jumbotron-bg: $gray-lighter !default;
358
+
359
+ $jumbotron-heading-color: inherit !default;
360
+
361
+
362
+ // Form states and alerts
363
+ // -------------------------
364
+
365
+ $state-warning-text: #c09853 !default;
366
+ $state-warning-bg: #fcf8e3 !default;
367
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%) !default;
368
+
369
+ $state-danger-text: #b94a48 !default;
370
+ $state-danger-bg: #f2dede !default;
371
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%) !default;
372
+
373
+ $state-success-text: #468847 !default;
374
+ $state-success-bg: #dff0d8 !default;
375
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
376
+
377
+ $state-info-text: #3a87ad !default;
378
+ $state-info-bg: #d9edf7 !default;
379
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
380
+
381
+
382
+ // Tooltips
383
+ // -------------------------
384
+ $tooltip-max-width: 200px !default;
385
+ $tooltip-color: #fff !default;
386
+ $tooltip-bg: #000 !default;
387
+
388
+ $tooltip-arrow-width: 5px !default;
389
+ $tooltip-arrow-color: $tooltip-bg !default;
390
+
391
+
392
+ // Popovers
393
+ // -------------------------
394
+ $popover-bg: #fff !default;
395
+ $popover-max-width: 276px !default;
396
+ $popover-border-color: rgba(0,0,0,.2) !default;
397
+ $popover-fallback-border-color: #ccc !default;
398
+
399
+ $popover-title-bg: darken($popover-bg, 3%) !default;
400
+
401
+ $popover-arrow-width: 10px !default;
402
+ $popover-arrow-color: #fff !default;
403
+
404
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
405
+ $popover-arrow-outer-color: rgba(0,0,0,.25) !default;
406
+ $popover-arrow-outer-fallback-color: #999 !default;
407
+
408
+
409
+ // Labels
410
+ // -------------------------
411
+
412
+ $label-default-bg: $gray-light !default;
413
+ $label-primary-bg: $brand-primary !default;
414
+ $label-success-bg: $brand-success !default;
415
+ $label-info-bg: $brand-info !default;
416
+ $label-warning-bg: $brand-warning !default;
417
+ $label-danger-bg: $brand-danger !default;
418
+
419
+ $label-color: #fff !default;
420
+ $label-link-hover-color: #fff !default;
421
+
422
+
423
+ // Modals
424
+ // -------------------------
425
+ $modal-inner-padding: 20px !default;
426
+
427
+ $modal-title-padding: 15px !default;
428
+ $modal-title-line-height: $line-height-base !default;
429
+
430
+ $modal-content-bg: #fff !default;
431
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
432
+ $modal-content-fallback-border-color: #999 !default;
433
+
434
+ $modal-backdrop-bg: #000 !default;
435
+ $modal-header-border-color: #e5e5e5 !default;
436
+ $modal-footer-border-color: $modal-header-border-color !default;
437
+
438
+
439
+ // Alerts
440
+ // -------------------------
441
+ $alert-padding: 15px !default;
442
+ $alert-border-radius: $border-radius-base !default;
443
+ $alert-link-font-weight: bold !default;
444
+
445
+ $alert-success-bg: $state-success-bg !default;
446
+ $alert-success-text: $state-success-text !default;
447
+ $alert-success-border: $state-success-border !default;
448
+
449
+ $alert-info-bg: $state-info-bg !default;
450
+ $alert-info-text: $state-info-text !default;
451
+ $alert-info-border: $state-info-border !default;
452
+
453
+ $alert-warning-bg: $state-warning-bg !default;
454
+ $alert-warning-text: $state-warning-text !default;
455
+ $alert-warning-border: $state-warning-border !default;
456
+
457
+ $alert-danger-bg: $state-danger-bg !default;
458
+ $alert-danger-text: $state-danger-text !default;
459
+ $alert-danger-border: $state-danger-border !default;
460
+
461
+
462
+ // Progress bars
463
+ // -------------------------
464
+ $progress-bg: #f5f5f5 !default;
465
+ $progress-bar-color: #fff !default;
466
+
467
+ $progress-bar-bg: $brand-primary !default;
468
+ $progress-bar-success-bg: $brand-success !default;
469
+ $progress-bar-warning-bg: $brand-warning !default;
470
+ $progress-bar-danger-bg: $brand-danger !default;
471
+ $progress-bar-info-bg: $brand-info !default;
472
+
473
+
474
+ // List group
475
+ // -------------------------
476
+ $list-group-bg: #fff !default;
477
+ $list-group-border: #ddd !default;
478
+ $list-group-border-radius: $border-radius-base !default;
479
+
480
+ $list-group-hover-bg: #f5f5f5 !default;
481
+ $list-group-active-color: #fff !default;
482
+ $list-group-active-bg: $component-active-bg !default;
483
+ $list-group-active-border: $list-group-active-bg !default;
484
+
485
+ $list-group-link-color: #555 !default;
486
+ $list-group-link-heading-color: #333 !default;
487
+
488
+
489
+ // Panels
490
+ // -------------------------
491
+ $panel-bg: #fff !default;
492
+ $panel-inner-border: #ddd !default;
493
+ $panel-border-radius: $border-radius-base !default;
494
+ $panel-footer-bg: #f5f5f5 !default;
495
+
496
+ $panel-default-text: $gray-dark !default;
497
+ $panel-default-border: #ddd !default;
498
+ $panel-default-heading-bg: #f5f5f5 !default;
499
+
500
+ $panel-primary-text: #fff !default;
501
+ $panel-primary-border: $brand-primary !default;
502
+ $panel-primary-heading-bg: $brand-primary !default;
503
+
504
+ $panel-success-text: $state-success-text !default;
505
+ $panel-success-border: $state-success-border !default;
506
+ $panel-success-heading-bg: $state-success-bg !default;
507
+
508
+ $panel-warning-text: $state-warning-text !default;
509
+ $panel-warning-border: $state-warning-border !default;
510
+ $panel-warning-heading-bg: $state-warning-bg !default;
511
+
512
+ $panel-danger-text: $state-danger-text !default;
513
+ $panel-danger-border: $state-danger-border !default;
514
+ $panel-danger-heading-bg: $state-danger-bg !default;
515
+
516
+ $panel-info-text: $state-info-text !default;
517
+ $panel-info-border: $state-info-border !default;
518
+ $panel-info-heading-bg: $state-info-bg !default;
519
+
520
+
521
+ // Thumbnails
522
+ // -------------------------
523
+ $thumbnail-padding: 4px !default;
524
+ $thumbnail-bg: $body-bg !default;
525
+ $thumbnail-border: #ddd !default;
526
+ $thumbnail-border-radius: $border-radius-base !default;
527
+
528
+ $thumbnail-caption-color: $text-color !default;
529
+ $thumbnail-caption-padding: 9px !default;
530
+
531
+
532
+ // Wells
533
+ // -------------------------
534
+ $well-bg: #f5f5f5 !default;
535
+
536
+
537
+ // Badges
538
+ // -------------------------
539
+ $badge-color: #fff !default;
540
+ $badge-link-hover-color: #fff !default;
541
+ $badge-bg: $gray-light !default;
542
+
543
+ $badge-active-color: $link-color !default;
544
+ $badge-active-bg: #fff !default;
545
+
546
+ $badge-font-weight: bold !default;
547
+ $badge-line-height: 1 !default;
548
+ $badge-border-radius: 10px !default;
549
+
550
+
551
+ // Breadcrumbs
552
+ // -------------------------
553
+ $breadcrumb-bg: #f5f5f5 !default;
554
+ $breadcrumb-color: #ccc !default;
555
+ $breadcrumb-active-color: $gray-light !default;
556
+
557
+
558
+ // Carousel
559
+ // ------------------------
560
+
561
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
562
+
563
+ $carousel-control-color: #fff !default;
564
+ $carousel-control-width: 15% !default;
565
+ $carousel-control-opacity: .5 !default;
566
+ $carousel-control-font-size: 20px !default;
567
+
568
+ $carousel-indicator-active-bg: #fff !default;
569
+ $carousel-indicator-border-color: #fff !default;
570
+
571
+ $carousel-caption-color: #fff !default;
572
+
573
+
574
+ // Close
575
+ // ------------------------
576
+ $close-color: #000 !default;
577
+ $close-font-weight: bold !default;
578
+ $close-text-shadow: 0 1px 0 #fff !default;
579
+
580
+
581
+ // Code
582
+ // ------------------------
583
+ $code-color: #c7254e !default;
584
+ $code-bg: #f9f2f4 !default;
585
+
586
+ $pre-bg: #f5f5f5 !default;
587
+ $pre-color: $gray-dark !default;
588
+ $pre-border-color: #ccc !default;
589
+ $pre-scrollable-max-height: 340px !default;
590
+
591
+ // Type
592
+ // ------------------------
593
+ $text-muted: $gray-light !default;
594
+ $abbr-border-color: $gray-light !default;
595
+ $headings-small-color: $gray-light !default;
596
+ $blockquote-small-color: $gray-light !default;
597
+ $blockquote-border-color: $gray-lighter !default;
598
+ $page-header-border-color: $gray-lighter !default;
599
+
600
+ // Miscellaneous
601
+ // -------------------------
602
+
603
+ // Hr border color
604
+ $hr-border: $gray-lighter !default;
605
+
606
+ // Horizontal forms & lists
607
+ $component-offset-horizontal: 180px !default;
608
+
609
+
610
+ // Container sizes
611
+ // --------------------------------------------------
612
+
613
+ // Small screen / tablet
614
+ $container-tablet: ((720px + $grid-gutter-width)) !default;
615
+
616
+ // Medium screen / desktop
617
+ $container-desktop: ((940px + $grid-gutter-width)) !default;
618
+
619
+ // Large screen / wide desktop
620
+ $container-lg-desktop: ((1140px + $grid-gutter-width)) !default;