1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Update Gruntfile.js to copy 'dist/' files to 'docs/dist/' with 'grunt dist' task; Fixes #12030: navbar toggle focus state

This commit is contained in:
Mark Otto 2013-12-31 18:21:41 -08:00
parent 83d26de6d5
commit 50cf0b1a9d
8 changed files with 17 additions and 7 deletions

View file

@ -322,7 +322,7 @@ module.exports = function (grunt) {
grunt.registerTask('dist-docs', ['copy:docs']);
// Full distribution task.
grunt.registerTask('dist', ['clean', 'dist-css', 'copy:fonts', 'dist-js']);
grunt.registerTask('dist', ['clean', 'dist-css', 'copy:fonts', 'dist-docs', 'dist-js']);
// Default task.
grunt.registerTask('default', ['test', 'dist', 'build-glyphicons-data', 'build-customizer']);

View file

@ -3759,6 +3759,9 @@ textarea.input-group-sm > .input-group-btn > .btn {
border: 1px solid transparent;
border-radius: 4px;
}
.navbar-toggle:focus {
outline: none;
}
.navbar-toggle .icon-bar {
display: block;
width: 22px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -110,10 +110,11 @@ body {
color: #fff;
background-color: #463265;
}
.bs-docs-nav .navbar-toggle {
.bs-docs-nav .navbar-header .navbar-toggle {
border-color: #563d7c;
}
.bs-docs-nav .navbar-toggle:hover {
.bs-docs-nav .navbar-header .navbar-toggle:hover,
.bs-docs-nav .navbar-header .navbar-toggle:focus {
background-color: #463265;
border-color: #463265;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -193,6 +193,12 @@
border: 1px solid transparent;
border-radius: @border-radius-base;
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
&:focus {
outline: none;
}
// Bars
.icon-bar {
display: block;