anjlab-bootstrap-rails 3.0.0.2 → 3.0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +0 -10
  3. data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +1 -1
  4. data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +1 -0
  5. data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +20 -9
  6. data/app/assets/stylesheets/twitter/bootstrap/_code.scss +3 -6
  7. data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +12 -2
  8. data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +4 -0
  9. data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +10 -10
  10. data/app/assets/stylesheets/twitter/bootstrap/_input-groups.scss +9 -0
  11. data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -1
  12. data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +68 -23
  13. data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +1 -3
  14. data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +2 -2
  15. data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +25 -7
  16. data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +16 -6
  17. data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +2 -0
  18. data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +27 -7
  19. data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +2 -1
  20. data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +19 -20
  21. data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +0 -11
  22. data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +26 -16
  23. data/app/assets/stylesheets/twitter/bootstrap/_theme.scss +24 -11
  24. data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +1 -0
  25. data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +9 -9
  26. data/app/assets/stylesheets/twitter/bootstrap/_type.scss +52 -20
  27. data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +4 -2
  28. data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +55 -39
  29. data/lib/bootstrap-rails/engine.rb +1 -1
  30. data/lib/bootstrap-rails/version.rb +1 -1
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91e6da128210c3baa0a88423a91b7f1cd08749ee
4
- data.tar.gz: d854bb5623e03c01a66cf4e34d577319ee50c146
3
+ metadata.gz: a3f0fe3f20d63bf0a5d121bc62a6a9692a1e0eb3
4
+ data.tar.gz: 89c8fd184bcb2ae740b9b16d6d864ecd49c42a34
5
5
  SHA512:
6
- metadata.gz: ccdc3a4685dae41d7015a855b4ec89c7927d7a21f6f9e7a814212b72ba121caf2ea18220d17a4a257e1f3041958602606ba5331faad206e27e26fafda18e4e29
7
- data.tar.gz: 67568498c4f0b675d94304eef06206dd4bf0e04e13fb6310baa9930a4d0aa281c702973257212b6bdeca75a31a547e0d29efba971d4dced606fe95f8323a8d8a
6
+ metadata.gz: c09aa5aae9b6be37c2ea143b3cc8bb9a705ba23fda313e8c816a5339bf1c2dc65f06e91636c256aeef0a5a49c20f042dc777d021c06d7e77cf96d7dff2285bae
7
+ data.tar.gz: 0075d511100765bd5d1b83c058823e53c08e2aa3965e9efdcc4a45314ee8a7c59a001e2f17d8c17a65141387532cfa1e38db3705ce8cbe08c054747912f3bb8e
@@ -1,13 +1,3 @@
1
- /*!
2
- * Bootstrap v3.0.0
3
- *
4
- * Copyright 2013 Twitter, Inc
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- * Designed and built with all the love in the world by @mdo and @fat.
9
- */
10
-
11
1
  // Core variables and mixins
12
2
  @import "variables";
13
3
  @import "mixins";
