mvpkit 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +30 -0
  3. data/Gemfile.lock +329 -0
  4. data/LICENSE.txt +20 -0
  5. data/MIT-LICENSE +20 -0
  6. data/README.md +134 -0
  7. data/Rakefile +52 -0
  8. data/VERSION +1 -0
  9. data/app/assets/javascripts/mvp/application.js +1 -0
  10. data/app/assets/stylesheets/mvp/application.scss +0 -0
  11. data/app/controllers/concerns/mvp/analytics_concern.rb +78 -0
  12. data/app/controllers/concerns/mvp/seo_concern.rb +25 -0
  13. data/app/controllers/concerns/mvp/session_concern.rb +44 -0
  14. data/app/controllers/mvp/analytics_controller.rb +12 -0
  15. data/app/controllers/mvp/seo_controller.rb +11 -0
  16. data/app/controllers/mvp/styleguide_controller.rb +23 -0
  17. data/app/helpers/minimum_viable_product/body_helper.rb +14 -0
  18. data/app/helpers/minimum_viable_product/bootstrap_helper.rb +38 -0
  19. data/app/helpers/minimum_viable_product/styleguide_helper.rb +4 -0
  20. data/app/models/concerns/mvp/slugification.rb +24 -0
  21. data/app/views/layouts/minimum_viable_product/_instrumentation.html.erb +100 -0
  22. data/app/views/layouts/minimum_viable_product/_meta.html.erb +37 -0
  23. data/app/views/layouts/minimum_viable_product/application.html.erb +19 -0
  24. data/app/views/minimum_viable_product/styleguide/_example.html.erb +6 -0
  25. data/app/views/minimum_viable_product/styleguide/bootstrap/_buttons.html.erb +191 -0
  26. data/app/views/minimum_viable_product/styleguide/bootstrap/_forms.html.erb +192 -0
  27. data/app/views/minimum_viable_product/styleguide/bootstrap/_header.html.erb +48 -0
  28. data/app/views/minimum_viable_product/styleguide/bootstrap/_panels.html.erb +16 -0
  29. data/app/views/minimum_viable_product/styleguide/bootstrap/_tables.html.erb +34 -0
  30. data/app/views/minimum_viable_product/styleguide/bootstrap/_typography.html.erb +51 -0
  31. data/app/views/minimum_viable_product/styleguide/bootstrap.html.erb +43 -0
  32. data/app/views/minimum_viable_product/styleguide/elements/_grouping.html.erb +1 -0
  33. data/app/views/minimum_viable_product/styleguide/elements/partials/_row_groups_of.html.erb +7 -0
  34. data/app/views/minimum_viable_product/styleguide/index.html.erb +17 -0
  35. data/app/views/minimum_viable_product/styleguide/layouts/basic.html.erb +4 -0
  36. data/app/views/minimum_viable_product/styleguide/layouts/carousel.html.erb +120 -0
  37. data/app/views/minimum_viable_product/styleguide/layouts/cover.html.erb +34 -0
  38. data/assets/js/application.js +31 -0
  39. data/assets/js/init/controllers.js +26 -0
  40. data/assets/js/init/forms.js +12 -0
  41. data/bin/mvp +78 -0
  42. data/bin/rails +12 -0
  43. data/config/initializers/assets.rb +2 -0
  44. data/config/initializers/canonical_host.rb +3 -0
  45. data/config/initializers/cloudinary.rb +7 -0
  46. data/config/initializers/geocoder.rb +9 -0
  47. data/config/initializers/iteration.rb +33 -0
  48. data/config/initializers/project.rb +1 -0
  49. data/config/initializers/rollbar.rb +59 -0
  50. data/config/initializers/routing.rb +7 -0
  51. data/config/initializers/spoof_ip.rb +33 -0
  52. data/config/initializers/ssl.rb +14 -0
  53. data/config/routes.rb +6 -0
  54. data/lib/mvp/engine.rb +22 -0
  55. data/lib/mvp/ext/nil.rb +5 -0
  56. data/lib/mvp/ext/string.rb +7 -0
  57. data/lib/mvpkit.rb +6 -0
  58. data/lib/tasks/sitemap.rake +42 -0
  59. data/mvpkit.gemspec +245 -0
  60. data/package.json +43 -0
  61. data/project/.gitignore +45 -0
  62. data/project/Gemfile +33 -0
  63. data/project/Gemfile.lock +437 -0
  64. data/project/Procfile +2 -0
  65. data/project/README.md +117 -0
  66. data/project/Rakefile +14 -0
  67. data/project/app/controllers/application_controller.rb +12 -0
  68. data/project/app/controllers/conversions_controller.rb +24 -0
  69. data/project/app/controllers/examples_controller.rb +2 -0
  70. data/project/app/controllers/home_controller.rb +7 -0
  71. data/project/app/decorators/.keep +0 -0
  72. data/project/app/helpers/application_helper.rb +24 -0
  73. data/project/app/mailers/.keep +0 -0
  74. data/project/app/models/conversion.rb +4 -0
  75. data/project/app/views/examples/index.html.erb +1 -0
  76. data/project/app/views/examples/mustache/template.mustache +1 -0
  77. data/project/app/views/examples/mustache.html.erb +18 -0
  78. data/project/app/views/home/conversion.html.erb +12 -0
  79. data/project/app/views/home/index.html.erb +28 -0
  80. data/project/app/views/layouts/_header.html.erb +16 -0
  81. data/project/app/views/layouts/_includes.html.erb +7 -0
  82. data/project/app/views/layouts/application.html.erb +17 -0
  83. data/project/app/views/layouts/modal.html.erb +14 -0
  84. data/project/assets/images/.keep +0 -0
  85. data/project/assets/images/favicon.ico +0 -0
  86. data/project/assets/javascripts/controllers/home.coffee +15 -0
  87. data/project/assets/javascripts/pack.js +9 -0
  88. data/project/assets/stylesheets/config/variables.scss +876 -0
  89. data/project/assets/stylesheets/layout/basic.scss +6 -0
  90. data/project/assets/stylesheets/layout/carousel.scss +127 -0
  91. data/project/assets/stylesheets/layout/cover.scss +129 -0
  92. data/project/assets/stylesheets/lib/spacing.scss +55 -0
  93. data/project/assets/stylesheets/skin/style.scss +16 -0
  94. data/project/assets/stylesheets/style.scss +8 -0
  95. data/project/bin/bundle +3 -0
  96. data/project/bin/rails +9 -0
  97. data/project/bin/rake +9 -0
  98. data/project/bin/setup +32 -0
  99. data/project/bin/spring +15 -0
  100. data/project/config/application.rb +32 -0
  101. data/project/config/boot.rb +3 -0
  102. data/project/config/database.yml +19 -0
  103. data/project/config/environment.rb +5 -0
  104. data/project/config/environments/development.rb +67 -0
  105. data/project/config/environments/production.rb +93 -0
  106. data/project/config/environments/test.rb +42 -0
  107. data/project/config/initializers/assets.rb +11 -0
  108. data/project/config/initializers/backtrace_silencers.rb +7 -0
  109. data/project/config/initializers/cookies_serializer.rb +3 -0
  110. data/project/config/initializers/filter_parameter_logging.rb +4 -0
  111. data/project/config/initializers/inflections.rb +16 -0
  112. data/project/config/initializers/mime_types.rb +4 -0
  113. data/project/config/initializers/mustache.rb +7 -0
  114. data/project/config/initializers/rails_admin.rb +43 -0
  115. data/project/config/initializers/session_store.rb +3 -0
  116. data/project/config/initializers/simple_form.rb +177 -0
  117. data/project/config/initializers/wrap_parameters.rb +14 -0
  118. data/project/config/locales/en.yml +23 -0
  119. data/project/config/locales/simple_form.en.yml +31 -0
  120. data/project/config/routes.rb +13 -0
  121. data/project/config/secrets.yml +8 -0
  122. data/project/config/sitemap.rb +28 -0
  123. data/project/config.ru +4 -0
  124. data/project/db/migrate/20160728235100_create_conversions.rb +9 -0
  125. data/project/db/schema.rb +25 -0
  126. data/project/db/seeds.rb +7 -0
  127. data/project/lib/assets/.keep +0 -0
  128. data/project/lib/tasks/heroku.rake +70 -0
  129. data/project/log/.keep +0 -0
  130. data/project/log/development.log +48216 -0
  131. data/project/log/production.log +0 -0
  132. data/project/package.json +44 -0
  133. data/project/public/404.html +67 -0
  134. data/project/public/422.html +67 -0
  135. data/project/public/500.html +66 -0
  136. data/project/public/assets/javascripts/448c34a56d699c29117adc64c43affeb.woff2 +0 -0
  137. data/project/public/assets/javascripts/89889688147bd7575d6327160d64e760.svg +288 -0
  138. data/project/public/assets/javascripts/e18bbf611f2a2e43afc071aa2f4e1512.ttf +0 -0
  139. data/project/public/assets/javascripts/f4769f9bdb7466be65088239c12046d1.eot +0 -0
  140. data/project/public/assets/javascripts/fa2772327f55d8198301fdb8bcfc8158.woff +0 -0
  141. data/project/public/assets/javascripts/pack.js +31367 -0
  142. data/project/public/assets/javascripts/pack.js.map +1 -0
  143. data/project/public/assets/pack.js +17220 -0
  144. data/project/public/assets/style.css +7477 -0
  145. data/project/vendor/assets/javascripts/.keep +0 -0
  146. data/project/vendor/assets/stylesheets/.keep +0 -0
  147. data/project/webpack.config.js +67 -0
  148. data/test/helper.rb +34 -0
  149. data/test/test_minimum_viable_product.rb +7 -0
  150. metadata +473 -0
