anjlab-bootstrap-rails 3.0.0.0.alpha1 → 3.0.0.rc1
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.
- checksums.yaml +4 -4
- data/README.md +14 -27
- data/Rakefile +11 -35
- data/{vendor → app}/assets/javascripts/twitter/bootstrap.js +6 -6
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/affix.js +9 -3
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/alert.js +4 -2
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/button.js +6 -4
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/carousel.js +22 -12
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/collapse.js +69 -43
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/dropdown.js +22 -13
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/modal.js +37 -38
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/popover.js +11 -5
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/scrollspy.js +6 -4
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/tab.js +4 -2
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/tooltip.js +49 -38
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/transition.js +10 -1
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_accordion.scss +7 -10
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_alerts.scss +11 -34
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_badges.scss +8 -15
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +0 -1
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +23 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_button-groups.scss +23 -22
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_buttons.scss +21 -24
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_carousel.scss +46 -32
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_close.scss +3 -3
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_code.scss +6 -12
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_component-animations.scss +10 -4
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +46 -101
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_forms.scss +139 -179
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +155 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -4
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_labels.scss +7 -31
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +89 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_media.scss +8 -6
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_mixins.scss +152 -131
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_modals.scss +11 -12
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_navbar.scss +90 -66
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_navs.scss +56 -68
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_normalize.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_pager.scss +4 -3
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +108 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_panels.scss +8 -2
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_popovers.scss +22 -20
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_print.scss +26 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +5 -18
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +25 -25
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +24 -8
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +211 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +2 -3
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_tooltip.scss +26 -2
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_type.scss +31 -49
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_utilities.scss +0 -0
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_variables.scss +201 -54
- data/{vendor → app}/assets/stylesheets/twitter/bootstrap/_wells.scss +0 -0
- data/bootstrap-rails.gemspec +0 -1
- data/lib/bootstrap-rails/version.rb +1 -1
- metadata +54 -60
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +0 -175
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +0 -28
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +0 -200
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +0 -65
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +0 -96
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +0 -87
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +0 -242
@@ -23,14 +23,13 @@
|
|
23
23
|
bottom: 0;
|
24
24
|
left: 0;
|
25
25
|
z-index: $zindex-modal-background;
|
26
|
-
-webkit-overflow-scrolling: touch;
|
27
26
|
|
28
27
|
// When fading in the modal, animate it to slide down
|
29
|
-
&.fade {
|
30
|
-
|
31
|
-
@include transition(
|
28
|
+
&.fade .modal-dialog {
|
29
|
+
@include translate(0, -25%);
|
30
|
+
@include transition-transform(0.3s ease-out);
|
32
31
|
}
|
33
|
-
&.fade.in {
|
32
|
+
&.fade.in .modal-dialog { @include translate(0, 0)}
|
34
33
|
}
|
35
34
|
|
36
35
|
// Shell div to position the modal with bottom padding
|
@@ -47,10 +46,10 @@
|
|
47
46
|
// Actual modal
|
48
47
|
.modal-content {
|
49
48
|
position: relative;
|
50
|
-
background-color:
|
51
|
-
border: 1px solid
|
52
|
-
border: 1px solid
|
53
|
-
border-radius:
|
49
|
+
background-color: $modal-content-bg;
|
50
|
+
border: 1px solid $modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
51
|
+
border: 1px solid $modal-content-border-color;
|
52
|
+
border-radius: $border-radius-large;
|
54
53
|
@include box-shadow(0 3px 9px rgba(0,0,0,.5));
|
55
54
|
@include background-clip(padding-box);
|
56
55
|
// Remove focus outline from opened modal
|
@@ -65,7 +64,7 @@
|
|
65
64
|
bottom: 0;
|
66
65
|
left: 0;
|
67
66
|
z-index: ($zindex-modal-background - 10);
|
68
|
-
background-color:
|
67
|
+
background-color: $modal-backdrop-bg;
|
69
68
|
// Fade for backdrop
|
70
69
|
&.fade { @include opacity(0); }
|
71
70
|
&.fade.in { @include opacity(.5); }
|
@@ -75,7 +74,7 @@
|
|
75
74
|
// Top section of the modal w/ title and dismiss
|
76
75
|
.modal-header {
|
77
76
|
padding: $modal-title-padding;
|
78
|
-
border-bottom: 1px solid
|
77
|
+
border-bottom: 1px solid $modal-header-border-color;
|
79
78
|
min-height: ($modal-title-padding + $modal-title-line-height);
|
80
79
|
}
|
81
80
|
// Close icon
|
@@ -101,7 +100,7 @@
|
|
101
100
|
margin-top: 15px;
|
102
101
|
padding: ($modal-inner-padding - 1) $modal-inner-padding $modal-inner-padding;
|
103
102
|
text-align: right; // right align buttons
|
104
|
-
border-top: 1px solid
|
103
|
+
border-top: 1px solid $modal-footer-border-color;
|
105
104
|
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
106
105
|
|
107
106
|
// Properly space out buttons
|
@@ -5,9 +5,10 @@
|
|
5
5
|
// Wrapper and base class
|
6
6
|
.navbar {
|
7
7
|
position: relative;
|
8
|
+
min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
8
9
|
margin-bottom: 20px;
|
9
|
-
padding-left:
|
10
|
-
padding-right:
|
10
|
+
padding-left: $navbar-padding-horizontal;
|
11
|
+
padding-right: $navbar-padding-horizontal;
|
11
12
|
background-color: $navbar-bg;
|
12
13
|
border-radius: $border-radius-base;
|
13
14
|
|
@@ -20,7 +21,6 @@
|
|
20
21
|
|
21
22
|
.navbar-nav {
|
22
23
|
// Space out from .navbar .brand and .btn-navbar when stacked in mobile views
|
23
|
-
// and outdent nav links so text lines up with logo.
|
24
24
|
margin-top: 10px;
|
25
25
|
margin-bottom: 15px;
|
26
26
|
|
@@ -30,23 +30,33 @@
|
|
30
30
|
color: $navbar-link-color;
|
31
31
|
line-height: 20px;
|
32
32
|
border-radius: $border-radius-base;
|
33
|
+
&:hover,
|
34
|
+
&:focus {
|
35
|
+
color: $navbar-link-hover-color;
|
36
|
+
background-color: $navbar-link-hover-bg;
|
37
|
+
}
|
33
38
|
}
|
34
|
-
>
|
35
|
-
|
36
|
-
|
37
|
-
|
39
|
+
> .active > a {
|
40
|
+
&,
|
41
|
+
&:hover,
|
42
|
+
&:focus {
|
43
|
+
color: $navbar-link-active-color;
|
44
|
+
background-color: $navbar-link-active-bg;
|
45
|
+
}
|
38
46
|
}
|
39
|
-
> .
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
47
|
+
> .disabled > a {
|
48
|
+
&,
|
49
|
+
&:hover,
|
50
|
+
&:focus {
|
51
|
+
color: $navbar-link-disabled-color;
|
52
|
+
background-color: $navbar-link-disabled-bg;
|
53
|
+
}
|
44
54
|
}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
55
|
+
|
56
|
+
// Right aligned contents
|
57
|
+
// Make them full width first so that they align properly on mobile
|
58
|
+
&.pull-right {
|
59
|
+
width: 100%;
|
50
60
|
}
|
51
61
|
}
|
52
62
|
|
@@ -90,7 +100,7 @@
|
|
90
100
|
max-width: 200px;
|
91
101
|
margin-left: auto;
|
92
102
|
margin-right: auto;
|
93
|
-
padding:
|
103
|
+
padding: $navbar-padding-vertical $navbar-padding-horizontal;
|
94
104
|
font-size: $font-size-large;
|
95
105
|
font-weight: 500;
|
96
106
|
line-height: $line-height-computed;
|
@@ -107,16 +117,18 @@
|
|
107
117
|
// Collapsible navbar toggle
|
108
118
|
.navbar-toggle {
|
109
119
|
position: absolute;
|
110
|
-
top:
|
120
|
+
top: floor(($navbar-height - 32) / 2);
|
111
121
|
right: 10px;
|
122
|
+
width: 48px;
|
123
|
+
height: 32px;
|
112
124
|
padding: 8px 12px;
|
113
125
|
background-color: transparent;
|
114
|
-
border: 1px solid
|
115
|
-
border-radius:
|
126
|
+
border: 1px solid $navbar-toggle-border-color;
|
127
|
+
border-radius: $border-radius-base;
|
116
128
|
|
117
129
|
&:hover,
|
118
130
|
&:focus {
|
119
|
-
background-color:
|
131
|
+
background-color: $navbar-toggle-hover-bg;
|
120
132
|
}
|
121
133
|
|
122
134
|
// Bars
|
@@ -124,7 +136,7 @@
|
|
124
136
|
display: block;
|
125
137
|
width: 22px;
|
126
138
|
height: 2px;
|
127
|
-
background-color:
|
139
|
+
background-color: $navbar-toggle-icon-bar-bg;
|
128
140
|
border-radius: 1px;
|
129
141
|
}
|
130
142
|
.icon-bar + .icon-bar {
|
@@ -162,22 +174,22 @@
|
|
162
174
|
}
|
163
175
|
|
164
176
|
// Remove background color from open dropdown
|
165
|
-
> .open > a
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
177
|
+
> .open > a {
|
178
|
+
&,
|
179
|
+
&:hover,
|
180
|
+
&:focus {
|
181
|
+
background-color: $navbar-link-active-bg;
|
182
|
+
color: $navbar-link-active-color;
|
183
|
+
.caret {
|
184
|
+
border-top-color: $navbar-link-active-color;
|
185
|
+
border-bottom-color: $navbar-link-active-color;
|
186
|
+
}
|
187
|
+
}
|
170
188
|
}
|
171
189
|
> .dropdown > a .caret {
|
172
190
|
border-top-color: $navbar-link-color;
|
173
191
|
border-bottom-color: $navbar-link-color;
|
174
192
|
}
|
175
|
-
> .open > a .caret,
|
176
|
-
> .open > a:hover .caret,
|
177
|
-
> .open > a:focus .caret {
|
178
|
-
border-top-color: $navbar-link-active-color;
|
179
|
-
border-bottom-color: $navbar-link-active-color;
|
180
|
-
}
|
181
193
|
}
|
182
194
|
|
183
195
|
// Right aligned menus need alt position
|
@@ -211,45 +223,52 @@
|
|
211
223
|
.navbar-nav {
|
212
224
|
> li > a {
|
213
225
|
color: $navbar-inverse-link-color;
|
226
|
+
|
227
|
+
&:hover,
|
228
|
+
&:focus {
|
229
|
+
color: $navbar-inverse-link-hover-color;
|
230
|
+
background-color: $navbar-inverse-link-hover-bg;
|
231
|
+
}
|
214
232
|
}
|
215
|
-
>
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
> .active > a:focus {
|
223
|
-
color: $navbar-inverse-link-active-color;
|
224
|
-
background-color: $navbar-inverse-link-active-bg;
|
233
|
+
> .active > a {
|
234
|
+
&,
|
235
|
+
&:hover,
|
236
|
+
&:focus {
|
237
|
+
color: $navbar-inverse-link-active-color;
|
238
|
+
background-color: $navbar-inverse-link-active-bg;
|
239
|
+
}
|
225
240
|
}
|
226
|
-
> .disabled > a
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
241
|
+
> .disabled > a {
|
242
|
+
&,
|
243
|
+
&:hover,
|
244
|
+
&:focus {
|
245
|
+
color: $navbar-inverse-link-disabled-color;
|
246
|
+
background-color: $navbar-inverse-link-disabled-bg;
|
247
|
+
}
|
231
248
|
}
|
232
249
|
}
|
233
250
|
|
234
251
|
// Darken the responsive nav toggle
|
235
252
|
.navbar-toggle {
|
236
|
-
border-color:
|
253
|
+
border-color: $navbar-inverse-toggle-border-color;
|
237
254
|
&:hover,
|
238
255
|
&:focus {
|
239
|
-
background-color:
|
256
|
+
background-color: $navbar-inverse-toggle-hover-bg;
|
240
257
|
}
|
241
258
|
.icon-bar {
|
242
|
-
background-color:
|
259
|
+
background-color: $navbar-inverse-toggle-icon-bar-bg;
|
243
260
|
}
|
244
261
|
}
|
245
262
|
|
246
263
|
// Dropdowns
|
247
264
|
.navbar-nav {
|
248
|
-
> .open > a
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
265
|
+
> .open > a {
|
266
|
+
&,
|
267
|
+
&:hover,
|
268
|
+
&:focus {
|
269
|
+
background-color: $navbar-inverse-link-active-bg;
|
270
|
+
color: $navbar-inverse-link-active-color;
|
271
|
+
}
|
253
272
|
}
|
254
273
|
> .dropdown > a:hover .caret {
|
255
274
|
border-top-color: $navbar-inverse-link-hover-color;
|
@@ -259,13 +278,16 @@
|
|
259
278
|
border-top-color: $navbar-inverse-link-color;
|
260
279
|
border-bottom-color: $navbar-inverse-link-color;
|
261
280
|
}
|
262
|
-
> .open > a
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
281
|
+
> .open > a {
|
282
|
+
&,
|
283
|
+
&:hover,
|
284
|
+
&:focus {
|
285
|
+
.caret {
|
286
|
+
border-top-color: $navbar-inverse-link-active-color;
|
287
|
+
border-bottom-color: $navbar-inverse-link-active-color;
|
288
|
+
}
|
289
|
+
}
|
267
290
|
}
|
268
|
-
|
269
291
|
}
|
270
292
|
}
|
271
293
|
|
@@ -274,14 +296,14 @@
|
|
274
296
|
// Responsive navbar
|
275
297
|
// --------------------------------------------------
|
276
298
|
|
277
|
-
@media screen and (min-width: $
|
299
|
+
@media screen and (min-width: $grid-float-breakpoint) {
|
278
300
|
|
279
301
|
.navbar-brand {
|
280
302
|
float: left;
|
281
|
-
margin-left: -
|
303
|
+
margin-left: -($navbar-padding-horizontal);
|
282
304
|
margin-right: 5px;
|
283
305
|
}
|
284
|
-
.navbar
|
306
|
+
.navbar-nav {
|
285
307
|
float: left;
|
286
308
|
// undo margin to make nav extend full height of navbar
|
287
309
|
margin-top: 0;
|
@@ -296,6 +318,7 @@
|
|
296
318
|
|
297
319
|
&.pull-right {
|
298
320
|
float: right;
|
321
|
+
width: auto;
|
299
322
|
}
|
300
323
|
}
|
301
324
|
|
@@ -307,6 +330,7 @@
|
|
307
330
|
display: none;
|
308
331
|
}
|
309
332
|
.nav-collapse.collapse {
|
333
|
+
display: block !important;
|
310
334
|
height: auto !important;
|
311
335
|
overflow: visible !important;
|
312
336
|
}
|
@@ -7,7 +7,6 @@
|
|
7
7
|
// --------------------------------------------------
|
8
8
|
|
9
9
|
.nav {
|
10
|
-
margin-left: 0;
|
11
10
|
margin-bottom: 0;
|
12
11
|
padding-left: 0; // Override default ul/ol
|
13
12
|
list-style: none;
|
@@ -24,20 +23,21 @@
|
|
24
23
|
&:hover,
|
25
24
|
&:focus {
|
26
25
|
text-decoration: none;
|
27
|
-
background-color: $
|
26
|
+
background-color: $nav-link-hover-bg;
|
28
27
|
}
|
29
28
|
}
|
30
29
|
|
31
30
|
// Disabled state sets text to gray and nukes hover/tab effects
|
32
31
|
&.disabled > a {
|
33
|
-
color: $
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
32
|
+
color: $nav-disabled-link-color;
|
33
|
+
|
34
|
+
&:hover,
|
35
|
+
&:focus {
|
36
|
+
color: $nav-disabled-link-hover-color;
|
37
|
+
text-decoration: none;
|
38
|
+
background-color: transparent;
|
39
|
+
cursor: not-allowed;
|
40
|
+
}
|
41
41
|
}
|
42
42
|
|
43
43
|
// Space the headers out when they follow another list item (link)
|
@@ -47,19 +47,21 @@
|
|
47
47
|
}
|
48
48
|
|
49
49
|
// Open dropdowns
|
50
|
-
&.open > a
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
50
|
+
&.open > a {
|
51
|
+
&,
|
52
|
+
&:hover,
|
53
|
+
&:focus {
|
54
|
+
color: $nav-open-link-hover-color;
|
55
|
+
background-color: $link-color;
|
56
|
+
border-color: $link-color;
|
57
|
+
.caret {
|
58
|
+
border-top-color: $nav-open-caret-border-color;
|
59
|
+
border-bottom-color: $nav-open-caret-border-color;
|
60
|
+
}
|
59
61
|
}
|
60
62
|
}
|
61
63
|
|
62
|
-
// Redeclare pull classes because of
|
64
|
+
// Redeclare pull classes because of specificity
|
63
65
|
// Todo: consider making these utilities !important to avoid this bullshit
|
64
66
|
> .pull-right {
|
65
67
|
float: right;
|
@@ -71,11 +73,6 @@
|
|
71
73
|
}
|
72
74
|
}
|
73
75
|
|
74
|
-
|
75
|
-
|
76
|
-
// Nav variations
|
77
|
-
// --------------------------------------------------
|
78
|
-
|
79
76
|
// Justified nav links
|
80
77
|
// -------------------------
|
81
78
|
|
@@ -92,27 +89,30 @@
|
|
92
89
|
}
|
93
90
|
|
94
91
|
// Move borders to anchors instead of bottom of list
|
95
|
-
@mixin nav-tabs-justified
|
92
|
+
@mixin nav-tabs-justified {
|
96
93
|
border-bottom: 0;
|
97
94
|
> li > a {
|
98
|
-
border-bottom: 1px solid
|
95
|
+
border-bottom: 1px solid $nav-tabs-justified-link-border-color;
|
99
96
|
|
100
97
|
// Override margin from .nav-tabs
|
101
98
|
margin-right: 0;
|
102
99
|
}
|
103
100
|
> .active > a {
|
104
|
-
border-bottom-color: $
|
101
|
+
border-bottom-color: $nav-tabs-justified-active-link-border-color;
|
105
102
|
}
|
106
103
|
|
107
104
|
}
|
108
105
|
|
109
106
|
|
107
|
+
// Nav variations
|
108
|
+
// --------------------------------------------------
|
109
|
+
|
110
110
|
// Tabs
|
111
111
|
// -------------------------
|
112
112
|
|
113
113
|
// Give the tabs something to sit on
|
114
114
|
.nav-tabs {
|
115
|
-
border-bottom: 1px solid
|
115
|
+
border-bottom: 1px solid $nav-tabs-border-color;
|
116
116
|
> li {
|
117
117
|
float: left;
|
118
118
|
// Make the list-items overlay the bottom border
|
@@ -125,25 +125,27 @@
|
|
125
125
|
border: 1px solid transparent;
|
126
126
|
border-radius: $border-radius-base $border-radius-base 0 0;
|
127
127
|
&:hover {
|
128
|
-
border-color: $
|
128
|
+
border-color: $nav-tabs-link-hover-border-color;
|
129
129
|
}
|
130
130
|
}
|
131
131
|
|
132
132
|
// Active state, and it's :hover to override normal :hover
|
133
|
-
&.active > a
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
133
|
+
&.active > a {
|
134
|
+
&,
|
135
|
+
&:hover,
|
136
|
+
&:focus {
|
137
|
+
color: $nav-tabs-active-link-hover-color;
|
138
|
+
background-color: $nav-tabs-active-link-hover-bg;
|
139
|
+
border: 1px solid $nav-tabs-active-link-hover-border-color;
|
140
|
+
border-bottom-color: transparent;
|
141
|
+
cursor: default;
|
142
|
+
}
|
141
143
|
}
|
142
144
|
}
|
143
145
|
// pulling this in mainly for less shorthand
|
144
146
|
&.nav-justified {
|
145
|
-
@include nav-justified;
|
146
|
-
@include nav-tabs-justified;
|
147
|
+
@include nav-justified();
|
148
|
+
@include nav-tabs-justified();
|
147
149
|
}
|
148
150
|
}
|
149
151
|
|
@@ -159,17 +161,17 @@
|
|
159
161
|
border-radius: 5px;
|
160
162
|
}
|
161
163
|
+ li {
|
162
|
-
|
163
|
-
margin-left: 2px;
|
164
|
-
}
|
164
|
+
margin-left: 2px;
|
165
165
|
}
|
166
166
|
|
167
167
|
// Active state
|
168
|
-
&.active > a
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
168
|
+
&.active > a {
|
169
|
+
&,
|
170
|
+
&:hover,
|
171
|
+
&:focus {
|
172
|
+
color: $nav-pills-active-link-hover-color;
|
173
|
+
background-color: $nav-pills-active-link-hover-bg;
|
174
|
+
}
|
173
175
|
}
|
174
176
|
}
|
175
177
|
}
|
@@ -188,23 +190,7 @@
|
|
188
190
|
}
|
189
191
|
}
|
190
192
|
|
191
|
-
.nav-justified { @include nav-justified }
|
192
|
-
|
193
|
-
|
194
|
-
// Nav headers (for dropdowns and lists)
|
195
|
-
// -------------------------
|
196
|
-
|
197
|
-
.nav-header {
|
198
|
-
display: block;
|
199
|
-
padding: 3px 15px;
|
200
|
-
font-size: $font-size-mini;
|
201
|
-
font-weight: bold;
|
202
|
-
line-height: $line-height-base;
|
203
|
-
color: $gray-light;
|
204
|
-
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
205
|
-
text-transform: uppercase;
|
206
|
-
}
|
207
|
-
|
193
|
+
.nav-justified { @include nav-justified; }
|
208
194
|
|
209
195
|
|
210
196
|
// Tabbable tabs
|
@@ -220,9 +206,11 @@
|
|
220
206
|
.pill-content > .pill-pane {
|
221
207
|
display: none;
|
222
208
|
}
|
223
|
-
.tab-content
|
224
|
-
.pill-content
|
225
|
-
|
209
|
+
.tab-content,
|
210
|
+
.pill-content {
|
211
|
+
> .active {
|
212
|
+
display: block;
|
213
|
+
}
|
226
214
|
}
|
227
215
|
|
228
216
|
|