bootstrap-sass-rails 3.0.0.3 → 3.0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +200 -199
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap/affix.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/button.js +1 -1
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/modal.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/popover.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/tab.js +3 -3
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +2 -2
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -1
- data/app/assets/stylesheets/twitter/bootstrap.css.scss +0 -10
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +1 -1
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +2 -2
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +6 -1
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +2 -4
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +32 -10
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +5 -8
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +1 -2
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +16 -3
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +16 -11
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +31 -285
- data/app/assets/stylesheets/twitter/bootstrap/_input-groups.scss +9 -0
- data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +2 -2
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +14 -15
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +155 -31
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +2 -16
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +10 -7
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +53 -20
- data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +16 -6
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +2 -0
- data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +31 -7
- data/app/assets/stylesheets/twitter/bootstrap/_print.scss +6 -1
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +4 -7
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +37 -48
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +1 -12
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +40 -40
- data/app/assets/stylesheets/twitter/bootstrap/_theme.scss +26 -11
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +6 -6
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +8 -8
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +71 -30
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +15 -1
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +56 -39
- data/lib/bootstrap/sass/rails/engine.rb +9 -1
- data/lib/bootstrap/sass/rails/version.rb +1 -1
- data/test/cases/usage_css_spec.rb +0 -3
- metadata +25 -7
- checksums.yaml +0 -15
@@ -27,11 +27,11 @@
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
|
30
|
-
//
|
30
|
+
// WebKit-style focus
|
31
31
|
@mixin tab-focus() {
|
32
32
|
// Default
|
33
33
|
outline: thin dotted #333;
|
34
|
-
//
|
34
|
+
// WebKit
|
35
35
|
outline: 5px auto -webkit-focus-ring-color;
|
36
36
|
outline-offset: -2px;
|
37
37
|
}
|
@@ -69,7 +69,15 @@
|
|
69
69
|
}
|
70
70
|
|
71
71
|
// CSS image replacement
|
72
|
+
//
|
73
|
+
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
74
|
+
// mixins being reused as classes with the same name, this doesn't hold up. As
|
75
|
+
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. Note
|
76
|
+
// that we cannot chain the mixins together in Less, so they are repeated.
|
77
|
+
//
|
72
78
|
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
79
|
+
|
80
|
+
// Deprecated as of v3.0.1 (will be removed in v4)
|
73
81
|
@mixin hide-text() {
|
74
82
|
font: 0/0 a;
|
75
83
|
color: transparent;
|
@@ -77,6 +85,14 @@
|
|
77
85
|
background-color: transparent;
|
78
86
|
border: 0;
|
79
87
|
}
|
88
|
+
// New mixin to use as of v3.0.1
|
89
|
+
@mixin text-hide() {
|
90
|
+
font: 0/0 a;
|
91
|
+
color: transparent;
|
92
|
+
text-shadow: none;
|
93
|
+
background-color: transparent;
|
94
|
+
border: 0;
|
95
|
+
}
|
80
96
|
|
81
97
|
|
82
98
|
|
@@ -112,6 +128,10 @@
|
|
112
128
|
-webkit-transition: $transition;
|
113
129
|
transition: $transition;
|
114
130
|
}
|
131
|
+
@mixin transition-property($transition-property) {
|
132
|
+
-webkit-transition-property: $transition-property;
|
133
|
+
transition-property: $transition-property;
|
134
|
+
}
|
115
135
|
@mixin transition-delay($transition-delay) {
|
116
136
|
-webkit-transition-delay: $transition-delay;
|
117
137
|
transition-delay: $transition-delay;
|
@@ -153,10 +173,41 @@
|
|
153
173
|
transform: translate3d($x, $y, $z);
|
154
174
|
}
|
155
175
|
|
176
|
+
@mixin rotateX($degrees) {
|
177
|
+
-webkit-transform: rotateX($degrees);
|
178
|
+
-ms-transform: rotateX($degrees); // IE9+
|
179
|
+
transform: rotateX($degrees);
|
180
|
+
}
|
181
|
+
@mixin rotateY($degrees) {
|
182
|
+
-webkit-transform: rotateY($degrees);
|
183
|
+
-ms-transform: rotateY($degrees); // IE9+
|
184
|
+
transform: rotateY($degrees);
|
185
|
+
}
|
186
|
+
@mixin perspective($perspective) {
|
187
|
+
-webkit-perspective: $perspective;
|
188
|
+
-moz-perspective: $perspective;
|
189
|
+
perspective: $perspective;
|
190
|
+
}
|
191
|
+
@mixin perspective-origin($perspective) {
|
192
|
+
-webkit-perspective-origin: $perspective;
|
193
|
+
-moz-perspective-origin: $perspective;
|
194
|
+
perspective-origin: $perspective;
|
195
|
+
}
|
196
|
+
@mixin transform-origin($origin) {
|
197
|
+
-webkit-transform-origin: $origin;
|
198
|
+
-moz-transform-origin: $origin;
|
199
|
+
transform-origin: $origin;
|
200
|
+
}
|
201
|
+
|
202
|
+
// Animations
|
203
|
+
@mixin animation($animation) {
|
204
|
+
-webkit-animation: $animation;
|
205
|
+
animation: $animation;
|
206
|
+
}
|
207
|
+
|
156
208
|
// Backface visibility
|
157
209
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
158
210
|
// Default value is `visible`, but can be changed to `hidden`
|
159
|
-
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
|
160
211
|
@mixin backface-visibility($visibility){
|
161
212
|
-webkit-backface-visibility: $visibility;
|
162
213
|
-moz-backface-visibility: $visibility;
|
@@ -240,7 +291,7 @@
|
|
240
291
|
// Color stops are not available in IE9 and below.
|
241
292
|
@mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
|
242
293
|
background-image: -webkit-gradient(linear, left $start-percent, left $end-percent, from($start-color), to($end-color)); // Safari 4+, Chrome 2+
|
243
|
-
background-image: -webkit-linear-gradient(top, $start-color
|
294
|
+
background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1+, Chrome 10+
|
244
295
|
background-image: -moz-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // FF 3.6+
|
245
296
|
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10
|
246
297
|
background-repeat: repeat-x;
|
@@ -276,11 +327,11 @@
|
|
276
327
|
background-image: radial-gradient(circle, $inner-color, $outer-color);
|
277
328
|
background-repeat: no-repeat;
|
278
329
|
}
|
279
|
-
@mixin gradient-striped($color:
|
280
|
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25,
|
281
|
-
background-image: -webkit-linear-gradient($angle,
|
282
|
-
background-image: -moz-linear-gradient($angle,
|
283
|
-
background-image: linear-gradient($angle,
|
330
|
+
@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
|
331
|
+
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, $color), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, $color), color-stop(.75, $color), color-stop(.75, transparent), to(transparent));
|
332
|
+
background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
333
|
+
background-image: -moz-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
334
|
+
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
284
335
|
}
|
285
336
|
|
286
337
|
// Reset filters for IE
|
@@ -298,7 +349,7 @@
|
|
298
349
|
// Short retina mixin for setting background-image and -size
|
299
350
|
|
300
351
|
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
|
301
|
-
background-image: image-url($file-1x);
|
352
|
+
background-image: image-url("#{$file-1x}");
|
302
353
|
|
303
354
|
@media
|
304
355
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
@@ -307,7 +358,7 @@
|
|
307
358
|
only screen and ( min-device-pixel-ratio: 2),
|
308
359
|
only screen and ( min-resolution: 192dpi),
|
309
360
|
only screen and ( min-resolution: 2dppx) {
|
310
|
-
background-image: image-url($file-2x);
|
361
|
+
background-image: image-url("#{$file-2x}");
|
311
362
|
background-size: $width-1x $height-1x;
|
312
363
|
}
|
313
364
|
}
|
@@ -341,13 +392,18 @@
|
|
341
392
|
// -------------------------
|
342
393
|
@mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
|
343
394
|
border-color: $border;
|
395
|
+
|
344
396
|
& > .panel-heading {
|
345
397
|
color: $heading-text-color;
|
346
398
|
background-color: $heading-bg-color;
|
347
399
|
border-color: $heading-border;
|
400
|
+
|
348
401
|
+ .panel-collapse .panel-body {
|
349
402
|
border-top-color: $border;
|
350
403
|
}
|
404
|
+
& > .dropdown .caret {
|
405
|
+
border-color: $heading-text-color transparent;
|
406
|
+
}
|
351
407
|
}
|
352
408
|
& > .panel-footer {
|
353
409
|
+ .panel-collapse .panel-body {
|
@@ -362,6 +418,7 @@
|
|
362
418
|
background-color: $background;
|
363
419
|
border-color: $border;
|
364
420
|
color: $text-color;
|
421
|
+
|
365
422
|
hr {
|
366
423
|
border-top-color: darken($border, 5%);
|
367
424
|
}
|
@@ -383,7 +440,6 @@
|
|
383
440
|
&.#{$state} > td,
|
384
441
|
&.#{$state} > th {
|
385
442
|
background-color: $background;
|
386
|
-
border-color: $border;
|
387
443
|
}
|
388
444
|
}
|
389
445
|
|
@@ -392,9 +448,9 @@
|
|
392
448
|
.table-hover > tbody > tr {
|
393
449
|
> td.#{$state}:hover,
|
394
450
|
> th.#{$state}:hover,
|
395
|
-
&.#{$state}:hover > td
|
451
|
+
&.#{$state}:hover > td,
|
452
|
+
&.#{$state}:hover > th {
|
396
453
|
background-color: darken($background, 5%);
|
397
|
-
border-color: darken($border, 5%);
|
398
454
|
}
|
399
455
|
}
|
400
456
|
}
|
@@ -443,7 +499,7 @@
|
|
443
499
|
&:active,
|
444
500
|
&.active {
|
445
501
|
background-color: $background;
|
446
|
-
border-color: $border
|
502
|
+
border-color: $border;
|
447
503
|
}
|
448
504
|
}
|
449
505
|
}
|
@@ -507,7 +563,7 @@
|
|
507
563
|
@mixin progress-bar-variant($color) {
|
508
564
|
background-color: $color;
|
509
565
|
.progress-striped & {
|
510
|
-
@include gradient-striped(
|
566
|
+
@include gradient-striped();
|
511
567
|
}
|
512
568
|
}
|
513
569
|
|
@@ -522,12 +578,13 @@
|
|
522
578
|
}
|
523
579
|
|
524
580
|
@mixin responsive-invisibility($parent) {
|
525
|
-
|
526
|
-
tr#{$parent}
|
581
|
+
#{$parent},
|
582
|
+
tr#{$parent},
|
527
583
|
th#{$parent},
|
528
584
|
td#{$parent} { display: none !important; }
|
529
585
|
}
|
530
586
|
|
587
|
+
|
531
588
|
// Grid System
|
532
589
|
// -----------
|
533
590
|
|
@@ -569,7 +626,7 @@
|
|
569
626
|
padding-right: ($gutter / 2);
|
570
627
|
|
571
628
|
// Calculate width based on number of columns available
|
572
|
-
@media (min-width: $screen-sm) {
|
629
|
+
@media (min-width: $screen-sm-min) {
|
573
630
|
float: left;
|
574
631
|
width: percentage(($columns / $grid-columns));
|
575
632
|
}
|
@@ -577,17 +634,17 @@
|
|
577
634
|
|
578
635
|
// Generate the small column offsets
|
579
636
|
@mixin make-sm-column-offset($columns) {
|
580
|
-
@media (min-width: $screen-sm) {
|
637
|
+
@media (min-width: $screen-sm-min) {
|
581
638
|
margin-left: percentage(($columns / $grid-columns));
|
582
639
|
}
|
583
640
|
}
|
584
641
|
@mixin make-sm-column-push($columns) {
|
585
|
-
@media (min-width: $screen-sm) {
|
642
|
+
@media (min-width: $screen-sm-min) {
|
586
643
|
left: percentage(($columns / $grid-columns));
|
587
644
|
}
|
588
645
|
}
|
589
646
|
@mixin make-sm-column-pull($columns) {
|
590
|
-
@media (min-width: $screen-sm) {
|
647
|
+
@media (min-width: $screen-sm-min) {
|
591
648
|
right: percentage(($columns / $grid-columns));
|
592
649
|
}
|
593
650
|
}
|
@@ -602,15 +659,15 @@
|
|
602
659
|
padding-right: ($gutter / 2);
|
603
660
|
|
604
661
|
// Calculate width based on number of columns available
|
605
|
-
@media (min-width: $screen-md) {
|
662
|
+
@media (min-width: $screen-md-min) {
|
606
663
|
float: left;
|
607
664
|
width: percentage(($columns / $grid-columns));
|
608
665
|
}
|
609
666
|
}
|
610
667
|
|
611
|
-
// Generate the
|
668
|
+
// Generate the medium column offsets
|
612
669
|
@mixin make-md-column-offset($columns) {
|
613
|
-
@media (min-width: $screen-md) {
|
670
|
+
@media (min-width: $screen-md-min) {
|
614
671
|
margin-left: percentage(($columns / $grid-columns));
|
615
672
|
}
|
616
673
|
}
|
@@ -620,7 +677,7 @@
|
|
620
677
|
}
|
621
678
|
}
|
622
679
|
@mixin make-md-column-pull($columns) {
|
623
|
-
@media (min-width: $screen-md) {
|
680
|
+
@media (min-width: $screen-md-min) {
|
624
681
|
right: percentage(($columns / $grid-columns));
|
625
682
|
}
|
626
683
|
}
|
@@ -635,7 +692,7 @@
|
|
635
692
|
padding-right: ($gutter / 2);
|
636
693
|
|
637
694
|
// Calculate width based on number of columns available
|
638
|
-
@media (min-width: $screen-lg) {
|
695
|
+
@media (min-width: $screen-lg-min) {
|
639
696
|
float: left;
|
640
697
|
width: percentage(($columns / $grid-columns));
|
641
698
|
}
|
@@ -643,22 +700,85 @@
|
|
643
700
|
|
644
701
|
// Generate the large column offsets
|
645
702
|
@mixin make-lg-column-offset($columns) {
|
646
|
-
@media (min-width: $screen-lg) {
|
703
|
+
@media (min-width: $screen-lg-min) {
|
647
704
|
margin-left: percentage(($columns / $grid-columns));
|
648
705
|
}
|
649
706
|
}
|
650
707
|
@mixin make-lg-column-push($columns) {
|
651
|
-
@media (min-width: $screen-lg) {
|
708
|
+
@media (min-width: $screen-lg-min) {
|
652
709
|
left: percentage(($columns / $grid-columns));
|
653
710
|
}
|
654
711
|
}
|
655
712
|
@mixin make-lg-column-pull($columns) {
|
656
|
-
@media (min-width: $screen-lg) {
|
713
|
+
@media (min-width: $screen-lg-min) {
|
657
714
|
right: percentage(($columns / $grid-columns));
|
658
715
|
}
|
659
716
|
}
|
660
717
|
|
661
718
|
|
719
|
+
// Framework grid generation
|
720
|
+
//
|
721
|
+
// Used only by Bootstrap to generate the correct number of grid classes given
|
722
|
+
// any value of `$grid-columns`.
|
723
|
+
|
724
|
+
@mixin make-grid-columns() {
|
725
|
+
$list: ();
|
726
|
+
@for $index from 1 through $grid-columns {
|
727
|
+
$list: append($list, unquote(".col-xs-#{$index}, .col-sm-#{$index}, .col-md-#{$index}, .col-lg-#{$index}"), comma);
|
728
|
+
}
|
729
|
+
#{$list} {
|
730
|
+
position: relative;
|
731
|
+
// Prevent columns from collapsing when empty
|
732
|
+
min-height: 1px;
|
733
|
+
// Inner gutter via padding
|
734
|
+
padding-left: ($grid-gutter-width / 2);
|
735
|
+
padding-right: ($grid-gutter-width / 2);
|
736
|
+
}
|
737
|
+
}
|
738
|
+
|
739
|
+
|
740
|
+
@mixin make-grid-columns-float($class) {
|
741
|
+
$list: ();
|
742
|
+
@for $index from 1 to $grid-columns {
|
743
|
+
$list: append($list, unquote(".col-#{$class}-#{$index}"), comma);
|
744
|
+
}
|
745
|
+
#{$list} {
|
746
|
+
float: left;
|
747
|
+
}
|
748
|
+
}
|
749
|
+
|
750
|
+
|
751
|
+
@mixin calc-grid($index, $class, $type) {
|
752
|
+
@if $type == width {
|
753
|
+
.col-#{$class}-#{$index} {
|
754
|
+
width: percentage(($index / $grid-columns));
|
755
|
+
}
|
756
|
+
}
|
757
|
+
@if $type == push {
|
758
|
+
.col-#{$class}-push-#{$index} {
|
759
|
+
left: percentage(($index / $grid-columns));
|
760
|
+
}
|
761
|
+
}
|
762
|
+
@if $type == pull {
|
763
|
+
.col-#{$class}-pull-#{$index} {
|
764
|
+
right: percentage(($index / $grid-columns));
|
765
|
+
}
|
766
|
+
}
|
767
|
+
@if $type == offset {
|
768
|
+
.col-#{$class}-offset-#{$index} {
|
769
|
+
margin-left: percentage(($index / $grid-columns));
|
770
|
+
}
|
771
|
+
}
|
772
|
+
}
|
773
|
+
|
774
|
+
@mixin make-grid($index, $class, $type) {
|
775
|
+
@for $i from 1 through $index {
|
776
|
+
@include calc-grid($i, $class, $type);
|
777
|
+
}
|
778
|
+
}
|
779
|
+
|
780
|
+
|
781
|
+
|
662
782
|
// Form validation states
|
663
783
|
//
|
664
784
|
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
@@ -667,7 +787,11 @@
|
|
667
787
|
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
|
668
788
|
// Color the label and help text
|
669
789
|
.help-block,
|
670
|
-
.control-label
|
790
|
+
.control-label,
|
791
|
+
.radio,
|
792
|
+
.checkbox,
|
793
|
+
.radio-inline,
|
794
|
+
.checkbox-inline {
|
671
795
|
color: $text-color;
|
672
796
|
}
|
673
797
|
// Set the border and box shadow on specific inputs to match
|
@@ -10,19 +10,6 @@
|
|
10
10
|
// Kill the scroll on the body
|
11
11
|
.modal-open {
|
12
12
|
overflow: hidden;
|
13
|
-
|
14
|
-
|
15
|
-
// Account for hiding of scrollbar
|
16
|
-
|
17
|
-
|
18
|
-
.navbar-fixed-top,
|
19
|
-
.navbar-fixed-bottom {
|
20
|
-
margin-right: 15px
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
body.modal-open {
|
25
|
-
margin-right: 15px
|
26
13
|
}
|
27
14
|
|
28
15
|
// Container that the modal scrolls within
|
@@ -47,6 +34,7 @@ body.modal-open {
|
|
47
34
|
|
48
35
|
// Shell div to position the modal with bottom padding
|
49
36
|
.modal-dialog {
|
37
|
+
position: relative;
|
50
38
|
margin-left: auto;
|
51
39
|
margin-right: auto;
|
52
40
|
width: auto;
|
@@ -130,11 +118,9 @@ body.modal-open {
|
|
130
118
|
}
|
131
119
|
|
132
120
|
// Scale up the modal
|
133
|
-
@media screen and (min-width: $screen-
|
121
|
+
@media screen and (min-width: $screen-sm-min) {
|
134
122
|
|
135
123
|
.modal-dialog {
|
136
|
-
left: 50%;
|
137
|
-
right: auto;
|
138
124
|
width: 600px;
|
139
125
|
padding-top: 30px;
|
140
126
|
padding-bottom: 30px;
|
@@ -10,7 +10,6 @@
|
|
10
10
|
|
11
11
|
.navbar {
|
12
12
|
position: relative;
|
13
|
-
z-index: $zindex-navbar;
|
14
13
|
min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
15
14
|
margin-bottom: $navbar-margin-bottom;
|
16
15
|
border: 1px solid transparent;
|
@@ -75,7 +74,7 @@
|
|
75
74
|
}
|
76
75
|
|
77
76
|
&.in {
|
78
|
-
overflow-y:
|
77
|
+
overflow-y: auto;
|
79
78
|
}
|
80
79
|
|
81
80
|
// Account for first and last children spacing
|
@@ -111,12 +110,14 @@
|
|
111
110
|
//
|
112
111
|
// Navbar alignment options
|
113
112
|
//
|
114
|
-
// Display the navbar across the
|
113
|
+
// Display the navbar across the entirety of the page or fixed it to the top or
|
115
114
|
// bottom of the page.
|
116
115
|
|
117
116
|
// Static top (unfixed, but 100% wide) navbar
|
118
117
|
.navbar-static-top {
|
118
|
+
z-index: $zindex-navbar;
|
119
119
|
border-width: 0 0 1px;
|
120
|
+
|
120
121
|
@media (min-width: $grid-float-breakpoint) {
|
121
122
|
border-radius: 0;
|
122
123
|
}
|
@@ -128,7 +129,7 @@
|
|
128
129
|
position: fixed;
|
129
130
|
right: 0;
|
130
131
|
left: 0;
|
131
|
-
|
132
|
+
z-index: $zindex-navbar-fixed;
|
132
133
|
|
133
134
|
// Undo the rounded corners
|
134
135
|
@media (min-width: $grid-float-breakpoint) {
|
@@ -136,12 +137,13 @@
|
|
136
137
|
}
|
137
138
|
}
|
138
139
|
.navbar-fixed-top {
|
139
|
-
z-index: $zindex-navbar-fixed;
|
140
140
|
top: 0;
|
141
|
+
border-width: 0 0 1px;
|
141
142
|
}
|
142
143
|
.navbar-fixed-bottom {
|
143
144
|
bottom: 0;
|
144
145
|
margin-bottom: 0; // override .navbar defaults
|
146
|
+
border-width: 1px 0 0;
|
145
147
|
}
|
146
148
|
|
147
149
|
|
@@ -152,6 +154,7 @@
|
|
152
154
|
padding: $navbar-padding-vertical $navbar-padding-horizontal;
|
153
155
|
font-size: $font-size-large;
|
154
156
|
line-height: $line-height-computed;
|
157
|
+
|
155
158
|
&:hover,
|
156
159
|
&:focus {
|
157
160
|
text-decoration: none;
|
@@ -254,7 +257,7 @@
|
|
254
257
|
|
255
258
|
// Component alignment
|
256
259
|
//
|
257
|
-
// Repurpose the pull utilities as their own navbar utilities to avoid
|
260
|
+
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
258
261
|
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
259
262
|
// though so that navbar contents properly stack and align in mobile.
|
260
263
|
|
@@ -412,7 +415,7 @@
|
|
412
415
|
|
413
416
|
.navbar-collapse,
|
414
417
|
.navbar-form {
|
415
|
-
border-color:
|
418
|
+
border-color: $navbar-default-border;
|
416
419
|
}
|
417
420
|
|
418
421
|
// Dropdown menu items and carets
|