bootstrap-sass 3.2.0.4 → 3.3.0.0

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.

Potentially problematic release.


This version of bootstrap-sass might be problematic. Click here for more details.

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