These are single responsibility classes designed to help reduce duplication in our SCSS.
%u-textLeft
%u-textCenter
%u-textRight
%u-alignBaseline
%u-alignTop
%u-alignMiddle
%u-alignBottom
%u-block
%u-inline
%u-inlineBlock
Items should be set to display: none;
with caution. This removes content entirely and should only be used if the content is being presented somewhere else or is not needed for the user. %u-hiddenVisually
is preferred
%u-hidden
Completely remove from the flow but leave available to screen readers.
%u-hiddenVisually
%u-table
%u-tableCell
%u-tableRow
Make an element expand to contain floated children. Uses pseudo-elements (micro clearfix).
%u-cf
This affords some useful properties to the element. It won't wrap under floats. Will also contain any floated children. N.B. This will clip overflow. Use the alternative method below if this is problematic.
%u-nbfc
Alternative method when overflow must not be clipped.
%u-nbfcAlt
%u-floatLeft
%u-floatRight
%u-floatNone
%u-fullHeight
%u-fullWidth
%u-center
%u-centered
Uses %u-textCenter
, %u-fullWidth
, and %u-center
to fully center a block of content.
%u-centerBlock
A link without any text-decoration at all.
%u-linkClean
Combination of traits commonly used in vertical navigation lists.
%u-linkBlock
%u-posAbsolute
%u-posRelative
%u-posStatic
%u-posFixed
Pins to all corners by default. But when a width and/or height are provided, the element will be centered in its nearest relatively-positioned ancestor.
%u-posAbsoluteCenter
%m { margin: $base-margin !important; }
%mt { margin-top: $base-margin !important; }
%mr { margin-right: $base-margin !important; }
%mb { margin-bottom: $base-margin !important; }
%ml { margin-left: $base-margin !important; }
%me { margin-top: $base-margin !important; margin-bottom: $base-margin !important; }
%ms { margin-right: $base-margin !important; margin-left: $base-margin !important; }
%m-- { margin: quarter($base-margin) !important; }
%mt-- { margin-top: quarter($base-margin) !important; }
%mr-- { margin-right: quarter($base-margin) !important; }
%mb-- { margin-bottom: quarter($base-margin) !important; }
%ml-- { margin-left: quarter($base-margin) !important; }
%ms-- { margin-top: quarter($base-margin) !important; margin-bottom: quarter($base-margin) !important; }
%me-- { margin-right: quarter($base-margin) !important; margin-left: quarter($base-margin) !important; }
%m- { margin: half($base-margin) !important; }
%mt- { margin-top: half($base-margin) !important; }
%mr- { margin-right: half($base-margin) !important; }
%mb- { margin-bottom: half($base-margin) !important; }
%ml- { margin-left: half($base-margin) !important; }
%me- { margin-top: half($base-margin) !important; margin-bottom: half($base-margin) !important; }
%ms- { margin-right: half($base-margin) !important; margin-left: half($base-margin) !important; }
%m_x { margin: double($base-margin) !important; }
%mt_x { margin-top: double($base-margin) !important; }
%mr_x { margin-right: double($base-margin) !important; }
%mb_x { margin-bottom: double($base-margin) !important; }
%ml_x { margin-left: double($base-margin) !important; }
%me_x { margin-top: double($base-margin) !important; margin-bottom: double($base-margin) !important; }
%ms_x { margin-right: double($base-margin) !important; margin-left: double($base-margin) !important; }
%m_xx { margin: quadruple($base-margin) !important; }
%mt_xx { margin-top: quadruple($base-margin) !important; }
%mr_xx { margin-right: quadruple($base-margin) !important; }
%mb_xx { margin-bottom: quadruple($base-margin) !important; }
%ml_xx { margin-left: quadruple($base-margin) !important; }
%ms_xx { margin-top: quadruple($base-margin) !important; margin-bottom: quadruple($base-margin) !important; }
%me_xx { margin-right: quadruple($base-margin) !important; margin-left: quadruple($base-margin) !important; }
%m0 { margin: 0 !important; }
%mt0 { margin-top: 0 !important; }
%mr0 { margin-right: 0 !important; }
%mb0 { margin-bottom: 0 !important; }
%ml0 { margin-left: 0 !important; }
%me0 { margin-top: 0 !important; margin-bottom: 0 !important; }
%ms0 { margin-right: 0 !important; margin-left: 0 !important; }
%p { padding: $base-padding !important; }
%pt { padding-top: $base-padding !important; }
%pr { padding-right: $base-padding !important; }
%pb { padding-bottom: $base-padding !important; }
%pl { padding-left: $base-padding !important; }
%pe { padding-top: $base-padding !important; padding-bottom: $base-padding !important; }
%ps { padding-right: $base-padding !important; padding-left: $base-padding !important; }
%p-- { padding: quarter($base-padding) !important; }
%pt-- { padding-top: quarter($base-padding) !important; }
%pr-- { padding-right: quarter($base-padding) !important; }
%pb-- { padding-bottom: quarter($base-padding) !important; }
%pl-- { padding-left: quarter($base-padding) !important; }
%pe-- { padding-top: quarter($base-padding) !important; padding-bottom: quarter($base-padding) !important; }
%ps-- { padding-right: quarter($base-padding) !important; padding-left: quarter($base-padding) !important; }
%p- { padding: half($base-padding) !important; }
%pt- { padding-top: half($base-padding) !important; }
%pr- { padding-right: half($base-padding) !important; }
%pb- { padding-bottom: half($base-padding) !important; }
%pl- { padding-left: half($base-padding) !important; }
%pe- { padding-top: half($base-padding) !important; padding-bottom: half($base-padding) !important; }
%ps- { padding-right: half($base-padding) !important; padding-left: half($base-padding) !important; }
%p_x { padding: double($base-padding) !important; }
%pt_x { padding-top: double($base-padding) !important; }
%pr_x { padding-right: double($base-padding) !important; }
%pb_x { padding-bottom: double($base-padding) !important; }
%pl_x { padding-left: double($base-padding) !important; }
%pe_x { padding-top: double($base-padding) !important; padding-bottom: double($base-padding) !important; }
%ps_x { padding-right: double($base-padding) !important; padding-left: double($base-padding) !important; }
%p_xx { padding: quadruple($base-padding) !important; }
%pt_xx { padding-top: quadruple($base-padding) !important; }
%pr_xx { padding-right: quadruple($base-padding) !important; }
%pb_xx { padding-bottom: quadruple($base-padding) !important; }
%pl_xx { padding-left: quadruple($base-padding) !important; }
%pe_xx { padding-top: quadruple($base-padding) !important; padding-bottom: quadruple($base-padding) !important; }
%ps_xx { padding-right: quadruple($base-padding) !important; padding-left: quadruple($base-padding) !important; }
%p0 { padding: 0 !important; }
%pt0 { padding-top: 0 !important; }
%pr0 { padding-right: 0 !important; }
%pb0 { padding-bottom: 0 !important; }
%pl0 { padding-left: 0 !important; }
%pe0 { padding-top: 0 !important; padding-bottom: 0 !important; }
%ps0 { padding-right: 0 !important; padding-left: 0 !important; }
Break strings when their length exceeds the width of their container.
%u-textBreak
%u-textInheritColor
%u-textKern
%u-textNoWrap
%u-textTruncate
%u-textSize-small
%u-posAbsolute