bootstrap-sass-rails-rtl 2.2.2.0 → 2.3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/README.md +25 -0
  2. data/lib/bootstrap/sass/rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +1 -1
  4. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  5. data/vendor/assets/javascripts/twitter/bootstrap/button.js +1 -1
  6. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +32 -10
  7. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +4 -4
  8. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +14 -10
  9. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +14 -12
  10. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +5 -5
  11. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  12. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
  13. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +104 -30
  14. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  15. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +16 -4
  16. data/vendor/assets/stylesheets/twitter/bootstrap-no-sprites.css.scss +1 -1
  17. data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +1 -1
  18. data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +4 -2
  19. data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +8 -10
  20. data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +34 -7
  21. data/vendor/assets/stylesheets/twitter/bootstrap/_close.scss +2 -1
  22. data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +16 -12
  23. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +12 -2
  24. data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +4 -2
  25. data/vendor/assets/stylesheets/twitter/bootstrap/_media.scss +2 -2
  26. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +17 -1
  27. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +20 -13
  28. data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +33 -18
  29. data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +3 -1
  30. data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +3 -1
  31. data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.scss +5 -1
  32. data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +0 -1
  33. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +0 -1
  34. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +6 -2
  35. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +17 -0
  36. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +1 -10
  37. data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +2 -1
  38. data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.scss +7 -3
  39. data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +26 -19
  40. data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +3 -2
  41. data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss +6 -6
  42. data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +19 -7
  43. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -1
  44. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_button-groups.scss +4 -2
  45. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_buttons.scss +8 -10
  46. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_carousel.scss +34 -7
  47. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_close.scss +2 -1
  48. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_dropdowns.scss +16 -12
  49. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_forms.scss +12 -2
  50. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_labels-badges.scss +4 -2
  51. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_media.scss +2 -2
  52. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_mixins.scss +17 -1
  53. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_navbar.scss +20 -13
  54. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_navs.scss +33 -18
  55. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_pager.scss +3 -1
  56. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_pagination.scss +3 -1
  57. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_popovers.scss +5 -1
  58. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_reset.scss +0 -1
  59. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-767px-max.scss +0 -1
  60. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-navbar.scss +6 -2
  61. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-utilities.scss +17 -0
  62. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive.scss +1 -10
  63. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_scaffolding.scss +2 -1
  64. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_sprites.scss +7 -3
  65. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_tables.scss +26 -19
  66. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_thumbnails.scss +3 -2
  67. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_tooltip.scss +6 -6
  68. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_type.scss +19 -7
  69. data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_variables.scss +1 -1
  70. metadata +40 -46
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.2.2
2
+ * bootstrap-transition.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4
4
  * ===================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-typeahead.js v2.2.2
2
+ * bootstrap-typeahead.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -172,6 +172,7 @@
172
172
 
173
173
  , listen: function () {
174
174
  this.$element
175
+ .on('focus', $.proxy(this.focus, this))
175
176
  .on('blur', $.proxy(this.blur, this))
176
177
  .on('keypress', $.proxy(this.keypress, this))
177
178
  .on('keyup', $.proxy(this.keyup, this))
@@ -183,6 +184,7 @@
183
184
  this.$menu
184
185
  .on('click', $.proxy(this.click, this))
185
186
  .on('mouseenter', 'li', $.proxy(this.mouseenter, this))
187
+ .on('mouseleave', 'li', $.proxy(this.mouseleave, this))
186
188
  }
187
189
 
188
190
  , eventSupported: function(eventName) {
@@ -256,22 +258,33 @@
256
258
  e.preventDefault()
257
259
  }
258
260
 
261
+ , focus: function (e) {
262
+ this.focused = true
263
+ }
264
+
259
265
  , blur: function (e) {
260
- var that = this
261
- setTimeout(function () { that.hide() }, 150)
266
+ this.focused = false
267
+ if (!this.mousedover && this.shown) this.hide()
262
268
  }
263
269
 
264
270
  , click: function (e) {
265
271
  e.stopPropagation()
266
272
  e.preventDefault()
267
273
  this.select()
274
+ this.$element.focus()
268
275
  }
269
276
 
270
277
  , mouseenter: function (e) {
278
+ this.mousedover = true
271
279
  this.$menu.find('.active').removeClass('active')
272
280
  $(e.currentTarget).addClass('active')
273
281
  }
274
282
 
283
+ , mouseleave: function (e) {
284
+ this.mousedover = false
285
+ if (!this.focused && this.shown) this.hide()
286
+ }
287
+
275
288
  }
276
289
 
277
290
 
@@ -316,7 +329,6 @@
316
329
  $(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
317
330
  var $this = $(this)
318
331
  if ($this.data('typeahead')) return
319
- e.preventDefault()
320
332
  $this.typeahead($this.data())
321
333
  })
