Skip to content

Commit

Permalink
📦 Update redistributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Molkobain committed Jun 16, 2022
1 parent 3f92e2a commit 49b6500
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
* Use of this extension is bound by the license you purchased. A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects. There are several licenses available (see https://www.molkobain.com/usage-licenses/ for more informations)
*/

@import '../env-production/molkobain-handy-framework/asset/css/toolbox.scss';
@import '../env-production/molkobain-datacenter-view/common/css/variables.scss';
/* Paths relative to the current environment so it works in any of them, but the env. folder path MUST be passed to the SCSS compiler */
@import 'molkobain-handy-framework/asset/css/toolbox.scss';
@import 'molkobain-datacenter-view/common/css/variables.scss';

.molkobain-datacenter-view{
/* Reset for admin console mostly */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ public function OnDisplayRelations($oObject, WebPage $oPage, $bEditMode = false)
} else {
$sPortalCssBaseRelPath = 'datamodels/2.x/itop-portal-base/portal/web/css/';
}
$aScssImportPaths = array(APPROOT.$sPortalCssBaseRelPath);
$aScssImportPaths = [
APPROOT.$sPortalCssBaseRelPath,
MODULESROOT, // For imports of modules files
];
$oPage->add_linked_stylesheet(utils::GetAbsoluteUrlAppRoot().utils::GetCSSFromSASS($sModuleCssBaseRelPath.'datacenter-view.scss', $aScssImportPaths));

// Add content in an async tab
Expand Down

0 comments on commit 49b6500

Please sign in to comment.