bootstrap-sass 3.0.0.0 → 3.0.1.0.rc
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.
Potentially problematic release.
This version of bootstrap-sass might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/bootstrap-sass/version.rb +2 -2
- data/tasks/converter.rb +16 -773
- data/tasks/converter/char_string_scanner.rb +38 -0
- data/tasks/converter/fonts_conversion.rb +12 -0
- data/tasks/converter/js_conversion.rb +22 -0
- data/tasks/converter/less_conversion.rb +612 -0
- data/tasks/converter/logger.rb +64 -0
- data/tasks/converter/network.rb +110 -0
- data/test/compilation_test.rb +5 -1
- data/test/dummy/app/views/pages/root.html.slim +10 -2
- data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +200 -199
- data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/javascripts/bootstrap/affix.js +2 -2
- data/vendor/assets/javascripts/bootstrap/alert.js +1 -1
- data/vendor/assets/javascripts/bootstrap/button.js +1 -1
- data/vendor/assets/javascripts/bootstrap/carousel.js +2 -2
- data/vendor/assets/javascripts/bootstrap/collapse.js +2 -2
- data/vendor/assets/javascripts/bootstrap/dropdown.js +2 -2
- data/vendor/assets/javascripts/bootstrap/modal.js +2 -2
- data/vendor/assets/javascripts/bootstrap/popover.js +2 -2
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +2 -2
- data/vendor/assets/javascripts/bootstrap/tab.js +3 -3
- data/vendor/assets/javascripts/bootstrap/tooltip.js +2 -2
- data/vendor/assets/javascripts/bootstrap/transition.js +1 -1
- data/vendor/assets/stylesheets/bootstrap/_alerts.scss +1 -1
- data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +2 -2
- data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +6 -1
- data/vendor/assets/stylesheets/bootstrap/_buttons.scss +2 -4
- data/vendor/assets/stylesheets/bootstrap/_carousel.scss +32 -10
- data/vendor/assets/stylesheets/bootstrap/_code.scss +5 -8
- data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +1 -2
- data/vendor/assets/stylesheets/bootstrap/_forms.scss +16 -3
- data/vendor/assets/stylesheets/bootstrap/_glyphicons.scss +16 -11
- data/vendor/assets/stylesheets/bootstrap/_grid.scss +32 -285
- data/vendor/assets/stylesheets/bootstrap/_input-groups.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/_jumbotron.scss +2 -2
- data/vendor/assets/stylesheets/bootstrap/_list-group.scss +15 -17
- data/vendor/assets/stylesheets/bootstrap/_mixins.scss +160 -29
- data/vendor/assets/stylesheets/bootstrap/_modals.scss +2 -16
- data/vendor/assets/stylesheets/bootstrap/_navbar.scss +10 -7
- data/vendor/assets/stylesheets/bootstrap/_navs.scss +53 -20
- data/vendor/assets/stylesheets/bootstrap/_normalize.scss +16 -6
- data/vendor/assets/stylesheets/bootstrap/_pagination.scss +2 -0
- data/vendor/assets/stylesheets/bootstrap/_panels.scss +31 -7
- data/vendor/assets/stylesheets/bootstrap/_print.scss +6 -1
- data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +4 -7
- data/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss +57 -68
- data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +1 -12
- data/vendor/assets/stylesheets/bootstrap/_tables.scss +40 -40
- data/vendor/assets/stylesheets/bootstrap/_theme.scss +26 -11
- data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +6 -6
- data/vendor/assets/stylesheets/bootstrap/_tooltip.scss +8 -8
- data/vendor/assets/stylesheets/bootstrap/_type.scss +71 -30
- data/vendor/assets/stylesheets/bootstrap/_utilities.scss +15 -1
- data/vendor/assets/stylesheets/bootstrap/_variables.scss +56 -39
- data/vendor/assets/stylesheets/bootstrap/bootstrap.scss +0 -10
- metadata +9 -3
@@ -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
|
@@ -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
|
}
|
@@ -437,7 +493,7 @@
|
|
437
493
|
&:active,
|
438
494
|
&.active {
|
439
495
|
background-color: $background;
|
440
|
-
border-color: $border
|
496
|
+
border-color: $border;
|
441
497
|
}
|
442
498
|
}
|
443
499
|
}
|
@@ -501,7 +557,7 @@
|
|
501
557
|
@mixin progress-bar-variant($color) {
|
502
558
|
background-color: $color;
|
503
559
|
.progress-striped & {
|
504
|
-
@include gradient-striped(
|
560
|
+
@include gradient-striped();
|
505
561
|
}
|
506
562
|
}
|
507
563
|
|
@@ -518,12 +574,13 @@
|
|
518
574
|
|
519
575
|
// [converter] $parent hack
|
520
576
|
@mixin responsive-invisibility($parent) {
|
521
|
-
|
522
|
-
tr#{$parent}
|
577
|
+
#{$parent},
|
578
|
+
tr#{$parent},
|
523
579
|
th#{$parent},
|
524
580
|
td#{$parent} { display: none !important; }
|
525
581
|
}
|
526
582
|
|
583
|
+
|
527
584
|
// Grid System
|
528
585
|
// -----------
|
529
586
|
|
@@ -565,7 +622,7 @@
|
|
565
622
|
padding-right: ($gutter / 2);
|
566
623
|
|
567
624
|
// Calculate width based on number of columns available
|
568
|
-
@media (min-width: $screen-sm) {
|
625
|
+
@media (min-width: $screen-sm-min) {
|
569
626
|
float: left;
|
570
627
|
width: percentage(($columns / $grid-columns));
|
571
628
|
}
|
@@ -573,17 +630,17 @@
|
|
573
630
|
|
574
631
|
// Generate the small column offsets
|
575
632
|
@mixin make-sm-column-offset($columns) {
|
576
|
-
@media (min-width: $screen-sm) {
|
633
|
+
@media (min-width: $screen-sm-min) {
|
577
634
|
margin-left: percentage(($columns / $grid-columns));
|
578
635
|
}
|
579
636
|
}
|
580
637
|
@mixin make-sm-column-push($columns) {
|
581
|
-
@media (min-width: $screen-sm) {
|
638
|
+
@media (min-width: $screen-sm-min) {
|
582
639
|
left: percentage(($columns / $grid-columns));
|
583
640
|
}
|
584
641
|
}
|
585
642
|
@mixin make-sm-column-pull($columns) {
|
586
|
-
@media (min-width: $screen-sm) {
|
643
|
+
@media (min-width: $screen-sm-min) {
|
587
644
|
right: percentage(($columns / $grid-columns));
|
588
645
|
}
|
589
646
|
}
|
@@ -598,15 +655,15 @@
|
|
598
655
|
padding-right: ($gutter / 2);
|
599
656
|
|
600
657
|
// Calculate width based on number of columns available
|
601
|
-
@media (min-width: $screen-md) {
|
658
|
+
@media (min-width: $screen-md-min) {
|
602
659
|
float: left;
|
603
660
|
width: percentage(($columns / $grid-columns));
|
604
661
|
}
|
605
662
|
}
|
606
663
|
|
607
|
-
// Generate the
|
664
|
+
// Generate the medium column offsets
|
608
665
|
@mixin make-md-column-offset($columns) {
|
609
|
-
@media (min-width: $screen-md) {
|
666
|
+
@media (min-width: $screen-md-min) {
|
610
667
|
margin-left: percentage(($columns / $grid-columns));
|
611
668
|
}
|
612
669
|
}
|
@@ -616,7 +673,7 @@
|
|
616
673
|
}
|
617
674
|
}
|
618
675
|
@mixin make-md-column-pull($columns) {
|
619
|
-
@media (min-width: $screen-md) {
|
676
|
+
@media (min-width: $screen-md-min) {
|
620
677
|
right: percentage(($columns / $grid-columns));
|
621
678
|
}
|
622
679
|
}
|
@@ -631,7 +688,7 @@
|
|
631
688
|
padding-right: ($gutter / 2);
|
632
689
|
|
633
690
|
// Calculate width based on number of columns available
|
634
|
-
@media (min-width: $screen-lg) {
|
691
|
+
@media (min-width: $screen-lg-min) {
|
635
692
|
float: left;
|
636
693
|
width: percentage(($columns / $grid-columns));
|
637
694
|
}
|
@@ -639,22 +696,92 @@
|
|
639
696
|
|
640
697
|
// Generate the large column offsets
|
641
698
|
@mixin make-lg-column-offset($columns) {
|
642
|
-
@media (min-width: $screen-lg) {
|
699
|
+
@media (min-width: $screen-lg-min) {
|
643
700
|
margin-left: percentage(($columns / $grid-columns));
|
644
701
|
}
|
645
702
|
}
|
646
703
|
@mixin make-lg-column-push($columns) {
|
647
|
-
@media (min-width: $screen-lg) {
|
704
|
+
@media (min-width: $screen-lg-min) {
|
648
705
|
left: percentage(($columns / $grid-columns));
|
649
706
|
}
|
650
707
|
}
|
651
708
|
@mixin make-lg-column-pull($columns) {
|
652
|
-
@media (min-width: $screen-lg) {
|
709
|
+
@media (min-width: $screen-lg-min) {
|
653
710
|
right: percentage(($columns / $grid-columns));
|
654
711
|
}
|
655
712
|
}
|
656
713
|
|
657
714
|
|
715
|
+
// Framework grid generation
|
716
|
+
//
|
717
|
+
// Used only by Bootstrap to generate the correct number of grid classes given
|
718
|
+
// any value of `$grid-columns`.
|
719
|
+
|
720
|
+
// [converter] Grid converted to use SASS cycles (LESS uses recursive nested mixin defs not supported by SASS)
|
721
|
+
@mixin make-grid-columns() {
|
722
|
+
$list: '';
|
723
|
+
@for $i from 1 to $grid-columns {
|
724
|
+
$list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}, #{$list}";
|
725
|
+
}
|
726
|
+
$i: $grid-columns;
|
727
|
+
$list: "#{$list}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
|
728
|
+
#{$list} {
|
729
|
+
position: relative;
|
730
|
+
// Prevent columns from collapsing when empty
|
731
|
+
min-height: 1px;
|
732
|
+
// Inner gutter via padding
|
733
|
+
padding-left: ($grid-gutter-width / 2);
|
734
|
+
padding-right: ($grid-gutter-width / 2);
|
735
|
+
}
|
736
|
+
}
|
737
|
+
|
738
|
+
|
739
|
+
// [converter] Grid converted to use SASS cycles (LESS uses recursive nested mixin defs not supported by SASS)
|
740
|
+
@mixin make-grid-columns-float($class) {
|
741
|
+
$list: '';
|
742
|
+
@for $i from 1 to $grid-columns {
|
743
|
+
$list: ".col-#{$class}-#{$i}, #{$list}";
|
744
|
+
}
|
745
|
+
$i: $grid-columns;
|
746
|
+
$list: "#{$list}, .col-#{$class}-#{$i}";
|
747
|
+
#{$list} {
|
748
|
+
float: left;
|
749
|
+
}
|
750
|
+
}
|
751
|
+
|
752
|
+
|
753
|
+
@mixin calc-grid($index, $class, $type) {
|
754
|
+
@if $type == width {
|
755
|
+
.col-#{$class}-#{$index} {
|
756
|
+
width: percentage(($index / $grid-columns));
|
757
|
+
}
|
758
|
+
}
|
759
|
+
@if $type == push {
|
760
|
+
.col-#{$class}-push-#{$index} {
|
761
|
+
left: percentage(($index / $grid-columns));
|
762
|
+
}
|
763
|
+
}
|
764
|
+
@if $type == pull {
|
765
|
+
.col-#{$class}-pull-#{$index} {
|
766
|
+
right: percentage(($index / $grid-columns));
|
767
|
+
}
|
768
|
+
}
|
769
|
+
@if $type == offset {
|
770
|
+
.col-#{$class}-offset-#{$index} {
|
771
|
+
margin-left: percentage(($index / $grid-columns));
|
772
|
+
}
|
773
|
+
}
|
774
|
+
}
|
775
|
+
|
776
|
+
// [converter] This is defined recursively in LESS, but SASS supports real loops
|
777
|
+
@mixin make-grid($columns, $class, $type) {
|
778
|
+
@for $i from 1 through $columns {
|
779
|
+
@include calc-grid($i, $class, $type);
|
780
|
+
}
|
781
|
+
}
|
782
|
+
|
783
|
+
|
784
|
+
|
658
785
|
// Form validation states
|
659
786
|
//
|
660
787
|
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
@@ -663,7 +790,11 @@
|
|
663
790
|
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
|
664
791
|
// Color the label and help text
|
665
792
|
.help-block,
|
666
|
-
.control-label
|
793
|
+
.control-label,
|
794
|
+
.radio,
|
795
|
+
.checkbox,
|
796
|
+
.radio-inline,
|
797
|
+
.checkbox-inline {
|
667
798
|
color: $text-color;
|
668
799
|
}
|
669
800
|
// 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
|
-
.navbar-fixed-top,
|
18
|
-
.navbar-fixed-bottom {
|
19
|
-
margin-right: 15px
|
20
|
-
}
|
21
|
-
// [converter] extracted body& to body.modal-open
|
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
|