sass-rails-bootstrap 2.1.1 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/README.md +2 -2
  2. data/lib/sass-rails-bootstrap/version.rb +1 -1
  3. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +4 -2
  4. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +2 -4
  5. data/vendor/assets/javascripts/twitter/bootstrap/button.js +5 -7
  6. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +12 -12
  7. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +9 -11
  8. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +9 -11
  9. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +20 -25
  10. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +1 -1
  11. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -1
  12. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +5 -7
  13. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +12 -11
  14. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +5 -5
  15. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +19 -9
  16. data/vendor/assets/stylesheets/twitter/_bootstrap-responsive.scss +1 -1
  17. data/vendor/assets/stylesheets/twitter/_bootstrap.scss +2 -1
  18. data/vendor/assets/stylesheets/twitter/bootstrap/_accordion.sass +1 -1
  19. data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.sass +1 -1
  20. data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.sass +1 -1
  21. data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.sass +3 -5
  22. data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.sass +17 -16
  23. data/vendor/assets/stylesheets/twitter/bootstrap/_code.sass +1 -1
  24. data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.sass +33 -6
  25. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.sass +35 -12
  26. data/vendor/assets/stylesheets/twitter/bootstrap/_hero-unit.sass +6 -5
  27. data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.sass +4 -2
  28. data/vendor/assets/stylesheets/twitter/bootstrap/_media.sass +54 -0
  29. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.sass +6 -1
  30. data/vendor/assets/stylesheets/twitter/bootstrap/_modals.sass +6 -13
  31. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.sass +4 -6
  32. data/vendor/assets/stylesheets/twitter/bootstrap/_navs.sass +3 -2
  33. data/vendor/assets/stylesheets/twitter/bootstrap/_pager.sass +10 -9
  34. data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.sass +60 -11
  35. data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.sass +3 -3
  36. data/vendor/assets/stylesheets/twitter/bootstrap/_progress-bars.sass +1 -1
  37. data/vendor/assets/stylesheets/twitter/bootstrap/_reset.sass +5 -4
  38. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.sass +18 -1
  39. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.sass +9 -3
  40. data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.sass +3 -3
  41. data/vendor/assets/stylesheets/twitter/bootstrap/_tables.sass +20 -41
  42. data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.sass +1 -1
  43. data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.sass +1 -1
  44. data/vendor/assets/stylesheets/twitter/bootstrap/_type.sass +31 -26
  45. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.sass +20 -1
  46. data/vendor/assets/stylesheets/twitter/bootstrap/_wells.sass +4 -3
  47. metadata +10 -19
@@ -68,7 +68,7 @@
68
68
  +nav-divider($dropdownDividerTop, $dropdownDividerBottom)
69
69
 
70
70
  // Links within the dropdown menu
71
- a
71
+ li > a
72
72
  display: block
73
73
  padding: 3px 20px
74
74
  clear: both
@@ -82,18 +82,17 @@
82
82
  .dropdown-menu li > a:hover,
83
83
  .dropdown-menu li > a:focus,
84
84
  .dropdown-submenu:hover > a
85
- text-decoration: none
86
85
  color: $dropdownLinkColorHover
87
- background-color: $dropdownLinkBackgroundHover
86
+ text-decoration: none
87
+ +gradient-vertical($dropdownLinkBackgroundHover, darken($dropdownLinkBackgroundHover, 5%))
88
88
 
89
89
  // Active state
90
90
  // ------------
91
91
  .dropdown-menu .active > a,
92
92
  .dropdown-menu .active > a:hover
93
- color: $dropdownLinkColorHover
93
+ color: $dropdownLinkColorActive
94
94
  text-decoration: none
95
95
  outline: 0
96
- background-color: $dropdownLinkBackgroundActive
97
96
  +gradient-vertical($dropdownLinkBackgroundActive, darken($dropdownLinkBackgroundActive, 5%))
98
97
 
99
98
  // Disabled state
@@ -107,6 +106,7 @@
107
106
  .dropdown-menu .disabled > a:hover
108
107
  text-decoration: none
109
108
  background-color: transparent
109
+ background-image: none // Remove CSS gradient
110
110
  cursor: default
111
111
 
112
112
  // Open state for the dropdown
@@ -146,6 +146,7 @@
146
146
  .dropdown-submenu
147
147
  position: relative
148
148
 
149
+ // Default dropdowns
149
150
  .dropdown-submenu > .dropdown-menu
150
151
  top: 0
151
152
  left: 100%
