bootstrap-sass 2.0.4.2 → 2.1.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 (57) hide show
  1. data/README.md +3 -6
  2. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  3. data/vendor/assets/javascripts/bootstrap-affix.js +104 -0
  4. data/vendor/assets/javascripts/bootstrap-alert.js +1 -1
  5. data/vendor/assets/javascripts/bootstrap-button.js +1 -1
  6. data/vendor/assets/javascripts/bootstrap-carousel.js +12 -5
  7. data/vendor/assets/javascripts/bootstrap-collapse.js +4 -3
  8. data/vendor/assets/javascripts/bootstrap-dropdown.js +66 -16
  9. data/vendor/assets/javascripts/bootstrap-modal.js +95 -74
  10. data/vendor/assets/javascripts/bootstrap-popover.js +9 -4
  11. data/vendor/assets/javascripts/bootstrap-scrollspy.js +9 -9
  12. data/vendor/assets/javascripts/bootstrap-tab.js +2 -2
  13. data/vendor/assets/javascripts/bootstrap-tooltip.js +15 -15
  14. data/vendor/assets/javascripts/bootstrap-transition.js +2 -3
  15. data/vendor/assets/javascripts/bootstrap-typeahead.js +51 -36
  16. data/vendor/assets/javascripts/bootstrap.js +1 -0
  17. data/vendor/assets/stylesheets/_bootstrap-responsive.scss +15 -8
  18. data/vendor/assets/stylesheets/_bootstrap.scss +2 -2
  19. data/vendor/assets/stylesheets/bootstrap/_accordion.scss +3 -2
  20. data/vendor/assets/stylesheets/bootstrap/_alerts.scss +19 -10
  21. data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +11 -11
  22. data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +94 -28
  23. data/vendor/assets/stylesheets/bootstrap/_buttons.scss +94 -54
  24. data/vendor/assets/stylesheets/bootstrap/_carousel.scss +22 -7
  25. data/vendor/assets/stylesheets/bootstrap/_close.scss +5 -3
  26. data/vendor/assets/stylesheets/bootstrap/_code.scss +8 -6
  27. data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +7 -4
  28. data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +90 -17
  29. data/vendor/assets/stylesheets/bootstrap/_forms.scss +243 -90
  30. data/vendor/assets/stylesheets/bootstrap/_grid.scss +17 -2
  31. data/vendor/assets/stylesheets/bootstrap/_hero-unit.scss +4 -2
  32. data/vendor/assets/stylesheets/bootstrap/_labels-badges.scss +25 -5
  33. data/vendor/assets/stylesheets/bootstrap/_layouts.scss +1 -2
  34. data/vendor/assets/stylesheets/bootstrap/_mixins.scss +143 -134
  35. data/vendor/assets/stylesheets/bootstrap/_modals.scss +13 -6
  36. data/vendor/assets/stylesheets/bootstrap/_navbar.scss +263 -141
  37. data/vendor/assets/stylesheets/bootstrap/_navs.scss +75 -31
  38. data/vendor/assets/stylesheets/bootstrap/_pager.scss +7 -5
  39. data/vendor/assets/stylesheets/bootstrap/_pagination.scss +22 -11
  40. data/vendor/assets/stylesheets/bootstrap/_popovers.scss +101 -33
  41. data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +23 -19
  42. data/vendor/assets/stylesheets/bootstrap/_reset.scss +35 -11
  43. data/vendor/assets/stylesheets/bootstrap/_responsive-1200px-min.scss +9 -7
  44. data/vendor/assets/stylesheets/bootstrap/_responsive-767px-max.scss +103 -72
  45. data/vendor/assets/stylesheets/bootstrap/_responsive-768px-979px.scss +8 -5
  46. data/vendor/assets/stylesheets/bootstrap/_responsive-navbar.scss +26 -9
  47. data/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss +17 -15
  48. data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +26 -4
  49. data/vendor/assets/stylesheets/bootstrap/_sprites.scss +19 -9
  50. data/vendor/assets/stylesheets/bootstrap/_tables.scss +94 -23
  51. data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +10 -7
  52. data/vendor/assets/stylesheets/bootstrap/_tooltip.scss +47 -12
  53. data/vendor/assets/stylesheets/bootstrap/_type.scss +71 -89
  54. data/vendor/assets/stylesheets/bootstrap/_utilities.scss +9 -2
  55. data/vendor/assets/stylesheets/bootstrap/_variables.scss +108 -68
  56. data/vendor/assets/stylesheets/bootstrap/_wells.scss +8 -6
  57. metadata +3 -2
