bootstrap-sass 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bootstrap-sass might be problematic. Click here for more details.
- data/README.md +8 -8
- data/lib/bootstrap-sass.rb +2 -0
- data/lib/bootstrap-sass/engine.rb +1 -1
- data/templates/project/manifest.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-alert.js +1 -1
- data/vendor/assets/javascripts/bootstrap-button.js +4 -2
- data/vendor/assets/javascripts/bootstrap-carousel.js +7 -3
- data/vendor/assets/javascripts/bootstrap-collapse.js +4 -2
- data/vendor/assets/javascripts/bootstrap-dropdown.js +1 -1
- data/vendor/assets/javascripts/bootstrap-modal.js +1 -1
- data/vendor/assets/javascripts/bootstrap-popover.js +1 -1
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +1 -1
- data/vendor/assets/javascripts/bootstrap-tab.js +1 -1
- data/vendor/assets/javascripts/bootstrap-tooltip.js +2 -2
- data/vendor/assets/javascripts/bootstrap-transition.js +1 -1
- data/vendor/assets/javascripts/bootstrap-typeahead.js +7 -7
- data/vendor/assets/stylesheets/_bootstrap-responsive.scss +65 -35
- data/vendor/assets/stylesheets/_bootstrap.scss +1 -11
- data/vendor/assets/stylesheets/bootstrap/_alerts.scss +3 -9
- data/vendor/assets/stylesheets/bootstrap/_badges.scss +36 -0
- data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +2 -0
- data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +32 -10
- data/vendor/assets/stylesheets/bootstrap/_buttons.scss +16 -12
- data/vendor/assets/stylesheets/bootstrap/_code.scss +2 -2
- data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +3 -1
- data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +44 -27
- data/vendor/assets/stylesheets/bootstrap/_forms.scss +63 -40
- data/vendor/assets/stylesheets/bootstrap/_grid.scss +2 -5
- data/vendor/assets/stylesheets/bootstrap/_hero-unit.scss +3 -1
- data/vendor/assets/stylesheets/bootstrap/_labels.scss +9 -3
- data/vendor/assets/stylesheets/bootstrap/_mixins.scss +161 -119
- data/vendor/assets/stylesheets/bootstrap/_modals.scss +12 -5
- data/vendor/assets/stylesheets/bootstrap/_navbar.scss +62 -32
- data/vendor/assets/stylesheets/bootstrap/_navs.scss +16 -6
- data/vendor/assets/stylesheets/bootstrap/_pager.scss +5 -0
- data/vendor/assets/stylesheets/bootstrap/_pagination.scss +1 -1
- data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +15 -1
- data/vendor/assets/stylesheets/bootstrap/_reset.scss +1 -1
- data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +3 -3
- data/vendor/assets/stylesheets/bootstrap/_sprites.scss +3 -3
- data/vendor/assets/stylesheets/bootstrap/_tables.scss +11 -15
- data/vendor/assets/stylesheets/bootstrap/_type.scss +22 -5
- data/vendor/assets/stylesheets/bootstrap/_variables.scss +102 -14
- data/vendor/assets/stylesheets/bootstrap/_wells.scss +10 -0
- metadata +20 -9
- data/lib/bootstrap-sass/config/sass-ie_hex_str.rb +0 -14
@@ -1,8 +1,5 @@
|
|
1
|
-
// GRID SYSTEM
|
2
|
-
// -----------
|
3
|
-
|
4
1
|
// Fixed (940px)
|
5
|
-
@include
|
2
|
+
@include gridCore($gridColumnWidth, $gridGutterWidth);
|
6
3
|
|
7
4
|
// Fluid (940px)
|
8
|
-
@include
|
5
|
+
@include gridFluid($fluidGridColumnWidth, $fluidGridGutterWidth);
|
@@ -4,17 +4,19 @@
|
|
4
4
|
.hero-unit {
|
5
5
|
padding: 60px;
|
6
6
|
margin-bottom: 30px;
|
7
|
-
background-color:
|
7
|
+
background-color: $heroUnitBackground;
|
8
8
|
@include border-radius(6px);
|
9
9
|
h1 {
|
10
10
|
margin-bottom: 0;
|
11
11
|
font-size: 60px;
|
12
12
|
line-height: 1;
|
13
|
+
color: $heroUnitHeadingColor;
|
13
14
|
letter-spacing: -1px;
|
14
15
|
}
|
15
16
|
p {
|
16
17
|
font-size: 18px;
|
17
18
|
font-weight: 200;
|
18
19
|
line-height: $baseLineHeight * 1.5;
|
20
|
+
color: $heroUnitLeadColor;
|
19
21
|
}
|
20
22
|
}
|
@@ -3,10 +3,13 @@
|
|
3
3
|
|
4
4
|
// Base
|
5
5
|
.label {
|
6
|
-
padding:
|
7
|
-
font-size: $baseFontSize * .
|
6
|
+
padding: 1px 4px 2px;
|
7
|
+
font-size: $baseFontSize * .846;
|
8
8
|
font-weight: bold;
|
9
|
+
line-height: 13px; // ensure proper line-height if floated
|
9
10
|
color: $white;
|
11
|
+
vertical-align: middle;
|
12
|
+
white-space: nowrap;
|
10
13
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
11
14
|
background-color: $grayLight;
|
12
15
|
@include border-radius(3px);
|
@@ -29,4 +32,7 @@
|
|
29
32
|
.label-success:hover { background-color: darken($successText, 10%); }
|
30
33
|
|
31
34
|
.label-info { background-color: $infoText; }
|
32
|
-
.label-info:hover { background-color: darken($infoText, 10%); }
|
35
|
+
.label-info:hover { background-color: darken($infoText, 10%); }
|
36
|
+
|
37
|
+
.label-inverse { background-color: $grayDark; }
|
38
|
+
.label-inverse:hover { background-color: darken($grayDark, 10%); }
|
@@ -98,6 +98,15 @@
|
|
98
98
|
white-space: nowrap;
|
99
99
|
}
|
100
100
|
|
101
|
+
// New image replacement
|
102
|
+
// -------------------------
|
103
|
+
// Source: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
|
104
|
+
@mixin hide-text() {
|
105
|
+
overflow: hidden;
|
106
|
+
text-indent: 100%;
|
107
|
+
white-space: nowrap;
|
108
|
+
}
|
109
|
+
|
101
110
|
|
102
111
|
// FONTS
|
103
112
|
// --------------------------------------------------
|
@@ -130,115 +139,18 @@
|
|
130
139
|
|
131
140
|
|
132
141
|
|
133
|
-
//
|
142
|
+
// FORMS
|
134
143
|
// --------------------------------------------------
|
135
144
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
@include clearfix();
|
143
|
-
}
|
144
|
-
|
145
|
-
// Le grid system
|
146
|
-
// -------------------------
|
147
|
-
|
148
|
-
// Setup the mixins to be used
|
149
|
-
@mixin gridSystemColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $columns) {
|
150
|
-
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
151
|
-
}
|
152
|
-
@mixin gridSystemOffset($gridColumnWidth, $gridGutterWidth, $columns) {
|
153
|
-
margin-left: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)) + ($gridGutterWidth * 2);
|
154
|
-
}
|
155
|
-
@mixin gridSystemGridColumn($gridGutterWidth) {
|
156
|
-
float: left;
|
157
|
-
margin-left: $gridGutterWidth;
|
158
|
-
}
|
159
|
-
// Take these values and mixins, and make 'em do their thang
|
160
|
-
@mixin gridSystemGenerate($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
161
|
-
// Row surrounds the columns
|
162
|
-
.row {
|
163
|
-
margin-left: $gridGutterWidth * -1;
|
164
|
-
@include clearfix();
|
165
|
-
}
|
166
|
-
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks @dhg)
|
167
|
-
[class*="span"] {
|
168
|
-
@include gridSystemGridColumn($gridGutterWidth);
|
169
|
-
}
|
170
|
-
// Default columns
|
171
|
-
@for $i from 1 through $gridColumns {
|
172
|
-
.span#{$i} { @include gridSystemColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $i) }
|
173
|
-
}
|
174
|
-
.container { @include gridSystemColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $gridColumns) }
|
175
|
-
|
176
|
-
// Offset column options
|
177
|
-
@for $i from 1 through $gridColumns - 1 {
|
178
|
-
.offset#{$i} { @include gridSystemOffset($gridColumnWidth, $gridGutterWidth, $i) }
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
// Fluid grid system
|
183
|
-
// -------------------------
|
184
|
-
@mixin fluidGridSystemColumns($fluidGridGutterWidth, $fluidGridColumnWidth, $columns) {
|
185
|
-
width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1));
|
186
|
-
}
|
187
|
-
@mixin fluidGridSystemGridColumn($fluidGridGutterWidth) {
|
188
|
-
float: left;
|
189
|
-
margin-left: $fluidGridGutterWidth;
|
190
|
-
}
|
191
|
-
// Take these values and mixins, and make 'em do their thang
|
192
|
-
@mixin fluidGridSystemGenerate($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
193
|
-
// Row surrounds the columns
|
194
|
-
.row-fluid {
|
195
|
-
width: 100%;
|
196
|
-
@include clearfix();
|
197
|
-
|
198
|
-
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks @dhg)
|
199
|
-
> [class*="span"] {
|
200
|
-
@include fluidGridSystemGridColumn($fluidGridGutterWidth);
|
201
|
-
}
|
202
|
-
> [class*="span"]:first-child {
|
203
|
-
margin-left: 0;
|
204
|
-
}
|
205
|
-
// Default columns
|
206
|
-
@for $i from 1 through $gridColumns {
|
207
|
-
> .span#{$i} { @include fluidGridSystemColumns($fluidGridGutterWidth, $fluidGridColumnWidth, $i); }
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
// Input grid system
|
213
|
-
// -------------------------
|
214
|
-
@mixin inputGridSystemInputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $columns) {
|
215
|
-
width: (($gridColumnWidth) * $columns) + ($gridGutterWidth * ($columns - 1)) - 10;
|
216
|
-
}
|
217
|
-
@mixin inputGridSystemGenerate($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
218
|
-
input, textarea, .uneditable-input {
|
219
|
-
@for $i from 1 through $gridColumns {
|
220
|
-
&.span#{$i} { @include inputGridSystemInputColumns($gridGutterWidth, $gridColumnWidth, $gridRowWidth, $i); }
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
// Make a grid
|
226
|
-
// -------------------------
|
227
|
-
// Use makeRow() and makeColumn() to assign semantic layouts grid system behaviour
|
228
|
-
@mixin makeRow() {
|
229
|
-
margin-left: $gridGutterWidth * -1;
|
230
|
-
@include clearfix();
|
231
|
-
}
|
232
|
-
@mixin makeColumn($columns: 1) {
|
233
|
-
float: left;
|
234
|
-
margin-left: $gridGutterWidth;
|
235
|
-
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
145
|
+
@mixin input-block-level() {
|
146
|
+
display: block;
|
147
|
+
width: 100%;
|
148
|
+
min-height: 28px; /* Make inputs at least the height of their button counterpart */
|
149
|
+
/* Makes inputs behave like true block-level elements */
|
150
|
+
@include box-sizing(border-box);
|
236
151
|
}
|
237
152
|
|
238
153
|
|
239
|
-
// Form field states (used in forms.less)
|
240
|
-
// --------------------------------------------------
|
241
|
-
|
242
154
|
// Mixin for form field states
|
243
155
|
@mixin formFieldState($textColor: #555, $borderColor: #ccc, $backgroundColor: #f5f5f5) {
|
244
156
|
// Set the text color
|
@@ -349,6 +261,7 @@
|
|
349
261
|
@mixin box-sizing($boxmodel) {
|
350
262
|
-webkit-box-sizing: $boxmodel;
|
351
263
|
-moz-box-sizing: $boxmodel;
|
264
|
+
-ms-box-sizing: $boxmodel;
|
352
265
|
box-sizing: $boxmodel;
|
353
266
|
}
|
354
267
|
|
@@ -453,8 +366,8 @@
|
|
453
366
|
background-image: -webkit-radial-gradient(circle, $innerColor, $outerColor);
|
454
367
|
background-image: -moz-radial-gradient(circle, $innerColor, $outerColor);
|
455
368
|
background-image: -ms-radial-gradient(circle, $innerColor, $outerColor);
|
369
|
+
background-image: -o-radial-gradient(circle, $innerColor, $outerColor);
|
456
370
|
background-repeat: no-repeat;
|
457
|
-
// Opera cannot do radial gradients yet
|
458
371
|
}
|
459
372
|
@mixin gradient-striped($color, $angle: -45deg) {
|
460
373
|
background-color: $color;
|
@@ -471,8 +384,29 @@
|
|
471
384
|
}
|
472
385
|
|
473
386
|
|
474
|
-
//
|
475
|
-
//
|
387
|
+
// COMPONENT MIXINS
|
388
|
+
// --------------------------------------------------
|
389
|
+
|
390
|
+
// Horizontal dividers
|
391
|
+
// -------------------
|
392
|
+
// Dividers (basically an hr) within dropdowns and nav lists
|
393
|
+
@mixin nav-divider() {
|
394
|
+
height: 1px;
|
395
|
+
margin: (($baseLineHeight / 2) - 1) 1px; // 8px 1px
|
396
|
+
overflow: hidden;
|
397
|
+
background-color: #e5e5e5;
|
398
|
+
border-bottom: 1px solid $white;
|
399
|
+
|
400
|
+
// IE7 needs a set width since we gave a height. Restricting just
|
401
|
+
// to IE7 to keep the 1px left/right space in other browsers.
|
402
|
+
// It is unclear where IE is getting the extra space that we need
|
403
|
+
// to negative-margin away, but so it goes.
|
404
|
+
*width: 100%;
|
405
|
+
*margin: -5px 0 5px;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Button backgrounds
|
409
|
+
// ------------------
|
476
410
|
@mixin buttonBackground($startColor, $endColor) {
|
477
411
|
// gradientBar will set the background to a pleasing blend of these, to support IE<=9
|
478
412
|
@include gradientBar($startColor, $endColor);
|
@@ -489,42 +423,150 @@
|
|
489
423
|
}
|
490
424
|
}
|
491
425
|
|
426
|
+
// Navbar vertical align
|
427
|
+
// -------------------------
|
428
|
+
// Vertically center elements in the navbar.
|
429
|
+
// Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin.
|
430
|
+
@mixin navbarVerticalAlign($elementHeight) {
|
431
|
+
margin-top: ($navbarHeight - $elementHeight) / 2;
|
432
|
+
}
|
492
433
|
|
493
|
-
//
|
494
|
-
// --------------------------------------------------
|
495
|
-
|
496
|
-
// POPOVER ARROWS
|
434
|
+
// Popover arrows
|
497
435
|
// -------------------------
|
498
436
|
// For tipsies and popovers
|
499
|
-
@mixin popoverArrowTop($arrowWidth: 5px) {
|
437
|
+
@mixin popoverArrowTop($arrowWidth: 5px, $color: $black) {
|
500
438
|
bottom: 0;
|
501
439
|
left: 50%;
|
502
440
|
margin-left: -$arrowWidth;
|
503
441
|
border-left: $arrowWidth solid transparent;
|
504
442
|
border-right: $arrowWidth solid transparent;
|
505
|
-
border-top: $arrowWidth solid $
|
443
|
+
border-top: $arrowWidth solid $color;
|
506
444
|
}
|
507
|
-
@mixin popoverArrowLeft($arrowWidth: 5px) {
|
445
|
+
@mixin popoverArrowLeft($arrowWidth: 5px, $color: $black) {
|
508
446
|
top: 50%;
|
509
447
|
right: 0;
|
510
448
|
margin-top: -$arrowWidth;
|
511
449
|
border-top: $arrowWidth solid transparent;
|
512
450
|
border-bottom: $arrowWidth solid transparent;
|
513
|
-
border-left: $arrowWidth solid $
|
451
|
+
border-left: $arrowWidth solid $color;
|
514
452
|
}
|
515
|
-
@mixin popoverArrowBottom($arrowWidth: 5px) {
|
453
|
+
@mixin popoverArrowBottom($arrowWidth: 5px, $color: $black) {
|
516
454
|
top: 0;
|
517
455
|
left: 50%;
|
518
456
|
margin-left: -$arrowWidth;
|
519
457
|
border-left: $arrowWidth solid transparent;
|
520
458
|
border-right: $arrowWidth solid transparent;
|
521
|
-
border-bottom: $arrowWidth solid $
|
459
|
+
border-bottom: $arrowWidth solid $color;
|
522
460
|
}
|
523
|
-
@mixin popoverArrowRight($arrowWidth: 5px) {
|
461
|
+
@mixin popoverArrowRight($arrowWidth: 5px, $color: $black) {
|
524
462
|
top: 50%;
|
525
463
|
left: 0;
|
526
464
|
margin-top: -$arrowWidth;
|
527
465
|
border-top: $arrowWidth solid transparent;
|
528
466
|
border-bottom: $arrowWidth solid transparent;
|
529
|
-
border-right: $arrowWidth solid $
|
467
|
+
border-right: $arrowWidth solid $color;
|
468
|
+
}
|
469
|
+
|
470
|
+
// Grid System
|
471
|
+
// -----------
|
472
|
+
|
473
|
+
// Centered container element
|
474
|
+
@mixin container-fixed() {
|
475
|
+
margin-left: auto;
|
476
|
+
margin-right: auto;
|
477
|
+
@include clearfix();
|
478
|
+
}
|
479
|
+
|
480
|
+
// Table columns
|
481
|
+
@mixin tableColumns($columnSpan: 1) {
|
482
|
+
float: none; // undo default grid column styles
|
483
|
+
width: (($gridColumnWidth) * $columnSpan) + ($gridGutterWidth * ($columnSpan - 1)) - 16; // 16 is total padding on left and right of table cells
|
484
|
+
margin-left: 0; // undo default grid column styles
|
485
|
+
}
|
486
|
+
|
487
|
+
// Make a Grid
|
488
|
+
// Use .makeRow and .makeColumn to assign semantic layouts grid system behavior
|
489
|
+
@mixin makeRow() {
|
490
|
+
margin-left: $gridGutterWidth * -1;
|
491
|
+
@include clearfix();
|
492
|
+
}
|
493
|
+
@mixin makeColumn($columns: 1) {
|
494
|
+
float: left;
|
495
|
+
margin-left: $gridGutterWidth;
|
496
|
+
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
497
|
+
}
|
498
|
+
|
499
|
+
// The Grid
|
500
|
+
@mixin gridCore($gridColumnWidth, $gridGutterWidth) {
|
501
|
+
[class*="span"] {
|
502
|
+
float: left;
|
503
|
+
margin-left: $gridGutterWidth;
|
504
|
+
}
|
505
|
+
|
506
|
+
@for $i from 1 through $gridColumns {
|
507
|
+
.span#{$i} { @include gridCoreSpan($i, $gridColumnWidth, $gridGutterWidth) }
|
508
|
+
}
|
509
|
+
|
510
|
+
@for $i from 1 through $gridColumns {
|
511
|
+
.offset#{$i} { @include gridCoreOffset($i, $gridColumnWidth, $gridGutterWidth) }
|
512
|
+
}
|
513
|
+
|
514
|
+
.row {
|
515
|
+
margin-left: $gridGutterWidth * -1;
|
516
|
+
@include clearfix();
|
517
|
+
}
|
518
|
+
|
519
|
+
.container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
|
520
|
+
@include gridCoreSpan($gridColumns, $gridColumnWidth, $gridGutterWidth);
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
@mixin gridCoreSpan($columns, $gridColumnWidth, $gridGutterWidth) {
|
525
|
+
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
526
|
+
}
|
527
|
+
|
528
|
+
@mixin gridCoreOffset($columns, $gridColumnWidth, $gridGutterWidth) {
|
529
|
+
margin-left: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1)) + ($gridGutterWidth * 2);
|
530
530
|
}
|
531
|
+
|
532
|
+
@mixin gridFluid($fluidGridColumnWidth, $fluidGridGutterWidth) {
|
533
|
+
.row-fluid {
|
534
|
+
width: 100%;
|
535
|
+
@include clearfix();
|
536
|
+
> [class*="span"] {
|
537
|
+
float: left;
|
538
|
+
margin-left: $fluidGridGutterWidth;
|
539
|
+
}
|
540
|
+
> [class*="span"]:first-child {
|
541
|
+
margin-left: 0;
|
542
|
+
}
|
543
|
+
@for $i from 1 through $gridColumns {
|
544
|
+
> .span#{$i} { @include gridFluidSpan($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
|
545
|
+
}
|
546
|
+
}
|
547
|
+
}
|
548
|
+
|
549
|
+
@mixin gridFluidSpan($columns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
550
|
+
width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1));
|
551
|
+
}
|
552
|
+
|
553
|
+
@mixin gridInput($gridColumnWidth, $gridGutterWidth) {
|
554
|
+
@for $i from 1 through $gridColumns {
|
555
|
+
input.span#{$i}, textarea.span#{$i}, .uneditable-input.span#{$i} { @include gridInputSpan($i, $gridColumnWidth, $gridGutterWidth); }
|
556
|
+
}
|
557
|
+
|
558
|
+
input, textarea, .uneditable-input {
|
559
|
+
margin-left: 0; // override margin-left from core grid system
|
560
|
+
}
|
561
|
+
}
|
562
|
+
|
563
|
+
@mixin gridInputSpan($columns, $gridColumWidth, $gridGutterWidth) {
|
564
|
+
width: (($gridColumnWidth) * $columns) + ($gridGutterWidth * ($columns - 1)) - 10;
|
565
|
+
}
|
566
|
+
|
567
|
+
@mixin makeFluidColumn($columns) {
|
568
|
+
// This isn't perfect, but it's better than nothing.
|
569
|
+
float: left;
|
570
|
+
margin-left: $fluidGridGutterWidth;
|
571
|
+
@include gridFluidSpan($columns, $fluidGridColumnWidth, $fluidGridGutterWidth);
|
572
|
+
}
|
@@ -32,7 +32,6 @@
|
|
32
32
|
top: 50%;
|
33
33
|
left: 50%;
|
34
34
|
z-index: $zindexModal;
|
35
|
-
max-height: 500px;
|
36
35
|
overflow: auto;
|
37
36
|
width: 560px;
|
38
37
|
margin: -250px 0 0 -280px;
|
@@ -59,10 +58,12 @@
|
|
59
58
|
|
60
59
|
// Body (where all modal content resides)
|
61
60
|
.modal-body {
|
61
|
+
overflow-y: auto;
|
62
|
+
max-height: 400px;
|
62
63
|
padding: 15px;
|
63
64
|
}
|
64
65
|
// Remove bottom margin if need be
|
65
|
-
.modal-
|
66
|
+
.modal-form {
|
66
67
|
margin-bottom: 0;
|
67
68
|
}
|
68
69
|
|
@@ -70,14 +71,20 @@
|
|
70
71
|
.modal-footer {
|
71
72
|
padding: 14px 15px 15px;
|
72
73
|
margin-bottom: 0;
|
74
|
+
text-align: right; // right align buttons
|
73
75
|
background-color: #f5f5f5;
|
74
76
|
border-top: 1px solid #ddd;
|
75
77
|
@include border-radius(0 0 6px 6px);
|
76
78
|
@include box-shadow(inset 0 1px 0 $white);
|
77
|
-
@include clearfix();
|
78
|
-
|
79
|
-
|
79
|
+
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
80
|
+
|
81
|
+
// Properly space out buttons
|
82
|
+
.btn + .btn {
|
80
83
|
margin-left: 5px;
|
81
84
|
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
82
85
|
}
|
86
|
+
// but override that for button groups
|
87
|
+
.btn-group .btn + .btn {
|
88
|
+
margin-left: -1px;
|
89
|
+
}
|
83
90
|
}
|