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
5663833b
Commit
5663833b
authored
Jan 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore .btn-info
parent
b30b8c2c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
0 deletions
+37
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+12
-0
docs/css.html
docs/css.html
+5
-0
docs/templates/pages/css.mustache
docs/templates/pages/css.mustache
+5
-0
less/buttons.less
less/buttons.less
+11
-0
less/variables.less
less/variables.less
+4
-0
No files found.
docs/assets/css/bootstrap.css
View file @
5663833b
...
@@ -1733,6 +1733,18 @@ input[type="button"].btn-block {
...
@@ -1733,6 +1733,18 @@ input[type="button"].btn-block {
border-color
:
#449d44
;
border-color
:
#449d44
;
}
}
.btn-info
{
background-color
:
#5bc0de
;
border-color
:
#5bc0de
;
}
.btn-info
:hover
,
.btn-info
:focus
,
.btn-info
:active
{
background-color
:
#46b8da
;
border-color
:
#31b0d5
;
}
.btn-link
,
.btn-link
,
.btn-link
:active
,
.btn-link
:active
,
.btn-link
[
disabled
],
.btn-link
[
disabled
],
...
...
docs/css.html
View file @
5663833b
...
@@ -1737,6 +1737,11 @@ For example, <code>&lt;section&gt;</code> should be wrapped
...
@@ -1737,6 +1737,11 @@ For example, <code>&lt;section&gt;</code> should be wrapped
<td><code>
btn btn-success
</code></td>
<td><code>
btn btn-success
</code></td>
<td>
Indicates a successful or positive action
</td>
<td>
Indicates a successful or positive action
</td>
</tr>
</tr>
<tr>
<td><button
type=
"button"
class=
"btn btn-info"
>
Info
</button></td>
<td><code>
btn btn-info
</code></td>
<td>
Contextual button for informational alert messages
</td>
</tr>
<tr>
<tr>
<td><button
type=
"button"
class=
"btn btn-warning"
>
Warning
</button></td>
<td><button
type=
"button"
class=
"btn btn-warning"
>
Warning
</button></td>
<td><code>
btn btn-warning
</code></td>
<td><code>
btn btn-warning
</code></td>
...
...
docs/templates/pages/css.mustache
View file @
5663833b
...
@@ -1676,6 +1676,11 @@ For example, <code>&lt;section&gt;</code> should be wrapped
...
@@ -1676,6 +1676,11 @@ For example, <code>&lt;section&gt;</code> should be wrapped
<td><code>
btn btn-success
</code></td>
<td><code>
btn btn-success
</code></td>
<td>
Indicates a successful or positive action
</td>
<td>
Indicates a successful or positive action
</td>
</tr>
</tr>
<tr>
<td><button
type=
"button"
class=
"btn btn-info"
>
Info
</button></td>
<td><code>
btn btn-info
</code></td>
<td>
Contextual button for informational alert messages
</td>
</tr>
<tr>
<tr>
<td><button
type=
"button"
class=
"btn btn-warning"
>
Warning
</button></td>
<td><button
type=
"button"
class=
"btn btn-warning"
>
Warning
</button></td>
<td><code>
btn btn-warning
</code></td>
<td><code>
btn btn-warning
</code></td>
...
...
less/buttons.less
View file @
5663833b
...
@@ -168,6 +168,17 @@ input[type="button"] {
...
@@ -168,6 +168,17 @@ input[type="button"] {
border-color: darken(@btn-border-success, 10%);
border-color: darken(@btn-border-success, 10%);
}
}
}
}
// Info appears as blue-green
.btn-info {
background-color: @btn-background-info;
border-color: @btn-border-info;
&:hover,
&:focus,
&:active {
background-color: darken(@btn-background-info, 5%);
border-color: darken(@btn-border-info, 10%);
}
}
// Link buttons
// Link buttons
...
...
less/variables.less
View file @
5663833b
...
@@ -90,6 +90,10 @@
...
@@ -90,6 +90,10 @@
@btn-background-danger: #d9534f;
@btn-background-danger: #d9534f;
@btn-border-danger: @btn-background-danger;
@btn-border-danger: @btn-background-danger;
@btn-background-info: #5bc0de;
@btn-border-info: @btn-background-info;
// Forms
// Forms
// -------------------------
// -------------------------
...
...
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