@use "../base/mixins" as *;

// adduse

.dx-color-scheme {

  // NOTE: To override 'font-family' default value.

  // stylelint-disable-next-line font-family-no-missing-generic-family-keyword
  font-family: "#";
}

.dx-widget {
  display: block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); // Q457671
  -webkit-text-size-adjust: none; // stylelint-disable-line property-no-vendor-prefix
  -webkit-touch-callout: none;
  padding: 0;
  outline: 0;
  print-color-adjust: exact;

  &,
  &::before,
  &::after,
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
}

.dx-item {
  outline: 0;
}

.dx-rtl {
  direction: rtl;
  unicode-bidi: embed;
}

@mixin disabled-widget($opacity: 0.3) { // stylelint-disable-line selector-class-pattern
  opacity: $opacity;

  @include user-select(none);

  cursor: default;
}

.dx-state-disabled {
  pointer-events: none;
}