@@ -158,6 +159,17 @@
158
159
  .dropdown-submenu:hover > .dropdown-menu
159
160
  display: block
160
161
 
162
+ // Dropups
163
+ .dropup .dropdown-submenu > .dropdown-menu
164
+ top: auto
165
+ bottom: 0
166
+ margin-top: 0
167
+ margin-bottom: -2px
168
+ -webkit-border-radius: 5px 5px 5px 0
169
+ -moz-border-radius: 5px 5px 5px 0
170
+ border-radius: 5px 5px 5px 0
171
+
172
+ // Caret to indicate there is a submenu
161
173
  .dropdown-submenu > a:after
162
174
  display: block
163
175
  content: " "
@@ -174,6 +186,21 @@
174
186
  border-left-color: $dropdownLinkColorHover
175
187
 
176
188
 
189
+ // Left aligned submenus
190
+ .dropdown-submenu.pull-left
191
+ // Undo the float
192
+ // Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
193
+ float: none
194
+
195
+ // Positioning the submenu
196
+ > .dropdown-menu
197
+ left: -100%
198
+ margin-left: 10px
199
+ -webkit-border-radius: 6px 0 6px 6px
200
+ -moz-border-radius: 6px 0 6px 6px
201
+ border-radius: 6px 0 6px 6px
202
+
203
+
177
204
  // Tweak nav headers
178
205
  // -----------------
179
206
  // Increase padding from 15px to 20px on sides
@@ -186,4 +213,4 @@
186
213
  // ---------
187
214
  .typeahead
188
215
  margin-top: 2px // give it some space to breathe
189
- +border-radius(4px)
216
+ +border-radius($baseBorderRadius)
@@ -74,11 +74,12 @@ input[type="color"],
74
74
  display: inline-block
75
75
  height: $baseLineHeight
76
76
  padding: 4px 6px
77
- margin-bottom: 9px
77
+ margin-bottom: $baseLineHeight / 2
78
78
  font-size: $baseFontSize
79
79
  line-height: $baseLineHeight
80
80
  color: $gray
81
81
  +border-radius($inputBorderRadius)
82
+ vertical-align: middle
82
83
 
83
84
  // Reset appearance properties for textual inputs and textarea
84
85
  // Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
@@ -141,9 +142,9 @@ input[type="checkbox"]
141
142
  // Set the height of select and file controls to match text inputs
142
143
  select,
143
144
  input[type="file"]
144
- height: 30px /* In IE7, the height of the select element cannot be changed by height, only font-size */
145
+ height: $inputHeight /* In IE7, the height of the select element cannot be changed by height, only font-size */
145
146
  *margin-top: 4px /* For IE7, add top margin to align select with labels */
146
- line-height: 30px
147
+ line-height: $inputHeight
147
148
 
148
149
  // Make select elements obey height by applying a border
149
150
  select
@@ -190,7 +191,7 @@ input[type="checkbox"]:focus
190
191
  // Placeholder
191
192
  // -------------------------
192
193
 
193
- // Placeholder text gets special styles because when browsers invalidate entire lines if it doesnt understand a selector
194
+ // Placeholder text gets special styles because when browsers invalidate entire lines if it doesn't understand a selector
194
195
  input,
195
196
  textarea
196
197
  +placeholder
@@ -202,13 +203,13 @@ textarea
202
203
  // Indent the labels to position radios/checkboxes as hanging
203
204
  .radio,
204
205
  .checkbox
205
- min-height: 18px // clear the floating input if there is no label text
206
- padding-left: 18px
206
+ min-height: $baseLineHeight // clear the floating input if there is no label text
207
+ padding-left: 20px
207
208
 
208
209
  .radio input[type="radio"],
209
210
  .checkbox input[type="checkbox"]
210
211
  float: left
211
- margin-left: -18px
212
+ margin-left: -20px
212
213
 
213
214
  // Move the options list down to align with labels
214
215
  .controls > .radio:first-child,
@@ -283,9 +284,16 @@ textarea[class*="span"],
283
284
  .controls-row
284
285
  +clearfix // Clear the float from controls
285
286
 
286
- .controls-row [class*="span"]
287
- float: left // Float to collapse white-space for proper grid alignment
287
+ // Float to collapse white-space for proper grid alignment
288
+ // Redeclare the fluid grid collapse since we undo the float for inputs
289
+ .controls-row [class*="span"],
290
+ .row-fluid .controls-row [class*="span"]
291
+ float: left
288
292
 
