twbs_less_rails 2.13.0 → 2.14.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +1 -1
- data/lib/twbs_less_rails/version.rb +1 -1
- data/vendor/assets/javascripts/twbs/bootstrap/affix.js +43 -23
- data/vendor/assets/javascripts/twbs/bootstrap/alert.js +6 -4
- data/vendor/assets/javascripts/twbs/bootstrap/button.js +16 -10
- data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +26 -10
- data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +69 -28
- data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +20 -10
- data/vendor/assets/javascripts/twbs/bootstrap/modal.js +22 -21
- data/vendor/assets/javascripts/twbs/bootstrap/popover.js +13 -7
- data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +12 -7
- data/vendor/assets/javascripts/twbs/bootstrap/tab.js +41 -16
- data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +60 -39
- data/vendor/assets/javascripts/twbs/bootstrap/transition.js +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/button-groups.less +16 -9
- data/vendor/assets/stylesheets/twbs/bootstrap/buttons.less +7 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/carousel.less +24 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/code.less +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/component-animations.less +5 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/dropdowns.less +3 -5
- data/vendor/assets/stylesheets/twbs/bootstrap/forms.less +44 -25
- data/vendor/assets/stylesheets/twbs/bootstrap/glyphicons.less +2 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/jumbotron.less +4 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/list-group.less +1 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/media.less +27 -36
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/buttons.less +2 -0
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/forms.less +5 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/image.less +0 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/labels.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/mixins/vendor-prefixes.less +6 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/modals.less +2 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/navbar.less +29 -25
- data/vendor/assets/stylesheets/twbs/bootstrap/navs.less +3 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/normalize.less +5 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/pager.less +1 -2
- data/vendor/assets/stylesheets/twbs/bootstrap/pagination.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/panels.less +21 -3
- data/vendor/assets/stylesheets/twbs/bootstrap/popovers.less +5 -4
- data/vendor/assets/stylesheets/twbs/bootstrap/print.less +102 -96
- data/vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less +1 -19
- data/vendor/assets/stylesheets/twbs/bootstrap/responsive-embed.less +2 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/scaffolding.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/tables.less +11 -10
- data/vendor/assets/stylesheets/twbs/bootstrap/theme.less +12 -10
- data/vendor/assets/stylesheets/twbs/bootstrap/thumbnails.less +1 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/type.less +0 -11
- data/vendor/assets/stylesheets/twbs/bootstrap/utilities.less +0 -1
- data/vendor/assets/stylesheets/twbs/bootstrap/variables.less +29 -19
- metadata +1 -1
@@ -17,8 +17,9 @@
|
|
17
17
|
|
18
18
|
.collapse {
|
19
19
|
display: none;
|
20
|
+
visibility: hidden;
|
20
21
|
|
21
|
-
&.in { display: block; }
|
22
|
+
&.in { display: block; visibility: visible; }
|
22
23
|
tr&.in { display: table-row; }
|
23
24
|
tbody&.in { display: table-row-group; }
|
24
25
|
}
|
@@ -27,5 +28,7 @@
|
|
27
28
|
position: relative;
|
28
29
|
height: 0;
|
29
30
|
overflow: hidden;
|
30
|
-
.transition(height
|
31
|
+
.transition-property(~"height, visibility");
|
32
|
+
.transition-duration(.35s);
|
33
|
+
.transition-timing-function(ease);
|
31
34
|
}
|
@@ -103,16 +103,15 @@
|
|
103
103
|
&:focus {
|
104
104
|
color: @dropdown-link-disabled-color;
|
105
105
|
}
|
106
|
-
|
107
|
-
// Nuke hover/focus effects
|
108
|
-
.dropdown-menu > .disabled > a {
|
106
|
+
|
107
|
+
// Nuke hover/focus effects
|
109
108
|
&:hover,
|
110
109
|
&:focus {
|
111
110
|
text-decoration: none;
|
112
111
|
background-color: transparent;
|
113
112
|
background-image: none; // Remove CSS gradient
|
114
113
|
.reset-filter();
|
115
|
-
cursor:
|
114
|
+
cursor: @cursor-disabled;
|
116
115
|
}
|
117
116
|
}
|
118
117
|
|
@@ -212,4 +211,3 @@
|
|
212
211
|
}
|
213
212
|
}
|
214
213
|
}
|
215
|
-
|
@@ -141,7 +141,7 @@ output {
|
|
141
141
|
&[disabled],
|
142
142
|
&[readonly],
|
143
143
|
fieldset[disabled] & {
|
144
|
-
cursor:
|
144
|
+
cursor: @cursor-disabled;
|
145
145
|
background-color: @input-bg-disabled;
|
146
146
|
opacity: 1; // iOS fix for unreadable disabled content
|
147
147
|
}
|
@@ -183,9 +183,26 @@ input[type="month"] {
|
|
183
183
|
|
184
184
|
&.input-sm {
|
185
185
|
line-height: @input-height-small;
|
186
|
+
line-height: @line-height-small ~"\0";
|
186
187
|
}
|
187
188
|
&.input-lg {
|
188
189
|
line-height: @input-height-large;
|
190
|
+
line-height: @line-height-large ~"\0";
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
// IE 11 hack to reverse the iOS temporal input hack.
|
195
|
+
_:-ms-fullscreen, :root input[type="date"],
|
196
|
+
_:-ms-fullscreen, :root input[type="time"],
|
197
|
+
_:-ms-fullscreen, :root input[type="datetime-local"],
|
198
|
+
_:-ms-fullscreen, :root input[type="month"] {
|
199
|
+
line-height: @line-height-base;
|
200
|
+
|
201
|
+
&.input-sm {
|
202
|
+
line-height: @line-height-small;
|
203
|
+
}
|
204
|
+
&.input-lg {
|
205
|
+
line-height: @line-height-large;
|
189
206
|
}
|
190
207
|
}
|
191
208
|
|
@@ -208,11 +225,11 @@ input[type="month"] {
|
|
208
225
|
.checkbox {
|
209
226
|
position: relative;
|
210
227
|
display: block;
|
211
|
-
min-height: @line-height-computed; // clear the floating input if there is no label text
|
212
228
|
margin-top: 10px;
|
213
229
|
margin-bottom: 10px;
|
214
230
|
|
215
231
|
label {
|
232
|
+
min-height: @line-height-computed; // Ensure the input doesn't jump when there is no text
|
216
233
|
padding-left: 20px;
|
217
234
|
margin-bottom: 0;
|
218
235
|
font-weight: normal;
|
@@ -258,7 +275,7 @@ input[type="checkbox"] {
|
|
258
275
|
&[disabled],
|
259
276
|
&.disabled,
|
260
277
|
fieldset[disabled] & {
|
261
|
-
cursor:
|
278
|
+
cursor: @cursor-disabled;
|
262
279
|
}
|
263
280
|
}
|
264
281
|
// These classes are used directly on <label>s
|
@@ -266,7 +283,7 @@ input[type="checkbox"] {
|
|
266
283
|
.checkbox-inline {
|
267
284
|
&.disabled,
|
268
285
|
fieldset[disabled] & {
|
269
|
-
cursor:
|
286
|
+
cursor: @cursor-disabled;
|
270
287
|
}
|
271
288
|
}
|
272
289
|
// These classes are used on elements with <label> descendants
|
@@ -275,7 +292,7 @@ input[type="checkbox"] {
|
|
275
292
|
&.disabled,
|
276
293
|
fieldset[disabled] & {
|
277
294
|
label {
|
278
|
-
cursor:
|
295
|
+
cursor: @cursor-disabled;
|
279
296
|
}
|
280
297
|
}
|
281
298
|
}
|
@@ -306,12 +323,14 @@ input[type="checkbox"] {
|
|
306
323
|
// Build on `.form-control` with modifier classes to decrease or increase the
|
307
324
|
// height and font-size of form controls.
|
308
325
|
|
309
|
-
.input-sm
|
310
|
-
|
326
|
+
.input-sm,
|
327
|
+
.form-group-sm .form-control {
|
328
|
+
.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);
|
311
329
|
}
|
312
330
|
|
313
|
-
.input-lg
|
314
|
-
|
331
|
+
.input-lg,
|
332
|
+
.form-group-lg .form-control {
|
333
|
+
.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);
|
315
334
|
}
|
316
335
|
|
317
336
|
|
@@ -331,7 +350,7 @@ input[type="checkbox"] {
|
|
331
350
|
// Feedback icon (requires .glyphicon classes)
|
332
351
|
.form-control-feedback {
|
333
352
|
position: absolute;
|
334
|
-
top:
|
353
|
+
top: 0;
|
335
354
|
right: 0;
|
336
355
|
z-index: 2; // Ensure icon is above input groups
|
337
356
|
display: block;
|
@@ -339,6 +358,7 @@ input[type="checkbox"] {
|
|
339
358
|
height: @input-height-base;
|
340
359
|
line-height: @input-height-base;
|
341
360
|
text-align: center;
|
361
|
+
pointer-events: none;
|
342
362
|
}
|
343
363
|
.input-lg + .form-control-feedback {
|
344
364
|
width: @input-height-large;
|
@@ -362,10 +382,15 @@ input[type="checkbox"] {
|
|
362
382
|
.form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
|
363
383
|
}
|
364
384
|
|
385
|
+
// Reposition feedback icon if input has visible label above
|
386
|
+
.has-feedback label {
|
365
387
|
|
366
|
-
|
367
|
-
|
368
|
-
|
388
|
+
& ~ .form-control-feedback {
|
389
|
+
top: (@line-height-computed + 5); // Height of the `label` and its margin
|
390
|
+
}
|
391
|
+
&.sr-only ~ .form-control-feedback {
|
392
|
+
top: 0;
|
393
|
+
}
|
369
394
|
}
|
370
395
|
|
371
396
|
|
@@ -382,7 +407,6 @@ input[type="checkbox"] {
|
|
382
407
|
}
|
383
408
|
|
384
409
|
|
385
|
-
|
386
410
|
// Inline forms
|
387
411
|
//
|
388
412
|
// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
|
@@ -412,6 +436,11 @@ input[type="checkbox"] {
|
|
412
436
|
vertical-align: middle;
|
413
437
|
}
|
414
438
|
|
439
|
+
// Make static controls behave like regular ones
|
440
|
+
.form-control-static {
|
441
|
+
display: inline-block;
|
442
|
+
}
|
443
|
+
|
415
444
|
.input-group {
|
416
445
|
display: inline-table;
|
417
446
|
vertical-align: middle;
|
@@ -453,10 +482,7 @@ input[type="checkbox"] {
|
|
453
482
|
margin-left: 0;
|
454
483
|
}
|
455
484
|
|
456
|
-
//
|
457
|
-
//
|
458
|
-
// Reposition the icon because it's now within a grid column and columns have
|
459
|
-
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
485
|
+
// Re-override the feedback icon.
|
460
486
|
.has-feedback .form-control-feedback {
|
461
487
|
top: 0;
|
462
488
|
}
|
@@ -509,7 +535,6 @@ input[type="checkbox"] {
|
|
509
535
|
// Reposition the icon because it's now within a grid column and columns have
|
510
536
|
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
511
537
|
.has-feedback .form-control-feedback {
|
512
|
-
top: 0;
|
513
538
|
right: (@grid-gutter-width / 2);
|
514
539
|
}
|
515
540
|
|
@@ -523,9 +548,6 @@ input[type="checkbox"] {
|
|
523
548
|
padding-top: ((@padding-large-vertical * @line-height-large) + 1);
|
524
549
|
}
|
525
550
|
}
|
526
|
-
.form-control {
|
527
|
-
&:extend(.input-lg);
|
528
|
-
}
|
529
551
|
}
|
530
552
|
.form-group-sm {
|
531
553
|
@media (min-width: @screen-sm-min) {
|
@@ -533,8 +555,5 @@ input[type="checkbox"] {
|
|
533
555
|
padding-top: (@padding-small-vertical + 1);
|
534
556
|
}
|
535
557
|
}
|
536
|
-
.form-control {
|
537
|
-
&:extend(.input-sm);
|
538
|
-
}
|
539
558
|
}
|
540
559
|
}
|
@@ -33,7 +33,8 @@
|
|
33
33
|
// Individual icons
|
34
34
|
.glyphicon-asterisk { &:before { content: "\2a"; } }
|
35
35
|
.glyphicon-plus { &:before { content: "\2b"; } }
|
36
|
-
.glyphicon-euro
|
36
|
+
.glyphicon-euro,
|
37
|
+
.glyphicon-eur { &:before { content: "\20ac"; } }
|
37
38
|
.glyphicon-minus { &:before { content: "\2212"; } }
|
38
39
|
.glyphicon-cloud { &:before { content: "\2601"; } }
|
39
40
|
.glyphicon-envelope { &:before { content: "\2709"; } }
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
.jumbotron {
|
7
|
-
padding: @jumbotron-padding;
|
7
|
+
padding: @jumbotron-padding (@jumbotron-padding / 2);
|
8
8
|
margin-bottom: @jumbotron-padding;
|
9
9
|
color: @jumbotron-color;
|
10
10
|
background-color: @jumbotron-bg;
|
@@ -23,7 +23,8 @@
|
|
23
23
|
border-top-color: darken(@jumbotron-bg, 10%);
|
24
24
|
}
|
25
25
|
|
26
|
-
.container
|
26
|
+
.container &,
|
27
|
+
.container-fluid & {
|
27
28
|
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
28
29
|
}
|
29
30
|
|
@@ -32,8 +33,7 @@
|
|
32
33
|
}
|
33
34
|
|
34
35
|
@media screen and (min-width: @screen-sm-min) {
|
35
|
-
padding
|
36
|
-
padding-bottom: (@jumbotron-padding * 1.6);
|
36
|
+
padding: (@jumbotron-padding * 1.6) 0;
|
37
37
|
|
38
38
|
.container & {
|
39
39
|
padding-left: (@jumbotron-padding * 2);
|
@@ -1,54 +1,45 @@
|
|
1
|
-
|
2
|
-
//
|
3
|
-
|
1
|
+
.media {
|
2
|
+
// Proper spacing between instances of .media
|
3
|
+
margin-top: 15px;
|
4
|
+
|
5
|
+
&:first-child {
|
6
|
+
margin-top: 0;
|
7
|
+
}
|
8
|
+
}
|
4
9
|
|
10
|
+
.media-right,
|
11
|
+
.media > .pull-right {
|
12
|
+
padding-left: 10px;
|
13
|
+
}
|
5
14
|
|
6
|
-
|
7
|
-
|
15
|
+
.media-left,
|
16
|
+
.media > .pull-left {
|
17
|
+
padding-right: 10px;
|
18
|
+
}
|
8
19
|
|
9
|
-
|
10
|
-
.media,
|
20
|
+
.media-left,
|
21
|
+
.media-right,
|
11
22
|
.media-body {
|
12
|
-
|
13
|
-
|
23
|
+
display: table-cell;
|
24
|
+
vertical-align: top;
|
14
25
|
}
|
15
26
|
|
16
|
-
|
17
|
-
|
18
|
-
.media .media {
|
19
|
-
margin-top: 15px;
|
20
|
-
}
|
21
|
-
.media:first-child {
|
22
|
-
margin-top: 0;
|
27
|
+
.media-middle {
|
28
|
+
vertical-align: middle;
|
23
29
|
}
|
24
30
|
|
25
|
-
|
26
|
-
|
27
|
-
display: block;
|
31
|
+
.media-bottom {
|
32
|
+
vertical-align: bottom;
|
28
33
|
}
|
29
34
|
|
30
35
|
// Reset margins on headings for tighter default spacing
|
31
36
|
.media-heading {
|
32
|
-
margin: 0
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
// Media image alignment
|
37
|
-
// -------------------------
|
38
|
-
|
39
|
-
.media {
|
40
|
-
> .pull-left {
|
41
|
-
margin-right: 10px;
|
42
|
-
}
|
43
|
-
> .pull-right {
|
44
|
-
margin-left: 10px;
|
45
|
-
}
|
37
|
+
margin-top: 0;
|
38
|
+
margin-bottom: 5px;
|
46
39
|
}
|
47
40
|
|
48
|
-
|
49
41
|
// Media list variation
|
50
|
-
//
|
51
|
-
|
42
|
+
//
|
52
43
|
// Undo default ul/ol styles
|
53
44
|
.media-list {
|
54
45
|
padding-left: 0;
|
@@ -10,7 +10,11 @@
|
|
10
10
|
.radio,
|
11
11
|
.checkbox,
|
12
12
|
.radio-inline,
|
13
|
-
.checkbox-inline
|
13
|
+
.checkbox-inline,
|
14
|
+
&.radio label,
|
15
|
+
&.checkbox label,
|
16
|
+
&.radio-inline label,
|
17
|
+
&.checkbox-inline label {
|
14
18
|
color: @text-color;
|
15
19
|
}
|
16
20
|
// Set the border and box shadow on specific inputs to match
|
@@ -8,7 +8,6 @@
|
|
8
8
|
// Keep images from scaling beyond the width of their parents.
|
9
9
|
.img-responsive(@display: block) {
|
10
10
|
display: @display;
|
11
|
-
width: 100% \9; // Force IE10 and below to size SVG images correctly
|
12
11
|
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
13
12
|
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
14
13
|
}
|
@@ -99,9 +99,12 @@
|
|
99
99
|
|
100
100
|
// Placeholder text
|
101
101
|
.placeholder(@color: @input-color-placeholder) {
|
102
|
-
|
103
|
-
|
104
|
-
|
102
|
+
// Firefox
|
103
|
+
&::-moz-placeholder {
|
104
|
+
color: @color;
|
105
|
+
opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
|
106
|
+
}
|
107
|
+
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
105
108
|
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
106
109
|
}
|
107
110
|
|
@@ -30,10 +30,10 @@
|
|
30
30
|
|
31
31
|
// When fading in the modal, animate it to slide down
|
32
32
|
&.fade .modal-dialog {
|
33
|
-
.
|
33
|
+
.translate(0, -25%);
|
34
34
|
.transition-transform(~"0.3s ease-out");
|
35
35
|
}
|
36
|
-
&.in .modal-dialog { .
|
36
|
+
&.in .modal-dialog { .translate(0, 0) }
|
37
37
|
}
|
38
38
|
.modal-open .modal {
|
39
39
|
overflow-x: hidden;
|
@@ -67,7 +67,6 @@
|
|
67
67
|
right: 0;
|
68
68
|
bottom: 0;
|
69
69
|
left: 0;
|
70
|
-
z-index: @zindex-modal-background;
|
71
70
|
background-color: @modal-backdrop-bg;
|
72
71
|
// Fade for backdrop
|
73
72
|
&.fade { .opacity(0); }
|
@@ -67,6 +67,7 @@
|
|
67
67
|
|
68
68
|
&.collapse {
|
69
69
|
display: block !important;
|
70
|
+
visibility: visible !important;
|
70
71
|
height: auto !important;
|
71
72
|
padding-bottom: 0; // Override default setting
|
72
73
|
overflow: visible !important;
|
@@ -92,7 +93,7 @@
|
|
92
93
|
.navbar-collapse {
|
93
94
|
max-height: @navbar-collapse-max-height;
|
94
95
|
|
95
|
-
@media (max-width: @screen-xs-min) and (orientation: landscape) {
|
96
|
+
@media (max-device-width: @screen-xs-min) and (orientation: landscape) {
|
96
97
|
max-height: 200px;
|
97
98
|
}
|
98
99
|
}
|
@@ -141,7 +142,6 @@
|
|
141
142
|
right: 0;
|
142
143
|
left: 0;
|
143
144
|
z-index: @zindex-navbar-fixed;
|
144
|
-
.translate3d(0, 0, 0);
|
145
145
|
|
146
146
|
// Undo the rounded corners
|
147
147
|
@media (min-width: @grid-float-breakpoint) {
|
@@ -173,6 +173,10 @@
|
|
173
173
|
text-decoration: none;
|
174
174
|
}
|
175
175
|
|
176
|
+
> img {
|
177
|
+
display: block;
|
178
|
+
}
|
179
|
+
|
176
180
|
@media (min-width: @grid-float-breakpoint) {
|
177
181
|
.navbar > .container &,
|
178
182
|
.navbar > .container-fluid & {
|
@@ -271,26 +275,10 @@
|
|
271
275
|
padding-bottom: @navbar-padding-vertical;
|
272
276
|
}
|
273
277
|
}
|
274
|
-
|
275
|
-
&.navbar-right:last-child {
|
276
|
-
margin-right: -@navbar-padding-horizontal;
|
277
|
-
}
|
278
278
|
}
|
279
279
|
}
|
280
280
|
|
281
281
|
|
282
|
-
// Component alignment
|
283
|
-
//
|
284
|
-
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
285
|
-
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
286
|
-
// though so that navbar contents properly stack and align in mobile.
|
287
|
-
|
288
|
-
@media (min-width: @grid-float-breakpoint) {
|
289
|
-
.navbar-left { .pull-left(); }
|
290
|
-
.navbar-right { .pull-right(); }
|
291
|
-
}
|
292
|
-
|
293
|
-
|
294
282
|
// Navbar form
|
295
283
|
//
|
296
284
|
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
@@ -311,6 +299,10 @@
|
|
311
299
|
.form-group {
|
312
300
|
@media (max-width: @grid-float-breakpoint-max) {
|
313
301
|
margin-bottom: 5px;
|
302
|
+
|
303
|
+
&:last-child {
|
304
|
+
margin-bottom: 0;
|
305
|
+
}
|
314
306
|
}
|
315
307
|
}
|
316
308
|
|
@@ -326,11 +318,6 @@
|
|
326
318
|
padding-top: 0;
|
327
319
|
padding-bottom: 0;
|
328
320
|
.box-shadow(none);
|
329
|
-
|
330
|
-
// Outdent the form if last child to line up with content down the page
|
331
|
-
&.navbar-right:last-child {
|
332
|
-
margin-right: -@navbar-padding-horizontal;
|
333
|
-
}
|
334
321
|
}
|
335
322
|
}
|
336
323
|
|
@@ -375,14 +362,31 @@
|
|
375
362
|
float: left;
|
376
363
|
margin-left: @navbar-padding-horizontal;
|
377
364
|
margin-right: @navbar-padding-horizontal;
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
378
368
|
|
379
|
-
|
380
|
-
|
369
|
+
// Component alignment
|
370
|
+
//
|
371
|
+
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
372
|
+
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
373
|
+
// though so that navbar contents properly stack and align in mobile.
|
374
|
+
//
|
375
|
+
// Declared after the navbar components to ensure more specificity on the margins.
|
376
|
+
|
377
|
+
@media (min-width: @grid-float-breakpoint) {
|
378
|
+
.navbar-left { .pull-left(); }
|
379
|
+
.navbar-right {
|
380
|
+
.pull-right();
|
381
|
+
margin-right: -@navbar-padding-horizontal;
|
382
|
+
|
383
|
+
~ .navbar-right {
|
381
384
|
margin-right: 0;
|
382
385
|
}
|
383
386
|
}
|
384
387
|
}
|
385
388
|
|
389
|
+
|
386
390
|
// Alternate navbars
|
387
391
|
// --------------------------------------------------
|
388
392
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
color: @nav-disabled-link-hover-color;
|
37
37
|
text-decoration: none;
|
38
38
|
background-color: transparent;
|
39
|
-
cursor:
|
39
|
+
cursor: @cursor-disabled;
|
40
40
|
}
|
41
41
|
}
|
42
42
|
}
|
@@ -223,9 +223,11 @@
|
|
223
223
|
.tab-content {
|
224
224
|
> .tab-pane {
|
225
225
|
display: none;
|
226
|
+
visibility: hidden;
|
226
227
|
}
|
227
228
|
> .active {
|
228
229
|
display: block;
|
230
|
+
visibility: visible;
|
229
231
|
}
|
230
232
|
}
|
231
233
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! normalize.css v3.0.
|
1
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2
2
|
|
3
3
|
//
|
4
4
|
// 1. Set default font family to sans-serif.
|
@@ -25,7 +25,8 @@ body {
|
|
25
25
|
|
26
26
|
//
|
27
27
|
// Correct `block` display not defined for any HTML5 element in IE 8/9.
|
28
|
-
// Correct `block` display not defined for `details` or `summary` in IE 10/11
|
28
|
+
// Correct `block` display not defined for `details` or `summary` in IE 10/11
|
29
|
+
// and Firefox.
|
29
30
|
// Correct `block` display not defined for `main` in IE 11.
|
30
31
|
//
|
31
32
|
|
@@ -38,6 +39,7 @@ footer,
|
|
38
39
|
header,
|
39
40
|
hgroup,
|
40
41
|
main,
|
42
|
+
menu,
|
41
43
|
nav,
|
42
44
|
section,
|
43
45
|
summary {
|
@@ -85,7 +87,7 @@ template {
|
|
85
87
|
//
|
86
88
|
|
87
89
|
a {
|
88
|
-
background: transparent;
|
90
|
+
background-color: transparent;
|
89
91
|
}
|
90
92
|
|
91
93
|
//
|