Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
bae9d8ad
Commit
bae9d8ad
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #7897 from voodoom/outline-fix
#7896
: Outline fix
parents
6307dc40
6289e24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/forms.less
+6
-27
less/forms.less
with
6 additions
and
27 deletions
+6
-27
less/forms.less
+
6
-
27
View file @
bae9d8ad
...
@@ -66,6 +66,12 @@ input[type="color"] {
...
@@ -66,6 +66,12 @@ input[type="color"] {
border-radius: @input-border-radius;
border-radius: @input-border-radius;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.transition(~"border-color linear .2s, box-shadow linear .2s");
.transition(~"border-color linear .2s, box-shadow linear .2s");
&:focus {
border-color: rgba(82,168,236,.8);
outline: 0;
.box-shadow(0 0 8px rgba(82,168,236,.6));
}
}
}
// Reset appearance properties for textual inputs and textarea
// Reset appearance properties for textual inputs and textarea
...
@@ -97,32 +103,6 @@ textarea {
...
@@ -97,32 +103,6 @@ textarea {
height: auto;
height: auto;
}
}
// Everything else
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
// Focus state
&:focus {
border-color: rgba(82,168,236,.8);
outline: 0;
outline: thin dotted \9; /* IE6-9 */
//.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)");
.box-shadow(0 0 8px rgba(82,168,236,.6));
}
}
// Position radios and checkboxes better
// Position radios and checkboxes better
input[type="radio"],
input[type="radio"],
input[type="checkbox"] {
input[type="checkbox"] {
...
@@ -145,7 +125,6 @@ select[size] {
...
@@ -145,7 +125,6 @@ select[size] {
}
}
// Focus for select, file, radio, and checkbox
// Focus for select, file, radio, and checkbox
select:focus,
input[type="file"]:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
input[type="checkbox"]:focus {
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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