293
+ // Explicity set top padding on all checkboxes/radios, not just first-child
294
+ .controls-row .checkbox[class*="span"],
295
+ .controls-row .radio[class*="span"]
296
+ padding-top: 5px
289
297
 
290
298
 
291
299
  // DISABLED STATE
@@ -377,15 +385,22 @@ select:focus:required:invalid
377
385
  .input-append,
378
386
  .input-prepend
379
387
  margin-bottom: 5px
380
- font-size: 0
388
+ font-size: 0 // white space collapse hack
381
389
  white-space: nowrap // Prevent span and input from separating
390
+
391
+ // Reset the white space collapse hack
392
+ input,
393
+ select,
394
+ .uneditable-input,
395
+ .dropdown-menu
396
+ font-size: $baseFontSize
397
+
382
398
  input,
383
399
  select,
384
400
  .uneditable-input
385
401
  position: relative // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness
386
402
  margin-bottom: 0 // prevent bottom margin from screwing up alignment in stacked forms
387
403
  *margin-left: 0
388
- font-size: $baseFontSize
389
404
  vertical-align: top
390
405
  +border-radius(0 $inputBorderRadius $inputBorderRadius 0)
391
406
  // Make input on top when focused so blue border and shadow always show
@@ -418,6 +433,7 @@ select:focus:required:invalid
418
433
  margin-right: -1px
419
434
  .add-on:first-child,
420
435
  .btn:first-child
436
+ // FYI, `.btn:first-child` accounts for a button group that's prepended
421
437
  +border-radius($inputBorderRadius 0 0 $inputBorderRadius)
422
438
 
423
439
  .input-append
@@ -425,8 +441,11 @@ select:focus:required:invalid
425
441
  select,
426
442
  .uneditable-input
427
443
  +border-radius($inputBorderRadius 0 0 $inputBorderRadius)
444
+ + .btn-group .btn
445
+ +border-radius(0 $inputBorderRadius $inputBorderRadius 0)
428
446
  .add-on,
429
- .btn
447
+ .btn,
448
+ .btn-group
430
449
  margin-left: -1px
431
450
  .add-on:last-child,
432
451
  .btn:last-child
@@ -438,6 +457,8 @@ select:focus:required:invalid
438
457
  select,
439
458
  .uneditable-input
440
459
  +border-radius(0)
460
+ .btn-group .btn
461
+ +border-radius(0 $inputBorderRadius $inputBorderRadius 0)
441
462
  .add-on:first-child,
442
463
  .btn:first-child
443
464
  margin-right: -1px
@@ -446,6 +467,8 @@ select:focus:required:invalid
446
467
  .btn:last-child
447
468
  margin-left: -1px
448
469
  +border-radius(0 $inputBorderRadius $inputBorderRadius 0)
470
+ .btn-group:first-child
471
+ margin-left: 0
449
472
 
450
473
 
451
474
 
@@ -6,6 +6,10 @@
6
6
  .hero-unit
7
7
  padding: 60px
8
8
  margin-bottom: 30px
9
+ font-size: 18px
10
+ font-weight: 200
11
+ line-height: $baseLineHeight * 1.5
12
+ color: $heroUnitLeadColor
9
13
  background-color: $heroUnitBackground
10
14
  +border-radius(6px)
11
15
  h1
@@ -14,8 +18,5 @@
14
18
  line-height: 1
15
19
  color: $heroUnitHeadingColor
16
20
  letter-spacing: -1px
17
- p
18
- font-size: 18px
19
- font-weight: 200
20
- line-height: $baseLineHeight * 1.5
21
- color: $heroUnitLeadColor
21
+ li
22
+ line-height: $baseLineHeight * 1.5 // Reset since we specify in type.less
@@ -6,6 +6,8 @@
6
6
  // Base classes
7
7
  .label,
8
8
  .badge
9
+ display: inline-block
10
+ padding: 2px 4px
9
11
  font-size: $baseFontSize * 0.846
10
12
  font-weight: bold
11
13
  line-height: 14px // ensure proper line-height if floated
@@ -18,11 +20,11 @@
18
20
 
19
21
  // Set unique padding and border-radii
20
22
  .label
21
- padding: 1px 4px 2px
22
23
  +border-radius(3px)
23
24
 
24
25
  .badge
25
- padding: 1px 9px 2px
26
+ padding-left: 9px
27
+ padding-right: 9px
26
28
  +border-radius(9px)
27
29
 
28
30
 
