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
585f4787
Commit
585f4787
authored
May 24, 2014
by
Konstantin Kulinicenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text transformation added
Transform text in components with text capitalization classes.
parent
676fda9c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
docs/_includes/css/type.html
docs/_includes/css/type.html
+12
-0
docs/_includes/nav/css.html
docs/_includes/nav/css.html
+1
-0
less/type.less
less/type.less
+5
-0
No files found.
docs/_includes/css/type.html
View file @
585f4787
...
...
@@ -203,6 +203,18 @@ You can use the mark tag to <mark>highlight</mark> text.
<p
class=
"text-justify"
>
Justified text.
</p>
{% endhighlight %}
<h2
id=
"type-transformation"
>
Transformation classes
</h2>
<p>
Transform text in components with text capitalization classes.
</p>
<div
class=
"bs-example"
>
<p
class=
"text-lowercase"
>
Lowercase text.
</p>
<p
class=
"text-uppercase"
>
Uppercase text.
</p>
<p
class=
"text-capitalize"
>
Capitalize text.
</p>
</div>
{% highlight html %}
<p
class=
"text-lowercase"
>
Lowercase text.
</p>
<p
class=
"text-uppercase"
>
Uppercase text.
</p>
<p
class=
"text-capitalize"
>
Capitalize text.
</p>
{% endhighlight %}
<!-- Abbreviations -->
<h2
id=
"type-abbreviations"
>
Abbreviations
</h2>
...
...
docs/_includes/nav/css.html
View file @
585f4787
...
...
@@ -33,6 +33,7 @@
<li><a
href=
"#type-body-copy"
>
Body copy
</a></li>
<li><a
href=
"#type-inline-text"
>
Inline text elements
</a></li>
<li><a
href=
"#type-alignment"
>
Alignment classes
</a></li>
<li><a
href=
"#type-transformation"
>
Transformation classes
</a></li>
<li><a
href=
"#type-abbreviations"
>
Abbreviations
</a></li>
<li><a
href=
"#type-addresses"
>
Addresses
</a></li>
<li><a
href=
"#type-blockquotes"
>
Blockquotes
</a></li>
...
...
less/type.less
View file @
585f4787
...
...
@@ -97,6 +97,11 @@ mark,
.text-center { text-align: center; }
.text-justify { text-align: justify; }
// Transformation
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }
// Contextual colors
.text-muted {
color: @text-muted;
...
...
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