55 lines
1.2 KiB
SCSS
55 lines
1.2 KiB
SCSS
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
|
|
|
|
//
|
|
// Office UI Fabric
|
|
// --------------------------------------------------
|
|
// Some mixins are output to CSS classes as utilities.
|
|
|
|
// The best box is a border box.
|
|
.ms-borderBox, .ms-borderBox::before, .ms-borderBox::after {
|
|
@include ms-borderBox;
|
|
}
|
|
|
|
// To apply border base settings
|
|
.ms-borderBase {
|
|
@include ms-borderBase;
|
|
}
|
|
|
|
// Ensures the block expands to the full height to enclose its floated childen.
|
|
.ms-clearfix {
|
|
@include ms-clearfix;
|
|
}
|
|
|
|
// Basic border-box, margin, and padding reset.
|
|
.ms-normalize {
|
|
@include ms-normalize;
|
|
}
|
|
|
|
// Text alignments.
|
|
.ms-textAlignLeft {
|
|
@include ms-text-align(left);
|
|
}
|
|
|
|
.ms-textAlignRight {
|
|
@include ms-text-align(right);
|
|
}
|
|
|
|
.ms-textAlignCenter {
|
|
text-align: center;
|
|
}
|
|
|
|
// Use to hide content while still making it readable by screen reader (Accessibility)
|
|
.ms-screenReaderOnly {
|
|
@include ms-screenReaderOnly;
|
|
}
|
|
|
|
// Use to add truncation with ellipsis
|
|
.ms-textTruncate {
|
|
@include ms-textTruncate;
|
|
}
|
|
|
|
// Use to disable text wrapping
|
|
.ms-noWrap{
|
|
@include ms-noWrap;
|
|
}
|