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
210ee636
Commit
210ee636
authored
Jul 26, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #8586: add addional color text classes to apply all of branch colors easily
parent
d604052a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
29 deletions
+14
-29
css.html
css.html
+4
-0
dist/css/bootstrap.css
dist/css/bootstrap.css
+4
-16
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/type.less
less/type.less
+5
-12
No files found.
css.html
View file @
210ee636
...
...
@@ -539,15 +539,19 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
<p>
Convey meaning through color with a handful of emphasis utility classes.
</p>
<div
class=
"bs-example"
>
<p
class=
"text-muted"
>
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
</p>
<p
class=
"text-primary"
>
Nullam id dolor id nibh ultricies vehicula ut id elit.
</p>
<p
class=
"text-warning"
>
Etiam porta sem malesuada magna mollis euismod.
</p>
<p
class=
"text-danger"
>
Donec ullamcorper nulla non metus auctor fringilla.
</p>
<p
class=
"text-success"
>
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
</p>
<p
class=
"text-info"
>
Maecenas sed diam eget risus varius blandit sit amet non magna.
</p>
</div>
{% highlight html %}
<p
class=
"text-muted"
>
...
</p>
<p
class=
"text-primary"
>
...
</p>
<p
class=
"text-warning"
>
...
</p>
<p
class=
"text-danger"
>
...
</p>
<p
class=
"text-success"
>
...
</p>
<p
class=
"text-info"
>
...
</p>
{% endhighlight %}
...
...
dist/css/bootstrap.css
View file @
210ee636
...
...
@@ -379,36 +379,24 @@ cite {
color
:
#999999
;
}
a
.text-muted
:hover
,
a
.text-muted
:focus
{
color
:
#808080
;
.text-primary
{
color
:
#428bca
;
}
.text-warning
{
color
:
#c09853
;
}
a
.text-warning
:hover
,
a
.text-warning
:focus
{
color
:
#a47e3c
;
}
.text-danger
{
color
:
#b94a48
;
}
a
.text-danger
:hover
,
a
.text-danger
:focus
{
color
:
#953b39
;
}
.text-success
{
color
:
#468847
;
}
a
.text-success
:hover
,
a
.text-success
:focus
{
color
:
#356635
;
.text-info
{
color
:
#3a87ad
;
}
.text-left
{
...
...
dist/css/bootstrap.min.css
View file @
210ee636
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/type.less
View file @
210ee636
...
...
@@ -23,25 +23,18 @@ p {
// Ex: 14px base font * 85% = about 12px
small { font-size: 85%; }
// Undo browser default styling
cite { font-style: normal; }
//
Utility classe
s
//
Contextual emphasi
s
.text-muted { color: @gray-light; }
a.text-muted:hover,
a.text-muted:focus { color: darken(@gray-light, 10%); }
.text-primary { color: @brand-primary; }
.text-warning { color: @state-warning-text; }
a.text-warning:hover,
a.text-warning:focus { color: darken(@state-warning-text, 10%); }
.text-danger { color: @state-danger-text; }
a.text-danger:hover,
a.text-danger:focus { color: darken(@state-danger-text, 10%); }
.text-success { color: @state-success-text; }
a.text-success:hover,
a.text-success:focus { color: darken(@state-success-text, 10%); }
.text-info { color: @state-info-text; }
// Alignment
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
...
...
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