Merge pull request #914 from roots/bootstrap-3.0.2

Update to Bootstrap 3.0.2
This commit is contained in:
Ben Word
2013-11-06 17:17:40 -08:00
56 changed files with 49 additions and 51 deletions

View File

@@ -1,4 +1,5 @@
### HEAD
* Update to Bootstrap 3.0.2
* Replace `grunt-recess` with `grunt-contrib-less`, add LESS source maps support
### 6.5.1: November 5th, 2013

File diff suppressed because one or more lines are too long

4
assets/js/plugins/bootstrap/affix.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: affix.js v3.0.0
* Bootstrap: affix.js v3.0.2
* http://getbootstrap.com/javascript/#affix
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -123,4 +123,4 @@
})
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/alert.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: alert.js v3.0.0
* Bootstrap: alert.js v3.0.2
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -95,4 +95,4 @@
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/button.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: button.js v3.0.0
* Bootstrap: button.js v3.0.2
* http://getbootstrap.com/javascript/#buttons
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -106,4 +106,4 @@
e.preventDefault()
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/carousel.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: carousel.js v3.0.0
* Bootstrap: carousel.js v3.0.2
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -214,4 +214,4 @@
})
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/collapse.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: collapse.js v3.0.0
* Bootstrap: collapse.js v3.0.2
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -176,4 +176,4 @@
$target.collapse(option)
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/dropdown.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: dropdown.js v3.0.0
* Bootstrap: dropdown.js v3.0.2
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -151,4 +151,4 @@
.on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/modal.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: modal.js v3.0.0
* Bootstrap: modal.js v3.0.2
* http://getbootstrap.com/javascript/#modals
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -243,4 +243,4 @@
.on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/popover.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: popover.js v3.0.0
* Bootstrap: popover.js v3.0.2
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -114,4 +114,4 @@
return this
}
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/scrollspy.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: scrollspy.js v3.0.0
* Bootstrap: scrollspy.js v3.0.2
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -155,4 +155,4 @@
})
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/tab.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: tab.js v3.0.0
* Bootstrap: tab.js v3.0.2
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -132,4 +132,4 @@
$(this).tab('show')
})
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/tooltip.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: tooltip.js v3.0.0
* Bootstrap: tooltip.js v3.0.2
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
@@ -383,4 +383,4 @@
return this
}
}(window.jQuery);
}(jQuery);

