compass_twitter_bootstrap 2.2.2.2 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/README.md +5 -4
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +15 -5
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +17 -6
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +17 -5
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +9 -11
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +34 -7
- data/stylesheets/compass_twitter_bootstrap/_close.scss +2 -1
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +16 -12
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +5 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_media.scss +2 -2
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +39 -8
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +20 -13
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +39 -21
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +3 -1
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +3 -1
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +5 -1
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +2 -2
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +6 -2
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +16 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +2 -1
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +7 -3
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +24 -17
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +3 -2
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +6 -6
- data/stylesheets/compass_twitter_bootstrap/_type.scss +19 -7
- data/stylesheets/compass_twitter_bootstrap/_utilities.scss +1 -3
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +4 -4
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +14 -6
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +16 -7
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +14 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +9 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +30 -6
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +2 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +1 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +18 -13
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +339 -46
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +12 -15
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_media.sass +2 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +41 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +23 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +51 -30
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +3 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +2 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +1 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +6 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +19 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +3 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +8 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +24 -16
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +6 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +24 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_utilities.sass +0 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +4 -4
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-affix.js +1 -1
- data/vendor/assets/javascripts/bootstrap-alert.js +1 -1
- data/vendor/assets/javascripts/bootstrap-all.js +0 -1
- data/vendor/assets/javascripts/bootstrap-button.js +1 -1
- data/vendor/assets/javascripts/bootstrap-carousel.js +32 -10
- data/vendor/assets/javascripts/bootstrap-collapse.js +4 -4
- data/vendor/assets/javascripts/bootstrap-dropdown.js +14 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +14 -12
- data/vendor/assets/javascripts/bootstrap-popover.js +5 -5
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +2 -2
- data/vendor/assets/javascripts/bootstrap-tab.js +1 -1
- data/vendor/assets/javascripts/bootstrap-tooltip.js +104 -30
- data/vendor/assets/javascripts/bootstrap-transition.js +1 -1
- data/vendor/assets/javascripts/bootstrap-typeahead.js +16 -4
- metadata +10 -22
- data/stylesheets/compass_twitter_bootstrap/_responsive.scss +0 -48
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive.sass +0 -44
@@ -33,8 +33,9 @@
|
|
33
33
|
@include ctb-box-shadow(0 1px 3px rgba(0,0,0,.055));
|
34
34
|
@include ctb-transition(all .2s ease-in-out);
|
35
35
|
}
|
36
|
-
// Add a hover state for linked versions only
|
37
|
-
a.thumbnail:hover
|
36
|
+
// Add a hover/focus state for linked versions only
|
37
|
+
a.thumbnail:hover,
|
38
|
+
a.thumbnail:focus {
|
38
39
|
border-color: $linkColor;
|
39
40
|
@include ctb-box-shadow(0 1px 4px rgba(0,105,214,.25));
|
40
41
|
}
|
@@ -9,20 +9,20 @@
|
|
9
9
|
z-index: $zindexTooltip;
|
10
10
|
display: block;
|
11
11
|
visibility: visible;
|
12
|
-
padding: 5px;
|
13
12
|
font-size: 11px;
|
13
|
+
line-height: 1.4;
|
14
14
|
@include ctb-opacity(0);
|
15
15
|
&.in { @include ctb-opacity(80); }
|
16
|
-
&.top { margin-top: -3px; }
|
17
|
-
&.right { margin-left: 3px; }
|
18
|
-
&.bottom { margin-top: 3px; }
|
19
|
-
&.left { margin-left: -3px; }
|
16
|
+
&.top { margin-top: -3px; padding: 5px 0; }
|
17
|
+
&.right { margin-left: 3px; padding: 0 5px; }
|
18
|
+
&.bottom { margin-top: 3px; padding: 5px 0; }
|
19
|
+
&.left { margin-left: -3px; padding: 0 5px; }
|
20
20
|
}
|
21
21
|
|
22
22
|
// Wrapper for the tooltip content
|
23
23
|
.tooltip-inner {
|
24
24
|
max-width: 200px;
|
25
|
-
padding:
|
25
|
+
padding: 8px;
|
26
26
|
color: $tooltipColor;
|
27
27
|
text-align: center;
|
28
28
|
text-decoration: none;
|
@@ -29,19 +29,28 @@ cite { font-style: normal; }
|
|
29
29
|
|
30
30
|
// Utility classes
|
31
31
|
.muted { color: $grayLight; }
|
32
|
-
a.muted:hover
|
32
|
+
a.muted:hover,
|
33
|
+
a.muted:focus { color: darken($grayLight, 10%); }
|
33
34
|
|
34
35
|
.text-warning { color: $warningText; }
|
35
|
-
a.text-warning:hover
|
36
|
+
a.text-warning:hover,
|
37
|
+
a.text-warning:focus { color: darken($warningText, 10%); }
|
36
38
|
|
37
39
|
.text-error { color: $errorText; }
|
38
|
-
a.text-error:hover
|
40
|
+
a.text-error:hover,
|
41
|
+
a.text-error:focus { color: darken($errorText, 10%); }
|
39
42
|
|
40
43
|
.text-info { color: $infoText; }
|
41
|
-
a.text-info:hover
|
44
|
+
a.text-info:hover,
|
45
|
+
a.text-info:focus { color: darken($infoText, 10%); }
|
42
46
|
|
43
47
|
.text-success { color: $successText; }
|
44
|
-
a.text-success:hover
|
48
|
+
a.text-success:hover,
|
49
|
+
a.text-success:focus { color: darken($successText, 10%); }
|
50
|
+
|
51
|
+
.text-left { text-align: left; }
|
52
|
+
.text-right { text-align: right; }
|
53
|
+
.text-center { text-align: center; }
|
45
54
|
|
46
55
|
|
47
56
|
// Headings
|
@@ -119,8 +128,9 @@ ul.inline,
|
|
119
128
|
ol.inline {
|
120
129
|
margin-left: 0;
|
121
130
|
list-style: none;
|
122
|
-
|
131
|
+
> li {
|
123
132
|
display: inline-block;
|
133
|
+
@include ctb-ie7-inline-block();
|
124
134
|
padding-left: 5px;
|
125
135
|
padding-right: 5px;
|
126
136
|
}
|
@@ -185,7 +195,9 @@ blockquote {
|
|
185
195
|
border-left: 5px solid $grayLighter;
|
186
196
|
p {
|
187
197
|
margin-bottom: 0;
|
188
|
-
|
198
|
+
font-size: $baseFontSize * 1.25;
|
199
|
+
font-weight: 300;
|
200
|
+
line-height: 1.25;
|
189
201
|
}
|
190
202
|
small {
|
191
203
|
display: block;
|
@@ -53,9 +53,9 @@ $baseFontFamily: $sansFontFamily !default;
|
|
53
53
|
$baseLineHeight: 20px !default;
|
54
54
|
$altFontFamily: $serifFontFamily !default;
|
55
55
|
|
56
|
-
$headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
|
57
|
-
$headingsFontWeight: bold; // instead of browser default, bold
|
58
|
-
$headingsColor: inherit; // empty to use BS default, $textColor
|
56
|
+
$headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
|
57
|
+
$headingsFontWeight: bold !default; // instead of browser default, bold
|
58
|
+
$headingsColor: inherit !default; // empty to use BS default, $textColor
|
59
59
|
|
60
60
|
|
61
61
|
// Component sizing
|
@@ -86,7 +86,7 @@ $tableBorder: #ddd; // table and cell border
|
|
86
86
|
// -------------------------
|
87
87
|
$btnBackground: $white !default;
|
88
88
|
$btnBackgroundHighlight: darken($white, 10%) !default;
|
89
|
-
$btnBorder: #
|
89
|
+
$btnBorder: #ccc !default;
|
90
90
|
|
91
91
|
$btnPrimaryBackground: $linkColor !default;
|
92
92
|
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v2.
|
2
|
+
* Bootstrap v2.3.1
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -9,15 +9,23 @@
|
|
9
9
|
|
10
10
|
@import compass
|
11
11
|
|
12
|
-
@import compass_twitter_bootstrap/mixins
|
13
|
-
|
14
|
-
// CSS Reset
|
15
|
-
@import compass_twitter_bootstrap/reset
|
16
|
-
|
17
12
|
// Core variables and mixins
|
18
13
|
@import compass_twitter_bootstrap/variables
|
19
14
|
|
20
15
|
// Modify this for custom colors, font-sizes, etc
|
16
|
+
@import compass_twitter_bootstrap/mixins
|
17
|
+
|
18
|
+
.clearfix
|
19
|
+
+ctb-clearfix
|
20
|
+
|
21
|
+
.hide-text
|
22
|
+
+ctb-hide-text
|
23
|
+
|
24
|
+
.input-block-level
|
25
|
+
+ctb-input-block-level
|
26
|
+
|
27
|
+
// CSS Reset
|
28
|
+
@import compass_twitter_bootstrap/reset
|
21
29
|
|
22
30
|
// Grid system and page structure
|
23
31
|
@import compass_twitter_bootstrap/scaffolding
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
* Bootstrap v2.
|
1
|
+
/*!
|
2
|
+
* Bootstrap v2.3.1
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -9,15 +9,23 @@
|
|
9
9
|
|
10
10
|
@import compass
|
11
11
|
|
12
|
-
@import compass_twitter_bootstrap/mixins
|
13
|
-
|
14
|
-
// CSS Reset
|
15
|
-
@import compass_twitter_bootstrap/reset
|
16
|
-
|
17
12
|
// Core variables and mixins
|
18
13
|
@import compass_twitter_bootstrap/variables
|
19
14
|
|
20
15
|
// Modify this for custom colors, font-sizes, etc
|
16
|
+
@import compass_twitter_bootstrap/mixins
|
17
|
+
|
18
|
+
.clearfix
|
19
|
+
+ctb-clearfix
|
20
|
+
|
21
|
+
.hide-text
|
22
|
+
+ctb-hide-text
|
23
|
+
|
24
|
+
.input-block-level
|
25
|
+
+ctb-input-block-level
|
26
|
+
|
27
|
+
// CSS Reset
|
28
|
+
@import compass_twitter_bootstrap/reset
|
21
29
|
|
22
30
|
// Grid system and page structure
|
23
31
|
@import compass_twitter_bootstrap/scaffolding
|
@@ -58,6 +66,7 @@
|
|
58
66
|
|
59
67
|
// Components: Misc
|
60
68
|
@import compass_twitter_bootstrap/thumbnails
|
69
|
+
@import compass_twitter_bootstrap/media
|
61
70
|
@import compass_twitter_bootstrap/labels-badges
|
62
71
|
@import compass_twitter_bootstrap/progress-bars
|
63
72
|
@import compass_twitter_bootstrap/accordion
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap Responsive v2.1
|
2
|
+
* Bootstrap Responsive v2.3.1
|
3
3
|
*
|
4
4
|
* Copyright 2012 Twitter, Inc
|
5
5
|
* Licensed under the Apache License v2.0
|
@@ -20,6 +20,15 @@
|
|
20
20
|
// Modify this for custom colors, font-sizes, etc
|
21
21
|
@import compass_twitter_bootstrap/mixins
|
22
22
|
|
23
|
+
.clearfix
|
24
|
+
+ctb-clearfix
|
25
|
+
|
26
|
+
.hide-text
|
27
|
+
+ctb-hide-text
|
28
|
+
|
29
|
+
.input-block-level
|
30
|
+
+ctb-input-block-level
|
31
|
+
|
23
32
|
// RESPONSIVE CLASSES
|
24
33
|
// ------------------
|
25
34
|
|
@@ -28,14 +37,14 @@
|
|
28
37
|
// MEDIA QUERIES
|
29
38
|
// ------------------
|
30
39
|
|
31
|
-
//
|
32
|
-
@import compass_twitter_bootstrap/responsive-
|
40
|
+
// Large desktops
|
41
|
+
@import compass_twitter_bootstrap/responsive-1200px-min
|
33
42
|
|
34
43
|
// Tablets to regular desktops
|
35
44
|
@import compass_twitter_bootstrap/responsive-768px-979px
|
36
45
|
|
37
|
-
//
|
38
|
-
@import compass_twitter_bootstrap/responsive-
|
46
|
+
// Phones to portrait tablets and narrow desktops
|
47
|
+
@import compass_twitter_bootstrap/responsive-767px-max
|
39
48
|
|
40
49
|
// RESPONSIVE NAVBAR
|
41
50
|
// ------------------
|
@@ -147,9 +147,6 @@
|
|
147
147
|
margin-left: 0
|
148
148
|
|
149
149
|
// Carets in other button sizes
|
150
|
-
|
151
|
-
.btn-mini .caret,
|
152
|
-
.btn-small .caret,
|
153
150
|
.btn-large .caret
|
154
151
|
margin-top: 6px
|
155
152
|
|
@@ -158,6 +155,10 @@
|
|
158
155
|
border-right-width: 5px
|
159
156
|
border-top-width: 5px
|
160
157
|
|
158
|
+
.btn-mini .caret,
|
159
|
+
.btn-small .caret
|
160
|
+
margin-top: 8px
|
161
|
+
|
161
162
|
// Upside down carets for .dropup
|
162
163
|
.dropup .btn-large .caret
|
163
164
|
border-bottom-width: 5px
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@import compass_twitter_bootstrap/mixins
|
2
1
|
@import compass_twitter_bootstrap/variables
|
2
|
+
@import compass_twitter_bootstrap/mixins
|
3
3
|
|
4
4
|
//
|
5
5
|
// Buttons
|
@@ -29,12 +29,13 @@
|
|
29
29
|
+ctb-ie7-restore-left-whitespace
|
30
30
|
// Give IE7 some love
|
31
31
|
+ctb-box-shadow(#{inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)})
|
32
|
-
// Hover state
|
33
|
-
&:hover
|
32
|
+
// Hover/focus state
|
33
|
+
&:hover,
|
34
|
+
&:focus
|
34
35
|
color: $grayDark
|
35
36
|
text-decoration: none
|
36
37
|
background-position: 0 -15px
|
37
|
-
// transition is only when going to hover, otherwise the background
|
38
|
+
// transition is only when going to hover/focus, otherwise the background
|
38
39
|
// behind the gradient (there for IE<=9 fallback) gets mismatched
|
39
40
|
+ctb-transition(background-position 0.1s linear)
|
40
41
|
// Focus state for keyboard and accessibility
|
@@ -124,11 +125,6 @@ input[type="button"]
|
|
124
125
|
|
125
126
|
// Set the backgrounds
|
126
127
|
// -------------------------
|
127
|
-
.btn
|
128
|
-
// reset here as of 2.0.3 due to Recess property order
|
129
|
-
border-color: #c5c5c5
|
130
|
-
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25)
|
131
|
-
|
132
128
|
.btn-primary
|
133
129
|
+ctb-buttonBackground($btnPrimaryBackground, $btnPrimaryBackgroundHighlight)
|
134
130
|
|
@@ -192,11 +188,13 @@ input[type="submit"].btn
|
|
192
188
|
color: $linkColor
|
193
189
|
+ctb-border-radius(0)
|
194
190
|
|
195
|
-
.btn-link:hover
|
191
|
+
.btn-link:hover,
|
192
|
+
.btn-link:focus
|
196
193
|
color: $linkColorHover
|
197
194
|
text-decoration: underline
|
198
195
|
background-color: transparent
|
199
196
|
|
200
|
-
.btn-link[disabled]:hover
|
197
|
+
.btn-link[disabled]:hover,
|
198
|
+
.btn-link[disabled]:focus
|
201
199
|
color: $grayDark
|
202
200
|
text-decoration: none
|
@@ -17,10 +17,11 @@
|
|
17
17
|
display: none
|
18
18
|
position: relative
|
19
19
|
+ctb-transition(0.6s ease-in-out left)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
// Account for jankitude on images
|
21
|
+
> img,
|
22
|
+
> a > img
|
23
|
+
display: block
|
24
|
+
line-height: 1
|
24
25
|
> .active,
|
25
26
|
> .next,
|
26
27
|
> .prev
|
@@ -73,12 +74,35 @@
|
|
73
74
|
&.right
|
74
75
|
left: auto
|
75
76
|
right: 15px
|
76
|
-
// Hover state
|
77
|
-
&:hover
|
77
|
+
// Hover/focus state
|
78
|
+
&:hover,
|
79
|
+
&:focus
|
78
80
|
color: $white
|
79
81
|
text-decoration: none
|
80
82
|
+ctb-opacity(90)
|
81
83
|
|
84
|
+
// Carousel indicator pips
|
85
|
+
// -----------------------------
|
86
|
+
.carousel-indicators
|
87
|
+
position: absolute
|
88
|
+
top: 15px
|
89
|
+
right: 15px
|
90
|
+
z-index: 5
|
91
|
+
margin: 0
|
92
|
+
list-style: none
|
93
|
+
li
|
94
|
+
display: block
|
95
|
+
float: left
|
96
|
+
width: 10px
|
97
|
+
height: 10px
|
98
|
+
margin-left: 5px
|
99
|
+
text-indent: -999px
|
100
|
+
background-color: #ccc
|
101
|
+
background-color: rgba(255, 255, 255, 0.25)
|
102
|
+
border-radius: 5px
|
103
|
+
.active
|
104
|
+
background-color: #fff
|
105
|
+
|
82
106
|
// Caption for text below images
|
83
107
|
// -----------------------------
|
84
108
|
|
@@ -49,7 +49,7 @@
|
|
49
49
|
// override default ul
|
50
50
|
list-style: none
|
51
51
|
background-color: $dropdownBackground
|
52
|
-
border: 1px solid #
|
52
|
+
border: 1px solid #cccccc
|
53
53
|
// Fallback for IE7-8
|
54
54
|
border: 1px solid $dropdownBorder
|
55
55
|
*border-right-width: 2px
|
@@ -67,7 +67,7 @@
|
|
67
67
|
.divider
|
68
68
|
+ctb-nav-divider($dropdownDividerTop, $dropdownDividerBottom)
|
69
69
|
// Links within the dropdown menu
|
70
|
-
li > a
|
70
|
+
> li > a
|
71
71
|
display: block
|
72
72
|
padding: 3px 20px
|
73
73
|
clear: both
|
@@ -76,12 +76,13 @@
|
|
76
76
|
color: $dropdownLinkColor
|
77
77
|
white-space: nowrap
|
78
78
|
|
79
|
-
// Hover state
|
79
|
+
// Hover/Focus state
|
80
80
|
// -----------
|
81
81
|
|
82
|
-
.dropdown-menu li > a:hover,
|
83
|
-
.dropdown-menu li > a:focus,
|
84
|
-
.dropdown-submenu:hover > a
|
82
|
+
.dropdown-menu > li > a:hover,
|
83
|
+
.dropdown-menu > li > a:focus,
|
84
|
+
.dropdown-submenu:hover > a,
|
85
|
+
.dropdown-submenu:focus > a
|
85
86
|
text-decoration: none
|
86
87
|
color: $dropdownLinkColorHover
|
87
88
|
+ctb-gradient-vertical($dropdownLinkBackgroundHover, darken($dropdownLinkBackgroundHover, 5%))
|
@@ -89,8 +90,9 @@
|
|
89
90
|
// Active state
|
90
91
|
// ------------
|
91
92
|
|
92
|
-
.dropdown-menu .active > a,
|
93
|
-
.dropdown-menu .active > a:hover
|
93
|
+
.dropdown-menu > .active > a,
|
94
|
+
.dropdown-menu > .active > a:hover,
|
95
|
+
.dropdown-menu > .active > a:focus
|
94
96
|
color: $dropdownLinkColorActive
|
95
97
|
text-decoration: none
|
96
98
|
outline: 0
|
@@ -98,14 +100,17 @@
|
|
98
100
|
|
99
101
|
// Disabled state
|
100
102
|
// --------------
|
101
|
-
// Gray out text and ensure the hover state remains gray
|
103
|
+
// Gray out text and ensure the hover/focus state remains gray
|
102
104
|
|
103
|
-
.dropdown-menu .disabled > a,
|
104
|
-
.dropdown-menu .disabled > a:hover
|
105
|
+
.dropdown-menu > .disabled > a,
|
106
|
+
.dropdown-menu > .disabled > a:hover,
|
107
|
+
.dropdown-menu > .disabled > a:focus
|
105
108
|
color: $grayLight
|
106
109
|
|
107
|
-
// Nuke hover effects
|
108
|
-
|
110
|
+
// Nuke hover/focus effects
|
111
|
+
|
112
|
+
.dropdown-menu > .disabled > a:hover,
|
113
|
+
.dropdown-menu > .disabled > a:focus
|
109
114
|
text-decoration: none
|
110
115
|
background-color: transparent
|
111
116
|
background-image: none
|