.make-display-classes() {
  @preset-display: {
    block: block;
    inline: inline;
    inline-block: inline-block;
    flex: flex;
    inline-flex: inline-flex;
    grid: grid;
    none: none;
  };
  each(@preset-display, {
    .d-@{key} {
      display: @value !important;
    }
  });
}

.make-display-classes();

.cursor-pointer {
  cursor: pointer !important;
}

.select-none {
  user-select: none !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.scrollable-y {
  overflow: hidden auto !important;
}

.scrollable-x {
  overflow: auto hidden !important;
}
