diff --git a/Gruntfile.js b/Gruntfile.js index dd6fb5f0e4..e05763f1c5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -166,10 +166,10 @@ module.exports = function(grunt) { grunt.loadNpmTasks('browserstack-runner'); // Docs HTML validation task - grunt.registerTask('validate-docs', ['jekyll', 'validation']); + grunt.registerTask('validate-html', ['jekyll', 'validation']); // Test task. - var testSubtasks = ['jshint', 'qunit', 'validate-docs']; + var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html']; // Only run BrowserStack tests under Travis if (process.env.TRAVIS) { // Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key diff --git a/_layouts/home.html b/_layouts/home.html index 843994ca6a..e68ee68df2 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -25,7 +25,7 @@ GitHub project
  • - Examples + Examples
  • Glyphicons diff --git a/components.html b/components.html index 6b3ca7053e..f8b12daf8a 100644 --- a/components.html +++ b/components.html @@ -256,17 +256,17 @@ base_url: "../"
    - + + +
    - + + +
    {% highlight html %} diff --git a/less/button-groups.less b/less/button-groups.less index 45f2fd0a96..43ada11d9a 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -22,11 +22,11 @@ & .btn-default .caret { border-bottom-color: @btn-default-color; } - & .btn-primary, - & .btn-success, - & .btn-warning, - & .btn-danger, - & .btn-info { + .btn-primary, + .btn-success, + .btn-warning, + .btn-danger, + .btn-info { .caret { border-bottom-color: #fff; } diff --git a/less/scaffolding.less b/less/scaffolding.less index 3a6ed3d99e..7f6d3bf3ac 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -54,14 +54,16 @@ textarea { a { color: @link-color; text-decoration: none; -} -a:hover, -a:focus { - color: @link-hover-color; - text-decoration: underline; -} -a:focus { - .tab-focus(); + + &:hover, + &:focus { + color: @link-hover-color; + text-decoration: underline; + } + + &:focus { + .tab-focus(); + } }