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
9800196b
Commit
9800196b
authored
Jan 27, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use quotes on attr selectors more consistently
parent
0fa64229
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
29 deletions
+29
-29
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+13
-13
less/buttons.less
less/buttons.less
+1
-1
less/forms.less
less/forms.less
+14
-14
less/modals.less
less/modals.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
9800196b
...
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Fri Jan 27
19:56:12
PST 2012
* Date: Fri Jan 27
20:04:50
PST 2012
*/
article
,
aside
,
...
...
@@ -528,7 +528,7 @@ select,
label
input
,
label
textarea
,
label
select
{
display
:
block
;
}
input
[
type
=
image
],
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
input
[
type
=
"image"
],
input
[
type
=
"checkbox"
],
input
[
type
=
"radio"
]
{
width
:
auto
;
height
:
auto
;
padding
:
0
;
...
...
@@ -543,7 +543,7 @@ input[type=image], input[type=checkbox], input[type=radio] {
-moz-border-radius
:
0
;
border-radius
:
0
;
}
input
[
type
=
file
]
{
input
[
type
=
"file"
]
{
padding
:
initial
;
line-height
:
initial
;
border
:
initial
;
...
...
@@ -553,11 +553,11 @@ input[type=file] {
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
input
[
type
=
button
],
input
[
type
=
reset
],
input
[
type
=
submit
]
{
input
[
type
=
"button"
],
input
[
type
=
"reset"
],
input
[
type
=
"submit"
]
{
width
:
auto
;
height
:
auto
;
}
select
,
input
[
type
=
file
]
{
select
,
input
[
type
=
"file"
]
{
height
:
28px
;
/* In IE7, the height of the select element cannot be changed by height, only font-size */
...
...
@@ -573,7 +573,7 @@ select {
select
[
multiple
],
select
[
size
]
{
height
:
auto
;
}
input
[
type
=
image
]
{
input
[
type
=
"image"
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
...
...
@@ -581,13 +581,13 @@ input[type=image] {
textarea
{
height
:
auto
;
}
input
[
type
=
hidden
]
{
input
[
type
=
"hidden"
]
{
display
:
none
;
}
.radio
,
.checkbox
{
padding-left
:
18px
;
}
.radio
input
[
type
=
radio
],
.checkbox
input
[
type
=
checkbox
]
{
.radio
input
[
type
=
"radio"
],
.checkbox
input
[
type
=
"checkbox"
]
{
float
:
left
;
margin-left
:
-18px
;
}
...
...
@@ -620,7 +620,7 @@ input:focus, textarea:focus {
/* IE6-8 */
}
input
[
type
=
file
]
:focus
,
input
[
type
=
checkbox
]
:focus
,
select
:focus
{
input
[
type
=
"file"
]
:focus
,
input
[
type
=
"checkbox"
]
:focus
,
select
:focus
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
...
...
@@ -2660,19 +2660,19 @@ table .span12 {
.btn.small
.icon
{
margin-top
:
-1px
;
}
button
.btn
,
input
[
type
=
submit
]
.btn
{
button
.btn
,
input
[
type
=
"submit"
]
.btn
{
*
padding-top
:
2px
;
*
padding-bottom
:
2px
;
}
button
.btn
::-moz-focus-inner
,
input
[
type
=
submit
]
.btn
::-moz-focus-inner
{
button
.btn
::-moz-focus-inner
,
input
[
type
=
"submit"
]
.btn
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;
}
button
.btn.large
,
input
[
type
=
submit
]
.btn.large
{
button
.btn.large
,
input
[
type
=
"submit"
]
.btn.large
{
*
padding-top
:
7px
;
*
padding-bottom
:
7px
;
}
button
.btn.small
,
input
[
type
=
submit
]
.btn.small
{
button
.btn.small
,
input
[
type
=
"submit"
]
.btn.small
{
*
padding-top
:
3px
;
*
padding-bottom
:
3px
;
}
...
...
less/buttons.less
View file @
9800196b
...
...
@@ -113,7 +113,7 @@
// Help Firefox not be a jerk about adding extra padding to buttons
button.btn,
input[type=
submit
].btn {
input[type=
"submit"
].btn {
&::-moz-focus-inner {
padding: 0;
border: 0;
...
...
less/forms.less
View file @
9800196b
...
...
@@ -75,9 +75,9 @@ label select {
}
// Mini reset for unique input types
input[type=
image
],
input[type=
checkbox
],
input[type=
radio
] {
input[type=
"image"
],
input[type=
"checkbox"
],
input[type=
"radio"
] {
width: auto;
height: auto;
padding: 0;
...
...
@@ -90,7 +90,7 @@ input[type=radio] {
}
// Reset the file input to browser defaults
input[type=
file
] {
input[type=
"file"
] {
padding: initial;
line-height: initial;
border: initial;
...
...
@@ -100,16 +100,16 @@ input[type=file] {
}
// Help out input buttons
input[type=
button
],
input[type=
reset
],
input[type=
submit
] {
input[type=
"button"
],
input[type=
"reset"
],
input[type=
"submit"
] {
width: auto;
height: auto;
}
// Set the height of select and file controls to match text inputs
select,
input[type=
file
] {
input[type=
"file"
] {
height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
line-height: 28px;
...
...
@@ -128,7 +128,7 @@ select[size] {
}
// Remove shadow from image inputs
input[type=
image
] {
input[type=
"image"
] {
.box-shadow(none);
}
...
...
@@ -138,7 +138,7 @@ textarea {
}
// Hidden inputs
input[type=
hidden
] {
input[type=
"hidden"
] {
display: none;
}
...
...
@@ -152,8 +152,8 @@ input[type=hidden] {
.checkbox {
padding-left: 18px;
}
.radio input[type=
radio
],
.checkbox input[type=
checkbox
] {
.radio input[type=
"radio"
],
.checkbox input[type=
"checkbox"
] {
float: left;
margin-left: -18px;
}
...
...
@@ -193,8 +193,8 @@ textarea:focus {
.box-shadow(@shadow);
outline: thin dotted \9; /* IE6-8 */
}
input[type=
file
]:focus,
input[type=
checkbox
]:focus,
input[type=
"file"
]:focus,
input[type=
"checkbox"
]:focus,
select:focus {
.box-shadow(none); // override for file inputs
.tab-focus();
...
...
less/modals.less
View file @
9800196b
...
...
@@ -60,6 +60,6 @@
.btn {
float: right;
margin-left: 5px;
margin-bottom: 0; // account for input[type=
submit
] which gets the bottom margin like all other inputs
margin-bottom: 0; // account for input[type=
"submit"
] which gets the bottom margin like all other inputs
}
}
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