// stylelint-disable material/no-prefixes
@mixin user-select($value) {
  -webkit-user-select: $value;
  -moz-user-select: $value;
  -ms-user-select: $value;
  user-select: $value;
}

@mixin input-placeholder {
  &::placeholder {
    @content;
  }

  &::-moz-placeholder {
    @content;
  }

  &::-webkit-input-placeholder {
    @content;
  }

  &:-ms-input-placeholder {
    @content;
  }
}

@mixin cursor-grab {
  cursor: -webkit-grab;
  cursor: grab;
}

@mixin cursor-grabbing {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

@mixin backface-visibility($value) {
  -webkit-backface-visibility: $value;
  backface-visibility: $value;
}

@mixin position-sticky($important: false) {
  position: -webkit-sticky #{if($important, '!important', '')};
  position: sticky #{if($important, '!important', '')};
}

@mixin private-color-adjust($value) {
  -webkit-print-color-adjust: $value;
  color-adjust: $value;
}

@mixin private-background-clip($value) {
  -webkit-background-clip: $value;
  background-clip: $value;
}
// stylelint-enable
