bootstrap-more 0.0.1

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.
Files changed (107) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +46 -0
  5. data/Rakefile +1 -0
  6. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  7. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  8. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  10. data/app/assets/javascripts/bootstrap/affix.js +126 -0
  11. data/app/assets/javascripts/bootstrap/alert.js +98 -0
  12. data/app/assets/javascripts/bootstrap/button.js +109 -0
  13. data/app/assets/javascripts/bootstrap/carousel.js +217 -0
  14. data/app/assets/javascripts/bootstrap/collapse.js +179 -0
  15. data/app/assets/javascripts/bootstrap/dropdown.js +154 -0
  16. data/app/assets/javascripts/bootstrap/modal.js +246 -0
  17. data/app/assets/javascripts/bootstrap/popover.js +117 -0
  18. data/app/assets/javascripts/bootstrap/scrollspy.js +158 -0
  19. data/app/assets/javascripts/bootstrap/tab.js +135 -0
  20. data/app/assets/javascripts/bootstrap/tooltip.js +386 -0
  21. data/app/assets/javascripts/bootstrap/transition.js +56 -0
  22. data/app/assets/javascripts/bootstrap.js +12 -0
  23. data/app/assets/stylesheets/_bootstrap-more.scss +1 -0
  24. data/app/assets/stylesheets/bootstrap/_alerts.scss +67 -0
  25. data/app/assets/stylesheets/bootstrap/_badges.scss +51 -0
  26. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +23 -0
  27. data/app/assets/stylesheets/bootstrap/_button-groups.scss +260 -0
  28. data/app/assets/stylesheets/bootstrap/_buttons.scss +165 -0
  29. data/app/assets/stylesheets/bootstrap/_carousel.scss +231 -0
  30. data/app/assets/stylesheets/bootstrap/_close.scss +35 -0
  31. data/app/assets/stylesheets/bootstrap/_code.scss +53 -0
  32. data/app/assets/stylesheets/bootstrap/_component-animations.scss +29 -0
  33. data/app/assets/stylesheets/bootstrap/_config.scss +19 -0
  34. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +203 -0
  35. data/app/assets/stylesheets/bootstrap/_forms.scss +371 -0
  36. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +237 -0
  37. data/app/assets/stylesheets/bootstrap/_grid.scss +93 -0
  38. data/app/assets/stylesheets/bootstrap/_input-groups.scss +146 -0
  39. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +40 -0
  40. data/app/assets/stylesheets/bootstrap/_labels.scss +58 -0
  41. data/app/assets/stylesheets/bootstrap/_list-group.scss +95 -0
  42. data/app/assets/stylesheets/bootstrap/_media.scss +56 -0
  43. data/app/assets/stylesheets/bootstrap/_mixins.scss +882 -0
  44. data/app/assets/stylesheets/bootstrap/_modals.scss +132 -0
  45. data/app/assets/stylesheets/bootstrap/_navbar.scss +628 -0
  46. data/app/assets/stylesheets/bootstrap/_navs.scss +262 -0
  47. data/app/assets/stylesheets/bootstrap/_normalize.scss +406 -0
  48. data/app/assets/stylesheets/bootstrap/_pager.scss +55 -0
  49. data/app/assets/stylesheets/bootstrap/_pagination.scss +85 -0
  50. data/app/assets/stylesheets/bootstrap/_panels.scss +172 -0
  51. data/app/assets/stylesheets/bootstrap/_popovers.scss +133 -0
  52. data/app/assets/stylesheets/bootstrap/_print.scss +105 -0
  53. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +92 -0
  54. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +198 -0
  55. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +119 -0
  56. data/app/assets/stylesheets/bootstrap/_tables.scss +244 -0
  57. data/app/assets/stylesheets/bootstrap/_theme.scss +247 -0
  58. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +32 -0
  59. data/app/assets/stylesheets/bootstrap/_tooltip.scss +95 -0
  60. data/app/assets/stylesheets/bootstrap/_type.scss +279 -0
  61. data/app/assets/stylesheets/bootstrap/_utilities.scss +56 -0
  62. data/app/assets/stylesheets/bootstrap/_variables.scss +665 -0
  63. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  64. data/app/assets/stylesheets/bootstrap/bootstrap.scss +50 -0
  65. data/bootstrap-more.gemspec +23 -0
  66. data/docs/.gitignore +17 -0
  67. data/docs/.ruby-gemset +1 -0
  68. data/docs/.ruby-version +1 -0
  69. data/docs/Gemfile +9 -0
  70. data/docs/README.md +8 -0
  71. data/docs/Rakefile +1 -0
  72. data/docs/config.rb +98 -0
  73. data/docs/index.html.erb +9 -0
  74. data/docs/source/about.html.erb +92 -0
  75. data/docs/source/assets/javascripts/application.js +103 -0
  76. data/docs/source/assets/javascripts/bootstrap.js +12 -0
  77. data/docs/source/assets/javascripts/vendor/.gitkeep +0 -0
  78. data/docs/source/assets/javascripts/vendor/holder.js +404 -0
  79. data/docs/source/assets/javascripts/vendor/ie8-responsive-file-warning.js +12 -0
  80. data/docs/source/assets/stylesheets/_settings.scss +656 -0
  81. data/docs/source/assets/stylesheets/bootstrap.scss +2 -0
  82. data/docs/source/assets/stylesheets/pygments-manni.css +66 -0
  83. data/docs/source/assets/stylesheets/styles.scss +1198 -0
  84. data/docs/source/components.html.erb +3607 -0
  85. data/docs/source/css.html.erb +2585 -0
  86. data/docs/source/customize.html.erb +1715 -0
  87. data/docs/source/getting-started.html.erb +1010 -0
  88. data/docs/source/includes/_ads.erb +1 -0
  89. data/docs/source/includes/_footer.erb +23 -0
  90. data/docs/source/includes/_header.erb +39 -0
  91. data/docs/source/includes/_nav-about.erb +12 -0
  92. data/docs/source/includes/_nav-components.erb +137 -0
  93. data/docs/source/includes/_nav-css.erb +99 -0
  94. data/docs/source/includes/_nav-customize.erb +40 -0
  95. data/docs/source/includes/_nav-getting-started.erb +44 -0
  96. data/docs/source/includes/_nav-javascript.erb +88 -0
  97. data/docs/source/includes/_nav-main.erb +34 -0
  98. data/docs/source/includes/_old-bs-docs.erb +8 -0
  99. data/docs/source/includes/_social-buttons.erb +16 -0
  100. data/docs/source/index.html.erb +17 -0
  101. data/docs/source/javascript.html.erb +1946 -0
  102. data/docs/source/layouts/default.html.erb +75 -0
  103. data/docs/source/layouts/home.html.erb +20 -0
  104. data/docs/source/layouts/layout.html.erb +81 -0
  105. data/lib/bootstrap-more/version.rb +5 -0
  106. data/lib/bootstrap-more.rb +7 -0
  107. metadata +185 -0