@@ -0,0 +1,54 @@
1
+ // Media objects
2
+ // Source: http://stubbornella.org/content/?p=497
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Common styles
7
+ // -------------------------
8
+
9
+ // Clear the floats
10
+ .media,
11
+ .media-body
12
+ overflow: hidden
13
+ *overflow: visible
14
+ zoom: 1
15
+
16
+
17
+ // Proper spacing between instances of .media
18
+ .media,
19
+ .media .media
20
+ margin-top: 15px
21
+
22
+ .media:first-child
23
+ margin-top: 0
24
+
25
+
26
+ // For images and videos, set to block
27
+ .media-object
28
+ display: block
29
+
30
+
31
+ // Reset margins on headings for tighter default spacing
32
+ .media-heading
33
+ margin: 0 0 5px
34
+
35
+
36
+
37
+ // Media image alignment
38
+ // -------------------------
39
+
40
+ .media .pull-left
41
+ margin-right: 10px
42
+
43
+ .media .pull-right
44
+ margin-left: 10px
45
+
46
+
47
+
48
+ // Media list variation
49
+ // -------------------------
50
+
51
+ // Undo default ul/ol styles
52
+ .media-list
53
+ margin-left: 0
54
+ list-style: none
@@ -132,7 +132,7 @@
132
132
  =input-block-level
133
133
  display: block
134
134
  width: 100%
135
- min-height: 30px // Make inputs at least the height of their button counterpart
135
+ min-height: $inputHeight // Make inputs at least the height of their button counterpart (base line-height + padding + border)
136
136
  +box-sizing(border-box) // Makes inputs behave like true block-level elements
137
137
 
138
138
 
@@ -263,6 +263,7 @@
263
263
  -ms-transform: skewX($x) skewY($y) // See https://github.com/twitter/bootstrap/issues/4885
264
264
  -o-transform: skew($x, $y)
265
265
  transform: skew($x, $y)
266
+ -webkit-backface-visibility: hidden // See https://github.com/twitter/bootstrap/issues/5319
266
267
 
267
268
  =translate3d($x, $y, $z)
268
269
  -webkit-transform: translate3d($x, $y, $z)
@@ -551,6 +552,10 @@
551
552
 
552
553
  [class*="span"]:first-child
553
554
  margin-left: 0
555
+
556
+ // Space grid-sized controls properly if multiple per line
557
+ .controls-row [class*="span"] + [class*="span"]
558
+ margin-left: $fluidGridGutterWidth
554
559
 
555
560
  @for $i from 1 through $gridColumns
556
561
  .span#{$i}
@@ -3,18 +3,6 @@
3
3
  // --------------------------------------------------
4
4
 
5
5
 
6
- // Recalculate z-index where appropriate,
7
- // but only apply to elements within modal
8
- .modal-open .modal
9
- .dropdown-menu
10
- z-index: $zindexDropdown + $zindexModal
11
- .dropdown.open
12
- *z-index: $zindexDropdown + $zindexModal
13
- .popover
14
- z-index: $zindexPopover + $zindexModal
15
- .tooltip
16
- z-index: $zindexTooltip + $zindexModal
17
-
18
6
  // Background
19
7
  .modal-backdrop
20
8
  position: fixed
@@ -38,7 +26,6 @@
38
26
  top: 50%
39
27
  left: 50%
40
28
  z-index: $zindexModal
41
- overflow: auto
42
29
  width: 560px
43
30
  margin: -250px 0 0 -280px
44
31
  background-color: $white
@@ -48,6 +35,8 @@
48
35
  +border-radius(6px)
49
36
  +box-shadow(0 3px 7px rgba(0,0,0,0.3))
50
37
  +background-clip(padding-box)
38
+ // Remove focus outline from opened modal
39
+ outline: none
51
40
  &.fade