@@ -0,0 +1,876 @@
1
+ $bootstrap-sass-asset-helper: false !default;
2
+
3
+ //
4
+ // Variables
5
+ // --------------------------------------------------
6
+
7
+
8
+ //== Colors
9
+ //
10
+ //## Gray and brand colors for use across Bootstrap.
11
+
12
+ $gray-base: #000 !default;
13
+ $gray-darker: lighten($gray-base, 13.5%) !default; // #222
14
+ $gray-dark: lighten($gray-base, 20%) !default; // #333
15
+ $gray: lighten($gray-base, 33.5%) !default; // #555
16
+ $gray-light: lighten($gray-base, 46.7%) !default; // #777
17
+ $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
18
+
19
+ $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
20
+ $brand-success: #5cb85c !default;
21
+ $brand-info: #5bc0de !default;
22
+ $brand-warning: #f0ad4e !default;
23
+ $brand-danger: #d9534f !default;
24
+
25
+
26
+ //== Scaffolding
27
+ //
28
+ //## Settings for some of the most global styles.
29
+
30
+ //** Background color for `<body>`.
31
+ $body-bg: #fff !default;
32
+ //** Global text color on `<body>`.
33
+ $text-color: $gray-dark !default;
34
+
35
+ //** Global textual link color.
36
+ $link-color: $brand-primary !default;
37
+ //** Link hover color set via `darken()` function.
38
+ $link-hover-color: darken($link-color, 15%) !default;
39
+ //** Link hover decoration.
40
+ $link-hover-decoration: underline !default;
41
+
42
+
43
+ //== Typography
44
+ //
45
+ //## Font, line-height, and color for body text, headings, and more.
46
+
47
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
48
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
49
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
50
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
51
+ $font-family-base: $font-family-sans-serif !default;
52
+
53
+ $font-size-base: 14px !default;
54
+ $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
55
+ $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
56
+
57
+ $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
58
+ $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
59
+ $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
60
+ $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
61
+ $font-size-h5: $font-size-base !default;
62
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
63
+
64
+ //** Unit-less `line-height` for use in components like buttons.
65
+ $line-height-base: 1.428571429 !default; // 20/14
66
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
67
+ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
68
+
69
+ //** By default, this inherits from the `<body>`.
70
+ $headings-font-family: inherit !default;
71
+ $headings-font-weight: 500 !default;
72
+ $headings-line-height: 1.1 !default;
73
+ $headings-color: inherit !default;
74
+
75
+
76
+ //== Iconography
77
+ //
78
+ //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
79
+
80
+ //** Load fonts from this directory.
81
+
82
+ // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
83
+ // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
84
+ // $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "fonts/bootstrap/") !default;
85
+ $icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/" !default;
86
+
87
+ //** File name for all font files.
88
+ $icon-font-name: "glyphicons-halflings-regular" !default;
89
+ //** Element ID within SVG icon file.
90
+ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
91
+
92
+
93
+ //== Components
94
+ //
95
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
96
+
97
+ $padding-base-vertical: 6px !default;
98
+ $padding-base-horizontal: 12px !default;
99
+
100
+ $padding-large-vertical: 10px !default;
101
+ $padding-large-horizontal: 16px !default;
102
+
103
+ $padding-small-vertical: 5px !default;
104
+ $padding-small-horizontal: 10px !default;
105
+
106
+ $padding-xs-vertical: 1px !default;
107
+ $padding-xs-horizontal: 5px !default;
108
+
109
+ $line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
110
+ $line-height-small: 1.5 !default;
111
+
112
+ $border-radius-base: 4px !default;
113
+ $border-radius-large: 6px !default;
114
+ $border-radius-small: 3px !default;
115
+
116
+ //** Global color for active items (e.g., navs or dropdowns).
117
+ $component-active-color: #fff !default;
118
+ //** Global background color for active items (e.g., navs or dropdowns).
119
+ $component-active-bg: $brand-primary !default;
120
+
121
+ //** Width of the `border` for generating carets that indicate dropdowns.
122
+ $caret-width-base: 4px !default;
123
+ //** Carets increase slightly in size for larger components.
124
+ $caret-width-large: 5px !default;
125
+
126
+
127
+ //== Tables
128
+ //
129
+ //## Customizes the `.table` component with basic values, each used across all table variations.
130
+
131
+ //** Padding for `<th>`s and `<td>`s.
132
+ $table-cell-padding: 8px !default;
133
+ //** Padding for cells in `.table-condensed`.
134
+ $table-condensed-cell-padding: 5px !default;
135
+
136
+ //** Default background color used for all tables.
137
+ $table-bg: transparent !default;
138
+ //** Background color used for `.table-striped`.
139
+ $table-bg-accent: #f9f9f9 !default;
140
+ //** Background color used for `.table-hover`.
141
+ $table-bg-hover: #f5f5f5 !default;
142
+ $table-bg-active: $table-bg-hover !default;
143
+
144
+ //** Border color for table and cell borders.
145
+ $table-border-color: #ddd !default;
146
+
147
+
148
+ //== Buttons
149
+ //
150
+ //## For each of Bootstrap's buttons, define text, background and border color.
151
+
152
+ $btn-font-weight: normal !default;
153
+
154
+ $btn-default-color: #333 !default;
155
+ $btn-default-bg: #fff !default;
156
+ $btn-default-border: #ccc !default;
157
+
158
+ $btn-primary-color: #fff !default;
159
+ $btn-primary-bg: $brand-primary !default;
160
+ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
161
+
162
+ $btn-success-color: #fff !default;
163
+ $btn-success-bg: $brand-success !default;
164
+ $btn-success-border: darken($btn-success-bg, 5%) !default;
165
+
166
+ $btn-info-color: #fff !default;
167
+ $btn-info-bg: $brand-info !default;
168
+ $btn-info-border: darken($btn-info-bg, 5%) !default;
169
+
170
+ $btn-warning-color: #fff !default;
171
+ $btn-warning-bg: $brand-warning !default;
172
+ $btn-warning-border: darken($btn-warning-bg, 5%) !default;
173
+
174
+ $btn-danger-color: #fff !default;
175
+ $btn-danger-bg: $brand-danger !default;
176
+ $btn-danger-border: darken($btn-danger-bg, 5%) !default;
177
+
178
+ $btn-link-disabled-color: $gray-light !default;
179
+
180
+ // Allows for customizing button radius independently from global border radius
181
+ $btn-border-radius-base: $border-radius-base !default;
182
+ $btn-border-radius-large: $border-radius-large !default;
183
+ $btn-border-radius-small: $border-radius-small !default;
184
+
185
+
186
+ //== Forms
187
+ //
188
+ //##
189
+
190
+ //** `<input>` background color
191
+ $input-bg: #fff !default;
192
+ //** `<input disabled>` background color
193
+ $input-bg-disabled: $gray-lighter !default;
194
+
195
+ //** Text color for `<input>`s
196
+ $input-color: $gray !default;
197
+ //** `<input>` border color
198
+ $input-border: #ccc !default;
199
+
200
+ // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
201
+ //** Default `.form-control` border radius
202
+ // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
203
+ $input-border-radius: $border-radius-base !default;
204
+ //** Large `.form-control` border radius
205
+ $input-border-radius-large: $border-radius-large !default;
206
+ //** Small `.form-control` border radius
207
+ $input-border-radius-small: $border-radius-small !default;
208
+
209
+ //** Border color for inputs on focus
210
+ $input-border-focus: #66afe9 !default;
211
+
212
+ //** Placeholder text color
213
+ $input-color-placeholder: #999 !default;
214
+
215
+ //** Default `.form-control` height
216
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
217
+ //** Large `.form-control` height
218
+ $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
219
+ //** Small `.form-control` height
220
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
221
+
222
+ //** `.form-group` margin
223
+ $form-group-margin-bottom: 15px !default;
224
+
225
+ $legend-color: $gray-dark !default;
226
+ $legend-border-color: #e5e5e5 !default;
227
+
228
+ //** Background color for textual input addons
229
+ $input-group-addon-bg: $gray-lighter !default;
230
+ //** Border color for textual input addons
231
+ $input-group-addon-border-color: $input-border !default;
232
+
233
+ //** Disabled cursor for form controls and buttons.
234
+ $cursor-disabled: not-allowed !default;
235
+
236
+
237
+ //== Dropdowns
238
+ //
239
+ //## Dropdown menu container and contents.
240
+
241
+ //** Background for the dropdown menu.
242
+ $dropdown-bg: #fff !default;
243
+ //** Dropdown menu `border-color`.
244
+ $dropdown-border: rgba(0,0,0,.15) !default;
245
+ //** Dropdown menu `border-color` **for IE8**.
246
+ $dropdown-fallback-border: #ccc !default;
247
+ //** Divider color for between dropdown items.
248
+ $dropdown-divider-bg: #e5e5e5 !default;
249
+
250
+ //** Dropdown link text color.
251
+ $dropdown-link-color: $gray-dark !default;
252
+ //** Hover color for dropdown links.
253
+ $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
254
+ //** Hover background for dropdown links.
255
+ $dropdown-link-hover-bg: #f5f5f5 !default;
256
+
257
+ //** Active dropdown menu item text color.
258
+ $dropdown-link-active-color: $component-active-color !default;
259
+ //** Active dropdown menu item background color.
260
+ $dropdown-link-active-bg: $component-active-bg !default;
261
+
262
+ //** Disabled dropdown menu item background color.
263
+ $dropdown-link-disabled-color: $gray-light !default;
264
+
265
+ //** Text color for headers within dropdown menus.
266
+ $dropdown-header-color: $gray-light !default;
267
+
268
+ //** Deprecated `$dropdown-caret-color` as of v3.1.0
269
+ $dropdown-caret-color: #000 !default;
270
+
271
+
272
+ //-- Z-index master list
273
+ //
274
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
275
+ // of components dependent on the z-axis and are designed to all work together.
276
+ //
277
+ // Note: These variables are not generated into the Customizer.
278
+
279
+ $zindex-navbar: 1000 !default;
280
+ $zindex-dropdown: 1000 !default;
281
+ $zindex-popover: 1060 !default;
282
+ $zindex-tooltip: 1070 !default;
283
+ $zindex-navbar-fixed: 1030 !default;
284
+ $zindex-modal-background: 1040 !default;
285
+ $zindex-modal: 1050 !default;
286
+
287
+
288
+ //== Media queries breakpoints
289
+ //
290
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
291
+
292
+ // Extra small screen / phone
293
+ //** Deprecated `$screen-xs` as of v3.0.1
294
+ $screen-xs: 480px !default;
295
+ //** Deprecated `$screen-xs-min` as of v3.2.0
296
+ $screen-xs-min: $screen-xs !default;
297
+ //** Deprecated `$screen-phone` as of v3.0.1
298
+ $screen-phone: $screen-xs-min !default;
299
+
300
+ // Small screen / tablet
301
+ //** Deprecated `$screen-sm` as of v3.0.1
302
+ $screen-sm: 768px !default;
303
+ $screen-sm-min: $screen-sm !default;
304
+ //** Deprecated `$screen-tablet` as of v3.0.1
305
+ $screen-tablet: $screen-sm-min !default;
306
+
307
+ // Medium screen / desktop
308
+ //** Deprecated `$screen-md` as of v3.0.1
309
+ $screen-md: 992px !default;
310
+ $screen-md-min: $screen-md !default;
311
+ //** Deprecated `$screen-desktop` as of v3.0.1
312
+ $screen-desktop: $screen-md-min !default;
313
+
314
+ // Large screen / wide desktop
315
+ //** Deprecated `$screen-lg` as of v3.0.1
316
+ $screen-lg: 1200px !default;
317
+ $screen-lg-min: $screen-lg !default;
318
+ //** Deprecated `$screen-lg-desktop` as of v3.0.1
319
+ $screen-lg-desktop: $screen-lg-min !default;
320
+
321
+ // So media queries don't overlap when required, provide a maximum
322
+ $screen-xs-max: ($screen-sm-min - 1) !default;
323
+ $screen-sm-max: ($screen-md-min - 1) !default;
324
+ $screen-md-max: ($screen-lg-min - 1) !default;
325
+
326
+
327
+ //== Grid system
328
+ //
329
+ //## Define your custom responsive grid.
330
+
331
+ //** Number of columns in the grid.
332
+ $grid-columns: 12 !default;
333
+ //** Padding between columns. Gets divided in half for the left and right.
334
+ $grid-gutter-width: 30px !default;
335
+ // Navbar collapse
336
+ //** Point at which the navbar becomes uncollapsed.
337
+ $grid-float-breakpoint: $screen-sm-min !default;
338
+ //** Point at which the navbar begins collapsing.
339
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
340
+
341
+
342
+ //== Container sizes
343
+ //
344
+ //## Define the maximum width of `.container` for different screen sizes.
345
+
346
+ // Small screen / tablet
347
+ $container-tablet: (720px + $grid-gutter-width) !default;
348
+ //** For `$screen-sm-min` and up.
349
+ $container-sm: $container-tablet !default;
350
+
351
+ // Medium screen / desktop
352
+ $container-desktop: (940px + $grid-gutter-width) !default;
353
+ //** For `$screen-md-min` and up.
354
+ $container-md: $container-desktop !default;
355
+
356
+ // Large screen / wide desktop
357
+ $container-large-desktop: (1140px + $grid-gutter-width) !default;
358
+ //** For `$screen-lg-min` and up.
359
+ $container-lg: $container-large-desktop !default;
360
+
361
+
362
+ //== Navbar
363
+ //
364
+ //##
365
+
366
+ // Basics of a navbar
367
+ $navbar-height: 50px !default;
368
+ $navbar-margin-bottom: $line-height-computed !default;
369
+ $navbar-border-radius: $border-radius-base !default;
370
+ $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
371
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
372
+ $navbar-collapse-max-height: 340px !default;
373
+
374
+ $navbar-default-color: #777 !default;
375
+ $navbar-default-bg: #f8f8f8 !default;
376
+ $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
377
+
378
+ // Navbar links
379
+ $navbar-default-link-color: #777 !default;
380
+ $navbar-default-link-hover-color: #333 !default;
381
+ $navbar-default-link-hover-bg: transparent !default;
382
+ $navbar-default-link-active-color: #555 !default;
383
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
384
+ $navbar-default-link-disabled-color: #ccc !default;
385
+ $navbar-default-link-disabled-bg: transparent !default;
386
+
387
+ // Navbar brand label
388
+ $navbar-default-brand-color: $navbar-default-link-color !default;
389
+ $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
390
+ $navbar-default-brand-hover-bg: transparent !default;
391
+
392
+ // Navbar toggle
393
+ $navbar-default-toggle-hover-bg: #ddd !default;
394
+ $navbar-default-toggle-icon-bar-bg: #888 !default;
395
+ $navbar-default-toggle-border-color: #ddd !default;
396
+
397
+
398
+ //=== Inverted navbar
399
+ // Reset inverted navbar basics
400
+ $navbar-inverse-color: lighten($gray-light, 15%) !default;
401
+ $navbar-inverse-bg: #222 !default;
402
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
403
+
404
+ // Inverted navbar links
405
+ $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
406
+ $navbar-inverse-link-hover-color: #fff !default;
407
+ $navbar-inverse-link-hover-bg: transparent !default;
408
+ $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
409
+ $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
410
+ $navbar-inverse-link-disabled-color: #444 !default;
411
+ $navbar-inverse-link-disabled-bg: transparent !default;
412
+
413
+ // Inverted navbar brand label
414
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
415
+ $navbar-inverse-brand-hover-color: #fff !default;
416
+ $navbar-inverse-brand-hover-bg: transparent !default;
417
+
418
+ // Inverted navbar toggle
419
+ $navbar-inverse-toggle-hover-bg: #333 !default;
420
+ $navbar-inverse-toggle-icon-bar-bg: #fff !default;
421
+ $navbar-inverse-toggle-border-color: #333 !default;
422
+
423
+
424
+ //== Navs
425
+ //
426
+ //##
427
+
428
+ //=== Shared nav styles
429
+ $nav-link-padding: 10px 15px !default;
430
+ $nav-link-hover-bg: $gray-lighter !default;
431
+
432
+ $nav-disabled-link-color: $gray-light !default;
433
+ $nav-disabled-link-hover-color: $gray-light !default;
434
+
435
+ //== Tabs
436
+ $nav-tabs-border-color: #ddd !default;
437
+
438
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
439
+
440
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
441
+ $nav-tabs-active-link-hover-color: $gray !default;
442
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
443
+
444
+ $nav-tabs-justified-link-border-color: #ddd !default;
445
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
446
+
447
+ //== Pills
448
+ $nav-pills-border-radius: $border-radius-base !default;
449
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
450
+ $nav-pills-active-link-hover-color: $component-active-color !default;
451
+
452
+
453
+ //== Pagination
454
+ //
455
+ //##
456
+
457
+ $pagination-color: $link-color !default;
458
+ $pagination-bg: #fff !default;
459
+ $pagination-border: #ddd !default;
460
+
461
+ $pagination-hover-color: $link-hover-color !default;
462
+ $pagination-hover-bg: $gray-lighter !default;
463
+ $pagination-hover-border: #ddd !default;
464
+
465
+ $pagination-active-color: #fff !default;
466
+ $pagination-active-bg: $brand-primary !default;
467
+ $pagination-active-border: $brand-primary !default;
468
+
469
+ $pagination-disabled-color: $gray-light !default;
470
+ $pagination-disabled-bg: #fff !default;
471
+ $pagination-disabled-border: #ddd !default;
472
+
473
+
474
+ //== Pager
475
+ //
476
+ //##
477
+
478
+ $pager-bg: $pagination-bg !default;
479
+ $pager-border: $pagination-border !default;
480
+ $pager-border-radius: 15px !default;
481
+
482
+ $pager-hover-bg: $pagination-hover-bg !default;
483
+
484
+ $pager-active-bg: $pagination-active-bg !default;
485
+ $pager-active-color: $pagination-active-color !default;
486
+
487
+ $pager-disabled-color: $pagination-disabled-color !default;
488
+
489
+
490
+ //== Jumbotron
491
+ //
492
+ //##
493
+
494
+ $jumbotron-padding: 30px !default;
495
+ $jumbotron-color: inherit !default;
496
+ $jumbotron-bg: $gray-lighter !default;
497
+ $jumbotron-heading-color: inherit !default;
498
+ $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
499
+ $jumbotron-heading-font-size: ceil(($font-size-base * 4.5)) !default;
500
+
501
+
502
+ //== Form states and alerts
503
+ //
504
+ //## Define colors for form feedback states and, by default, alerts.
505
+
506
+ $state-success-text: #3c763d !default;
507
+ $state-success-bg: #dff0d8 !default;
508
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
509
+
510
+ $state-info-text: #31708f !default;
511
+ $state-info-bg: #d9edf7 !default;
512
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
513
+
514
+ $state-warning-text: #8a6d3b !default;
515
+ $state-warning-bg: #fcf8e3 !default;
516
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
517
+
518
+ $state-danger-text: #a94442 !default;
519
+ $state-danger-bg: #f2dede !default;
520
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
521
+
522
+
523
+ //== Tooltips
524
+ //
525
+ //##
526
+
527
+ //** Tooltip max width
528
+ $tooltip-max-width: 200px !default;
529
+ //** Tooltip text color
530
+ $tooltip-color: #fff !default;
531
+ //** Tooltip background color
532
+ $tooltip-bg: #000 !default;
533
+ $tooltip-opacity: .9 !default;
534
+
535
+ //** Tooltip arrow width
536
+ $tooltip-arrow-width: 5px !default;
537
+ //** Tooltip arrow color
538
+ $tooltip-arrow-color: $tooltip-bg !default;
539
+
540
+
541
+ //== Popovers
542
+ //
543
+ //##
544
+
545
+ //** Popover body background color
546
+ $popover-bg: #fff !default;
547
+ //** Popover maximum width
548
+ $popover-max-width: 276px !default;
549
+ //** Popover border color
550
+ $popover-border-color: rgba(0,0,0,.2) !default;
551
+ //** Popover fallback border color
552
+ $popover-fallback-border-color: #ccc !default;
553
+
554
+ //** Popover title background color
555
+ $popover-title-bg: darken($popover-bg, 3%) !default;
556
+
557
+ //** Popover arrow width
558
+ $popover-arrow-width: 10px !default;
559
+ //** Popover arrow color
560
+ $popover-arrow-color: $popover-bg !default;
561
+
562
+ //** Popover outer arrow width
563
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
564
+ //** Popover outer arrow color
565
+ $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
566
+ //** Popover outer arrow fallback color
567
+ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
568
+
569
+
570
+ //== Labels
571
+ //
572
+ //##
573
+
574
+ //** Default label background color
575
+ $label-default-bg: $gray-light !default;
576
+ //** Primary label background color
577
+ $label-primary-bg: $brand-primary !default;
578
+ //** Success label background color
579
+ $label-success-bg: $brand-success !default;
580
+ //** Info label background color
581
+ $label-info-bg: $brand-info !default;
582
+ //** Warning label background color
583
+ $label-warning-bg: $brand-warning !default;
584
+ //** Danger label background color
585
+ $label-danger-bg: $brand-danger !default;
586
+
587
+ //** Default label text color
588
+ $label-color: #fff !default;
589
+ //** Default text color of a linked label
590
+ $label-link-hover-color: #fff !default;
591
+
592
+
593
+ //== Modals
594
+ //
595
+ //##
596
+
597
+ //** Padding applied to the modal body
598
+ $modal-inner-padding: 15px !default;
599
+
600
+ //** Padding applied to the modal title
601
+ $modal-title-padding: 15px !default;
602
+ //** Modal title line-height
603
+ $modal-title-line-height: $line-height-base !default;
604
+
605
+ //** Background color of modal content area
606
+ $modal-content-bg: #fff !default;
607
+ //** Modal content border color
608
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
609
+ //** Modal content border color **for IE8**
610
+ $modal-content-fallback-border-color: #999 !default;
611
+
612
+ //** Modal backdrop background color
613
+ $modal-backdrop-bg: #000 !default;
614
+ //** Modal backdrop opacity
615
+ $modal-backdrop-opacity: .5 !default;
616
+ //** Modal header border color
617
+ $modal-header-border-color: #e5e5e5 !default;
618
+ //** Modal footer border color
619
+ $modal-footer-border-color: $modal-header-border-color !default;
620
+
621
+ $modal-lg: 900px !default;
622
+ $modal-md: 600px !default;
623
+ $modal-sm: 300px !default;
624
+
625
+
626
+ //== Alerts
627
+ //
628
+ //## Define alert colors, border radius, and padding.
629
+
630
+ $alert-padding: 15px !default;
631
+ $alert-border-radius: $border-radius-base !default;
632
+ $alert-link-font-weight: bold !default;
633
+
634
+ $alert-success-bg: $state-success-bg !default;
635
+ $alert-success-text: $state-success-text !default;
636
+ $alert-success-border: $state-success-border !default;
637
+
638
+ $alert-info-bg: $state-info-bg !default;
639
+ $alert-info-text: $state-info-text !default;
640
+ $alert-info-border: $state-info-border !default;
641
+
642
+ $alert-warning-bg: $state-warning-bg !default;
643
+ $alert-warning-text: $state-warning-text !default;
644
+ $alert-warning-border: $state-warning-border !default;
645
+
646
+ $alert-danger-bg: $state-danger-bg !default;
647
+ $alert-danger-text: $state-danger-text !default;
648
+ $alert-danger-border: $state-danger-border !default;
649
+
650
+
651
+ //== Progress bars
652
+ //
653
+ //##
654
+
655
+ //** Background color of the whole progress component
656
+ $progress-bg: #f5f5f5 !default;
657
+ //** Progress bar text color
658
+ $progress-bar-color: #fff !default;
659
+ //** Variable for setting rounded corners on progress bar.
660
+ $progress-border-radius: $border-radius-base !default;
661
+
662
+ //** Default progress bar color
663
+ $progress-bar-bg: $brand-primary !default;
664
+ //** Success progress bar color
665
+ $progress-bar-success-bg: $brand-success !default;
666
+ //** Warning progress bar color
667
+ $progress-bar-warning-bg: $brand-warning !default;
668
+ //** Danger progress bar color
669
+ $progress-bar-danger-bg: $brand-danger !default;
670
+ //** Info progress bar color
671
+ $progress-bar-info-bg: $brand-info !default;
672
+
673
+
674
+ //== List group
675
+ //
676
+ //##
677
+
678
+ //** Background color on `.list-group-item`
679
+ $list-group-bg: #fff !default;
680
+ //** `.list-group-item` border color
681
+ $list-group-border: #ddd !default;
682
+ //** List group border radius
683
+ $list-group-border-radius: $border-radius-base !default;
684
+
685
+ //** Background color of single list items on hover
686
+ $list-group-hover-bg: #f5f5f5 !default;
687
+ //** Text color of active list items
688
+ $list-group-active-color: $component-active-color !default;
689
+ //** Background color of active list items
690
+ $list-group-active-bg: $component-active-bg !default;
691
+ //** Border color of active list elements
692
+ $list-group-active-border: $list-group-active-bg !default;
693
+ //** Text color for content within active list items
694
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
695
+
696
+ //** Text color of disabled list items
697
+ $list-group-disabled-color: $gray-light !default;
698
+ //** Background color of disabled list items
699
+ $list-group-disabled-bg: $gray-lighter !default;
700
+ //** Text color for content within disabled list items
701
+ $list-group-disabled-text-color: $list-group-disabled-color !default;
702
+
703
+ $list-group-link-color: #555 !default;
704
+ $list-group-link-hover-color: $list-group-link-color !default;
705
+ $list-group-link-heading-color: #333 !default;
706
+
707
+
708
+ //== Panels
709
+ //
710
+ //##
711
+
712
+ $panel-bg: #fff !default;
713
+ $panel-body-padding: 15px !default;
714
+ $panel-heading-padding: 10px 15px !default;
715
+ $panel-footer-padding: $panel-heading-padding !default;
716
+ $panel-border-radius: $border-radius-base !default;
717
+
718
+ //** Border color for elements within panels
719
+ $panel-inner-border: #ddd !default;
720
+ $panel-footer-bg: #f5f5f5 !default;
721
+
722
+ $panel-default-text: $gray-dark !default;
723
+ $panel-default-border: #ddd !default;
724
+ $panel-default-heading-bg: #f5f5f5 !default;
725
+
726
+ $panel-primary-text: #fff !default;
727
+ $panel-primary-border: $brand-primary !default;
728
+ $panel-primary-heading-bg: $brand-primary !default;
729
+
730
+ $panel-success-text: $state-success-text !default;
731
+ $panel-success-border: $state-success-border !default;
732
+ $panel-success-heading-bg: $state-success-bg !default;
733
+
734
+ $panel-info-text: $state-info-text !default;
735
+ $panel-info-border: $state-info-border !default;
736
+ $panel-info-heading-bg: $state-info-bg !default;
737
+
738
+ $panel-warning-text: $state-warning-text !default;
739
+ $panel-warning-border: $state-warning-border !default;
740
+ $panel-warning-heading-bg: $state-warning-bg !default;
741
+
742
+ $panel-danger-text: $state-danger-text !default;
743
+ $panel-danger-border: $state-danger-border !default;
744
+ $panel-danger-heading-bg: $state-danger-bg !default;
745
+
746
+
747
+ //== Thumbnails
748
+ //
749
+ //##
750
+
751
+ //** Padding around the thumbnail image
752
+ $thumbnail-padding: 4px !default;
753
+ //** Thumbnail background color
754
+ $thumbnail-bg: $body-bg !default;
755
+ //** Thumbnail border color
756
+ $thumbnail-border: #ddd !default;
757
+ //** Thumbnail border radius
758
+ $thumbnail-border-radius: $border-radius-base !default;
759
+
760
+ //** Custom text color for thumbnail captions
761
+ $thumbnail-caption-color: $text-color !default;
762
+ //** Padding around the thumbnail caption
763
+ $thumbnail-caption-padding: 9px !default;
764
+
765
+
766
+ //== Wells
767
+ //
768
+ //##
769
+
770
+ $well-bg: #f5f5f5 !default;
771
+ $well-border: darken($well-bg, 7%) !default;
772
+
773
+
774
+ //== Badges
775
+ //
776
+ //##
777
+
778
+ $badge-color: #fff !default;
779
+ //** Linked badge text color on hover
780
+ $badge-link-hover-color: #fff !default;
781
+ $badge-bg: $gray-light !default;
782
+
783
+ //** Badge text color in active nav link
784
+ $badge-active-color: $link-color !default;
785
+ //** Badge background color in active nav link
786
+ $badge-active-bg: #fff !default;
787
+
788
+ $badge-font-weight: bold !default;
789
+ $badge-line-height: 1 !default;
790
+ $badge-border-radius: 10px !default;
791
+
792
+
793
+ //== Breadcrumbs
794
+ //
795
+ //##
796
+
797
+ $breadcrumb-padding-vertical: 8px !default;
798
+ $breadcrumb-padding-horizontal: 15px !default;
799
+ //** Breadcrumb background color
800
+ $breadcrumb-bg: #f5f5f5 !default;
801
+ //** Breadcrumb text color
802
+ $breadcrumb-color: #ccc !default;
803
+ //** Text color of current page in the breadcrumb
804
+ $breadcrumb-active-color: $gray-light !default;
805
+ //** Textual separator for between breadcrumb elements
806
+ $breadcrumb-separator: "/" !default;
807
+
808
+
809
+ //== Carousel
810
+ //
811
+ //##
812
+
813
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
814
+
815
+ $carousel-control-color: #fff !default;
816
+ $carousel-control-width: 15% !default;
817
+ $carousel-control-opacity: .5 !default;
818
+ $carousel-control-font-size: 20px !default;
819
+
820
+ $carousel-indicator-active-bg: #fff !default;
821
+ $carousel-indicator-border-color: #fff !default;
822
+
823
+ $carousel-caption-color: #fff !default;
824
+
825
+
826
+ //== Close
827
+ //
828
+ //##
829
+
830
+ $close-font-weight: bold !default;
831
+ $close-color: #000 !default;
832
+ $close-text-shadow: 0 1px 0 #fff !default;
833
+
834
+
835
+ //== Code
836
+ //
837
+ //##
838
+
839
+ $code-color: #c7254e !default;
840
+ $code-bg: #f9f2f4 !default;
841
+
842
+ $kbd-color: #fff !default;
843
+ $kbd-bg: #333 !default;
844
+
845
+ $pre-bg: #f5f5f5 !default;
846
+ $pre-color: $gray-dark !default;
847
+ $pre-border-color: #ccc !default;
848
+ $pre-scrollable-max-height: 340px !default;
849
+
850
+
851
+ //== Type
852
+ //
853
+ //##
854
+
855
+ //** Horizontal offset for forms and lists.
856
+ $component-offset-horizontal: 180px !default;
857
+ //** Text muted color
858
+ $text-muted: $gray-light !default;
859
+ //** Abbreviations and acronyms border color
860
+ $abbr-border-color: $gray-light !default;
861
+ //** Headings small color
862
+ $headings-small-color: $gray-light !default;
863
+ //** Blockquote small color
864
+ $blockquote-small-color: $gray-light !default;
865
+ //** Blockquote font size
866
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
867
+ //** Blockquote border color
868
+ $blockquote-border-color: $gray-lighter !default;
869
+ //** Page header border color
870
+ $page-header-border-color: $gray-lighter !default;
871
+ //** Width of horizontal description list titles
872
+ $dl-horizontal-offset: $component-offset-horizontal !default;
873
+ //** Point at which .dl-horizontal becomes horizontal
874
+ $dl-horizontal-breakpoint: $grid-float-breakpoint !default;
875
+ //** Horizontal line color.
876
+ $hr-border: $gray-lighter !default;