Skip to content

Layout Helper Module

The Layout Helper module delivers a set of utility classes designed to simplify common layout operations. These helpers cover text direction, content clipping, border radius and shadow adjustments, user interaction states, and scrollable containers.

Signature:

scss
@mixin use-layout-helper();

Example:

scss
@include termeh.use-layout-helper();
Dependencies

Layout Helper module uses the following Termeh color():

Color / VariantUsageDefault
primaryAccent color for scrollbarserror

Available Classes

  • .is-clearfix → clears floated child elements.
  • .is-ltr → forces left-to-right direction.
  • .is-rtl → forces right-to-left direction.
  • .is-clipped → hides overflowing content.
  • .is-radiusless → removes border radius.
  • .is-shadowless → removes box shadow.
  • .is-clickable → applies pointer cursor and enables events.
  • .is-unselectable → disables text selection.
  • .is-selectable → enables text selection.
  • .is-locked → applies locked/disabled state to element.
  • .is-scrollable → enables vertical scrolling with a themed scrollbar.