mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 21:56:42 +02:00
Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
This commit is contained in:
@@ -166,10 +166,10 @@ module.exports = function(grunt) {
|
|||||||
grunt.loadNpmTasks('browserstack-runner');
|
grunt.loadNpmTasks('browserstack-runner');
|
||||||
|
|
||||||
// Docs HTML validation task
|
// Docs HTML validation task
|
||||||
grunt.registerTask('validate-docs', ['jekyll', 'validation']);
|
grunt.registerTask('validate-html', ['jekyll', 'validation']);
|
||||||
|
|
||||||
// Test task.
|
// Test task.
|
||||||
var testSubtasks = ['jshint', 'qunit', 'validate-docs'];
|
var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];
|
||||||
// Only run BrowserStack tests under Travis
|
// Only run BrowserStack tests under Travis
|
||||||
if (process.env.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
|
// Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.base_url }}getting-started#/examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
<a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
||||||
|
@@ -256,17 +256,17 @@ base_url: "../"
|
|||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-left"></span></a>
|
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-left"></span></button>
|
||||||
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-center"></span></a>
|
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-center"></span></button>
|
||||||
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-right"></span></a>
|
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-right"></span></button>
|
||||||
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></a>
|
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<button type="button" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-star"></span> Star</a>
|
<button type="button" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-star"></span> Star</button>
|
||||||
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-star"></span> Star</a>
|
<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-star"></span> Star</button>
|
||||||
<button type="button" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-star"></span> Star</a>
|
<button type="button" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-star"></span> Star</button>
|
||||||
<button type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star"></span> Star</a>
|
<button type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star"></span> Star</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
|
@@ -22,11 +22,11 @@
|
|||||||
& .btn-default .caret {
|
& .btn-default .caret {
|
||||||
border-bottom-color: @btn-default-color;
|
border-bottom-color: @btn-default-color;
|
||||||
}
|
}
|
||||||
& .btn-primary,
|
.btn-primary,
|
||||||
& .btn-success,
|
.btn-success,
|
||||||
& .btn-warning,
|
.btn-warning,
|
||||||
& .btn-danger,
|
.btn-danger,
|
||||||
& .btn-info {
|
.btn-info {
|
||||||
.caret {
|
.caret {
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
}
|
}
|
||||||
|
@@ -54,14 +54,16 @@ textarea {
|
|||||||
a {
|
a {
|
||||||
color: @link-color;
|
color: @link-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
|
||||||
a:hover,
|
&:hover,
|
||||||
a:focus {
|
&:focus {
|
||||||
color: @link-hover-color;
|
color: @link-hover-color;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
a:focus {
|
|
||||||
.tab-focus();
|
&:focus {
|
||||||
|
.tab-focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user