4
assets/js/plugins/bootstrap/transition.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
/* ========================================================================
* Bootstrap: transition.js v3.0.0
* Bootstrap: transition.js v3.0.2
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2013 Twitter, Inc.
@@ -53,4 +53,4 @@
$.support.transition = transitionEnd()
})
}(window.jQuery);
}(jQuery);

File diff suppressed because one or more lines are too long

0
assets/less/bootstrap/alerts.less Normal file → Executable file
View File

0
assets/less/bootstrap/badges.less Normal file → Executable file
View File

0
assets/less/bootstrap/bootstrap.less vendored Normal file → Executable file
View File

0
assets/less/bootstrap/breadcrumbs.less Normal file → Executable file
View File

0
assets/less/bootstrap/button-groups.less Normal file → Executable file
View File

0
assets/less/bootstrap/buttons.less Normal file → Executable file
View File

0
assets/less/bootstrap/carousel.less Normal file → Executable file
View File

0
assets/less/bootstrap/close.less Normal file → Executable file
View File

0
assets/less/bootstrap/code.less Normal file → Executable file
View File

0
assets/less/bootstrap/component-animations.less Normal file → Executable file
View File

0
assets/less/bootstrap/dropdowns.less Normal file → Executable file
View File

14
assets/less/bootstrap/forms.less Normal file → Executable file
View File

@@ -92,14 +92,6 @@ output {
vertical-align: middle;
}
// Placeholder
//
// Placeholder text gets special styles because when browsers invalidate entire
// lines if it doesn't understand a selector/
.form-control {
.placeholder();
}
// Common form controls
//
@@ -142,6 +134,12 @@ output {
// Customize the `:focus` state to imitate native WebKit styles.
.form-control-focus();
// Placeholder
//
// Placeholder text gets special styles because when browsers invalidate entire
// lines if it doesn't understand a selector/
.placeholder();
// Disabled and read-only inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// be disabled if the fieldset is disabled. Due to implementation difficulty,

0
assets/less/bootstrap/glyphicons.less Normal file → Executable file
View File

0
assets/less/bootstrap/grid.less Normal file → Executable file
View File

0
assets/less/bootstrap/input-groups.less Normal file → Executable file
View File

0
assets/less/bootstrap/jumbotron.less Normal file → Executable file
View File

0
assets/less/bootstrap/labels.less Normal file → Executable file
View File

0
assets/less/bootstrap/list-group.less Normal file → Executable file
View File

0
assets/less/bootstrap/media.less Normal file → Executable file
View File

4
assets/less/bootstrap/mixins.less Normal file → Executable file
View File

@@ -750,7 +750,7 @@
.col(1); // kickstart it
}
.calc-grid(@index, @class, @type) when (@type = width) {
.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {
.col-@{class}-@{index} {
width: percentage((@index / @grid-columns));
}
@@ -772,7 +772,7 @@
}
// Basic looping in LESS
.make-grid(@index, @class, @type) when (@index > 0) {
.make-grid(@index, @class, @type) when (@index >= 0) {
.calc-grid(@index, @class, @type);
// next iteration
.make-grid(@index - 1, @class, @type);

0
assets/less/bootstrap/modals.less Normal file → Executable file
View File

0
assets/less/bootstrap/navbar.less Normal file → Executable file
View File

0
assets/less/bootstrap/navs.less Normal file → Executable file
View File

0
assets/less/bootstrap/normalize.less vendored Normal file → Executable file
View File

0
assets/less/bootstrap/pager.less Normal file → Executable file
View File

0
assets/less/bootstrap/pagination.less Normal file → Executable file
View File

2
assets/less/bootstrap/panels.less Normal file → Executable file
View File

@@ -96,7 +96,7 @@
border-bottom: 1px solid transparent;
.border-top-radius(@panel-border-radius - 1);
& > .dropdown .dropdown-toggle {
> .dropdown .dropdown-toggle {
color: inherit;
}
}

0
assets/less/bootstrap/popovers.less Normal file → Executable file
View File

0
assets/less/bootstrap/print.less Normal file → Executable file
View File

0
assets/less/bootstrap/progress-bars.less Normal file → Executable file
View File

0
assets/less/bootstrap/responsive-utilities.less Normal file → Executable file
View File

0
assets/less/bootstrap/scaffolding.less Normal file → Executable file
View File

0
assets/less/bootstrap/tables.less Normal file → Executable file
View File

0
assets/less/bootstrap/theme.less Normal file → Executable file
View File

23
assets/less/bootstrap/thumbnails.less Normal file → Executable file
View File

@@ -14,18 +14,17 @@
margin-left: auto;
margin-right: auto;
}
}
// Add a hover state for linked versions only
a&:hover,
a&:focus,
a&.active {
border-color: @link-color;
}
// Add a hover state for linked versions only
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
border-color: @link-color;
}
// Image captions
.thumbnail .caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
// Image captions
.caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
}
}

0
assets/less/bootstrap/tooltip.less Normal file → Executable file
View File

0
assets/less/bootstrap/type.less Normal file → Executable file
View File

0
assets/less/bootstrap/utilities.less Normal file → Executable file
View File

0
assets/less/bootstrap/variables.less Normal file → Executable file
View File

0
assets/less/bootstrap/wells.less Normal file → Executable file
View File

View File

@@ -11,7 +11,7 @@
* 3. /theme/assets/js/main.min.js (in footer)
*/
function roots_scripts() {
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, 'a4c847d89df381990f5da6cc36bfb85a');
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, '9dbd7d094ab56a14e3b2a984b20ea357');
// jQuery is loaded using the same method from HTML5 Boilerplate:
// Grab Google CDN's latest jQuery with a protocol relative URL; fallback to local if offline
@@ -27,7 +27,7 @@ function roots_scripts() {
}
wp_register_script('modernizr', get_template_directory_uri() . '/assets/js/vendor/modernizr-2.6.2.min.js', false, null, false);
wp_register_script('roots_scripts', get_template_directory_uri() . '/assets/js/scripts.min.js', false, 'e976bc66a7d279f3d265efbe1e0e14fb', true);
wp_register_script('roots_scripts', get_template_directory_uri() . '/assets/js/scripts.min.js', false, 'be373268f9b8ecda7c3a45154676e637', true);
wp_enqueue_script('modernizr');
wp_enqueue_script('jquery');
wp_enqueue_script('roots_scripts');