Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
61e2201c
Commit
61e2201c
authored
Feb 16, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix buttons focus state and swap a buttons for button buttons
parent
489276f5
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+3
-3
docs/base-css.html
docs/base-css.html
+7
-7
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+7
-7
less/mixins.less
less/mixins.less
+1
-1
No files found.
docs/assets/bootstrap.zip
View file @
61e2201c
No preview for this file type
docs/assets/css/bootstrap.css
View file @
61e2201c
...
@@ -33,7 +33,7 @@ html {
...
@@ -33,7 +33,7 @@ html {
-ms-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
;
}
}
a
:focus
{
a
:focus
{
outline
:
thin
dotted
;
outline
:
thin
dotted
#333
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline-offset
:
-2px
;
outline-offset
:
-2px
;
}
}
...
@@ -675,7 +675,7 @@ select:focus {
...
@@ -675,7 +675,7 @@ select:focus {
-webkit-box-shadow
:
none
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
box-shadow
:
none
;
outline
:
thin
dotted
;
outline
:
thin
dotted
#333
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline-offset
:
-2px
;
outline-offset
:
-2px
;
}
}
...
@@ -1749,7 +1749,7 @@ table .span12 {
...
@@ -1749,7 +1749,7 @@ table .span12 {
transition
:
background-position
0.1s
linear
;
transition
:
background-position
0.1s
linear
;
}
}
.btn
:focus
{
.btn
:focus
{
outline
:
thin
dotted
;
outline
:
thin
dotted
#333
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline
:
5px
auto
-webkit-focus-ring-color
;
outline-offset
:
-2px
;
outline-offset
:
-2px
;
}
}
...
...
docs/base-css.html
View file @
61e2201c
...
@@ -1266,37 +1266,37 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -1266,37 +1266,37 @@ For example, <code>section</code> should be wrapped as inline.
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td><
a
class=
"btn"
href=
"#"
>
Default
</a
></td>
<td><
button
class=
"btn"
href=
"#"
>
Default
</button
></td>
<td><code>
.btn
</code></td>
<td><code>
.btn
</code></td>
<td>
Standard gray button with gradient
</td>
<td>
Standard gray button with gradient
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-primary"
href=
"#"
>
Primary
</a
></td>
<td><
button
class=
"btn btn-primary"
href=
"#"
>
Primary
</button
></td>
<td><code>
.btn-primary
</code></td>
<td><code>
.btn-primary
</code></td>
<td>
Provides extra visual weight and identifies the primary action in a set of buttons
</td>
<td>
Provides extra visual weight and identifies the primary action in a set of buttons
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-info"
href=
"#"
>
Info
</a
></td>
<td><
button
class=
"btn btn-info"
href=
"#"
>
Info
</button
></td>
<td><code>
.btn-info
</code></td>
<td><code>
.btn-info
</code></td>
<td>
Used as an alternate to the default styles
</td>
<td>
Used as an alternate to the default styles
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-success"
href=
"#"
>
Success
</a
></td>
<td><
button
class=
"btn btn-success"
href=
"#"
>
Success
</button
></td>
<td><code>
.btn-success
</code></td>
<td><code>
.btn-success
</code></td>
<td>
Indicates a successful or positive action
</td>
<td>
Indicates a successful or positive action
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-warning"
href=
"#"
>
Warning
</a
></td>
<td><
button
class=
"btn btn-warning"
href=
"#"
>
Warning
</button
></td>
<td><code>
.btn-warning
</code></td>
<td><code>
.btn-warning
</code></td>
<td>
Indicates caution should be taken with this action
</td>
<td>
Indicates caution should be taken with this action
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-danger"
href=
"#"
>
Danger
</a
></td>
<td><
button
class=
"btn btn-danger"
href=
"#"
>
Danger
</button
></td>
<td><code>
.btn-danger
</code></td>
<td><code>
.btn-danger
</code></td>
<td>
Indicates a dangerous or potentially negative action
</td>
<td>
Indicates a dangerous or potentially negative action
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-inverse"
href=
"#"
>
Inverse
</a
></td>
<td><
button
class=
"btn btn-inverse"
href=
"#"
>
Inverse
</button
></td>
<td><code>
.btn-inverse
</code></td>
<td><code>
.btn-inverse
</code></td>
<td>
Alternate dark gray button, not tied to a semantic action or use
</td>
<td>
Alternate dark gray button, not tied to a semantic action or use
</td>
</tr>
</tr>
...
...
docs/templates/pages/base-css.mustache
View file @
61e2201c
...
@@ -1190,37 +1190,37 @@
...
@@ -1190,37 +1190,37 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td><
a
class=
"btn"
href=
"#"
>
{{
_i
}}
Default
{{/
i
}}
</a
></td>
<td><
button
class=
"btn"
href=
"#"
>
{{
_i
}}
Default
{{/
i
}}
</button
></td>
<td><code>
.btn
</code></td>
<td><code>
.btn
</code></td>
<td>
{{
_i
}}
Standard gray button with gradient
{{/
i
}}
</td>
<td>
{{
_i
}}
Standard gray button with gradient
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-primary"
href=
"#"
>
{{
_i
}}
Primary
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-primary"
href=
"#"
>
{{
_i
}}
Primary
{{/
i
}}
</button
></td>
<td><code>
.btn-primary
</code></td>
<td><code>
.btn-primary
</code></td>
<td>
{{
_i
}}
Provides extra visual weight and identifies the primary action in a set of buttons
{{/
i
}}
</td>
<td>
{{
_i
}}
Provides extra visual weight and identifies the primary action in a set of buttons
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-info"
href=
"#"
>
{{
_i
}}
Info
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-info"
href=
"#"
>
{{
_i
}}
Info
{{/
i
}}
</button
></td>
<td><code>
.btn-info
</code></td>
<td><code>
.btn-info
</code></td>
<td>
{{
_i
}}
Used as an alternate to the default styles
{{/
i
}}
</td>
<td>
{{
_i
}}
Used as an alternate to the default styles
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-success"
href=
"#"
>
{{
_i
}}
Success
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-success"
href=
"#"
>
{{
_i
}}
Success
{{/
i
}}
</button
></td>
<td><code>
.btn-success
</code></td>
<td><code>
.btn-success
</code></td>
<td>
{{
_i
}}
Indicates a successful or positive action
{{/
i
}}
</td>
<td>
{{
_i
}}
Indicates a successful or positive action
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-warning"
href=
"#"
>
{{
_i
}}
Warning
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-warning"
href=
"#"
>
{{
_i
}}
Warning
{{/
i
}}
</button
></td>
<td><code>
.btn-warning
</code></td>
<td><code>
.btn-warning
</code></td>
<td>
{{
_i
}}
Indicates caution should be taken with this action
{{/
i
}}
</td>
<td>
{{
_i
}}
Indicates caution should be taken with this action
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-danger"
href=
"#"
>
{{
_i
}}
Danger
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-danger"
href=
"#"
>
{{
_i
}}
Danger
{{/
i
}}
</button
></td>
<td><code>
.btn-danger
</code></td>
<td><code>
.btn-danger
</code></td>
<td>
{{
_i
}}
Indicates a dangerous or potentially negative action
{{/
i
}}
</td>
<td>
{{
_i
}}
Indicates a dangerous or potentially negative action
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><
a
class=
"btn btn-inverse"
href=
"#"
>
{{
_i
}}
Inverse
{{/
i
}}
</a
></td>
<td><
button
class=
"btn btn-inverse"
href=
"#"
>
{{
_i
}}
Inverse
{{/
i
}}
</button
></td>
<td><code>
.btn-inverse
</code></td>
<td><code>
.btn-inverse
</code></td>
<td>
{{
_i
}}
Alternate dark gray button, not tied to a semantic action or use
{{/
i
}}
</td>
<td>
{{
_i
}}
Alternate dark gray button, not tied to a semantic action or use
{{/
i
}}
</td>
</tr>
</tr>
...
...
less/mixins.less
View file @
61e2201c
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
// ------------------
// ------------------
.tab-focus() {
.tab-focus() {
// Default
// Default
outline: thin dotted;
outline: thin dotted
#333
;
// Webkit
// Webkit
outline: 5px auto -webkit-focus-ring-color;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
outline-offset: -2px;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment