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
a57dbada
Commit
a57dbada
authored
Feb 12, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change classname from .btn-dark to .btn-inverse, change use text
parent
b8493ed8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
12 deletions
+45
-12
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+31
-3
docs/base-css.html
docs/base-css.html
+5
-0
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+4
-4
less/button-groups.less
less/button-groups.less
+1
-1
less/buttons.less
less/buttons.less
+4
-4
No files found.
docs/assets/bootstrap.zip
View file @
a57dbada
No preview for this file type
docs/assets/css/bootstrap.css
View file @
a57dbada
...
@@ -1794,7 +1794,9 @@ table .span12 {
...
@@ -1794,7 +1794,9 @@ table .span12 {
.btn-success
,
.btn-success
,
.btn-success
:hover
,
.btn-success
:hover
,
.btn-info
,
.btn-info
,
.btn-info
:hover
{
.btn-info
:hover
,
.btn-inverse
,
.btn-inverse
:hover
{
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0.25
);
color
:
#ffffff
;
color
:
#ffffff
;
}
}
...
@@ -1802,7 +1804,8 @@ table .span12 {
...
@@ -1802,7 +1804,8 @@ table .span12 {
.btn-warning.active
,
.btn-warning.active
,
.btn-danger.active
,
.btn-danger.active
,
.btn-success.active
,
.btn-success.active
,
.btn-info.active
{
.btn-info.active
,
.btn-dark.active
{
color
:
rgba
(
255
,
255
,
255
,
0.75
);
color
:
rgba
(
255
,
255
,
255
,
0.75
);
}
}
.btn-primary
{
.btn-primary
{
...
@@ -1925,6 +1928,30 @@ table .span12 {
...
@@ -1925,6 +1928,30 @@ table .span12 {
.btn-info
:active
,
.btn-info.active
{
.btn-info
:active
,
.btn-info.active
{
background-color
:
#24748c
\
9
;
background-color
:
#24748c
\
9
;
}
}
.btn-inverse
{
background-color
:
#393939
;
background-image
:
-moz-linear-gradient
(
top
,
#454545
,
#262626
);
background-image
:
-ms-linear-gradient
(
top
,
#454545
,
#262626
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#454545
),
to
(
#262626
));
background-image
:
-webkit-linear-gradient
(
top
,
#454545
,
#262626
);
background-image
:
-o-linear-gradient
(
top
,
#454545
,
#262626
);
background-image
:
linear-gradient
(
top
,
#454545
,
#262626
);
background-repeat
:
repeat-x
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#454545'
,
endColorstr
=
'#262626'
,
GradientType
=
0
);
border-color
:
#262626
#262626
#000000
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
enabled
=
false
);
}
.btn-inverse
:hover
,
.btn-inverse
:active
,
.btn-inverse.active
,
.btn-inverse.disabled
,
.btn-inverse
[
disabled
]
{
background-color
:
#262626
;
}
.btn-inverse
:active
,
.btn-inverse.active
{
background-color
:
#0c0c0c
\
9
;
}
button
.btn
,
input
[
type
=
"submit"
]
.btn
{
button
.btn
,
input
[
type
=
"submit"
]
.btn
{
*
padding-top
:
2px
;
*
padding-top
:
2px
;
*
padding-bottom
:
2px
;
*
padding-bottom
:
2px
;
...
@@ -2057,7 +2084,8 @@ button.btn.small, input[type="submit"].btn.small {
...
@@ -2057,7 +2084,8 @@ button.btn.small, input[type="submit"].btn.small {
.btn-primary
.caret
,
.btn-primary
.caret
,
.btn-danger
.caret
,
.btn-danger
.caret
,
.btn-info
.caret
,
.btn-info
.caret
,
.btn-success
.caret
{
.btn-success
.caret
,
.btn-inverse
.caret
{
border-top-color
:
#ffffff
;
border-top-color
:
#ffffff
;
opacity
:
0.75
;
opacity
:
0.75
;
filter
:
alpha
(
opacity
=
75
);
filter
:
alpha
(
opacity
=
75
);
...
...
docs/base-css.html
View file @
a57dbada
...
@@ -1285,6 +1285,11 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -1285,6 +1285,11 @@ For example, <code>section</code> should be wrapped as inline.
<td><a
class=
"btn btn-danger"
href=
"#"
>
Danger
</a></td>
<td><a
class=
"btn btn-danger"
href=
"#"
>
Danger
</a></td>
<td><code>
.btn-danger
</code></td>
<td><code>
.btn-danger
</code></td>
<td>
Indicates a dangerous or potentially negative action
</td>
<td>
Indicates a dangerous or potentially negative action
</td>
</tr>
<tr>
<td><a
class=
"btn btn-inverse"
href=
"#"
>
Inverse
</a></td>
<td><code>
.btn-inverse
</code></td>
<td>
Alternate dark gray button, not tied to a semantic action or use
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
docs/templates/pages/base-css.mustache
View file @
a57dbada
...
@@ -1211,9 +1211,9 @@
...
@@ -1211,9 +1211,9 @@
<td>
{{
_i
}}
Indicates a dangerous or potentially negative action
{{/
i
}}
</td>
<td>
{{
_i
}}
Indicates a dangerous or potentially negative action
{{/
i
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td><a
class=
"btn btn-
dark"
href=
"#"
>
{{
_i
}}
Dark
{{/
i
}}
</a></td>
<td><a
class=
"btn btn-
inverse"
href=
"#"
>
{{
_i
}}
Inverse
{{/
i
}}
</a></td>
<td><code>
.btn-
dark
</code></td>
<td><code>
.btn-
inverse
</code></td>
<td>
{{
_i
}}
Indicates a potential abort or black magic
{{/
i
}}
</td>
<td>
{{
_i
}}
Alternate dark gray button, not tied to a semantic action or use
{{/
i
}}
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
less/button-groups.less
View file @
a57dbada
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
.btn-danger,
.btn-danger,
.btn-info,
.btn-info,
.btn-success,
.btn-success,
.btn-
dark
{
.btn-
inverse
{
.caret {
.caret {
border-top-color: @white;
border-top-color: @white;
.opacity(75);
.opacity(75);
...
...
less/buttons.less
View file @
a57dbada
...
@@ -108,8 +108,8 @@
...
@@ -108,8 +108,8 @@
.btn-success:hover,
.btn-success:hover,
.btn-info,
.btn-info,
.btn-info:hover,
.btn-info:hover,
.btn-
dark
,
.btn-
inverse
,
.btn-
dark
:hover {
.btn-
inverse
:hover {
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
color: @white;
color: @white;
}
}
...
@@ -144,8 +144,8 @@
...
@@ -144,8 +144,8 @@
.btn-info {
.btn-info {
.buttonBackground(#5bc0de, #2f96b4);
.buttonBackground(#5bc0de, #2f96b4);
}
}
//
Dark appears as black
//
Inverse appears as dark gray
.btn-
dark
{
.btn-
inverse
{
.buttonBackground(#454545, #262626);
.buttonBackground(#454545, #262626);
}
}
...
...
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