
// DEPRECATED: This file is deprecated and will be removed in a future release.
// DEPRECATED: Check if colorpicker can be removed. Currently used in 22 places.

.minicolors.minicolors-theme-hidden-input {
  height: @form-control-height-base;
  border: @form-control-border-width solid @form-control-border-color-default;
  background-color: @component-background-default;
  .minicolors-swatch {
    width: 0;
    height: 0;
    border: 0;
  }
  input[type='hidden'] + .minicolors-swatch {
    min-width: 32px;
    width: auto;
  }
  .minicolors-swatch-color {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  &.minicolors-position-top .minicolors-panel {
    top: 0;
    transform: translateY(-50%);
  }
}

body .minicolors-sprite {
  @path: if(@use-relative-paths, '../../../img', 'img');

  background: url('@{path}/jquery.minicolors.png') 0 0 repeat;
}
