// Set common reset styles for patternfly components
// remove in breaking change. this should come from globals, and can be opted out
[class*="pf-c-"] {
  &,
  &::before,
  &::after {
    padding: 0;
    margin: 0;
    background-color: transparent;
  }
}

// remove in breaking change
@if $pf-global--unset-root-font-size {
  // Since PF3 sets root font size to 10px, we need to unset it.
  // This doesn't affect PF3.
  // https://github.com/twbs/bootstrap/blob/v3.4.0/less/scaffolding.less#L23
  // stylelint-disable
  html {
    font-size: var(--pf-global--root--FontSize, unset) !important; // the important is needed because we don't know if pf3 will be loaded after pfnext
  }
  // stylelint-enable
}

.pf-screen-reader {
  @include pf-u-screen-reader; // for use with assistive technologies

  &.pf-m-full-size {
    width: 100%;
    height: 100%;
  }

  &.pf-m-absolute {
    position: absolute;
  }
}

.pf-m-tabular-nums {
  font-variant-numeric: tabular-nums;
}
