Skip to content

Commit

Permalink
Merge pull request #110 from jeremyben/master
Browse files Browse the repository at this point in the history
Upgrade to Bootstrap 3.3.6
  • Loading branch information
maxmx committed Nov 26, 2015
2 parents 546fe71 + e4432a5 commit 34d0946
Show file tree
Hide file tree
Showing 26 changed files with 60 additions and 49 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Bootstrap Stylus 3.3.5
Bootstrap Stylus 3.3.6
======================

Port of the amazing [Bootstrap 3.3.5](https://github.com/twbs/bootstrap) to [Stylus 0.47.0](http://learnboost.github.com/stylus/).
Port of the amazing [Bootstrap 3.3.6](https://github.com/twbs/bootstrap) to [Stylus 0.47.0](http://learnboost.github.com/stylus/).

## Installing

Expand Down
4 changes: 2 additions & 2 deletions bootstrap/button-groups.styl
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@
border-radius 0

&:first-child:not(:last-child)
border-top-right-radius $btn-border-radius-base
border-top-radius($btn-border-radius-base)
border-bottom-radius(0)

&:last-child:not(:first-child)
border-bottom-left-radius $btn-border-radius-base
border-top-radius(0)
border-bottom-radius($btn-border-radius-base)

.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn
border-radius 0
Expand Down
13 changes: 7 additions & 6 deletions bootstrap/carousel.styl
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
color $carousel-control-color
text-align center
text-shadow $carousel-text-shadow
background-color rgba(0, 0, 0, 0) // Fix IE9 click-thru bug
// We can't have this transition here because WebKit cancels the carousel
// animation if you trip this while in the middle of another animation.

Expand Down Expand Up @@ -219,18 +220,18 @@
.glyphicon-chevron-right,
.icon-prev,
.icon-next
width 30px
height 30px
margin-top -15px
font-size 30px
width ($carousel-control-font-size * 1.5)
height ($carousel-control-font-size * 1.5)
margin-top ($carousel-control-font-size / -2)
font-size ($carousel-control-font-size * 1.5)

.glyphicon-chevron-left,
.icon-prev
margin-left -15px
margin-left ($carousel-control-font-size / -2)

.glyphicon-chevron-right,
.icon-next
margin-right -15px
margin-right ($carousel-control-font-size / -2)

// Show and left align the captions
.carousel-caption
Expand Down
5 changes: 5 additions & 0 deletions bootstrap/forms.styl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ output
// Placeholder
placeholder()

// Unstyle the caret on `<select>`s in IE10+.
&::-ms-expand
border: 0;
background-color: transparent;

// Disabled and read-only inputs
//
// HTML5 says that controls under a fieldset > legend:first-child won't be
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/glyphicons.styl
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
// Individual icons
.glyphicon-asterisk
&:before
content "\2a"
content "\002a"
.glyphicon-plus
&:before
content "\2b"
content "\002b"
.glyphicon-euro,
.glyphicon-eur
&:before
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/index.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
Expand Down
9 changes: 6 additions & 3 deletions bootstrap/input-groups.styl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

width 100%
margin-bottom 0

&:focus
z-index 3

// Sizing options
//
Expand Down Expand Up @@ -72,17 +75,17 @@
text-align center
background-color $input-group-addon-bg
border 1px solid $input-group-addon-border-color
border-radius $border-radius-base
border-radius $input-border-radius

// Sizing
&.input-sm
padding $padding-small-vertical $padding-small-horizontal
font-size $font-size-small
border-radius $border-radius-small
border-radius $input-border-radius-small
&.input-lg
padding $padding-large-vertical $padding-large-horizontal
font-size $font-size-large
border-radius $border-radius-large
border-radius $input-border-radius-large

// Nuke default margins from checkboxes and radios to vertically center within.
input[type="radio"],
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/mixins/vendor-prefixes.styl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vendor Prefixes
//
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
// Autoprefixer in our Gruntfile. They will be removed in v4.
// Autoprefixer in our Gruntfile. They have been removed in v4.

// - Animations
// - Backface visibility
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/pagination.styl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
> li > span
&:hover,
&:focus
z-index 3
z-index 2
color $pagination-hover-color
background-color $pagination-hover-bg
border-color $pagination-hover-border
Expand All @@ -46,7 +46,7 @@
&,
&:hover,
&:focus
z-index 2
z-index 3
color $pagination-active-color
background-color $pagination-active-bg
border-color $pagination-active-border
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/theme.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/type.styl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ dd
dd
@extend .clearfix // Clear the floated `dt` if an empty `dd` is present

@media (min-width $grid-float-breakpoint)
@media (min-width $dl-horizontal-breakpoint)
dt
float left
width ($dl-horizontal-offset - 20)
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/variables.styl
Original file line number Diff line number Diff line change
Expand Up @@ -863,5 +863,7 @@ $blockquote-border-color ?= $gray-lighter
$page-header-border-color ?= $gray-lighter
//** Width of horizontal description list titles
$dl-horizontal-offset ?= $component-offset-horizontal
//** Point at which .dl-horizontal becomes horizontal
$dl-horizontal-breakpoint ?= $grid-float-breakpoint
//** Horizontal line color.
$hr-border ?= $gray-lighter
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bootstrap-stylus",
"version": "5.0.1",
"main": "bootstrap/index.styl",
"description": "A port of Bootstrap 3.3.5 to Stylus",
"description": "A port of Bootstrap 3.3.6 to Stylus",
"ignore": [
"**/.*",
"node_modules",
Expand Down
4 changes: 2 additions & 2 deletions js/affix.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: affix.js v3.3.5
* Bootstrap: affix.js v3.3.6
* http://getbootstrap.com/javascript/#affix
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down Expand Up @@ -28,7 +28,7 @@
this.checkPosition()
}

Affix.VERSION = '3.3.5'
Affix.VERSION = '3.3.6'

Affix.RESET = 'affix affix-top affix-bottom'

Expand Down
4 changes: 2 additions & 2 deletions js/alert.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: alert.js v3.3.5
* Bootstrap: alert.js v3.3.6
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand All @@ -18,7 +18,7 @@
$(el).on('click', dismiss, this.close)
}

Alert.VERSION = '3.3.5'
Alert.VERSION = '3.3.6'

Alert.TRANSITION_DURATION = 150

Expand Down
4 changes: 2 additions & 2 deletions js/button.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: button.js v3.3.5
* Bootstrap: button.js v3.3.6
* http://getbootstrap.com/javascript/#buttons
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand All @@ -19,7 +19,7 @@
this.isLoading = false
}