52
41
  +transition(#{'opacity .3s linear, top .3s ease-out'})
53
42
  top: -25%
@@ -92,3 +81,7 @@
92
81
  // but override that for button groups
93
82
  .btn-group .btn + .btn
94
83
  margin-left: -1px
84
+ // and override it for block buttons as well
85
+ .btn-block + .btn-block
86
+ margin-left: 0
87
+
@@ -24,7 +24,7 @@
24
24
  padding-right: 20px
25
25
  +gradient-vertical($navbarBackgroundHighlight, $navbarBackground)
26
26
  border: 1px solid $navbarBorder
27
- +border-radius(4px)
27
+ +border-radius($baseBorderRadius)
28
28
  +box-shadow(0 1px 4px rgba(0,0,0,.065))
29
29
 
30
30
  // Prevent floats from breaking the navbar
@@ -38,6 +38,7 @@
38
38
  // Override the default collapsed state
39
39
  .nav-collapse.collapse
40
40
  height: auto
41
+ overflow: visible
41
42
 
42
43
 
43
44
  // Brand: website or project name
@@ -139,7 +140,6 @@
139
140
 
140
141
  .navbar-static-top
141
142
  position: static
142
- width: 100%
143
143
  margin-bottom: 0 // remove 18px margin for default navbar
144
144
  .navbar-inner
145
145
  +border-radius(0)
@@ -184,15 +184,13 @@
184
184
  .navbar-fixed-top,
185
185
  .navbar-static-top
186
186
  .navbar-inner
187
- $shadow: inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)
188
- +box-shadow($shadow)
187
+ +box-shadow(0 1px 10px rgba(0,0,0,.1))
189
188
 
190
189
  // Fixed to bottom
191
190
  .navbar-fixed-bottom
192
191
  bottom: 0
193
192
  .navbar-inner
194
- $shadow: inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)
195
- +box-shadow($shadow)
193
+ +box-shadow(0 -1px 10px rgba(0,0,0,.1))
196
194
 
197
195
 
198
196
 
@@ -63,7 +63,8 @@
63
63
  text-shadow: 0 -1px 0 rgba(0,0,0,.2)
64
64
  background-color: $linkColor
65
65
 
66
- .nav-list [class^="icon-"]
66
+ .nav-list [class^="icon-"],
67
+ .nav-list [class*=" icon-"]
67
68
  margin-right: 2px
68
69
 
69
70
  // Dividers (basically an hr) within the dropdown
@@ -117,7 +118,7 @@
117
118
  .nav-tabs > .active > a,
118
119
  .nav-tabs > .active > a:hover
119
120
  color: $gray
120
- background-color: $white
121
+ background-color: $bodyBackground
121
122
  border: 1px solid #ddd
122
123
  border-bottom-color: transparent
123
124
  cursor: default
@@ -12,28 +12,29 @@
12
12
  .pager li
13
13
  display: inline
14
14
 
15
- .pager a,
16
- .pager span
15
+ .pager li > a,
16
+ .pager li > span
17
17
  display: inline-block
18
18
  padding: 5px 14px
19
19
  background-color: #fff
20
20
  border: 1px solid #ddd
21
21
  +border-radius(15px)
22
22
 
23
- .pager a:hover
23
+ .pager li > a:hover
24
24
  text-decoration: none
25
25
  background-color: #f5f5f5
26
26
 
27
- .pager .next a,
28
- .pager .next span
27
+ .pager .next > a,
28
+ .pager .next > span
29
29
  float: right
30
30
 
31
- .pager .previous a
31
+ .pager .previous > a,
32
+ .pager .previous > span
32
33
  float: left
33
34
 
34
- .pager .disabled a,
35
- .pager .disabled a:hover,
36
- .pager .disabled span
35
+ .pager .disabled > a,
36
+ .pager .disabled > a:hover,
37
+ .pager .disabled > span
37
38
  color: $grayLight
38
39
  background-color: #fff
39
40
  cursor: default
@@ -2,27 +2,30 @@
2
2
  // Pagination (multiple pages)
3
3
  // --------------------------------------------------
4
4
 
5
-
5
+ // Space out pagination from surrounding content
6
6
  .pagination
7
- height: $baseLineHeight * 2
8
7
  margin: $baseLineHeight 0
9
8
 
9
+
10
10
  .pagination ul
11
+ // Allow for text-based alignment
11
12
  display: inline-block
12
13
  +ie7-inline-block
14
+ // Reset default ul styles
13
15
  margin-left: 0
14
16
  margin-bottom: 0
15
- +border-radius(3px)
17
+ // Visuals
18
+ +border-radius($baseBorderRadius)
16
19
  +box-shadow(0 1px 2px rgba(0,0,0,.05))
17
20
 
18
21
  .pagination ul > li
19
- display: inline
22
+ display: inline // Remove list-style and block-level defaults
20
23
 
21
24
  .pagination ul > li > a,
22
25
  .pagination ul > li > span
23
- float: left
24
- padding: 0 14px
25
- line-height: ($baseLineHeight * 2) - 2
26
+ float: left // Collapse white-space
27
+ padding: 4px 12px
28
+ line-height: $baseLineHeight
26
29
  text-decoration: none
27
30
  background-color: $paginationBackground
28
31
  border: 1px solid $paginationBorder
