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
1561b20f
Commit
1561b20f
authored
Jun 29, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.local.twitter.com/bootstrap
parents
e72283cc
025f74ef
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
5 deletions
+22
-5
bootstrap-1.0.0.css
bootstrap-1.0.0.css
+9
-1
bootstrap-1.0.0.min.css
bootstrap-1.0.0.min.css
+3
-2
docs/index.html
docs/index.html
+1
-1
lib/forms.less
lib/forms.less
+1
-1
lib/scaffolding.less
lib/scaffolding.less
+8
-0
No files found.
bootstrap-1.0.0.css
View file @
1561b20f
...
@@ -328,6 +328,9 @@ a:hover {
...
@@ -328,6 +328,9 @@ a:hover {
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-transition
:
0.1s
linear
all
;
-moz-transition
:
0.1s
linear
all
;
transition
:
0.1s
linear
all
;
}
}
.btn
:hover
{
.btn
:hover
{
background-position
:
0
-15px
;
background-position
:
0
-15px
;
...
@@ -390,6 +393,11 @@ a:hover {
...
@@ -390,6 +393,11 @@ a:hover {
opacity
:
0.65
;
opacity
:
0.65
;
cursor
:
default
;
cursor
:
default
;
}
}
.btn
:active
{
-webkit-box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
}
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
;
padding
:
0
;
border
:
0
;
border
:
0
;
...
@@ -793,7 +801,7 @@ div.input-prepend .add-on, div.input-append .add-on {
...
@@ -793,7 +801,7 @@ div.input-prepend .add-on, div.input-append .add-on {
display
:
block
;
display
:
block
;
width
:
auto
;
width
:
auto
;
min-width
:
16px
;
min-width
:
16px
;
padding
:
5px
4px
5
px
5px
;
padding
:
4px
4px
4
px
5px
;
color
:
#b3b3b3
;
color
:
#b3b3b3
;
font-weight
:
normal
;
font-weight
:
normal
;
line-height
:
18px
;
line-height
:
18px
;
...
...
bootstrap-1.0.0.min.css
View file @
1561b20f
...
@@ -31,11 +31,12 @@ div.container-fluid{padding:20px;zoom:1;}div.container-fluid:after{display:block
...
@@ -31,11 +31,12 @@ div.container-fluid{padding:20px;zoom:1;}div.container-fluid:after{display:block
div
.container-fluid
div
.sidebar
{
float
:
left
;
width
:
220px
;}
div
.container-fluid
div
.sidebar
{
float
:
left
;
width
:
220px
;}
div
.container-fluid
div
.content
{
min-width
:
700px
;
max-width
:
1180px
;
margin-left
:
240px
;}
div
.container-fluid
div
.content
{
min-width
:
700px
;
max-width
:
1180px
;
margin-left
:
240px
;}
a
{
color
:
#0069d6
;
text-decoration
:
none
;
line-height
:
inherit
;}
a
:hover
{
color
:
#0050a3
;
text-decoration
:
underline
;}
a
{
color
:
#0069d6
;
text-decoration
:
none
;
line-height
:
inherit
;}
a
:hover
{
color
:
#0050a3
;
text-decoration
:
underline
;}
.btn
{
display
:
inline-block
;
background-color
:
#e6e6e6
;
background-repeat
:
no-repeat
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
color-stop
(
0.25
,
#ffffff
),
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
#ffffff
,
color-stop
(
0.25
,
#ffffff
),
#e6e6e6
);
background-image
:
-moz-linear-gradient
(
#ffffff
,
color-stop
(
#ffffff
,
0.25
),
#e6e6e6
);
padding
:
4px
14px
;
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
color
:
#333333
;
font-size
:
13px
;
line-height
:
18px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);
border-bottom-color
:
rgba
(
0
,
0
,
0
,
0.25
);
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);}
.btn
:hover
{
background-position
:
0
-15px
;
color
:
#333333
;
text-decoration
:
none
;}
.btn
{
display
:
inline-block
;
background-color
:
#e6e6e6
;
background-repeat
:
no-repeat
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
color-stop
(
0.25
,
#ffffff
),
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
#ffffff
,
color-stop
(
0.25
,
#ffffff
),
#e6e6e6
);
background-image
:
-moz-linear-gradient
(
#ffffff
,
color-stop
(
#ffffff
,
0.25
),
#e6e6e6
);
padding
:
4px
14px
;
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
color
:
#333333
;
font-size
:
13px
;
line-height
:
18px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);
border-bottom-color
:
rgba
(
0
,
0
,
0
,
0.25
);
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-transition
:
0.1s
linear
all
;
-moz-transition
:
0.1s
linear
all
;
transition
:
0.1s
linear
all
;
}
.btn
:hover
{
background-position
:
0
-15px
;
color
:
#333333
;
text-decoration
:
none
;}
.btn.primary
{
background-color
:
#0069d6
;
background-repeat
:
repeat-x
;
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#08b5fb
),
to
(
#0069d6
));
background-image
:
-moz-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-ms-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
#08b5fb
),
color-stop
(
100%
,
#0069d6
));
background-image
:
-webkit-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-o-linear-gradient
(
#08b5fb
,
#0069d6
);
-ms-filter
:
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0)"
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#08b5fb'
,
endColorstr
=
'#0069d6'
,
GradientType
=
0
);
background-image
:
linear-gradient
(
#08b5fb
,
#0069d6
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);}
.btn.primary
:hover
{
color
:
#fff
;}
.btn.primary
{
background-color
:
#0069d6
;
background-repeat
:
repeat-x
;
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#08b5fb
),
to
(
#0069d6
));
background-image
:
-moz-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-ms-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0%
,
#08b5fb
),
color-stop
(
100%
,
#0069d6
));
background-image
:
-webkit-linear-gradient
(
#08b5fb
,
#0069d6
);
background-image
:
-o-linear-gradient
(
#08b5fb
,
#0069d6
);
-ms-filter
:
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0)"
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#08b5fb'
,
endColorstr
=
'#0069d6'
,
GradientType
=
0
);
background-image
:
linear-gradient
(
#08b5fb
,
#0069d6
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);}
.btn.primary
:hover
{
color
:
#fff
;}
.btn.large
{
font-size
:
16px
;
line-height
:
28px
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;}
.btn.large
{
font-size
:
16px
;
line-height
:
28px
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;}
.btn.small
{
padding-right
:
9px
;
padding-left
:
9px
;
font-size
:
11px
;}
.btn.small
{
padding-right
:
9px
;
padding-left
:
9px
;
font-size
:
11px
;}
.btn
:disabled
,
.btn.disabled
{
background-image
:
none
;
filter
:
alpha
(
opacity
=
65
);
-khtml-opacity
:
0.65
;
-moz-opacity
:
0.65
;
opacity
:
0.65
;
cursor
:
default
;}
.btn
:disabled
,
.btn.disabled
{
background-image
:
none
;
filter
:
alpha
(
opacity
=
65
);
-khtml-opacity
:
0.65
;
-moz-opacity
:
0.65
;
opacity
:
0.65
;
cursor
:
default
;}
.btn
:active
{
-webkit-box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
3px
7px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);}
button
.btn
::-moz-focus-inner
,
input
[
type
=
submit
]
.btn
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
button
.btn
::-moz-focus-inner
,
input
[
type
=
submit
]
.btn
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
p
{
font-size
:
13px
;
font-weight
:
normal
;
line-height
:
18px
;
margin-bottom
:
18px
;}
p
small
{
font-size
:
12px
;
color
:
#b3b3b3
;}
p
{
font-size
:
13px
;
font-weight
:
normal
;
line-height
:
18px
;
margin-bottom
:
18px
;}
p
small
{
font-size
:
12px
;
color
:
#b3b3b3
;}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-weight
:
500
;
color
:
#404040
;}
h1
small
,
h2
small
,
h3
small
,
h4
small
,
h5
small
,
h6
small
{
color
:
#b3b3b3
;}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-weight
:
500
;
color
:
#404040
;}
h1
small
,
h2
small
,
h3
small
,
h4
small
,
h5
small
,
h6
small
{
color
:
#b3b3b3
;}
...
@@ -97,7 +98,7 @@ div.inline-inputs input.mini{width:60px;}
...
@@ -97,7 +98,7 @@ div.inline-inputs input.mini{width:60px;}
div
.inline-inputs
input
.small
{
width
:
90px
;}
div
.inline-inputs
input
.small
{
width
:
90px
;}
div
.inline-inputs
span
{
padding
:
0
2px
0
1px
;}
div
.inline-inputs
span
{
padding
:
0
2px
0
1px
;}
div
.input-prepend
input
[
type
=
text
],
div
.input-append
input
[
type
=
text
]
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
div
.input-prepend
input
[
type
=
text
],
div
.input-append
input
[
type
=
text
]
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
div
.input-prepend
.add-on
,
div
.input-append
.add-on
{
background
:
#f5f5f5
;
float
:
left
;
display
:
block
;
width
:
auto
;
min-width
:
16px
;
padding
:
5px
4px
5
px
5px
;
color
:
#b3b3b3
;
font-weight
:
normal
;
line-height
:
18px
;
height
:
18px
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#bbb
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-prepend
.add-on
,
div
.input-append
.add-on
{
background
:
#f5f5f5
;
float
:
left
;
display
:
block
;
width
:
auto
;
min-width
:
16px
;
padding
:
4px
4px
4
px
5px
;
color
:
#b3b3b3
;
font-weight
:
normal
;
line-height
:
18px
;
height
:
18px
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#bbb
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-prepend
.active
,
div
.input-append
.active
{
background
:
#a9dba9
;
border-color
:
#46a546
;}
div
.input-prepend
.active
,
div
.input-append
.active
{
background
:
#a9dba9
;
border-color
:
#46a546
;}
div
.input-append
input
[
type
=
text
]
{
float
:
left
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-append
input
[
type
=
text
]
{
float
:
left
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-append
.add-on
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;
border-right-width
:
1px
;
border-left-width
:
0
;}
div
.input-append
.add-on
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;
border-right-width
:
1px
;
border-left-width
:
0
;}
...
...
docs/index.html
View file @
1561b20f
...
@@ -977,7 +977,7 @@
...
@@ -977,7 +977,7 @@
<h1>
Navigation
</h1>
<h1>
Navigation
</h1>
</div>
</div>
<h2>
Fixed topbar
</h2>
<h2>
Fixed topbar
</h2>
<div
class=
"topbar-wrapper"
>
<div
class=
"topbar-wrapper"
style=
"z-index: 5;"
>
<div
class=
"topbar"
>
<div
class=
"topbar"
>
<div
class=
"container fixed"
>
<div
class=
"container fixed"
>
<h3><a
class=
"logo"
href=
""
>
Project Name
</a></h3>
<h3><a
class=
"logo"
href=
""
>
Project Name
</a></h3>
...
...
lib/forms.less
View file @
1561b20f
...
@@ -218,7 +218,7 @@ div.input-append {
...
@@ -218,7 +218,7 @@ div.input-append {
display: block;
display: block;
width: auto;
width: auto;
min-width: 16px;
min-width: 16px;
padding:
5px 4px 5
px 5px;
padding:
4px 4px 4
px 5px;
color: @grayLight;
color: @grayLight;
font-weight: normal;
font-weight: normal;
line-height: 18px;
line-height: 18px;
...
...
lib/scaffolding.less
View file @
1561b20f
...
@@ -78,6 +78,7 @@ a {
...
@@ -78,6 +78,7 @@ a {
// Buttons
// Buttons
.btn {
.btn {
.button();
.button();
.transition(.1s linear all);
&.primary {
&.primary {
#gradient > .vertical(@blue, @blueDark);
#gradient > .vertical(@blue, @blueDark);
color: #fff;
color: #fff;
...
@@ -102,6 +103,13 @@ a {
...
@@ -102,6 +103,13 @@ a {
.opacity(65);
.opacity(65);
cursor: default;
cursor: default;
}
}
&:focus {
}
&:active {
@shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
}
}
}
// Help Firefox not be a douche about adding extra padding to buttons
// Help Firefox not be a douche about adding extra padding to buttons
button.btn,
button.btn,
...
...
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