@@ -1,5 +1,7 @@
1
- // MODALS
2
- // ------
1
+ //
2
+ // Modals
3
+ // --------------------------------------------------
4
+
3
5
 
4
6
  // Recalculate z-index where appropriate
5
7
  .modal-open {
@@ -22,7 +24,8 @@
22
24
  &.fade { opacity: 0; }
23
25
  }
24
26
 
25
- .modal-backdrop, .modal-backdrop.fade.in {
27
+ .modal-backdrop,
28
+ .modal-backdrop.fade.in {
26
29
  @include opacity(0.8);
27
30
  }
28
31
 
@@ -43,8 +46,7 @@
43
46
  @include box-shadow(0 3px 7px rgba(0,0,0,0.3));
44
47
  @include background-clip(padding-box);
45
48
  &.fade {
46
- $transition: opacity .3s linear, top .3s ease-out;
47
- @include transition($transition);
49
+ @include transition(#{opacity .3s linear, top .3s ease-out});
48
50
  top: -25%;
49
51
  }
50
52
  &.fade.in { top: 50%; }
@@ -54,6 +56,11 @@
54
56
  border-bottom: 1px solid #eee;
55
57
  // Close icon
56
58
  .close { margin-top: 2px; }
59
+ // Heading
60
+ h3 {
61
+ margin: 0;
62
+ line-height: 30px;
63
+ }
57
64
  }
58
65
 
59
66
  // Body (where all modal content resides)
@@ -87,4 +94,4 @@
87
94
  .btn-group .btn + .btn {
88
95
  margin-left: -1px;
89
96
  }
90
- }
97
+ }
@@ -1,27 +1,32 @@
1
- // NAVBAR (FIXED AND STATIC)
2
- // -------------------------
1
+ //
2
+ // Navbars (Redux)
3
+ // --------------------------------------------------
3
4
 
4
5
 
5
6
  // COMMON STYLES
6
7
  // -------------
7
8
 
9
+ // Base class and wrapper
8
10
  .navbar {
11
+ overflow: visible;
12
+ margin-bottom: $baseLineHeight;
13
+ color: $navbarText;
14
+
9
15
  // Fix for IE7's bad z-indexing so dropdowns don't appear below content that follows the navbar
10
16
  *position: relative;
11
17
  *z-index: 2;
12
-
13
- overflow: visible;
14
- margin-bottom: $baseLineHeight;
15
18
  }
16
19
 
17
- // Gradient is applied to it's own element because overflow visible is not honored by IE when filter is present
20
+ // Inner for background effects
21
+ // Gradient is applied to its own element because overflow visible is not honored by IE when filter is present
18
22
  .navbar-inner {
19
23
  min-height: $navbarHeight;
20
- padding-left: 20px;
24
+ padding-left: 20px;
21
25
  padding-right: 20px;
22
26
  @include gradient-vertical($navbarBackgroundHighlight, $navbarBackground);
27
+ border: 1px solid $navbarBorder;
23
28
  @include border-radius(4px);
24
- @include box-shadow(#{0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1)});
29
+ @include box-shadow(0 1px 4px rgba(0,0,0,.065));
25
30
  }
26
31
 
27
32
  // Set width to auto for default container
@@ -36,64 +41,83 @@
36
41
  }