@@ -12,7 +12,7 @@
12
12
  > li {
13
13
  display: inline-block;
14
14
  &+li:before {
15
- content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
15
+ content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
16
16
  padding: 0 5px;
17
17
  color: $breadcrumb-color;
18
18
  }
@@ -17,6 +17,7 @@
17
17
  text-align: center;
18
18
  vertical-align: middle;
19
19
  cursor: pointer;
20
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
20
21
  border: 1px solid transparent;
21
22
  border-radius: $border-radius-base;
22
23
  white-space: nowrap;
@@ -103,11 +103,18 @@
103
103
  .glyphicon-chevron-right {
104
104
  position: absolute;
105
105
  top: 50%;
106
- left: 50%;
107
106
  z-index: 5;
108
107
  display: inline-block;
109
108
  }
110
109
  .icon-prev,
110
+ .glyphicon-chevron-left {
111
+ left: 50%;
112
+ }
113
+ .icon-next,
114
+ .glyphicon-chevron-right {
115
+ right: 50%;
116
+ }
117
+ .icon-prev,
111
118
  .icon-next {
112
119
  width: 20px;
113
120
  height: 20px;
@@ -183,16 +190,20 @@
183
190
 
184
191
 
185
192
  // Scale up controls for tablets and up
186
- @media screen and (min-width: $screen-tablet) {
193
+ @media screen and (min-width: $screen-sm-min) {
187
194
 
188
195
  // Scale up the controls a smidge
189
- .carousel-control .icon-prev,
190
- .carousel-control .icon-next {
191
- width: 30px;
192
- height: 30px;
193
- margin-top: -15px;
194
- margin-left: -15px;
195
- font-size: 30px;
196
+ .carousel-control {
197
+ .glyphicons-chevron-left,
198
+ .glyphicons-chevron-right,
199
+ .icon-prev,
200
+ .icon-next {
201
+ width: 30px;
202
+ height: 30px;
203
+ margin-top: -15px;
204
+ margin-left: -15px;
205
+ font-size: 30px;
206
+ }
196
207
  }
197
208
 
198
209
  // Show and left align the captions
@@ -5,7 +5,9 @@
5
5
 
6
6
  // Inline and block code styles
7
7
  code,
8
- pre {
8
+ kdb,
9
+ pre,
10
+ samp {
9
11
  font-family: $font-family-monospace;
10
12
  }
11
13
 
@@ -33,11 +35,6 @@ pre {
33
35
  border: 1px solid $pre-border-color;
34
36
  border-radius: $border-radius-base;
35
37
 
36
- // Make prettyprint styles more spaced out for readability
37
- &.prettyprint {
38
- margin-bottom: $line-height-computed;
39
- }
40
-
41
38
  // Account for some code outputs that place code tags in pre tags
42
39
  code {
43
40
  padding: 0;
@@ -82,6 +82,15 @@ input[type="number"] {
82
82
  }
83
83
  }
84
84
 
85
+ // Adjust output element
86
+ output {
87
+ display: block;
88
+ padding-top: ($padding-base-vertical + 1);
89
+ font-size: $font-size-base;
90
+ line-height: $line-height-base;
91
+ color: $input-color;
92
+ vertical-align: middle;
93
+ }
85
94
 
86
95
  // Placeholder
87
96
  //
@@ -124,6 +133,7 @@ input[type="number"] {
124
133
  color: $input-color;
125
134
  vertical-align: middle;
126
135
  background-color: $input-bg;
136
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
127
137
  border: 1px solid $input-border;
128
138
  border-radius: $input-border-radius;
129
139
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
@@ -284,7 +294,7 @@ input[type="checkbox"],
284
294
  @mixin form-inline {
285
295
 
286
296
  // Kick in the inline
287
- @media (min-width: $screen-tablet) {
297
+ @media (min-width: $screen-sm) {
288
298
  // Inline-block all the things for "inline"
289
299
  .form-group {
290
300
  display: inline-block;
@@ -342,7 +352,7 @@ input[type="checkbox"],
342
352
  }
343
353
 
344
354
  // Only right align form labels here when the columns stop stacking
345
- @media (min-width: $screen-tablet) {
355
+ @media (min-width: $screen-sm-min) {
346
356
  .control-label {
347
357
  text-align: right;
348
358
  }
@@ -27,6 +27,10 @@
27
27
  font-weight: normal;
28
28
  line-height: 1;
29
29
  -webkit-font-smoothing: antialiased;
30
+
31
+ &:empty{
32
+ width: 1em;
33
+ }
30
34
  }
31
35
 
32
36
  // Individual icons
@@ -76,7 +76,7 @@
76
76
  // Grid classes for extra small devices like smartphones. No offset, push, or
77
77
  // pull classes are present here due to the size of the target.
78
78
  //
79
- // Note that `.col-xs-12` doesn't get floated on purposethere's no need since
79
+ // Note that `.col-xs-12` doesn't get floated on purpose--there's no need since
80
80
  // it's full-width.
81
81
 
82
82
  .col-xs-1,
@@ -111,12 +111,12 @@
111
111
  // Columns, offsets, pushes, and pulls for the small device range, from phones
112
112
  // to tablets.
113
113
  //
114
- // Note that `.col-sm-12` doesn't get floated on purposethere's no need since
114
+ // Note that `.col-sm-12` doesn't get floated on purpose--there's no need since
115
115
  // it's full-width.
116
116
 
117
- @media (min-width: $screen-tablet) {
117
+ @media (min-width: $screen-sm-min) {
118
118
  .container {
119
- max-width: $container-tablet;
119
+ width: $container-sm;
120
120
  }
121
121
 
122
122
  .col-sm-1,
@@ -189,12 +189,12 @@
189
189
  //
190
190
  // Columns, offsets, pushes, and pulls for the desktop device range.
191
191
  //
192
- // Note that `.col-md-12` doesn't get floated on purposethere's no need since
192
+ // Note that `.col-md-12` doesn't get floated on purpose--there's no need since
193
193
  // it's full-width.
194
194
 
195
- @media (min-width: $screen-desktop) {
195
+ @media (min-width: $screen-md-min) {
196
196
  .container {
197
- max-width: $container-desktop;
197
+ width: $container-md;
198
198
  }
199
199
  .col-md-1,
200
200
  .col-md-2,
@@ -269,12 +269,12 @@
269
269
  //
270
270
  // Columns, offsets, pushes, and pulls for the large desktop device range.
271
271
  //
272
- // Note that `.col-lg-12` doesn't get floated on purposethere's no need since
272
+ // Note that `.col-lg-12` doesn't get floated on purpose--there's no need since
273
273
  // it's full-width.
274
274
 
275
- @media (min-width: $screen-lg-desktop) {
275
+ @media (min-width: $screen-lg-min) {
276
276
  .container {
277
- max-width: $container-lg-desktop;
277
+ width: $container-lg;
278
278
  }
279
279
 
280
280
  .col-lg-1,
@@ -61,6 +61,7 @@
61
61
  font-size: $font-size-base;
62
62
  font-weight: normal;
63
63
  line-height: 1;
64
+ color: $input-color;
64
65
  text-align: center;
65
66
  background-color: $input-group-addon-bg;
66
67
  border: 1px solid $input-group-addon-border-color;
@@ -112,6 +113,14 @@
112
113
  .input-group-btn {
113
114
  position: relative;
114
115
  white-space: nowrap;
116
+
117
+ // Negative margin to only have a 1px border between the two
118
+ &:first-child > .btn {
119
+ margin-right: -1px;
120
+ }
121
+ &:last-child > .btn {
122
+ margin-left: -1px;
123
+ }
115
124
  }
116
125
  .input-group-btn > .btn {
117
126
  position: relative;
@@ -24,7 +24,7 @@
24
24
  border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
25
25
  }
26
26
 
27
- @media screen and (min-width: $screen-tablet) {
27
+ @media screen and (min-width: $screen-sm-min) {
28
28
  padding-top: ($jumbotron-padding * 1.6);
29
29
  padding-bottom: ($jumbotron-padding * 1.6);
30
30
 
@@ -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
  // CSS3 PROPERTIES
@@ -111,6 +127,10 @@
111
127
  -webkit-transition: $transition;
112
128
  transition: $transition;
113
129
  }
130
+ @mixin transition-property($transition-property) {
131
+ -webkit-transition-property: $transition-property;
132
+ transition-property: $transition-property;
133
+ }
114
134
  @mixin transition-delay($transition-delay) {
115
135
  -webkit-transition-delay: $transition-delay;
116
136
  transition-delay: $transition-delay;
@@ -152,6 +172,33 @@
152
172
  transform: translate3d($x, $y, $z);
153
173
  }
154
174
 
175
+ @mixin rotateX($degrees) {
176
+ -webkit-transform: rotateX($degrees);
177
+ -ms-transform: rotateX($degrees); // IE9+
178
+ transform: rotateX($degrees);
179
+ }
180
+ @mixin rotateY($degrees) {
181
+ -webkit-transform: rotateY($degrees);
182
+ -ms-transform: rotateY($degrees); // IE9+
183
+ transform: rotateY($degrees);
184
+ }
185
+ @mixin perspective($perspective) {
186
+ -webkit-perspective: $perspective;
187
+ -moz-perspective: $perspective;
188
+ perspective: $perspective;
189
+ }
190
+ @mixin perspective-origin($perspective) {
191
+ -webkit-perspective-origin: $perspective;
192
+ -moz-perspective-origin: $perspective;
193
+ perspective-origin: $perspective;
194
+ }
195
+ @mixin transform-origin($origin){
196
+ -webkit-transform-origin: $origin;
197
+ -moz-transform-origin: $origin;
198
+ transform-origin: $origin;
199
+ }
200
+
201
+
155
202
  // Backface visibility
156
203
  // Prevent browsers from flickering when using CSS 3D transforms.
157
204
  // Default value is `visible`, but can be changed to `hidden`
@@ -275,11 +322,11 @@
275
322
  background-image: radial-gradient(circle, $inner-color, $outer-color);
276
323
  background-repeat: no-repeat;
277
324
  }
278
- @mixin gradient-striped($color: #555, $angle: 45deg) {
279
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
280
- background-image: -webkit-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
281
- background-image: -moz-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
282
- background-image: linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
325
+ @mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
326
+ 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));
327
+ background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
328
+ background-image: -moz-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
329
+ background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
283
330
  }
284
331
 
285
332
  // Reset filters for IE
@@ -433,7 +480,7 @@
433
480
  &:active,
434
481
  &.active {
435
482
  background-color: $background;
436
- border-color: $border
483
+ border-color: $border;
437
484
  }
438
485
  }
439
486
  }
@@ -497,7 +544,7 @@
497
544
  @mixin progress-bar-variant($color) {
498
545
  background-color: $color;
499
546
  .progress-striped & {
500
- @include gradient-striped($color);
547
+ @include gradient-striped();
501
548
  }
502
549
  }
503
550
 
@@ -515,10 +562,8 @@
515
562
  }
516
563
 
517
564
  @mixin responsive-invisibility($selector) {
518
- #{$selector} {
519
- display: none !important;
520
- }
521
- tr#{$selector} { display: none !important; }
565
+ #{$selector},
566
+ tr#{$selector},
522
567
  th#{$selector},
523
568
  td#{$selector} { display: none !important; }
524
569
  }
@@ -564,7 +609,7 @@
564
609
  padding-right: ($gutter / 2);
565
610
 
566
611
  // Calculate width based on number of columns available
567
- @media (min-width: $screen-sm) {
612
+ @media (min-width: $screen-sm-min) {
568
613
  float: left;
569
614
  width: percentage(($columns / $grid-columns));
570
615
  }
@@ -572,17 +617,17 @@
572
617
 
573
618
  // Generate the small column offsets
574
619
  @mixin make-sm-column-offset($columns) {
575
- @media (min-width: $screen-sm) {
620
+ @media (min-width: $screen-sm-min) {
576
621
  margin-left: percentage(($columns / $grid-columns));
577
622
  }
578
623
  }
579
624
  @mixin make-sm-column-push($columns) {
580
- @media (min-width: $screen-sm) {
625
+ @media (min-width: $screen-sm-min) {
581
626
  left: percentage(($columns / $grid-columns));
582
627
  }
583
628
  }
584
629
  @mixin make-sm-column-pull($columns) {
585
- @media (min-width: $screen-sm) {
630
+ @media (min-width: $screen-sm-min) {
586
631
  right: percentage(($columns / $grid-columns));
587
632
  }
588
633
  }
@@ -597,15 +642,15 @@
597
642
  padding-right: ($gutter / 2);
598
643
 
599
644
  // Calculate width based on number of columns available
600
- @media (min-width: $screen-md) {
645
+ @media (min-width: $screen-md-min) {
601
646
  float: left;
602
647
  width: percentage(($columns / $grid-columns));
603
648
  }
604
649
  }
605
650
 
606
- // Generate the large column offsets
651
+ // Generate the medium column offsets
607
652
  @mixin make-md-column-offset($columns) {
608
- @media (min-width: $screen-md) {
653
+ @media (min-width: $screen-md-min) {
609
654
  margin-left: percentage(($columns / $grid-columns));
610
655
  }
611
656
  }
@@ -615,7 +660,7 @@
615
660
  }
616
661
  }
617
662
  @mixin make-md-column-pull($columns) {
618
- @media (min-width: $screen-md) {
663
+ @media (min-width: $screen-md-min) {
619
664
  right: percentage(($columns / $grid-columns));
620
665
  }
621
666
  }
@@ -630,7 +675,7 @@
630
675
  padding-right: ($gutter / 2);
631
676
 
632
677
  // Calculate width based on number of columns available
633
- @media (min-width: $screen-lg) {
678
+ @media (min-width: $screen-lg-min) {
634
679
  float: left;
635
680
  width: percentage(($columns / $grid-columns));
636
681
  }
@@ -638,17 +683,17 @@
638
683
 
639
684
  // Generate the large column offsets
640
685
  @mixin make-lg-column-offset($columns) {
641
- @media (min-width: $screen-lg) {
686
+ @media (min-width: $screen-lg-min) {
642
687
  margin-left: percentage(($columns / $grid-columns));
643
688
  }
644
689
  }
645
690
  @mixin make-lg-column-push($columns) {
646
- @media (min-width: $screen-lg) {
691
+ @media (min-width: $screen-lg-min) {
647
692
  left: percentage(($columns / $grid-columns));
648
693
  }
649
694
  }
650
695
  @mixin make-lg-column-pull($columns) {
651
- @media (min-width: $screen-lg) {
696
+ @media (min-width: $screen-lg-min) {
652
697
  right: percentage(($columns / $grid-columns));
653
698
  }
654
699
  }