Button.VERSION = '3.3.5'
Button.VERSION = '3.3.6'

Button.DEFAULTS = {
loadingText: 'loading...'
Expand Down
4 changes: 2 additions & 2 deletions js/carousel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: carousel.js v3.3.5
* Bootstrap: carousel.js v3.3.6
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down Expand Up @@ -30,7 +30,7 @@
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
}

Carousel.VERSION = '3.3.5'
Carousel.VERSION = '3.3.6'

Carousel.TRANSITION_DURATION = 600

Expand Down
4 changes: 2 additions & 2 deletions js/collapse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: collapse.js v3.3.5
* Bootstrap: collapse.js v3.3.6
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down Expand Up @@ -29,7 +29,7 @@
if (this.options.toggle) this.toggle()
}

Collapse.VERSION = '3.3.5'
Collapse.VERSION = '3.3.6'

Collapse.TRANSITION_DURATION = 350

Expand Down
8 changes: 4 additions & 4 deletions js/dropdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: dropdown.js v3.3.5
* Bootstrap: dropdown.js v3.3.6
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand All @@ -19,7 +19,7 @@
$(element).on('click.bs.dropdown', this.toggle)
}

Dropdown.VERSION = '3.3.5'
Dropdown.VERSION = '3.3.6'

function getParent($this) {
var selector = $this.attr('data-target')
Expand Down Expand Up @@ -51,7 +51,7 @@
if (e.isDefaultPrevented()) return

$this.attr('aria-expanded', 'false')
$parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
})
}

Expand Down Expand Up @@ -85,7 +85,7 @@

$parent
.toggleClass('open')
.trigger('shown.bs.dropdown', relatedTarget)
.trigger($.Event('shown.bs.dropdown', relatedTarget))
}

return false
Expand Down
4 changes: 2 additions & 2 deletions js/modal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: modal.js v3.3.5
* Bootstrap: modal.js v3.3.6
* http://getbootstrap.com/javascript/#modals
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down Expand Up @@ -33,7 +33,7 @@
}
}

Modal.VERSION = '3.3.5'
Modal.VERSION = '3.3.6'

Modal.TRANSITION_DURATION = 300
Modal.BACKDROP_TRANSITION_DURATION = 150
Expand Down
4 changes: 2 additions & 2 deletions js/popover.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: popover.js v3.3.5
* Bootstrap: popover.js v3.3.6
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand All @@ -19,7 +19,7 @@

if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')

Popover.VERSION = '3.3.5'
Popover.VERSION = '3.3.6'

Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right',
Expand Down
4 changes: 2 additions & 2 deletions js/scrollspy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: scrollspy.js v3.3.5
* Bootstrap: scrollspy.js v3.3.6
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down Expand Up @@ -28,7 +28,7 @@
this.process()
}

ScrollSpy.VERSION = '3.3.5'
ScrollSpy.VERSION = '3.3.6'

ScrollSpy.DEFAULTS = {
offset: 10
Expand Down
4 changes: 2 additions & 2 deletions js/tab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: tab.js v3.3.5
* Bootstrap: tab.js v3.3.6
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand All @@ -19,7 +19,7 @@
// jscs:enable requireDollarBeforejQueryAssignment
}

Tab.VERSION = '3.3.5'
Tab.VERSION = '3.3.6'

Tab.TRANSITION_DURATION = 150

Expand Down
4 changes: 2 additions & 2 deletions js/tooltip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: tooltip.js v3.3.5
* Bootstrap: tooltip.js v3.3.6
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
Expand All @@ -26,7 +26,7 @@
this.init('tooltip', element, options)
}

Tooltip.VERSION = '3.3.5'
Tooltip.VERSION = '3.3.6'

Tooltip.TRANSITION_DURATION = 150

Expand Down
2 changes: 1 addition & 1 deletion js/transition.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: transition.js v3.3.5
* Bootstrap: transition.js v3.3.6
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-styl",
"description": "Port of the amazing Bootstrap 3.3.5 to Stylus",
"description": "Port of the amazing Bootstrap 3.3.6 to Stylus",
"repository": {
"type": "git",
"url": "http://github.com/maxmx/bootstrap-stylus.git"
Expand All @@ -9,7 +9,7 @@
"bootstrap",
"stylus"
],
"version": "5.0.1",
"version": "5.0.2",
"devDependencies": {
"grunt": "~0.4.5",
"stylus": "~0.47.0",
Expand Down

0 comments on commit 34d0946

Please sign in to comment.