Skip to content

Commit c0dd549

Browse files
committed
Merge pull request #92 from kane-c/master
Upgrade Bootstrap to v3.3.4
2 parents 72e185a + 4fcfb66 commit c0dd549

32 files changed

+174
-134
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Bootstrap Stylus 3.3.2
1+
Bootstrap Stylus 3.3.4
22
======================
33

4-
Port of the amazing [Bootstrap 3.3.2](https://github.com/twbs/bootstrap) to [Stylus 0.47.0](http://learnboost.github.com/stylus/).
4+
Port of the amazing [Bootstrap 3.3.4](https://github.com/twbs/bootstrap) to [Stylus 0.47.0](http://learnboost.github.com/stylus/).
55

66
There might be some slight color differences due to the differences between the color functions in LESS and those in Stylus.
77

bootstrap/badges.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
position relative
2828
top -1px
2929

30-
.btn-xs &
30+
.btn-xs &,
31+
.btn-group-xs > .btn &
3132
top 0
3233
padding 1px 5px
3334

bootstrap/component-animations.styl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616

1717
.collapse
1818
display none
19-
visibility hidden
2019

2120
&.in
2221
display block
23-
visibility visible
2422

2523
tr&.in
2624
display table-row

bootstrap/dropdowns.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
height 0
1111
margin-left 2px
1212
vertical-align middle
13-
border-top $caret-width-base solid
13+
border-top $caret-width-base dashed
1414
border-right $caret-width-base solid transparent
1515
border-left $caret-width-base solid transparent
1616

bootstrap/forms.styl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,13 @@ output
131131
&[disabled],
132132
&[readonly],
133133
fieldset[disabled] &
134-
cursor $cursor-disabled
135134
background-color $input-bg-disabled
136135
opacity 1 // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
137136

137+
&[disabled],
138+
fieldset[disabled] &
139+
cursor $cursor-disabled
140+
138141
// Reset height for `textarea`s
139142
textarea&
140143
height auto
@@ -180,7 +183,7 @@ input[type="search"]
180183
// horizontal forms, use the predefined grid classes.
181184

182185
.form-group
183-
margin-bottom 15px
186+
margin-bottom $form-group-margin-bottom
184187

185188

186189
// Checkboxes and radios
@@ -216,6 +219,7 @@ input[type="search"]
216219
// Radios and checkboxes on same line
217220
.radio-inline,
218221
.checkbox-inline
222+
position relative
219223
display inline-block
220224
padding-left 20px
221225
margin-bottom 0
@@ -266,6 +270,7 @@ input[type="checkbox"]
266270
padding-bottom ($padding-base-vertical + 1)
267271
// Remove default margin from `p`
268272
margin-bottom 0
273+
min-height ($line-height-computed + $font-size-base)
269274

270275
&.input-lg,
271276
&.input-sm
@@ -293,6 +298,7 @@ input[type="checkbox"]
293298
padding $padding-small-vertical $padding-small-horizontal
294299
font-size $font-size-small
295300
line-height $line-height-small
301+
min-height ($line-height-computed + $font-size-small)
296302

297303
.input-lg
298304
input-size($input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large)
@@ -306,6 +312,7 @@ input[type="checkbox"]
306312
padding $padding-large-vertical $padding-large-horizontal
307313
font-size $font-size-large
308314
line-height $line-height-large
315+
min-height ($line-height-computed + $font-size-large)
309316

310317

311318
// Form control feedback states

bootstrap/glyphicons.styl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,12 +714,24 @@
714714
.glyphicon-bitcoin
715715
&:before
716716
content "\e227"
717+
.glyphicon-btc
718+
&:before
719+
content "\e227"
720+
.glyphicon-xbt
721+
&:before
722+
content "\e227"
717723
.glyphicon-yen
718724
&:before
719725
content "\00a5"
726+
.glyphicon-jpy
727+
&:before
728+
content "\00a5"
720729
.glyphicon-ruble
721730
&:before
722731
content "\20bd"
732+
.glyphicon-rub
733+
&:before
734+
content "\20bd"
723735
.glyphicon-scale
724736
&:before
725737
content "\e230"

bootstrap/index.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/*!
2-
* Bootstrap v3.3.2 (http://getbootstrap.com)
1+
/*!!
2+
* Bootstrap v3.3.4 (http://getbootstrap.com)
33
* Copyright 2011-2015 Twitter, Inc.
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
55
*/
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Text overflow
22
// Requires inline-block or block for proper styling
3-
text-overflow()
4-
text-overflow arguments
5-
if arguments == ellipsis
3+
text-overflow(type=ellipsis)
4+
text-overflow type
5+
if type == ellipsis
66
overflow hidden unless @overflow
77
white-space nowrap unless @white-space

bootstrap/modals.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@
6060

6161
// Modal background
6262
.modal-backdrop
63-
position absolute
63+
position fixed
6464
top 0
6565
right 0
66-
left 0
6766
bottom 0
67+
left 0
68+
z-index $zindex-modal-background
6869
background-color $modal-backdrop-bg
6970

7071
// Fade for backdrop

bootstrap/navbar.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262

6363
&.collapse
6464
display block !important
65-
visibility visible !important
6665
height auto !important
6766
padding-bottom 0 // Override default setting
6867
overflow visible !important

0 commit comments

Comments
 (0)