mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
consolidate and relabel new form selectors
This commit is contained in:
parent
a0809ceebe
commit
e28efd7da0
@ -61,7 +61,7 @@ label {
|
|||||||
// Form controls
|
// Form controls
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
// Shared resets
|
// Shared size and type resets
|
||||||
select,
|
select,
|
||||||
textarea,
|
textarea,
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
@ -87,7 +87,7 @@ input[type="color"] {
|
|||||||
color: @gray;
|
color: @gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Textual inputs and textareas
|
// Reset background, border, and box-shadow for textual inputs and textarea
|
||||||
textarea,
|
textarea,
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
@ -111,31 +111,21 @@ input[type="color"] {
|
|||||||
.transition(@transition);
|
.transition(@transition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unused selectors
|
||||||
input[type="radio"],
|
input[type="radio"],
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="button"],
|
input[type="button"],
|
||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
input[type="reset"] {
|
input[type="reset"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="hidden"] {
|
input[type="hidden"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="image"] {
|
input[type="image"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="range"] {
|
input[type="range"] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make uneditable textareas behave like a textarea
|
// Make uneditable textareas behave like a textarea
|
||||||
|
Loading…
x
Reference in New Issue
Block a user