37
42
 
38
43
 
39
- // Brand, links, text, and buttons
40
- .navbar {
41
- color: $navbarText;
42
- // Hover and active states
43
- .brand:hover {
44
+ // Brand: website or project name
45
+ // -------------------------
46
+ .navbar .brand {
47
+ float: left;
48
+ display: block;
49
+ // Vertically center the text given $navbarHeight
50
+ padding: (($navbarHeight - $baseLineHeight) / 2) 20px (($navbarHeight - $baseLineHeight) / 2);
51
+ margin-left: -20px; // negative indent to left-align the text down the page
52
+ font-size: 20px;
53
+ font-weight: 200;
54
+ color: $navbarBrandColor;
55
+ text-shadow: 0 1px 0 $navbarBackgroundHighlight;
56
+ &:hover {
44
57
  text-decoration: none;
45
58
  }
46
- // Website or project name
47
- .brand {
48
- float: left;
49
- display: block;
50
- // Vertically center the text given $navbarHeight
51
- $elementHeight: 20px;
52
- padding: (($navbarHeight - $elementHeight) / 2 - 2) 20px (($navbarHeight - $elementHeight) / 2 + 2);
53
- margin-left: -20px; // negative indent to left-align the text down the page
54
- font-size: 20px;
55
- font-weight: 200;
56
- line-height: 1;
57
- color: $navbarBrandColor;
58
- }
59
- // Plain text in topbar
60
- .navbar-text {
61
- margin-bottom: 0;
62
- line-height: $navbarHeight;
63
- }
64
- // Janky solution for now to account for links outside the .nav
65
- .navbar-link {
66
- color: $navbarLinkColor;
67
- &:hover {
68
- color: $navbarLinkColorHover;
69
- }
70
- }
71
- // Buttons in navbar
72
- .btn, .btn-group {
73
- @include navbarVerticalAlign(30px); // Vertically center in navbar
74
- }
75
- .btn-group .btn {
76
- margin: 0; // then undo the margin here so we don't accidentally double it
59
+ }
60
+
61
+ // Plain text in topbar
62
+ // -------------------------
63
+ .navbar-text {
64
+ margin-bottom: 0;
65
+ line-height: $navbarHeight;
66
+ }
67
+
68
+ // Janky solution for now to account for links outside the .nav
69
+ // -------------------------
70
+ .navbar-link {
71
+ color: $navbarLinkColor;
72
+ &:hover {
73
+ color: $navbarLinkColorHover;
77
74
  }
78
75
  }
79
76
 
77
+ // Dividers in navbar
78
+ // -------------------------
79
+ .navbar .divider-vertical {
80
+ height: $navbarHeight;
81
+ margin: 0 9px;
82
+ border-left: 1px solid $navbarBackground;
83
+ border-right: 1px solid $navbarBackgroundHighlight;
84
+ }
85
+
86
+ // Buttons in navbar
87
+ // -------------------------
88
+ .navbar .btn,
89
+ .navbar .btn-group {
90
+ @include navbarVerticalAlign(28px); // Vertically center in navbar
91
+ }
92
+ .navbar .btn-group .btn {
93
+ margin: 0; // then undo the margin here so we don't accidentally double it
94
+ }
95
+
80
96
  // Navbar forms
81
97
  .navbar-form {
82
98
  margin-bottom: 0; // remove default bottom margin
83
99
  @include clearfix();
84
- input, select, .radio, .checkbox {
100
+ input,
101
+ select,
102
+ .radio,
103
+ .checkbox {
85
104
  @include navbarVerticalAlign(30px); // Vertically center in navbar
86
105
  }
87
- input, select {
106
+ input,
107
+ select,
108
+ .btn {
88
109
  display: inline-block;
89
110
  margin-bottom: 0;
90
111
  }
91
- input[type="image"], input[type="checkbox"], input[type="radio"] {
112
+ input[type="image"],
113
+ input[type="checkbox"],
114
+ input[type="radio"] {
92
115
  margin-top: 3px;
93
116
  }
94
- .input-append, .input-prepend {
117
+ .input-append,
118
+ .input-prepend {
95
119
  margin-top: 6px;
96
- white-space: nowrap; // prevents two items from separating within a .navbar-form that has .pull-left
120
+ white-space: nowrap; // preven two items from separating within a .navbar-form that has .pull-left
97
121
  input {
98
122
  margin-top: 0; // remove the margin on top since it's on the parent
99
123
  }
@@ -104,67 +128,84 @@
104
128
  .navbar-search {
105
129
  position: relative;
106
130
  float: left;
107
- @include navbarVerticalAlign(28px); // Vertically center in navbar
131
+ @include navbarVerticalAlign(30px); // Vertically center in navbar
108
132
  margin-bottom: 0;
109
133
  .search-query {
110
- padding: 4px 9px;
134
+ margin-bottom: 0;
135
+ padding: 4px 14px;
111
136
  @include font-sans-serif(13px, normal, 1);
112
- color: $white;
113
- background-color: $navbarSearchBackground;
114
- border: 1px solid $navbarSearchBorder;
115
- @include box-shadow(#{inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)});
116
- @include transition(none);
117
-
118
- @include placeholder($navbarSearchPlaceholderColor);
119
- // Placeholder text gets special styles; can't be a grouped selector
120
- // &:-moz-placeholder {
121
- // color: $navbarSearchPlaceholderColor;
122
- // }
123
- // &::-webkit-input-placeholder {
124
- // color: $navbarSearchPlaceholderColor;
125
- // }
126
-
127
- // Focus states (we use .focused since IE7-8 and down doesn't support :focus)
128
- &:focus, &.focused {
129
- padding: 5px 10px;
130
- color: $grayDark;
131
- text-shadow: 0 1px 0 $white;
132
- background-color: $navbarSearchBackgroundFocus;
133
- border: 0;
134
- @include box-shadow(0 0 3px rgba(0,0,0,.15));
135
- outline: 0;
136
- }
137
+ @include border-radius(15px); // redeclare because of specificity of the type attribute
138
+ }
139
+ }
140
+
141
+
142
+
143
+ // Static navbar
144
+ // -------------------------
145
+
146
+ .navbar-static-top {
147
+ position: static;
148
+ width: 100%;
149
+ margin-bottom: 0; // remove 18px margin for default navbar
150
+ .navbar-inner {
151
+ @include border-radius(0);
137
152
  }
138
153
  }
139
154
 
140
155
 
141
156
 
142
- // FIXED NAVBAR
143
- // ------------
157
+ // Fixed navbar
158
+ // -------------------------
144
159
 
145
160
  // Shared (top/bottom) styles
146
- .navbar-fixed-top, .navbar-fixed-bottom {
161
+ .navbar-fixed-top,
162
+ .navbar-fixed-bottom {
147
163
  position: fixed;
148
164
  right: 0;
149
165
  left: 0;
150
166
  z-index: $zindexFixedNavbar;
151
- margin-bottom: 0; // remove 18px margin for static navbar
167
+ margin-bottom: 0; // remove 18px margin for default navbar
152
168
  }
153
- .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
154
- padding-left: 0;
169
+ .navbar-fixed-top,
170
+ .navbar-fixed-bottom,
171
+ .navbar-static-top {
172
+ .navbar-inner {
173
+ border: 0;
174
+ }
175
+ }
176
+ .navbar-fixed-top .navbar-inner,
177
+ .navbar-fixed-bottom .navbar-inner {
178
+ padding-left: 0;
155
179
  padding-right: 0;
156
180
  @include border-radius(0);
157
181
  }
158
182
 
159
- .navbar-fixed-top .container, .navbar-fixed-bottom .container {
160
- @include gridCoreSpan($gridColumns, $gridColumnWidth, $gridGutterWidth);
183
+ // Reset container width
184
+ // Required here as we reset the width earlier on and the grid mixins don't override early enough
185
+ .navbar-static-top .container,
186
+ .navbar-fixed-top .container,
187
+ .navbar-fixed-bottom .container {
188
+ @include grid-core-span($gridColumns, $gridColumnWidth, $gridGutterWidth);
161
189
  }
162
190
 
163
191
  // Fixed to top
164
- .navbar-fixed-top { top: 0; }
192
+ .navbar-fixed-top {
193
+ top: 0;
194
+ }
195
+ .navbar-fixed-top,
196
+ .navbar-static-top {
197
+ .navbar-inner {
198
+ @include box-shadow(#{inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)});
199
+ }
200
+ }
165
201
 
166
202
  // Fixed to bottom
167
- .navbar-fixed-bottom { bottom: 0; }
203
+ .navbar-fixed-bottom {
204
+ bottom: 0;
205
+ .navbar-inner {
206
+ @include box-shadow(#{inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)});
207
+ }
208
+ }
168
209
 
169
210
 
170
211
 
@@ -182,7 +223,6 @@
182
223
  float: right; // redeclare due to specificity
183
224
  }
184
225
  .navbar .nav > li {
185
- display: block;
186
226
  float: left;
187
227
  }
188
228
 
@@ -190,29 +230,17 @@
190
230
  .navbar .nav > li > a {
191
231
  float: none;
192
232
  // Vertically center the text given $navbarHeight
193
- $elementHeight: 20px;
194
- padding: (($navbarHeight - $elementHeight) / 2 - 1) 10px (($navbarHeight - $elementHeight) / 2 + 1);
195
- line-height: 19px;
233
+ padding: (($navbarHeight - $baseLineHeight) / 2) 15px (($navbarHeight - $baseLineHeight) / 2);
196
234
  color: $navbarLinkColor;
197
235
  text-decoration: none;
198
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
199
- }
200
- // Buttons
201
- .navbar .btn {
202
- display: inline-block;
203
- padding: 4px 10px 4px;
204
- // Vertically center the button given $navbarHeight
205
- $elementHeight: 28px;
206
- margin: (($navbarHeight - $elementHeight) / 2 - 1) 5px (($navbarHeight - $elementHeight) / 2);
207
- line-height: $baseLineHeight;
236
+ text-shadow: 0 1px 0 $navbarBackgroundHighlight;
208
237
  }
209
- .navbar .btn-group {
210
- margin: 0;
211
- // Vertically center the button given $navbarHeight
212
- $elementHeight: 28px;
213
- padding: (($navbarHeight - $elementHeight) / 2 - 1) 5px (($navbarHeight - $elementHeight) / 2);
238
+ .navbar .nav .dropdown-toggle .caret {
239
+ margin-top: 8px;
214
240
  }
241
+
215
242
  // Hover
243
+ .navbar .nav > li > a:focus,
216
244
  .navbar .nav > li > a:hover {
217
245
  background-color: $navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover from .active
218
246
  color: $navbarLinkColorHover;
@@ -220,26 +248,15 @@
220
248
  }
221
249
 
222
250
  // Active nav items
223
- .navbar .nav .active > a, .navbar .nav .active > a:hover {
251
+ .navbar .nav > .active > a,
252
+ .navbar .nav > .active > a:hover,
253
+ .navbar .nav > .active > a:focus {
224
254
  color: $navbarLinkColorActive;
225
255
  text-decoration: none;
226
256
  background-color: $navbarLinkBackgroundActive;
227
- }
228
-
229
- // Dividers (basically a vertical hr)
230
- .navbar .divider-vertical {
231
- height: $navbarHeight;
232
- width: 1px;
233
- margin: 0 9px;
234
- overflow: hidden;
235
- background-color: $navbarBackground;
236
- border-right: 1px solid $navbarBackgroundHighlight;
237
- }
238
-
239
- // Secondary (floated right) nav in topbar
240
- .navbar .nav.pull-right {
241
- margin-left: 10px;
242
- margin-right: 0;
257
+ -webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
258
+ -moz-box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
259
+ box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
243
260
  }
244
261
 
245
262
  // Navbar button for toggling navbar items in responsive layouts
@@ -250,7 +267,7 @@
250
267
  padding: 7px 10px;
251
268
  margin-left: 5px;
252
269
  margin-right: 5px;
253
- @include buttonBackground($navbarBackgroundHighlight, $navbarBackground);
270
+ @include buttonBackground(darken($navbarBackgroundHighlight, 5%), darken($navbarBackground, 5%));
254
271
  @include box-shadow(#{inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)});
255
272
  }
256
273
  .navbar .btn-navbar .icon-bar {
@@ -266,11 +283,12 @@
266
283
  }
267
284
 
268
285
 
286
+
269
287
  // Dropdown menus
270
288
  // --------------
271
289
 
272
290
  // Menu position and menu carets
273
- .navbar .dropdown-menu {
291
+ .navbar .nav > li > .dropdown-menu {
274
292
  &:before {
275
293
  content: '';
276
294
  display: inline-block;
@@ -294,7 +312,7 @@
294
312
  }
295
313
  }
296
314
  // Menu position and menu caret support for dropups via extra dropup class
297
- .navbar-fixed-bottom .dropdown-menu {
315
+ .navbar-fixed-bottom .nav > li > .dropdown-menu {
298
316
  &:before {
299
317
  border-top: 7px solid #ccc;
300
318
  border-top-color: $dropdownBorder;
@@ -309,28 +327,28 @@
309
327
  top: auto;
310
328
  }
311
329
  }
312
- // Dropdown toggle caret
313
- .navbar .nav li.dropdown .dropdown-toggle .caret, .navbar .nav li.dropdown.open .caret {
314
- border-top-color: $white;
315
- border-bottom-color: $white;
316
- }
317
- .navbar .nav li.dropdown.active .caret {
318
- @include opacity(1);
319
- }
320
330
 
321
331
  // Remove background color from open dropdown
322
- .navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
323
- background-color: transparent;
332
+ .navbar .nav li.dropdown.open > .dropdown-toggle,
333
+ .navbar .nav li.dropdown.active > .dropdown-toggle,
334
+ .navbar .nav li.dropdown.open.active > .dropdown-toggle {
335
+ background-color: $navbarLinkBackgroundActive;
336
+ color: $navbarLinkColorActive;
324
337
  }
325
-
326
- // Dropdown link on hover
327
- .navbar .nav li.dropdown.active > .dropdown-toggle:hover {
328
- color: $white;
338
+ .navbar .nav li.dropdown > .dropdown-toggle .caret {
339
+ border-top-color: $navbarLinkColor;
340
+ border-bottom-color: $navbarLinkColor;
341
+ }
342
+ .navbar .nav li.dropdown.open > .dropdown-toggle .caret,
343
+ .navbar .nav li.dropdown.active > .dropdown-toggle .caret,
344
+ .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret {
345
+ border-top-color: $navbarLinkColorActive;
346
+ border-bottom-color: $navbarLinkColorActive;
329
347
  }
330
348
 
331
349
  // Right aligned menus need alt position
332
- // TODO: rejigger this at some point to simplify the selectors
333
- .navbar .pull-right .dropdown-menu, .navbar .dropdown-menu.pull-right {
350
+ .navbar .pull-right > li > .dropdown-menu,
351
+ .navbar .nav > li > .dropdown-menu.pull-right {
334
352
  left: auto;
335
353
  right: 0;
336
354
  &:before {
@@ -341,4 +359,108 @@
341
359
  left: auto;
342
360
  right: 13px;
343
361
  }
362
+ .dropdown-menu {
363
+ left: auto;
364
+ right: 100%;
365
+ margin-left: 0;
366
+ margin-right: -1px;
367
+ @include border-radius(6px 0 6px 6px);
368
+ }
369
+ }
370
+
371
+
372
+ // Inverted navbar
373
+ // -------------------------
374
+
375
+ .navbar-inverse {
376
+ color: $navbarInverseText;
377
+
378
+ .navbar-inner {
379
+ @include gradient-vertical($navbarInverseBackgroundHighlight, $navbarInverseBackground);
380
+ border-color: $navbarInverseBorder;
381
+ }
382
+
383
+ .brand,
384
+ .nav > li > a {
385
+ color: $navbarInverseLinkColor;
386
+ text-shadow: 0 -1px 0 rgba(0,0,0,.25);
387
+ &:hover {
388
+ color: $navbarInverseLinkColorHover;
389
+ }
390
+ }
391
+
392
+ .nav > li > a:focus,
393
+ .nav > li > a:hover {
394
+ background-color: $navbarInverseLinkBackgroundHover;
395
+ color: $navbarInverseLinkColorHover;
396
+ }
397
+
398
+ .nav .active > a,
399
+ .nav .active > a:hover,
400
+ .nav .active > a:focus {
401
+ color: $navbarInverseLinkColorActive;
402
+ background-color: $navbarInverseLinkBackgroundActive;
403
+ }
404
+
405
+ // Inline text links
406
+ .navbar-link {
407
+ color: $navbarInverseLinkColor;
408
+ &:hover {
409
+ color: $navbarInverseLinkColorHover;
410
+ }
411
+ }
412
+
413
+ // Dividers in navbar
414
+ .divider-vertical {
415
+ border-left-color: $navbarInverseBackground;
416
+ border-right-color: $navbarInverseBackgroundHighlight;
417
+ }
418
+
419
+ // Dropdowns
420
+ .nav li.dropdown.open > .dropdown-toggle,
421
+ .nav li.dropdown.active > .dropdown-toggle,
422
+ .nav li.dropdown.open.active > .dropdown-toggle {
423
+ background-color: $navbarInverseLinkBackgroundActive;
424
+ color: $navbarInverseLinkColorActive;
425
+ }
426
+ .nav li.dropdown > .dropdown-toggle .caret {
427
+ border-top-color: $navbarInverseLinkColor;
428
+ border-bottom-color: $navbarInverseLinkColor;
429
+ }
430
+ .nav li.dropdown.open > .dropdown-toggle .caret,
431
+ .nav li.dropdown.active > .dropdown-toggle .caret,
432
+ .nav li.dropdown.open.active > .dropdown-toggle .caret {
433
+ border-top-color: $navbarInverseLinkColorActive;
434
+ border-bottom-color: $navbarInverseLinkColorActive;
435
+ }
436
+
437
+ // Navbar search
438
+ .navbar-search {
439
+ .search-query {
440
+ color: $white;
441
+ background-color: $navbarInverseSearchBackground;
442
+ border-color: $navbarInverseSearchBorder;
443
+ @include box-shadow(#{inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)});
444
+ @include transition(none);
445
+ @include placeholder($navbarInverseSearchPlaceholderColor);
446
+
447
+ // Focus states (we use .focused since IE7-8 and down doesn't support :focus)
448
+ &:focus,
449
+ &.focused {
450
+ padding: 5px 15px;
451
+ color: $grayDark;
452
+ text-shadow: 0 1px 0 $white;
453
+ background-color: $navbarInverseSearchBackgroundFocus;
454
+ border: 0;
455
+ @include box-shadow(0 0 3px rgba(0,0,0,.15));
456
+ outline: 0;
457
+ }
458
+ }
459
+ }
460
+
461
+ // Navbar collapse button
462
+ .btn-navbar {
463
+ @include buttonBackground(darken($navbarInverseBackgroundHighlight, 5%), darken($navbarInverseBackground, 5%));
464
+ }
465
+
344
466
  }