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:
parent
83d26de6d5
commit
50cf0b1a9d
8 changed files with 17 additions and 7 deletions
|
@ -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']);
|
||||
|
|
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
|
@ -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;
|
||||
|
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue