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
2bfda031
Commit
2bfda031
authored
Jan 28, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
darken buttons, uncomment out firefox keyframes from progress bars
parent
39f70afe
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
54 deletions
+61
-54
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+49
-41
docs/base-css.html
docs/base-css.html
+2
-2
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+2
-2
less/buttons.less
less/buttons.less
+4
-4
less/progress-bars.less
less/progress-bars.less
+4
-5
No files found.
docs/assets/css/bootstrap.css
View file @
2bfda031
...
...
@@ -1983,7 +1983,7 @@ table .span12 {
.navbar-search
.search-query
:-moz-placeholder
{
color
:
#eeeeee
;
}
.navbar-search
.search-query
::-webkit-input-placeholder
{
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#eeeeee
;
}
.navbar-search
.search-query
:hover
{
...
...
@@ -2506,15 +2506,15 @@ table .span12 {
color
:
rgba
(
255
,
255
,
255
,
0.75
);
}
.btn.primary
{
background-color
:
#00
74
cc
;
background-image
:
-moz-linear-gradient
(
top
,
#0088cc
,
#00
55
cc
);
background-image
:
-ms-linear-gradient
(
top
,
#0088cc
,
#00
55
cc
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#00
55
cc
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#00
55
cc
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#00
55
cc
);
background-image
:
linear-gradient
(
top
,
#0088cc
,
#00
55
cc
);
background-color
:
#00
6d
cc
;
background-image
:
-moz-linear-gradient
(
top
,
#0088cc
,
#00
44
cc
);
background-image
:
-ms-linear-gradient
(
top
,
#0088cc
,
#00
44
cc
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#0088cc
),
to
(
#00
44
cc
));
background-image
:
-webkit-linear-gradient
(
top
,
#0088cc
,
#00
44
cc
);
background-image
:
-o-linear-gradient
(
top
,
#0088cc
,
#00
44
cc
);
background-image
:
linear-gradient
(
top
,
#0088cc
,
#00
44
cc
);
background-repeat
:
repeat-x
;
border-color
:
#00
55cc
#0055cc
#0035
80
;
border-color
:
#00
44cc
#0044cc
#002a
80
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
}
.btn.primary
:hover
,
...
...
@@ -2522,21 +2522,21 @@ table .span12 {
.btn.primary.active
,
.btn.primary.disabled
,
.btn.primary
[
disabled
]
{
background-color
:
#00
55
cc
;
background-color
:
#00
44
cc
;
}
.btn.primary
:active
,
.btn.primary.active
{
background-color
:
#00
40
99
\
9
;
background-color
:
#00
33
99
\
9
;
}
.btn.danger
{
background-color
:
#d
d514c
;
background-image
:
-moz-linear-gradient
(
top
,
#ee5f5b
,
#
c43c35
);
background-image
:
-ms-linear-gradient
(
top
,
#ee5f5b
,
#
c43c35
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ee5f5b
),
to
(
#
c43c35
));
background-image
:
-webkit-linear-gradient
(
top
,
#ee5f5b
,
#
c43c35
);
background-image
:
-o-linear-gradient
(
top
,
#ee5f5b
,
#
c43c35
);
background-image
:
linear-gradient
(
top
,
#ee5f5b
,
#
c43c35
);
background-color
:
#d
a4f49
;
background-image
:
-moz-linear-gradient
(
top
,
#ee5f5b
,
#
bd362f
);
background-image
:
-ms-linear-gradient
(
top
,
#ee5f5b
,
#
bd362f
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ee5f5b
),
to
(
#
bd362f
));
background-image
:
-webkit-linear-gradient
(
top
,
#ee5f5b
,
#
bd362f
);
background-image
:
-o-linear-gradient
(
top
,
#ee5f5b
,
#
bd362f
);
background-image
:
linear-gradient
(
top
,
#ee5f5b
,
#
bd362f
);
background-repeat
:
repeat-x
;
border-color
:
#
c43c35
#c43c35
#882a25
;
border-color
:
#
bd362f
#bd362f
#802420
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
}
.btn.danger
:hover
,
...
...
@@ -2544,21 +2544,21 @@ table .span12 {
.btn.danger.active
,
.btn.danger.disabled
,
.btn.danger
[
disabled
]
{
background-color
:
#
c43c35
;
background-color
:
#
bd362f
;
}
.btn.danger
:active
,
.btn.danger.active
{
background-color
:
#9
c302a
\
9
;
background-color
:
#9
42a25
\
9
;
}
.btn.success
{
background-color
:
#5
eb95e
;
background-image
:
-moz-linear-gradient
(
top
,
#62c462
,
#5
7a957
);
background-image
:
-ms-linear-gradient
(
top
,
#62c462
,
#5
7a957
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#62c462
),
to
(
#5
7a957
));
background-image
:
-webkit-linear-gradient
(
top
,
#62c462
,
#5
7a957
);
background-image
:
-o-linear-gradient
(
top
,
#62c462
,
#5
7a957
);
background-image
:
linear-gradient
(
top
,
#62c462
,
#5
7a957
);
background-color
:
#5
bb75b
;
background-image
:
-moz-linear-gradient
(
top
,
#62c462
,
#5
1a351
);
background-image
:
-ms-linear-gradient
(
top
,
#62c462
,
#5
1a351
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#62c462
),
to
(
#5
1a351
));
background-image
:
-webkit-linear-gradient
(
top
,
#62c462
,
#5
1a351
);
background-image
:
-o-linear-gradient
(
top
,
#62c462
,
#5
1a351
);
background-image
:
linear-gradient
(
top
,
#62c462
,
#5
1a351
);
background-repeat
:
repeat-x
;
border-color
:
#5
7a957
#57a957
#3d773d
;
border-color
:
#5
1a351
#51a351
#387038
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
}
.btn.success
:hover
,
...
...
@@ -2566,21 +2566,21 @@ table .span12 {
.btn.success.active
,
.btn.success.disabled
,
.btn.success
[
disabled
]
{
background-color
:
#5
7a957
;
background-color
:
#5
1a351
;
}
.btn.success
:active
,
.btn.success.active
{
background-color
:
#4
58845
\
9
;
background-color
:
#4
08140
\
9
;
}
.btn.info
{
background-color
:
#4
bb1cf
;
background-image
:
-moz-linear-gradient
(
top
,
#5bc0de
,
#
339bb9
);
background-image
:
-ms-linear-gradient
(
top
,
#5bc0de
,
#
339bb9
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#
339bb9
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#
339bb9
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#
339bb9
);
background-image
:
linear-gradient
(
top
,
#5bc0de
,
#
339bb9
);
background-color
:
#4
9afcd
;
background-image
:
-moz-linear-gradient
(
top
,
#5bc0de
,
#
2f96b4
);
background-image
:
-ms-linear-gradient
(
top
,
#5bc0de
,
#
2f96b4
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#
2f96b4
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#
2f96b4
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#
2f96b4
);
background-image
:
linear-gradient
(
top
,
#5bc0de
,
#
2f96b4
);
background-repeat
:
repeat-x
;
border-color
:
#
339bb9
#339bb9
#22697d
;
border-color
:
#
2f96b4
#2f96b4
#1f6377
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
}
.btn.info
:hover
,
...
...
@@ -2588,10 +2588,10 @@ table .span12 {
.btn.info.active
,
.btn.info.disabled
,
.btn.info
[
disabled
]
{
background-color
:
#
339bb9
;
background-color
:
#
2f96b4
;
}
.btn.info
:active
,
.btn.info.active
{
background-color
:
#2
87a91
\
9
;
background-color
:
#2
4748c
\
9
;
}
.btn
{
display
:
inline-block
;
...
...
@@ -2942,6 +2942,14 @@ a.thumbnail:hover {
background-position
:
40px
0
;
}
}
@-moz-keyframes
progress-bar-stripes
{
from
{
background-position
:
0
0
;
}
to
{
background-position
:
40px
0
;
}
}
@keyframes
progress-bar-stripes
{
from
{
background-position
:
0
0
;
...
...
docs/base-css.html
View file @
2bfda031
...
...
@@ -1128,11 +1128,11 @@ For example, <code>section</code> should be wrapped as inline.
<label
class=
"control-label"
>
Radio buttons
</label>
<div
class=
"controls"
>
<label
class=
"radio"
>
<input
type=
"radio"
id=
"optionsRadios1"
value=
"option1"
checked
>
<input
type=
"radio"
name=
"optionsRadios"
id=
"optionsRadios1"
value=
"option1"
checked
>
Option one is this and that
—
be sure to include why it’s great
</label>
<label
class=
"radio"
>
<input
type=
"radio"
id=
"optionsRadios2"
value=
"option2"
>
<input
type=
"radio"
name=
"optionsRadios"
id=
"optionsRadios2"
value=
"option2"
>
Option two can is something else and selecting it will deselect option one
</label>
</div>
...
...
docs/templates/pages/base-css.mustache
View file @
2bfda031
...
...
@@ -1063,11 +1063,11 @@
<label
class=
"control-label"
>
{{
_i
}}
Radio buttons
{{/
i
}}
</label>
<div
class=
"controls"
>
<label
class=
"radio"
>
<input
type=
"radio"
id=
"optionsRadios1"
value=
"option1"
checked
>
<input
type=
"radio"
name=
"optionsRadios"
id=
"optionsRadios1"
value=
"option1"
checked
>
{{
_i
}}
Option one is this and that
—
be sure to include why it’s great
{{/
i
}}
</label>
<label
class=
"radio"
>
<input
type=
"radio"
id=
"optionsRadios2"
value=
"option2"
>
<input
type=
"radio"
name=
"optionsRadios"
id=
"optionsRadios2"
value=
"option2"
>
{{
_i
}}
Option two can is something else and selecting it will deselect option one
{{/
i
}}
</label>
</div>
...
...
less/buttons.less
View file @
2bfda031
...
...
@@ -25,19 +25,19 @@
color: rgba(255,255,255,.75);
}
&.primary {
.buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground,
15
));
.buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground,
20
));
}
// Danger and error appear as red
&.danger {
.buttonBackground(#ee5f5b, #
c43c35
);
.buttonBackground(#ee5f5b, #
bd362f
);
}
// Success appears as green
&.success {
.buttonBackground(#62c462, #5
7a957
);
.buttonBackground(#62c462, #5
1a351
);
}
// Info appears as a neutral blue
&.info {
.buttonBackground(#5bc0de, #
339bb9
);
.buttonBackground(#5bc0de, #
2f96b4
);
}
}
...
...
less/progress-bars.less
View file @
2bfda031
...
...
@@ -11,11 +11,10 @@
to { background-position: 40px 0; }
}
// Temporarily commented out since LESS won't compile with this
// @-moz-keyframes progress-bar-stripes {
// from { background-position: 0 0; }
// to { background-position: 40px 0; }
// }
@-moz-keyframes progress-bar-stripes {
from { background-position: 0 0; }
to { background-position: 40px 0; }
}
// Spec
@keyframes progress-bar-stripes {
...
...
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