UNPKG

1.22 kBSCSSView Raw
1// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
3//
4// Office UI Fabric
5// --------------------------------------------------
6// Some mixins are output to CSS classes as utilities.
7
8// The best box is a border box.
9.ms-borderBox, .ms-borderBox::before, .ms-borderBox::after {
10 @include ms-borderBox;
11}
12
13// To apply border base settings
14.ms-borderBase {
15 @include ms-borderBase;
16}
17
18// Ensures the block expands to the full height to enclose its floated childen.
19.ms-clearfix {
20 @include ms-clearfix;
21}
22
23// Basic border-box, margin, and padding reset.
24.ms-normalize {
25 @include ms-normalize;
26}
27
28// Text alignments.
29.ms-textAlignLeft {
30 @include ms-text-align(left);
31}
32
33.ms-textAlignRight {
34 @include ms-text-align(right);
35}
36
37.ms-textAlignCenter {
38 text-align: center;
39}
40
41// Use to hide content while still making it readable by screen reader (Accessibility)
42.ms-screenReaderOnly {
43 @include ms-screenReaderOnly;
44}
45
46// Use to add truncation with ellipsis
47.ms-textTruncate {
48 @include ms-textTruncate;
49}
50
51// Use to disable text wrapping
52.ms-noWrap{
53 @include ms-noWrap;
54}