mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
* N°7793 Add common SCSS variables between backoffice and end-user portal * Add shame & readme * Move font face to common * Inherit color functions * Move font icon to common * FIx breaking change introduced in lifecycle palette * FIx breaking change introduced in base * Move approot url to common * Make highlightjs common variables more coherent with 3.2.1 commonization approach * Deprecated and migrate the usage of ibo-adjust-alpha and ibo-adjust-lightness
41 lines
1.6 KiB
SCSS
41 lines
1.6 KiB
SCSS
/*
|
|
* @copyright Copyright (C) 2010-2024 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
$ibo-selectable--background-color: $common-selectable--background-color !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--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: ' ';
|
|
@extend %fa-solid-base;
|
|
background-color: $ibo-selectable--background-color;
|
|
cursor: pointer;
|
|
}
|
|
@mixin ibo-selectable-hover {
|
|
@extend %fa-regular-base;
|
|
content: '\f058';
|
|
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: '\f058';
|
|
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);
|
|
} |