mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
* N°2039 - Rework view all notifications page * N°2039 - Replace modals with toasts * N°2039 - Add bulk mode to view all notifications page * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Update css/backoffice/pages/_notifications.scss * Update dictionaries/ui/application/newsroom/fr.dictionary.itop.newsroom.php * Apply suggestions from code review Co-authored-by: Molkobain <lajarige.guillaume@free.fr> * Add since in phpdoc * Change newsroom empty notification illustration * N°2039 - Refactor code to factorize logic --------- Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
40 lines
1.4 KiB
SCSS
40 lines
1.4 KiB
SCSS
/*
|
|
* @copyright Copyright (C) 2010-2024 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
$ibo-selectable--background-color: transparent !default;
|
|
|
|
$ibo-selectable--hover--color: $ibo-color-grey-100 !default;
|
|
$ibo-selectable--hover--background-color: $ibo-color-grey-600 !default;
|
|
$ibo-selectable--hover--background-opacity: 0.6 !default;
|
|
|
|
$ibo-selected--color: $ibo-color-grey-100 !default;
|
|
$ibo-selected--background-color: $ibo-color-grey-900 !default;
|
|
$ibo-selected--background-opacity: 0.5 !default;
|
|
|
|
$ibo-selected--hover--background-color: $ibo-color-grey-700 !default;
|
|
$ibo-selected--hover--background-opacity: 0.5 !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);
|
|
} |