From 01ab1832dac5d902ede2e7f96af2c0296737c46f Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 1 Sep 2017 13:35:52 +0800 Subject: Improve SASS coding with Hound CI results, and change Hound CI configs. --- src/utilities/_text.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/utilities/_text.scss') diff --git a/src/utilities/_text.scss b/src/utilities/_text.scss index a1e0980..67793ac 100644 --- a/src/utilities/_text.scss +++ b/src/utilities/_text.scss @@ -1,48 +1,62 @@ // Text +// Text alignment utilities .text-left { text-align: left; } + .text-right { text-align: right; } + .text-center { text-align: center; } + .text-justify { text-align: justify; } +// Text transform utilities .text-lowercase { text-transform: lowercase; } + .text-uppercase { text-transform: uppercase; } + .text-capitalize { text-transform: capitalize; } +// Text style utilities .text-normal { font-weight: normal; } + .text-bold { font-weight: bold; } + .text-italic { font-style: italic; } + .text-large { font-size: 1.2em; } +// Text overflow utilities .text-ellipsis { @include text-ellipsis(); } + .text-clip { overflow: hidden; text-overflow: clip; white-space: nowrap; } + .text-break { hyphens: auto; word-break: break-word; -- cgit v1.3.1-26-gb76a