less-rails-bootstrap 2.2.1 → 2.3.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.
- data/CHANGELOG.md +11 -1
- data/Gemfile +2 -3
- data/README.md +11 -0
- data/less-rails-bootstrap.gemspec +16 -16
- data/lib/less/rails/bootstrap/version.rb +1 -1
- data/scripts/update_bootstrap.sh +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +31 -9
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +4 -4
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +14 -10
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +13 -11
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +5 -5
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +95 -29
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +16 -4
- data/vendor/frameworks/twitter/bootstrap/accordion.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/alerts.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/bootstrap.less +4 -4
- data/vendor/frameworks/twitter/bootstrap/breadcrumbs.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/button-groups.less +4 -2
- data/vendor/frameworks/twitter/bootstrap/buttons.less +8 -10
- data/vendor/frameworks/twitter/bootstrap/carousel.less +34 -7
- data/vendor/frameworks/twitter/bootstrap/close.less +3 -2
- data/vendor/frameworks/twitter/bootstrap/code.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/component-animations.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/dropdowns.less +16 -12
- data/vendor/frameworks/twitter/bootstrap/forms.less +5 -2
- data/vendor/frameworks/twitter/bootstrap/grid.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/hero-unit.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/labels-badges.less +4 -2
- data/vendor/frameworks/twitter/bootstrap/layouts.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/media.less +2 -2
- data/vendor/frameworks/twitter/bootstrap/mixins.less +18 -2
- data/vendor/frameworks/twitter/bootstrap/modals.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/navbar.less +20 -13
- data/vendor/frameworks/twitter/bootstrap/navs.less +39 -21
- data/vendor/frameworks/twitter/bootstrap/pager.less +4 -2
- data/vendor/frameworks/twitter/bootstrap/pagination.less +3 -1
- data/vendor/frameworks/twitter/bootstrap/popovers.less +5 -1
- data/vendor/frameworks/twitter/bootstrap/progress-bars.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/reset.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.less +2 -2
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.less +6 -2
- data/vendor/frameworks/twitter/bootstrap/responsive-utilities.less +16 -0
- data/vendor/frameworks/twitter/bootstrap/responsive.less +1 -10
- data/vendor/frameworks/twitter/bootstrap/scaffolding.less +2 -1
- data/vendor/frameworks/twitter/bootstrap/sprites.less +7 -3
- data/vendor/frameworks/twitter/bootstrap/tables.less +24 -17
- data/vendor/frameworks/twitter/bootstrap/thumbnails.less +3 -2
- data/vendor/frameworks/twitter/bootstrap/tooltip.less +6 -6
- data/vendor/frameworks/twitter/bootstrap/type.less +19 -7
- data/vendor/frameworks/twitter/bootstrap/utilities.less +0 -0
- data/vendor/frameworks/twitter/bootstrap/variables.less +1 -1
- data/vendor/frameworks/twitter/bootstrap/wells.less +0 -0
- metadata +9 -4
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ===================================================
|
2
|
-
* bootstrap-transition.js v2.
|
2
|
+
* bootstrap-transition.js v2.3.0
|
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
|
+
* bootstrap-typeahead.js v2.3.0
|
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
|
-
|
261
|
-
|
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
|
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v2.
|
2
|
+
* Bootstrap v2.3.0
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -8,13 +8,13 @@
|
|
8
8
|
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
9
|
*/
|
10
10
|
|
11
|
-
// CSS Reset
|
12
|
-
@import "reset.less";
|
13
|
-
|
14
11
|
// Core variables and mixins
|
15
12
|
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
|
16
13
|
@import "mixins.less";
|
17
14
|
|
15
|
+
// CSS Reset
|
16
|
+
@import "reset.less";
|
17
|
+
|
18
18
|
// Grid system and page structure
|
19
19
|
@import "scaffolding.less";
|
20
20
|
@import "grid.less";
|
File without changes
|
@@ -164,8 +164,6 @@
|
|
164
164
|
margin-left: 0;
|
165
165
|
}
|
166
166
|
// Carets in other button sizes
|
167
|
-
.btn-mini .caret,
|
168
|
-
.btn-small .caret,
|
169
167
|
.btn-large .caret {
|
170
168
|
margin-top: 6px;
|
171
169
|
}
|
@@ -174,6 +172,10 @@
|
|
174
172
|
border-right-width: 5px;
|
175
173
|
border-top-width: 5px;
|
176
174
|
}
|
175
|
+
.btn-mini .caret,
|
176
|
+
.btn-small .caret {
|
177
|
+
margin-top: 8px;
|
178
|
+
}
|
177
179
|
// Upside down carets for .dropup
|
178
180
|
.dropup .btn-large .caret {
|
179
181
|
border-bottom-width: 5px;
|
@@ -25,13 +25,14 @@
|
|
25
25
|
.ie7-restore-left-whitespace(); // Give IE7 some love
|
26
26
|
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
|
27
27
|
|
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
|
.transition(background-position .1s linear);
|
37
38
|
}
|
@@ -141,11 +142,6 @@ input[type="button"] {
|
|
141
142
|
|
142
143
|
// Set the backgrounds
|
143
144
|
// -------------------------
|
144
|
-
.btn {
|
145
|
-
// reset here as of 2.0.3 due to Recess property order
|
146
|
-
border-color: #c5c5c5;
|
147
|
-
border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
|
148
|
-
}
|
149
145
|
.btn-primary {
|
150
146
|
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
151
147
|
}
|
@@ -219,12 +215,14 @@ input[type="submit"].btn {
|
|
219
215
|
color: @linkColor;
|
220
216
|
.border-radius(0);
|
221
217
|
}
|
222
|
-
.btn-link:hover
|
218
|
+
.btn-link:hover,
|
219
|
+
.btn-link:focus {
|
223
220
|
color: @linkColorHover;
|
224
221
|
text-decoration: underline;
|
225
222
|
background-color: transparent;
|
226
223
|
}
|
227
|
-
.btn-link[disabled]:hover
|
224
|
+
.btn-link[disabled]:hover,
|
225
|
+
.btn-link[disabled]:focus {
|
228
226
|
color: @grayDark;
|
229
227
|
text-decoration: none;
|
230
228
|
}
|
@@ -21,12 +21,13 @@
|
|
21
21
|
display: none;
|
22
22
|
position: relative;
|
23
23
|
.transition(.6s ease-in-out left);
|
24
|
-
}
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
// Account for jankitude on images
|
26
|
+
> img,
|
27
|
+
> a > img {
|
28
|
+
display: block;
|
29
|
+
line-height: 1;
|
30
|
+
}
|
30
31
|
}
|
31
32
|
|
32
33
|
> .active,
|
@@ -97,14 +98,40 @@
|
|
97
98
|
right: 15px;
|
98
99
|
}
|
99
100
|
|
100
|
-
// Hover state
|
101
|
-
&:hover
|
101
|
+
// Hover/focus state
|
102
|
+
&:hover,
|
103
|
+
&:focus {
|
102
104
|
color: @white;
|
103
105
|
text-decoration: none;
|
104
106
|
.opacity(90);
|
105
107
|
}
|
106
108
|
}
|
107
109
|
|
110
|
+
// Carousel indicator pips
|
111
|
+
// -----------------------------
|
112
|
+
.carousel-indicators {
|
113
|
+
position: absolute;
|
114
|
+
top: 15px;
|
115
|
+
right: 15px;
|
116
|
+
z-index: 5;
|
117
|
+
margin: 0;
|
118
|
+
list-style: none;
|
119
|
+
|
120
|
+
li {
|
121
|
+
display: block;
|
122
|
+
float: left;
|
123
|
+
width: 10px;
|
124
|
+
height: 10px;
|
125
|
+
margin-left: 5px;
|
126
|
+
text-indent: -999px;
|
127
|
+
background-color: #ccc;
|
128
|
+
background-color: rgba(255,255,255,.25);
|
129
|
+
border-radius: 5px;
|
130
|
+
}
|
131
|
+
.active {
|
132
|
+
background-color: #fff;
|
133
|
+
}
|
134
|
+
}
|
108
135
|
|
109
136
|
// Caption for text below images
|
110
137
|
// -----------------------------
|
@@ -11,7 +11,8 @@
|
|
11
11
|
color: @black;
|
12
12
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
13
13
|
.opacity(20);
|
14
|
-
&:hover
|
14
|
+
&:hover,
|
15
|
+
&:focus {
|
15
16
|
color: @black;
|
16
17
|
text-decoration: none;
|
17
18
|
cursor: pointer;
|
@@ -28,4 +29,4 @@ button.close {
|
|
28
29
|
background: transparent;
|
29
30
|
border: 0;
|
30
31
|
-webkit-appearance: none;
|
31
|
-
}
|
32
|
+
}
|
File without changes
|
@@ -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
|
#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
|
@@ -422,7 +422,9 @@ select:focus:invalid {
|
|
422
422
|
// Allow us to put symbols and text within the input field for a cleaner look
|
423
423
|
.input-append,
|
424
424
|
.input-prepend {
|
425
|
-
|
425
|
+
display: inline-block;
|
426
|
+
margin-bottom: @baseLineHeight / 2;
|
427
|
+
vertical-align: middle;
|
426
428
|
font-size: 0; // white space collapse hack
|
427
429
|
white-space: nowrap; // Prevent span and input from separating
|
428
430
|
|
@@ -430,7 +432,8 @@ select:focus:invalid {
|
|
430
432
|
input,
|
431
433
|
select,
|
432
434
|
.uneditable-input,
|
433
|
-
.dropdown-menu
|
435
|
+
.dropdown-menu,
|
436
|
+
.popover {
|
434
437
|
font-size: @baseFontSize;
|
435
438
|
}
|
436
439
|
|
File without changes
|
File without changes
|
@@ -35,10 +35,12 @@
|
|
35
35
|
}
|
36
36
|
}
|
37
37
|
|
38
|
-
// Hover state, but only for links
|
38
|
+
// Hover/focus state, but only for links
|
39
39
|
a {
|
40
40
|
&.label:hover,
|
41
|
-
&.
|
41
|
+
&.label:focus,
|
42
|
+
&.badge:hover,
|
43
|
+
&.badge:focus {
|
42
44
|
color: @white;
|
43
45
|
text-decoration: none;
|
44
46
|
cursor: pointer;
|
@@ -268,6 +268,12 @@
|
|
268
268
|
-o-transition-delay: @transition-delay;
|
269
269
|
transition-delay: @transition-delay;
|
270
270
|
}
|
271
|
+
.transition-duration(@transition-duration) {
|
272
|
+
-webkit-transition-duration: @transition-duration;
|
273
|
+
-moz-transition-duration: @transition-duration;
|
274
|
+
-o-transition-duration: @transition-duration;
|
275
|
+
transition-duration: @transition-duration;
|
276
|
+
}
|
271
277
|
|
272
278
|
// Transformations
|
273
279
|
.rotate(@degrees) {
|
@@ -437,6 +443,17 @@
|
|
437
443
|
background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
|
438
444
|
background-image: linear-gradient(@deg, @startColor, @endColor); // Standard, IE10
|
439
445
|
}
|
446
|
+
.horizontal-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
|
447
|
+
background-color: mix(@midColor, @endColor, 80%);
|
448
|
+
background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
449
|
+
background-image: -webkit-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
|
450
|
+
background-image: -moz-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
|
451
|
+
background-image: -o-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
|
452
|
+
background-image: linear-gradient(to right, @startColor, @midColor @colorStop, @endColor);
|
453
|
+
background-repeat: no-repeat;
|
454
|
+
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
|
455
|
+
}
|
456
|
+
|
440
457
|
.vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
|
441
458
|
background-color: mix(@midColor, @endColor, 80%);
|
442
459
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
@@ -500,7 +517,7 @@
|
|
500
517
|
.reset-filter();
|
501
518
|
|
502
519
|
// in these cases the gradient won't cover the background, so we override
|
503
|
-
&:hover, &:active, &.active, &.disabled, &[disabled] {
|
520
|
+
&:hover, &:focus, &:active, &.active, &.disabled, &[disabled] {
|
504
521
|
color: @textColor;
|
505
522
|
background-color: @endColor;
|
506
523
|
*background-color: darken(@endColor, 5%);
|
@@ -682,5 +699,4 @@
|
|
682
699
|
.spanX (@gridColumns);
|
683
700
|
|
684
701
|
}
|
685
|
-
|
686
702
|
}
|
File without changes
|
@@ -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
|
|
@@ -245,13 +249,12 @@
|
|
245
249
|
}
|
246
250
|
.navbar .nav .dropdown-toggle .caret {
|
247
251
|
margin-top: 8px;
|
248
|
-
|
249
252
|
}
|
250
253
|
|
251
|
-
// Hover
|
254
|
+
// Hover/focus
|
252
255
|
.navbar .nav > li > a:focus,
|
253
256
|
.navbar .nav > li > a:hover {
|
254
|
-
background-color: @navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover from .active
|
257
|
+
background-color: @navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
|
255
258
|
color: @navbarLinkColorHover;
|
256
259
|
text-decoration: none;
|
257
260
|
}
|
@@ -335,10 +338,11 @@
|
|
335
338
|
}
|
336
339
|
}
|
337
340
|
|
338
|
-
// Caret should match text color on hover
|
339
|
-
.navbar .nav li.dropdown > a:hover .caret
|
340
|
-
|
341
|
-
border-
|
341
|
+
// Caret should match text color on hover/focus
|
342
|
+
.navbar .nav li.dropdown > a:hover .caret,
|
343
|
+
.navbar .nav li.dropdown > a:focus .caret {
|
344
|
+
border-top-color: @navbarLinkColorHover;
|
345
|
+
border-bottom-color: @navbarLinkColorHover;
|
342
346
|
}
|
343
347
|
|
344
348
|
// Remove background color from open dropdown
|
@@ -396,7 +400,8 @@
|
|
396
400
|
.nav > li > a {
|
397
401
|
color: @navbarInverseLinkColor;
|
398
402
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
399
|
-
&:hover
|
403
|
+
&:hover,
|
404
|
+
&:focus {
|
400
405
|
color: @navbarInverseLinkColorHover;
|
401
406
|
}
|
402
407
|
}
|
@@ -425,7 +430,8 @@
|
|
425
430
|
// Inline text links
|
426
431
|
.navbar-link {
|
427
432
|
color: @navbarInverseLinkColor;
|
428
|
-
&:hover
|
433
|
+
&:hover,
|
434
|
+
&:focus {
|
429
435
|
color: @navbarInverseLinkColorHover;
|
430
436
|
}
|
431
437
|
}
|
@@ -443,7 +449,8 @@
|
|
443
449
|
background-color: @navbarInverseLinkBackgroundActive;
|
444
450
|
color: @navbarInverseLinkColorActive;
|
445
451
|
}
|
446
|
-
.nav li.dropdown > a:hover .caret
|
452
|
+
.nav li.dropdown > a:hover .caret,
|
453
|
+
.nav li.dropdown > a:focus .caret {
|
447
454
|
border-top-color: @navbarInverseLinkColorActive;
|
448
455
|
border-bottom-color: @navbarInverseLinkColorActive;
|
449
456
|
}
|