@@ -0,0 +1,628 @@
1
+ //
2
+ // Navbars
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Wrapper and base class
7
+ //
8
+ // Provide a static navbar from which we expand to create full-width, fixed, and
9
+ // other navbar variations.
10
+
11
+ .navbar {
12
+ position: relative;
13
+ min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
14
+ margin-bottom: $navbar-margin-bottom;
15
+ border: 1px solid transparent;
16
+
17
+ // Prevent floats from breaking the navbar
18
+ @include clearfix();
19
+
20
+ @media (min-width: $grid-float-breakpoint) {
21
+ border-radius: $navbar-border-radius;
22
+ }
23
+ }
24
+
25
+
26
+ // Navbar heading
27
+ //
28
+ // Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
29
+ // styling of responsive aspects.
30
+
31
+ .navbar-header {
32
+ @include clearfix();
33
+
34
+ @media (min-width: $grid-float-breakpoint) {
35
+ float: left;
36
+ }
37
+ }
38
+
39
+
40
+ // Navbar collapse (body)
41
+ //
42
+ // Group your navbar content into this for easy collapsing and expanding across
43
+ // various device sizes. By default, this content is collapsed when <768px, but
44
+ // will expand past that for a horizontal display.
45
+ //
46
+ // To start (on mobile devices) the navbar links, forms, and buttons are stacked
47
+ // vertically and include a `max-height` to overflow in case you have too much
48
+ // content for the user's viewport.
49
+
50
+ .navbar-collapse {
51
+ max-height: 340px;
52
+ overflow-x: visible;
53
+ padding-right: $navbar-padding-horizontal;
54
+ padding-left: $navbar-padding-horizontal;
55
+ border-top: 1px solid transparent;
56
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
57
+ @include clearfix();
58
+ -webkit-overflow-scrolling: touch;
59
+
60
+ &.in {
61
+ overflow-y: auto;
62
+ }
63
+
64
+ @media (min-width: $grid-float-breakpoint) {
65
+ width: auto;
66
+ border-top: 0;
67
+ box-shadow: none;
68
+
69
+ &.collapse {
70
+ display: block !important;
71
+ height: auto !important;
72
+ padding-bottom: 0; // Override default setting
73
+ overflow: visible !important;
74
+ }
75
+
76
+ &.in {
77
+ overflow-y: auto;
78
+ }
79
+
80
+ // Account for first and last children spacing
81
+ .navbar-nav.navbar-left:first-child {
82
+ margin-left: -$navbar-padding-horizontal;
83
+ }
84
+ .navbar-nav.navbar-right:last-child {
85
+ margin-right: -$navbar-padding-horizontal;
86
+ }
87
+ .navbar-text:last-child {
88
+ margin-right: 0;
89
+ }
90
+ }
91
+ }
92
+
93
+
94
+ // Both navbar header and collapse
95
+ //
96
+ // When a container is present, change the behavior of the header and collapse.
97
+
98
+ .container > .navbar-header,
99
+ .container > .navbar-collapse {
100
+ margin-right: -$navbar-padding-horizontal;
101
+ margin-left: -$navbar-padding-horizontal;
102
+
103
+ @media (min-width: $grid-float-breakpoint) {
104
+ margin-right: 0;
105
+ margin-left: 0;
106
+ }
107
+ }
108
+
109
+
110
+ //
111
+ // Navbar alignment options
112
+ //
113
+ // Display the navbar across the entirety of the page or fixed it to the top or
114
+ // bottom of the page.
115
+
116
+ // Static top (unfixed, but 100% wide) navbar
117
+ .navbar-static-top {
118
+ z-index: $zindex-navbar;
119
+ border-width: 0 0 1px;
120
+
121
+ @media (min-width: $grid-float-breakpoint) {
122
+ border-radius: 0;
123
+ }
124
+ }
125
+
126
+ // Fix the top/bottom navbars when screen real estate supports it
127
+ .navbar-fixed-top,
128
+ .navbar-fixed-bottom {
129
+ position: fixed;
130
+ right: 0;
131
+ left: 0;
132
+ z-index: $zindex-navbar-fixed;
133
+
134
+ // Undo the rounded corners
135
+ @media (min-width: $grid-float-breakpoint) {
136
+ border-radius: 0;
137
+ }
138
+ }
139
+ .navbar-fixed-top {
140
+ top: 0;
141
+ border-width: 0 0 1px;
142
+ }
143
+ .navbar-fixed-bottom {
144
+ bottom: 0;
145
+ margin-bottom: 0; // override .navbar defaults
146
+ border-width: 1px 0 0;
147
+ }
148
+
149
+
150
+ // Brand/project name
151
+
152
+ .navbar-brand {
153
+ float: left;
154
+ padding: $navbar-padding-vertical $navbar-padding-horizontal;
155
+ font-size: $font-size-large;
156
+ line-height: $line-height-computed;
157
+
158
+ &:hover,
159
+ &:focus {
160
+ text-decoration: none;
161
+ }
162
+
163
+ @media (min-width: $grid-float-breakpoint) {
164
+ .navbar > .container & {
165
+ margin-left: -$navbar-padding-horizontal;
166
+ }
167
+ }
168
+ }
169
+
170
+
171
+ // Navbar toggle
172
+ //
173
+ // Custom button for toggling the `.navbar-collapse`, powered by the collapse
174
+ // JavaScript plugin.
175
+
176
+ .navbar-toggle {
177
+ position: relative;
178
+ float: right;
179
+ margin-right: $navbar-padding-horizontal;
180
+ padding: 9px 10px;
181
+ @include navbar-vertical-align(34px);
182
+ background-color: transparent;
183
+ border: 1px solid transparent;
184
+ border-radius: $border-radius-base;
185
+
186
+ // Bars
187
+ .icon-bar {
188
+ display: block;
189
+ width: 22px;
190
+ height: 2px;
191
+ border-radius: 1px;
192
+ }
193
+ .icon-bar + .icon-bar {
194
+ margin-top: 4px;
195
+ }
196
+
197
+ @media (min-width: $grid-float-breakpoint) {
198
+ display: none;
199
+ }
200
+ }
201
+
202
+
203
+ // Navbar nav links
204
+ //
205
+ // Builds on top of the `.nav` components with it's own modifier class to make
206
+ // the nav the full height of the horizontal nav (above 768px).
207
+
208
+ .navbar-nav {
209
+ margin: ($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
210
+
211
+ > li > a {
212
+ padding-top: 10px;
213
+ padding-bottom: 10px;
214
+ line-height: $line-height-computed;
215
+ }
216
+
217
+ @media (max-width: $screen-xs-max) {
218
+ // Dropdowns get custom display when collapsed
219
+ .open .dropdown-menu {
220
+ position: static;
221
+ float: none;
222
+ width: auto;
223
+ margin-top: 0;
224
+ background-color: transparent;
225
+ border: 0;
226
+ box-shadow: none;
227
+ > li > a,
228
+ .dropdown-header {
229
+ padding: 5px 15px 5px 25px;
230
+ }
231
+ > li > a {
232
+ line-height: $line-height-computed;
233
+ &:hover,
234
+ &:focus {
235
+ background-image: none;
236
+ }
237
+ }
238
+ }
239
+ }
240
+
241
+ // Uncollapse the nav
242
+ @media (min-width: $grid-float-breakpoint) {
243
+ float: left;
244
+ margin: 0;
245
+
246
+ > li {
247
+ float: left;
248
+ > a {
249
+ padding-top: (($navbar-height - $line-height-computed) / 2);
250
+ padding-bottom: (($navbar-height - $line-height-computed) / 2);
251
+ }
252
+ }
253
+ }
254
+
255
+ }
256
+
257
+
258
+ // Component alignment
259
+ //
260
+ // Repurpose the pull utilities as their own navbar utilities to avoid specificity
261
+ // issues with parents and chaining. Only do this when the navbar is uncollapsed
262
+ // though so that navbar contents properly stack and align in mobile.
263
+
264
+ @media (min-width: $grid-float-breakpoint) {
265
+ .navbar-left {
266
+ float: left !important;
267
+ }
268
+ .navbar-right {
269
+ float: right !important;
270
+ }
271
+ }
272
+
273
+
274
+ // Navbar form
275
+ //
276
+ // Extension of the `.form-inline` with some extra flavor for optimum display in
277
+ // our navbars.
278
+
279
+ .navbar-form {
280
+ margin-left: -$navbar-padding-horizontal;
281
+ margin-right: -$navbar-padding-horizontal;
282
+ padding: 10px $navbar-padding-horizontal;
283
+ border-top: 1px solid transparent;
284
+ border-bottom: 1px solid transparent;
285
+ $shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
286
+ @include box-shadow($shadow);
287
+
288
+ // Mixin behavior for optimum display
289
+ @extend .form-inline;
290
+
291
+ .form-group {
292
+ @media (max-width: $screen-xs-max) {
293
+ margin-bottom: 5px;
294
+ }
295
+ }
296
+
297
+ // Vertically center in expanded, horizontal navbar
298
+ @include navbar-vertical-align($input-height-base);
299
+
300
+ // Undo 100% width for pull classes
301
+ @media (min-width: $grid-float-breakpoint) {
302
+ width: auto;
303
+ border: 0;
304
+ margin-left: 0;
305
+ margin-right: 0;
306
+ padding-top: 0;
307
+ padding-bottom: 0;
308
+ @include box-shadow(none);
309
+ }
310
+ }
311
+
312
+
313
+ // Dropdown menus
314
+
315
+ // Menu position and menu carets
316
+ .navbar-nav > li > .dropdown-menu {
317
+ margin-top: 0;
318
+ @include border-top-radius(0);
319
+ }
320
+ // Menu position and menu caret support for dropups via extra dropup class
321
+ .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
322
+ @include border-bottom-radius(0);
323
+ }
324
+
325
+ // Right aligned menus need alt position
326
+ .navbar-nav.pull-right > li > .dropdown-menu,
327
+ .navbar-nav > li > .dropdown-menu.pull-right {
328
+ left: auto;
329
+ right: 0;
330
+ }
331
+
332
+
333
+ // Buttons in navbars
334
+ //
335
+ // Vertically center a button within a navbar (when *not* in a form).
336
+
337
+ .navbar-btn {
338
+ @include navbar-vertical-align($input-height-base);
339
+ }
340
+
341
+
342
+ // Text in navbars
343
+ //
344
+ // Add a class to make any element properly align itself vertically within the navbars.
345
+
346
+ .navbar-text {
347
+ float: left;
348
+ @include navbar-vertical-align($line-height-computed);
349
+
350
+ @media (min-width: $grid-float-breakpoint) {
351
+ margin-left: $navbar-padding-horizontal;
352
+ margin-right: $navbar-padding-horizontal;
353
+ }
354
+ }
355
+
356
+ // Alternate navbars
357
+ // --------------------------------------------------
358
+
359
+ // Default navbar
360
+ .navbar-default {
361
+ background-color: $navbar-default-bg;
362
+ border-color: $navbar-default-border;
363
+
364
+ .navbar-brand {
365
+ color: $navbar-default-brand-color;
366
+ &:hover,
367
+ &:focus {
368
+ color: $navbar-default-brand-hover-color;
369
+ background-color: $navbar-default-brand-hover-bg;
370
+ }
371
+ }
372
+
373
+ .navbar-text {
374
+ color: $navbar-default-color;
375
+ }
376
+
377
+ .navbar-nav {
378
+ > li > a {
379
+ color: $navbar-default-link-color;
380
+
381
+ &:hover,
382
+ &:focus {
383
+ color: $navbar-default-link-hover-color;
384
+ background-color: $navbar-default-link-hover-bg;
385
+ }
386
+ }
387
+ > .active > a {
388
+ &,
389
+ &:hover,
390
+ &:focus {
391
+ color: $navbar-default-link-active-color;
392
+ background-color: $navbar-default-link-active-bg;
393
+ }
394
+ }
395
+ > .disabled > a {
396
+ &,
397
+ &:hover,
398
+ &:focus {
399
+ color: $navbar-default-link-disabled-color;
400
+ background-color: $navbar-default-link-disabled-bg;
401
+ }
402
+ }
403
+ }
404
+
405
+ .navbar-toggle {
406
+ border-color: $navbar-default-toggle-border-color;
407
+ &:hover,
408
+ &:focus {
409
+ background-color: $navbar-default-toggle-hover-bg;
410
+ }
411
+ .icon-bar {
412
+ background-color: $navbar-default-toggle-icon-bar-bg;
413
+ }
414
+ }
415
+
416
+ .navbar-collapse,
417
+ .navbar-form {
418
+ border-color: $navbar-default-border;
419
+ }
420
+
421
+ // Dropdown menu items and carets
422
+ .navbar-nav {
423
+ // Caret should match text color on hover
424
+ > .dropdown > a:hover .caret,
425
+ > .dropdown > a:focus .caret {
426
+ border-top-color: $navbar-default-link-hover-color;
427
+ border-bottom-color: $navbar-default-link-hover-color;
428
+ }
429
+
430
+ // Remove background color from open dropdown
431
+ > .open > a {
432
+ &,
433
+ &:hover,
434
+ &:focus {
435
+ background-color: $navbar-default-link-active-bg;
436
+ color: $navbar-default-link-active-color;
437
+ .caret {
438
+ border-top-color: $navbar-default-link-active-color;
439
+ border-bottom-color: $navbar-default-link-active-color;
440
+ }
441
+ }
442
+ }
443
+ > .dropdown > a .caret {
444
+ border-top-color: $navbar-default-link-color;
445
+ border-bottom-color: $navbar-default-link-color;
446
+ }
447
+
448
+
449
+ @media (max-width: $screen-xs-max) {
450
+ // Dropdowns get custom display when collapsed
451
+ .open .dropdown-menu {
452
+ > li > a {
453
+ color: $navbar-default-link-color;
454
+ &:hover,
455
+ &:focus {
456
+ color: $navbar-default-link-hover-color;
457
+ background-color: $navbar-default-link-hover-bg;
458
+ }
459
+ }
460
+ > .active > a {
461
+ &,
462
+ &:hover,
463
+ &:focus {
464
+ color: $navbar-default-link-active-color;
465
+ background-color: $navbar-default-link-active-bg;
466
+ }
467
+ }
468
+ > .disabled > a {
469
+ &,
470
+ &:hover,
471
+ &:focus {
472
+ color: $navbar-default-link-disabled-color;
473
+ background-color: $navbar-default-link-disabled-bg;
474
+ }
475
+ }
476
+ }
477
+ }
478
+ }
479
+
480
+
481
+ // Links in navbars
482
+ //
483
+ // Add a class to ensure links outside the navbar nav are colored correctly.
484
+
485
+ .navbar-link {
486
+ color: $navbar-default-link-color;
487
+ &:hover {
488
+ color: $navbar-default-link-hover-color;
489
+ }
490
+ }
491
+
492
+ }
493
+
494
+ // Inverse navbar
495
+
496
+ .navbar-inverse {
497
+ background-color: $navbar-inverse-bg;
498
+ border-color: $navbar-inverse-border;
499
+
500
+ .navbar-brand {
501
+ color: $navbar-inverse-brand-color;
502
+ &:hover,
503
+ &:focus {
504
+ color: $navbar-inverse-brand-hover-color;
505
+ background-color: $navbar-inverse-brand-hover-bg;
506
+ }
507
+ }
508
+
509
+ .navbar-text {
510
+ color: $navbar-inverse-color;
511
+ }
512
+
513
+ .navbar-nav {
514
+ > li > a {
515
+ color: $navbar-inverse-link-color;
516
+
517
+ &:hover,
518
+ &:focus {
519
+ color: $navbar-inverse-link-hover-color;
520
+ background-color: $navbar-inverse-link-hover-bg;
521
+ }
522
+ }
523
+ > .active > a {
524
+ &,
525
+ &:hover,
526
+ &:focus {
527
+ color: $navbar-inverse-link-active-color;
528
+ background-color: $navbar-inverse-link-active-bg;
529
+ }
530
+ }
531
+ > .disabled > a {
532
+ &,
533
+ &:hover,
534
+ &:focus {
535
+ color: $navbar-inverse-link-disabled-color;
536
+ background-color: $navbar-inverse-link-disabled-bg;
537
+ }
538
+ }
539
+ }
540
+
541
+ // Darken the responsive nav toggle
542
+ .navbar-toggle {
543
+ border-color: $navbar-inverse-toggle-border-color;
544
+ &:hover,
545
+ &:focus {
546
+ background-color: $navbar-inverse-toggle-hover-bg;
547
+ }
548
+ .icon-bar {
549
+ background-color: $navbar-inverse-toggle-icon-bar-bg;
550
+ }
551
+ }
552
+
553
+ .navbar-collapse,
554
+ .navbar-form {
555
+ border-color: darken($navbar-inverse-bg, 7%);
556
+ }
557
+
558
+ // Dropdowns
559
+ .navbar-nav {
560
+ > .open > a {
561
+ &,
562
+ &:hover,
563
+ &:focus {
564
+ background-color: $navbar-inverse-link-active-bg;
565
+ color: $navbar-inverse-link-active-color;
566
+ }
567
+ }
568
+ > .dropdown > a:hover .caret {
569
+ border-top-color: $navbar-inverse-link-hover-color;
570
+ border-bottom-color: $navbar-inverse-link-hover-color;
571
+ }
572
+ > .dropdown > a .caret {
573
+ border-top-color: $navbar-inverse-link-color;
574
+ border-bottom-color: $navbar-inverse-link-color;
575
+ }
576
+ > .open > a {
577
+ &,
578
+ &:hover,
579
+ &:focus {
580
+ .caret {
581
+ border-top-color: $navbar-inverse-link-active-color;
582
+ border-bottom-color: $navbar-inverse-link-active-color;
583
+ }
584
+ }
585
+ }
586
+
587
+ @media (max-width: $screen-xs-max) {
588
+ // Dropdowns get custom display
589
+ .open .dropdown-menu {
590
+ > .dropdown-header {
591
+ border-color: $navbar-inverse-border;
592
+ }
593
+ > li > a {
594
+ color: $navbar-inverse-link-color;
595
+ &:hover,
596
+ &:focus {
597
+ color: $navbar-inverse-link-hover-color;
598
+ background-color: $navbar-inverse-link-hover-bg;
599
+ }
600
+ }
601
+ > .active > a {
602
+ &,
603
+ &:hover,
604
+ &:focus {
605
+ color: $navbar-inverse-link-active-color;
606
+ background-color: $navbar-inverse-link-active-bg;
607
+ }
608
+ }
609
+ > .disabled > a {
610
+ &,
611
+ &:hover,
612
+ &:focus {
613
+ color: $navbar-inverse-link-disabled-color;
614
+ background-color: $navbar-inverse-link-disabled-bg;
615
+ }
616
+ }
617
+ }
618
+ }
619
+ }
620
+
621
+ .navbar-link {
622
+ color: $navbar-inverse-link-color;
623
+ &:hover {
624
+ color: $navbar-inverse-link-hover-color;
625
+ }
626
+ }
627
+
628
+ }