/*
 * @copyright   Copyright (C) 2010-2024 Combodo SARL
 * @license     http://opensource.org/licenses/AGPL-3.0
 */

$ibo-selectable--content: ' ' !default;
$ibo-selectable--background-color: $common-selectable--background-color !default;

$ibo-selectable--hover--content: '\f058' !default;
$ibo-selectable--hover--color: $common-selectable--hover--color !default;
$ibo-selectable--hover--background-color: $common-selectable--hover--background-color !default;
$ibo-selectable--hover--background-opacity: $common-selectable--hover--background-opacity !default;

$ibo-selected--content: '\f058' !default;
$ibo-selected--color: $common-selected--color !default;
$ibo-selected--background-color: $common-selected--background-color !default;
$ibo-selected--background-opacity: $common-selected--background-opacity !default;

$ibo-selected--hover--background-color: $common-selected--hover--background-color !default;
$ibo-selected--hover--background-opacity: $common-selected--hover--background-opacity !default;

@mixin ibo-selectable {
  content: $ibo-selectable--content;
  @extend %fa-solid-base;
  background-color: $ibo-selectable--background-color;
  cursor: pointer;
}
@mixin ibo-selectable-hover {
  @extend %fa-regular-base;
  content: $ibo-selectable--hover--content;
  color: $ibo-selectable--hover--color;
  background-color: transparentize($ibo-selectable--hover--background-color, $ibo-selectable--hover--background-opacity);
}

@mixin ibo-selected {
  @extend %fa-solid-base;
  content: $ibo-selected--content;
  color: $ibo-selected--color;
  background-color: transparentize($ibo-selected--background-color, $ibo-selected--background-opacity);
}

@mixin ibo-selected-hover {
  background-color: transparentize($ibo-selected--hover--background-color, $ibo-selected--hover--background-opacity);
}