322
334
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.2.2
2
+ * Bootstrap v2.3.1
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.2.2
2
+ * Bootstrap v2.3.1
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -165,8 +165,6 @@
165
165
  margin-left: 0;
166
166
  }
167
167
  // Carets in other button sizes
168
- .btn-mini .caret,
169
- .btn-small .caret,
170
168
  .btn-large .caret {
171
169
  margin-top: 6px;
172
170
  }
@@ -175,6 +173,10 @@
175
173
  border-right-width: 5px;
176
174
  border-top-width: 5px;
177
175
  }
176
+ .btn-mini .caret,
177
+ .btn-small .caret {
178
+ margin-top: 8px;
179
+ }
178
180
  // Upside down carets for .dropup
179
181
  .dropup .btn-large .caret {
180
182
  border-bottom-width: 5px;
@@ -25,13 +25,14 @@
25
25
  @include border-radius($baseBorderRadius);
26
26
  @include ie7-restore-left-whitespace(); // Give IE7 some love
27
27
  @include box-shadow(inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05));
28
- // Hover state
29
- &:hover {
28
+ // Hover/focus state
29
+ &:hover,
30
+ &:focus {
30
31
  color: $grayDark;
31
32
  text-decoration: none;
32
33
  background-position: 0 -15px;
33
34
 
34
- // transition is only when going to hover, otherwise the background
35
+ // transition is only when going to hover/focus, otherwise the background
35
36
  // behind the gradient (there for IE<=9 fallback) gets mismatched
36
37
  @include transition(background-position .1s linear);
37
38
  }
@@ -140,11 +141,6 @@ input[type="button"] {
140
141
 
141
142
  // Set the backgrounds
142
143
  // -------------------------
143
- .btn {
144
- // reset here as of 2.0.3 due to Recess property order
145
- border-color: #c5c5c5;
146
- border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
147
- }
148
144
  .btn-primary {
149
145
  @include buttonBackground($btnPrimaryBackground, $btnPrimaryBackgroundHighlight);
150
146
  }
@@ -217,12 +213,14 @@ input[type="submit"].btn {
217
213
  color: $linkColor;
218
214
  @include border-radius(0);
219
215
  }
220
- .btn-link:hover {
216
+ .btn-link:hover,
217
+ .btn-link:focus {
221
218
  color: $linkColorHover;
222
219
  text-decoration: underline;
223
220
  background-color: transparent;
224
221
  }
225
- .btn-link[disabled]:hover {
222
+ .btn-link[disabled]:hover,
223
+ .btn-link[disabled]:focus {
226
224
  color: $grayDark;
227
225
  text-decoration: none;
228
226
  }
@@ -22,12 +22,13 @@
22
22
  display: none;
23
23
  position: relative;
24
24
  @include transition(.6s ease-in-out left);
25
- }
26
25
 
27
- // Account for jankitude on images
28
- > .item > img {
29
- display: block;
30
- line-height: 1;
26
+ // Account for jankitude on images
27
+ > img,
28
+ > a > img {
29
+ display: block;
30
+ line-height: 1;
31
+ }
31
32
  }
32
33
 
33
34
  > .active,
@@ -98,14 +99,40 @@
98
99
  right: 15px;
99
100
  }
100
101
 
101
- // Hover state
102
- &:hover {
102
+ // Hover/focus state
103
+ &:hover,
104
+ &:focus {
103
105
  color: $white;
104
106
  text-decoration: none;
105
107
  @include opacity(90);
106
108
  }
107
109
  }
108
110
 
111
+ // Carousel indicator pips
112
+ // -----------------------------
113
+ .carousel-indicators {
114
+ position: absolute;
115
+ top: 15px;
116
+ right: 15px;
117
+ z-index: 5;
118
+ margin: 0;
119
+ list-style: none;
120
+
121
+ li {
122
+ display: block;
123
+ float: left;
124
+ width: 10px;
125
+ height: 10px;
126
+ margin-left: 5px;
127
+ text-indent: -999px;
128
+ background-color: #ccc;
129
+ background-color: rgba(255,255,255,.25);
130
+ border-radius: 5px;
131
+ }
132
+ .active {
133
+ background-color: #fff;
134
+ }
135
+ }
109
136
 
110
137
  // Caption for text below images
111
138
  // -----------------------------
@@ -12,7 +12,8 @@
12
12
  color: $black;
13
13
  text-shadow: 0 1px 0 rgba(255,255,255,1);
14
14
  @include opacity(20);
15
- &:hover {
15
+ &:hover,
16
+ &:focus {
16
17
  color: $black;
17
18
  text-decoration: none;
18
19
  cursor: pointer;
@@ -72,7 +72,7 @@
72
72
  }
73
73
 
74
74
  // Links within the dropdown menu
75
- li > a {
75
+ > li > a {
76
76
  display: block;
77
77
  padding: 3px 20px;
78
78
  clear: both;
@@ -83,11 +83,12 @@
83
83
  }
84
84
  }
85
85
 
86
- // Hover state
86
+ // Hover/Focus state
87
87
  // -----------
88
- .dropdown-menu li > a:hover,
89
- .dropdown-menu li > a:focus,
90
- .dropdown-submenu:hover > a {
88
+ .dropdown-menu > li > a:hover,
89
+ .dropdown-menu > li > a:focus,
90
+ .dropdown-submenu:hover > a,
91
+ .dropdown-submenu:focus > a {
91
92
  text-decoration: none;
92
93
  color: $dropdownLinkColorHover;
93
94
  @include gradient-vertical($dropdownLinkBackgroundHover, darken($dropdownLinkBackgroundHover, 5%));
@@ -95,8 +96,9 @@
95
96
 
96
97
  // Active state
97
98
  // ------------
98
- .dropdown-menu .active > a,
99
- .dropdown-menu .active > a:hover {
99
+ .dropdown-menu > .active > a,
100
+ .dropdown-menu > .active > a:hover,
101
+ .dropdown-menu > .active > a:focus {
100
102
  color: $dropdownLinkColorActive;
101
103
  text-decoration: none;
102
104
  outline: 0;
@@ -105,13 +107,15 @@
105
107
 
106
108
  // Disabled state
107
109
  // --------------
108
- // Gray out text and ensure the hover state remains gray
109
- .dropdown-menu .disabled > a,
110
- .dropdown-menu .disabled > a:hover {
110
+ // Gray out text and ensure the hover/focus state remains gray
111
+ .dropdown-menu > .disabled > a,
112
+ .dropdown-menu > .disabled > a:hover,
113
+ .dropdown-menu > .disabled > a:focus {
111
114
  color: $grayLight;
112
115
  }
113
- // Nuke hover effects
114
- .dropdown-menu .disabled > a:hover {
116
+ // Nuke hover/focus effects
117
+ .dropdown-menu > .disabled > a:hover,
118
+ .dropdown-menu > .disabled > a:focus {
115
119
  text-decoration: none;
116
120
  background-color: transparent;
117
121
  background-image: none; // Remove CSS gradient
@@ -421,7 +421,9 @@ select:focus:invalid {
421
421
  // Allow us to put symbols and text within the input field for a cleaner look
422
422
  .input-append,
423
423
  .input-prepend {
424
- margin-bottom: 5px;
424
+ display: inline-block;
425
+ margin-bottom: $baseLineHeight / 2;
426
+ vertical-align: middle;
425
427
  font-size: 0; // white space collapse hack
426
428
  white-space: nowrap; // Prevent span and input from separating
427
429
 
@@ -429,7 +431,8 @@ select:focus:invalid {
429
431
  input,
430
432
  select,
431
433
  .uneditable-input,
432
- .dropdown-menu {
434
+ .dropdown-menu,
435
+ .popover {
433
436
  font-size: $baseFontSize;
434
437
  }
435
438
 
@@ -683,3 +686,10 @@ legend + .control-group {
683
686
  padding-left: $horizontalComponentOffset;
684
687
  }
685
688
  }
689
+
690
+ // Block level inputs
691
+ // --------------------------
692
+
693
+ .input-block-level {
694
+ @include input-block-level();
695
+ }
@@ -36,10 +36,12 @@
36
36
  }
37
37
  }
38
38
 
39
- // Hover state, but only for links
39
+ // Hover/focus state, but only for links
40
40
  a {
41
41
  &.label:hover,
42
- &.badge:hover {
42
+ &.label:focus,
43
+ &.badge:hover,
44
+ &.badge:focus {
43
45
  color: $white;
44
46
  text-decoration: none;
45
47
  cursor: pointer;
@@ -38,10 +38,10 @@
38
38
  // Media image alignment
39
39
  // -------------------------
40
40
 
41
- .media .pull-left {
41
+ .media > .pull-left {
42
42
  margin-right: 10px;
43
43
  }
44
- .media .pull-right {
44
+ .media > .pull-right {
45
45
  margin-left: 10px;
46
46
  }
47
47
 
@@ -265,6 +265,12 @@
265
265
  -o-transition-delay: $transition-delay;
266
266
  transition-delay: $transition-delay;
267
267
  }
268
+ @mixin transition-duration($transition-duration) {
269
+ -webkit-transition-duration: $transition-duration;
270
+ -moz-transition-duration: $transition-duration;
271
+ -o-transition-duration: $transition-duration;
272
+ transition-duration: $transition-duration;
273
+ }
268
274
 
269
275
  // Transformations
270
276
  @mixin rotate($degrees) {
@@ -430,6 +436,16 @@
430
436
  background-image: -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
431
437
  background-image: linear-gradient($deg, $startColor, $endColor); // Standard, IE10
432
438
  }
439
+ @mixin gradient-horizontal-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
440
+ background-color: mix($midColor, $endColor, 80%);
441
+ background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
442
+ background-image: -webkit-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
443
+ background-image: -moz-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
444
+ background-image: -o-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
445
+ background-image: linear-gradient(to right, $startColor, $midColor $colorStop, $endColor);
446
+ background-repeat: no-repeat;
447
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($startColor)}, endColorstr=#{ie-hex-str($endColor)}, GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
448
+ }
433
449
  @mixin gradient-vertical-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
434
450
  background-color: mix($midColor, $endColor, 80%);
435
451
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
@@ -492,7 +508,7 @@
492
508
  @include reset-filter();
493
509
 
494
510
  // in these cases the gradient won't cover the background, so we override
495
- &:hover, &:active, &.active, &.disabled, &[disabled] {
511
+ &:hover, &:focus, &:active, &.active, &.disabled, &[disabled] {
496
512
  color: $textColor;
497
513
  background-color: $endColor;
498
514
  *background-color: darken($endColor, 5%);
@@ -56,7 +56,8 @@
56
56
  font-weight: 200;
57
57
  color: $navbarBrandColor;
58
58
  text-shadow: 0 1px 0 $navbarBackgroundHighlight;
59
- &:hover {
59
+ &:hover,
60
+ &:focus {
60
61
  text-decoration: none;
61
62
  }
62
63
  }
@@ -73,7 +74,8 @@
73
74
  // -------------------------
74
75
  .navbar-link {
75
76
  color: $navbarLinkColor;
76
- &:hover {
77
+ &:hover,
78
+ &:focus {
77
79
  color: $navbarLinkColorHover;
78
80
  }
79
81
  }
@@ -95,7 +97,9 @@
95
97
  }
96
98
  .navbar .btn-group .btn,
97
99
  .navbar .input-prepend .btn,
98
- .navbar .input-append .btn {
100
+ .navbar .input-append .btn,
101
+ .navbar .input-prepend .btn-group,
102
+ .navbar .input-append .btn-group {
99
103
  margin-top: 0; // then undo the margin here so we don't accidentally double it
100
104
  }
101
105
 
@@ -242,12 +246,11 @@
242
246
  }
243
247
  .navbar .nav .dropdown-toggle .caret {
244
248
  margin-top: 8px;
245
-
246
249
  }
247
- // Hover
250
+ // Hover/focus
248
251
  .navbar .nav > li > a:focus,
249
252
  .navbar .nav > li > a:hover {
250
- background-color: $navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover from .active
253
+ background-color: $navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
251
254
  color: $navbarLinkColorHover;
252
255
  text-decoration: none;
253
256
  }
@@ -331,10 +334,11 @@
331
334
  }
332
335
  }
333
336
 
334
- // Caret should match text color on hover
335
- .navbar .nav li.dropdown > a:hover .caret {
336
- border-top-color: $navbarLinkColorActive;
337
- border-bottom-color: $navbarLinkColorActive;
337
+ // Caret should match text color on hover/focus
338
+ .navbar .nav li.dropdown > a:hover .caret,
339
+ .navbar .nav li.dropdown > a:focus .caret {
340
+ border-top-color: $navbarLinkColorHover;
341
+ border-bottom-color: $navbarLinkColorHover;
338
342
  }
339
343
 
340
344
  // Remove background color from open dropdown
@@ -393,7 +397,8 @@
393
397
  .nav > li > a {
394
398
  color: $navbarInverseLinkColor;
395
399
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
396
- &:hover {
400
+ &:hover,
401
+ &:focus {
397
402
  color: $navbarInverseLinkColorHover;
398
403
  }
399
404
  }
@@ -422,7 +427,8 @@
422
427
  // Inline text links
423
428
  .navbar-link {
424
429
  color: $navbarInverseLinkColor;
425
- &:hover {
430
+ &:hover,
431
+ &:focus {
426
432
  color: $navbarInverseLinkColorHover;
427
433
  }
428
434
  }
@@ -440,7 +446,8 @@
440
446
  background-color: $navbarInverseLinkBackgroundActive;
441
447
  color: $navbarInverseLinkColorActive;
442
448
  }
443
- .nav li.dropdown > a:hover .caret {
449
+ .nav li.dropdown > a:hover .caret,
450
+ .nav li.dropdown > a:focus .caret {
444
451
  border-top-color: $navbarInverseLinkColorActive;
445
452
  border-bottom-color: $navbarInverseLinkColorActive;
446
453
  }