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
6be09df1
Commit
6be09df1
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch '2.0.4-wip-forms' of github.com:twitter/bootstrap into 2.0.4-wip-forms
parents
a9d4b667
532569fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/forms.less
+16
-23
less/forms.less
with
16 additions
and
23 deletions
+16
-23
less/forms.less
+
16
-
23
View file @
6be09df1
...
@@ -117,6 +117,14 @@ input[type="color"],
...
@@ -117,6 +117,14 @@ input[type="color"],
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
@transition: border linear .2s, box-shadow linear .2s;
@transition: border linear .2s, box-shadow linear .2s;
.transition(@transition);
.transition(@transition);
// 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)");
}
}
}
// Position radios and checkboxes better
// Position radios and checkboxes better
...
@@ -163,7 +171,13 @@ select[size] {
...
@@ -163,7 +171,13 @@ select[size] {
height: auto;
height: auto;
}
}
// Focus for select, file, radio, and checkbox
select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
.tab-focus();
}
...
@@ -204,26 +218,6 @@ select[size] {
...
@@ -204,26 +218,6 @@ select[size] {
// FOCUS STATE
// -----------
input:focus,
textarea: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)");
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
.tab-focus();
.box-shadow(none); // override for file inputs
}
// INPUT SIZES
// INPUT SIZES
// -----------
// -----------
...
@@ -254,8 +248,7 @@ textarea[class*="span"],
...
@@ -254,8 +248,7 @@ textarea[class*="span"],
// GRID SIZING FOR INPUTS
// GRID SIZING FOR INPUTS
// ----------------------
// ----------------------
#grid > .input (@gridColumnWidth, @gridGutterWidth);
#grid > .input(@gridColumnWidth, @gridGutterWidth);
...
...
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