@@ -31,7 +34,7 @@
31
34
  .pagination ul > li > a:hover,
32
35
  .pagination ul > .active > a,
33
36
  .pagination ul > .active > span
34
- background-color: #f5f5f5
37
+ background-color: $paginationActiveBackground
35
38
 
36
39
  .pagination ul > .active > a,
37
40
  .pagination ul > .active > span
@@ -48,16 +51,62 @@
48
51
  .pagination ul > li:first-child > a,
49
52
  .pagination ul > li:first-child > span
50
53
  border-left-width: 1px
51
- +border-radius(3px 0 0 3px)
54
+ +border-left-radius($baseBorderRadius)
52
55
 
53
56
  .pagination ul > li:last-child > a,
54
57
  .pagination ul > li:last-child > span
55
- +border-radius(0 3px 3px 0)
58
+ +border-right-radius($baseBorderRadius)
56
59
 
57
60
 
58
- // Centered
61
+ // Alignment
62
+ // --------------------------------------------------
63
+
59
64
  .pagination-centered
60
65
  text-align: center
61
66
 
62
67
  .pagination-right
63
68
  text-align: right
69
+
70
+
71
+ // Sizing
72
+ // --------------------------------------------------
73
+
74
+ // Large
75
+ .pagination-large
76
+ ul > li > a,
77
+ ul > li > span
78
+ padding: $paddingLarge
79
+ font-size: $fontSizeLarge
80
+ ul > li:first-child > a,
81
+ ul > li:first-child > span
82
+ +border-left-radius($borderRadiusLarge)
83
+ ul > li:last-child > a,
84
+ ul > li:last-child > span
85
+ +border-right-radius($borderRadiusLarge)
86
+
87
+
88
+ // Small and mini
89
+ .pagination-mini,
90
+ .pagination-small
91
+ ul > li:first-child > a,
92
+ ul > li:first-child > span
93
+ +border-left-radius($borderRadiusSmall)
94
+ ul > li:last-child > a,
95
+ ul > li:last-child > span
96
+ +border-right-radius($borderRadiusSmall)
97
+
98
+
99
+ // Small
100
+ .pagination-small
101
+ ul > li > a,
102
+ ul > li > span
103
+ padding: $paddingSmall
104
+ font-size: $fontSizeSmall
105
+
106
+
107
+ // Mini
108
+ .pagination-mini
109
+ ul > li > a,
110
+ ul > li > span
111
+ padding: $paddingMini
112
+ font-size: $fontSizeMini
@@ -22,13 +22,13 @@
22
22
 
23
23
  // Offset the popover to account for the popover arrow
24
24
  &.top
25
- margin-bottom: 10px
25
+ margin-top: -10px
26
26
  &.right
27
27
  margin-left: 10px
28
28
  &.bottom
29
29
  margin-top: 10px
30
- &.right
31
- margin-left: 10px
30
+ &.left
31
+ margin-left: -10px
32
32
 
33
33
  .popover-title
34
34
  margin: 0 // reset heading margin
@@ -53,7 +53,7 @@
53
53
  margin-bottom: $baseLineHeight
54
54
  +gradient-vertical(#f5f5f5, #f9f9f9)
55
55
  +box-shadow(inset 0 1px 2px rgba(0,0,0,.1))
56
- +border-radius(4px)
56
+ +border-radius($baseBorderRadius)
57
57
 
58
58
  // Bar of progress
59
59
  .progress .bar
@@ -79,7 +79,8 @@ img
79
79
  -ms-interpolation-mode: bicubic
80
80
 
81
81
  // Prevent max-width from affecting Google Maps
82
- #map_canvas img
82
+ #map_canvas img,
83
+ .google-maps img
83
84
  max-width: none
84
85
 
85
86
  // Forms
@@ -105,11 +106,11 @@ input::-moz-focus-inner // Inner padding and border oddities in FF3/4
105
106
  border: 0
106
107
 
107
108
  button,
108
- input[type="button"],
109
+ html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
109
110
  input[type="reset"],
110
111
  input[type="submit"]
111
- cursor: pointer // Cursors on all buttons applied consistently
112
- -webkit-appearance: button // Style clickable inputs in iOS
112
+ -webkit-appearance: button // Corrects inability to style clickable `input` types in iOS.
113
+ cursor: pointer // Improves usability and consistency of cursor style between image-type `input` and others.
113
114
 
114
115
  input[type="search"] // Appearance in Safari/Chrome
115
116
  -webkit-box-sizing: content-box