mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°5108 - Update embedded libs for PHP 8.0 (3.0 branch)
This commit is contained in:
@@ -1943,7 +1943,7 @@ class utils
|
|||||||
public static function CompileCSSFromSASS($sSassContent, $aImportPaths = array(), $aVariables = array())
|
public static function CompileCSSFromSASS($sSassContent, $aImportPaths = array(), $aVariables = array())
|
||||||
{
|
{
|
||||||
$oSass = new Compiler();//['checkImportResolutions'=>true]);
|
$oSass = new Compiler();//['checkImportResolutions'=>true]);
|
||||||
$oSass->setOutputStyle(OutputStyle::EXPANDED);
|
$oSass->setOutputStyle(OutputStyle::COMPRESSED);
|
||||||
// Setting our variables
|
// Setting our variables
|
||||||
$aCssVariable = [];
|
$aCssVariable = [];
|
||||||
foreach ($aVariables as $entry=>$value) {
|
foreach ($aVariables as $entry=>$value) {
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ $ibo-panel--collapsible-toggler--color: $ibo-color-grey-700 !default;
|
|||||||
|
|
||||||
|
|
||||||
.ibo-panel {
|
.ibo-panel {
|
||||||
--ibo-main-color: map-get(#{$ibo-panel-colors}, 'neutral'); /* --ibo-main-color is to allow overload from custom dynamic value from the DM. The overload will be done through an additional CSS class of a particular DM class or DM attribute */
|
--ibo-main-color: #{map-get($ibo-panel-colors, 'neutral')}; /* --ibo-main-color is to allow overload from custom dynamic value from the DM. The overload will be done through an additional CSS class of a particular DM class or DM attribute */
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ $ibo-pill-states-colors: (
|
|||||||
/* Rules */
|
/* Rules */
|
||||||
.ibo-pill {
|
.ibo-pill {
|
||||||
/* --ibo-main-color-xxx is to allow overload from custom dynamic value from the DM. The overload will be done through an additional CSS class of a particular DM class or DM attribute */
|
/* --ibo-main-color-xxx is to allow overload from custom dynamic value from the DM. The overload will be done through an additional CSS class of a particular DM class or DM attribute */
|
||||||
--ibo-main-color--100: map-get(map-get( #{$ibo-pill-states-colors}, 'neutral'), 'primary-color');
|
--ibo-main-color--100: #{map-get(map-get($ibo-pill-states-colors, 'neutral'), 'primary-color')};
|
||||||
--ibo-main-color--900: map-get(map-get( #{$ibo-pill-states-colors}, 'neutral'), 'secondary-color');
|
--ibo-main-color--900: #{map-get(map-get($ibo-pill-states-colors, 'neutral'), 'secondary-color')};
|
||||||
|
|
||||||
@extend %ibo-fully-centered-content;
|
@extend %ibo-fully-centered-content;
|
||||||
max-width: $ibo-pill--max-width;
|
max-width: $ibo-pill--max-width;
|
||||||
|
|||||||
Reference in New Issue
Block a user