Compare commits

...

25 Commits

Author SHA1 Message Date
Benjamin Dalsass
9200883bc3 form dependency 2025-10-08 16:51:18 +02:00
Benjamin Dalsass
51a97ad28f form dependency 2025-10-03 07:37:56 +02:00
Benjamin Dalsass
adc8b47945 N°8318 - Managing menu in itop portal new look (#710) 2025-04-14 16:38:36 +02:00
Stephen Abello
5e6d96019d N°8274 - Move mixins declarations to utils, move their usage to themes/ to be able to have their variables overloaded 2025-04-11 10:43:03 +02:00
Stephen Abello
06cc64f6d6 N°8274 - Move CSS color declaration to themes/ to avoid them being redeclared with every file importing utils 2025-04-11 10:09:18 +02:00
Stephen Abello
a5c14c3a48 N°8274 - Move body colors from legacy file to current theme files 2025-04-11 10:08:17 +02:00
Stephen Abello
8f6f243716 N°8274 - Fix typo 2025-04-11 09:47:50 +02:00
Stephen Abello
3c574819b2 N°8274 - Update precompiled stylesheets 2025-04-10 10:35:01 +02:00
Stephen Abello
5b1ea20407 N°8274 - Move every color style to themes/ to ease color customization, add illustration to export popup 2025-04-10 10:33:34 +02:00
Ben
4d88ef6ed4 Update contributors 2025-04-08 09:55:20 +02:00
Stephen Abello
5cb1102e6e N°8274 - Update precompiled stylesheets 2025-04-03 15:51:44 +02:00
Stephen Abello
bf23e4d98d N°8274 - Fix portal additional user profile tabs display 2025-04-03 15:51:36 +02:00
Stephen Abello
8645b28baa N°8274 - Update precompiled stylesheets 2025-04-02 15:50:29 +02:00
Stephen Abello
eff6fcff49 N°8274 - Fix input followed by input control (such as date time picker) display 2025-04-02 15:48:42 +02:00
Stephen Abello
994b08f94a N°8274 - Add no item illustration to browse brick 2025-04-02 15:45:28 +02:00
Stephen Abello
19495d8acf N°8274 - Update precompiled stylesheets 2025-04-02 14:32:38 +02:00
Stephen Abello
48a3ea1945 N°8274 - Replace color for selected rows in datatables 2025-04-02 14:31:33 +02:00
Stephen Abello
a11b2845f7 N°8274 - Correctly vertical align following dot in modal title 2025-04-02 12:07:21 +02:00
Stephen Abello
ee72325451 N°8274 - Make color slightly different for nested fieldset 2025-04-02 12:07:04 +02:00
Stephen Abello
ebb59d3ddc N°8274 - Align modal header and footer padding 2025-04-02 11:35:23 +02:00
Stephen Abello
0193db609d N°8274 - Add illustration on empty manage brick 2025-04-02 11:30:14 +02:00
Stephen Abello
ea2caed98a N°8274 - Correctly vertical align following dot 2025-04-02 11:29:42 +02:00
Stephen Abello
09c092782c N°8274 - Add approot to portal's Symfony variables. Allow portal's twig to display images located in /images in twig 2025-04-02 11:15:45 +02:00
Stephen Abello
a4166f874e N°8274 - Allow to recolor illustrations in portal 2025-04-01 16:28:40 +02:00
Stephen Abello
96382377ee N°8274 - Polishing new look portal (#707)
* Remove precompiled CSS files

* Fix mosaic design, polish mosaic and treeview hover colors

* Fix modal close button not being visible, clean modal code

* Fix mandatory and tooltip indicator on fields

* Fix treeview filter data display

* N°8274 - Improve profile brick display

* N°8274 - Use ipb alert instead of bootstrap alerts

* N°8274 - Make sure dropdown items use all available space

* N°8274 - Remove class name from the object brick title and add it to a separate title complement

* N°8274 - Polishing new look portal
- La police des informations dans l'annonce est trop petite (Quitte a agrandir le bloc information pour ne pas perdre de ligne d'affichage)

* N°8274 - Add visual indicator to selected tab

* N°8274 - Set the icon url to home page if it's not customized

* N°8274 - Polishing new look portal
- fix manage bricks pills click event

* N°8274 - Make panel title and tab text bigger

* N°8274 - Make datatables more similar to backoffice

* Add precompiled stylesheets

---------

Co-authored-by: Benjamin <benjamin.dalsass@combodo.com>
2025-03-31 15:41:55 +02:00
161 changed files with 5392 additions and 1936 deletions

2
.gitignore vendored
View File

@@ -33,7 +33,7 @@ tests/*/vendor/*
!/data/index.php
!/data/web.config
!/data/exclude.txt
!/data/.compilation-symlinks
# iTop extensions
/extensions/**

View File

@@ -25,7 +25,7 @@ if (false === file_exists($sTcPdfRootFolder)) {
echo $sCurrentScriptFileName.": No TCPDF lib detected, exiting !\n";
return;
}
$sTcPdfFontsFolder = $sTcPdfRootFolder.'/Fonts/';
$sTcPdfFontsFolder = $sTcPdfRootFolder.'/fonts/';
/**

View File

@@ -1,5 +1,9 @@
<p align="center"><a href="https://www.combodo.com/itop-193" target="_blank">
<img src="https://www.combodo.com/logos/logo-itop-baseline.svg" width=350>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="/images/logos/logo-itop-baseline-light.svg">
<source media="(prefers-color-scheme: light)" srcset="/images/logos/logo-itop-baseline-dark.svg">
<img src="/images/logos/logo-itop-baseline-light.svg" width="350" alt="Logo iTop with baseline" />
</picture>
</a></p>
@@ -90,7 +94,6 @@ We would like to give a special thank you 🤗 to the people from the community
- Dejin, Bie (a.k.a [@bdejin](https://github.com/bdejin))
- Dvořák, Lukáš
- Goethals, Stefan
- Giuva, Vincenzo Katriel (a.k.a [@DarkNight97boss](https://github.com/DarkNight97boss))
- Gumble, David
- Ji, Leeb (冀利斌) (a.k.a [@chileeb](https://github.com/chileeb))
- Kaltefleiter, Lars (a.k.a [@larhip](https://www.github.com/larhip))

View File

@@ -11,7 +11,7 @@ define('APPCONF', APPROOT.'conf/');
*
* @see ITOP_CORE_VERSION to get full iTop core version
*/
define('ITOP_DESIGN_LATEST_VERSION', '3.3');
define('ITOP_DESIGN_LATEST_VERSION', '3.2');
/**
* Constant containing the iTop core version, whatever application was built
@@ -23,7 +23,7 @@ define('ITOP_DESIGN_LATEST_VERSION', '3.3');
* @used-by utils::GetItopVersionWikiSyntax()
* @used-by iTopModulesPhpVersionIntegrationTest
*/
define('ITOP_CORE_VERSION', '3.3.0');
define('ITOP_CORE_VERSION', '3.2.1');
/**
* @var string

View File

@@ -120,13 +120,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Brick:Portal:Object:Name' => 'Objekt',
'Brick:Portal:Object:Form:Create:Title' => 'Nový %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Aktualizace %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Aktualizace %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Vyplňte prosím následující informace:',
'Brick:Portal:Object:Form:Message:Saved' => 'Uloženo',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s uloženo',
'Brick:Portal:Object:Search:Regular:Title' => 'Vybrat %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Vybrat %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Vybrat %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Vybrat %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%1$s: %2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Zkopíruj odkaz na objekt',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Zkopírováno'

View File

@@ -120,13 +120,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Brick:Portal:Object:Name' => 'Object~~',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s~~',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:~~',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved~~',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link~~',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied~~'

View File

@@ -120,13 +120,13 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', array(
'Brick:Portal:Object:Name' => 'Object',
'Brick:Portal:Object:Form:Create:Title' => 'Neue %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Wird aktualisiert %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Wird aktualisiert %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Bitte folgende Informationen eintragen:',
'Brick:Portal:Object:Form:Message:Saved' => 'gespeichert',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s gespeichert',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Objektverknüpfung kopieren',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Kopiert'

View File

@@ -129,13 +129,13 @@ Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', array(
'Brick:Portal:Object:Name' => 'Object',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied'

View File

@@ -116,13 +116,13 @@ Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', array(
'Brick:Portal:Object:Name' => 'Object',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied'

View File

@@ -118,13 +118,13 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Brick:Portal:Object:Name' => 'Objecto',
'Brick:Portal:Object:Form:Create:Title' => 'Nuevo %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Actualizando %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Actualizando %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Por favor, proporcione la siguiente información:',
'Brick:Portal:Object:Form:Message:Saved' => 'Guardado',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s guardado',
'Brick:Portal:Object:Search:Regular:Title' => 'Selección %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selección %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Selección %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selección %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copiar liga al objeto',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copiado'

View File

@@ -120,13 +120,13 @@ Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', array(
'Brick:Portal:Object:Name' => 'Objet',
'Brick:Portal:Object:Form:Create:Title' => 'Création de %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Modification de %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Modification de %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Veuillez compléter les informations suivantes :',
'Brick:Portal:Object:Form:Message:Saved' => 'Enregistré',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s enregistré(e)',
'Brick:Portal:Object:Search:Regular:Title' => 'Sélection de %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Sélection de %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Sélection de %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Sélection de %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copier l\'url de l\'objet',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copié'

View File

@@ -120,13 +120,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Brick:Portal:Object:Name' => 'Objektum',
'Brick:Portal:Object:Form:Create:Title' => 'Új %1$s',
'Brick:Portal:Object:Form:Edit:Title' => '%2$s frissítése (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => '%1$s frissítése',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Adja meg a következő információkat:',
'Brick:Portal:Object:Form:Message:Saved' => 'Mentve',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s mentve',
'Brick:Portal:Object:Search:Regular:Title' => '%1$s kiválasztása (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => '%1$s kiválasztása (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => '%1$s kiválasztása',
'Brick:Portal:Object:Search:Hierarchy:Title' => '%1$s kiválasztása',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Objektum hivatkozás másolása',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Másolva'

View File

@@ -120,13 +120,13 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Brick:Portal:Object:Name' => 'Object~~',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s~~',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:~~',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved~~',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link~~',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied~~'

View File

@@ -120,13 +120,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', array(
'Brick:Portal:Object:Name' => 'Object~~',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s~~',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:~~',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved~~',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link~~',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied~~'

View File

@@ -121,13 +121,13 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Brick:Portal:Object:Name' => 'Object',
'Brick:Portal:Object:Form:Create:Title' => 'Nieuw %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Verwerken %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Verwerken %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Vul de volgende informatie in:',
'Brick:Portal:Object:Form:Message:Saved' => 'Opgeslagen',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s opgeslagen',
'Brick:Portal:Object:Search:Regular:Title' => 'Geselecteerd %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selecteer %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Geselecteerd %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selecteer %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Kopieer link naar object',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Gekopieerd'

View File

@@ -120,13 +120,13 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', array(
'Brick:Portal:Object:Name' => 'Obiekty',
'Brick:Portal:Object:Form:Create:Title' => 'Nowy %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Aktualizacja %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Aktualizacja %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Prosimy o uzupełnienie poniższych informacji:',
'Brick:Portal:Object:Form:Message:Saved' => 'Zapisany',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s zapisany',
'Brick:Portal:Object:Search:Regular:Title' => 'Wybierz %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Wybierz %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Wybierz %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Wybierz %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Skopiuj obiekt',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Skopiowano'

View File

@@ -120,13 +120,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Brick:Portal:Object:Name' => 'Objeto',
'Brick:Portal:Object:Form:Create:Title' => 'Novo %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Alterar %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Alterar %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Por favor, preencha as seguintes informações:',
'Brick:Portal:Object:Form:Message:Saved' => 'Salvo',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s salvo',
'Brick:Portal:Object:Search:Regular:Title' => 'Selecionar %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selecinar %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Selecionar %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Selecionar %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copiar',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copiado'

View File

@@ -121,13 +121,13 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', array(
'Brick:Portal:Object:Name' => 'Object',
'Brick:Portal:Object:Form:Create:Title' => 'Создать %1$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Обновление %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s : %2$s',
'Brick:Portal:Object:Form:Edit:Title' => 'Обновление %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Пожалуйста, укажите следующую информацию:',
'Brick:Portal:Object:Form:Message:Saved' => 'Сохранено',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s сохранено',
'Brick:Portal:Object:Search:Regular:Title' => 'Выбрать %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Выбрать %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => 'Выбрать %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Выбрать %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Скопировать ссылку на объект',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Ссылка скопирована'

View File

@@ -120,13 +120,13 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Brick:Portal:Object:Name' => 'Object~~',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s~~',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:~~',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved~~',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link~~',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied~~'

View File

@@ -120,13 +120,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Brick:Portal:Object:Name' => 'Object~~',
'Brick:Portal:Object:Form:Create:Title' => 'New %1$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %2$s (%1$s)~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s~~',
'Brick:Portal:Object:Form:Edit:Title' => 'Updating %1$s~~',
'Brick:Portal:Object:Form:View:Title' => '%1$s~~',
'Brick:Portal:Object:Form:Stimulus:Title' => 'Please, complete the following information:~~',
'Brick:Portal:Object:Form:Message:Saved' => 'Saved~~',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '%1$s saved~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s (%2$s)~~',
'Brick:Portal:Object:Search:Regular:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Search:Hierarchy:Title' => 'Select %1$s~~',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => 'Copy object link~~',
'Brick:Portal:Object:Copy:CopiedTooltip' => 'Copied~~'

View File

@@ -129,13 +129,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Brick:Portal:Object:Name' => '对象',
'Brick:Portal:Object:Form:Create:Title' => '新建 %1$s',
'Brick:Portal:Object:Form:Edit:Title' => '正在更新 %2$s (%1$s)',
'Brick:Portal:Object:Form:View:Title' => '%1$s: %2$s',
'Brick:Portal:Object:Form:Edit:Title' => '正在更新 %1$s',
'Brick:Portal:Object:Form:View:Title' => '%1$s',
'Brick:Portal:Object:Form:Stimulus:Title' => '请填写下列信息:',
'Brick:Portal:Object:Form:Message:Saved' => '已保存',
'Brick:Portal:Object:Form:Message:ObjectSaved' => '已保存 %1$s',
'Brick:Portal:Object:Search:Regular:Title' => '选择 %1$s (%2$s)',
'Brick:Portal:Object:Search:Hierarchy:Title' => '选择 %1$s (%2$s)',
'Brick:Portal:Object:Search:Regular:Title' => '选择 %1$s',
'Brick:Portal:Object:Search:Hierarchy:Title' => '选择 %1$s',
'Brick:Portal:Object:Copy:TextToCopy' => '%2$s',
'Brick:Portal:Object:Copy:Tooltip' => '复制对象链接',
'Brick:Portal:Object:Copy:CopiedTooltip' => '已复制'

View File

@@ -133,6 +133,7 @@ if (!defined('PORTAL_ID'))
// Env. vars to be used in templates and others
$_ENV['COMBODO_CURRENT_ENVIRONMENT'] = utils::GetCurrentEnvironment();
$_ENV['COMBODO_APPROOT'] = APPROOT;
$_ENV['COMBODO_ABSOLUTE_URL'] = utils::GetAbsoluteUrlAppRoot();
$_ENV['COMBODO_CONF_APP_ICON_URL'] = MetaModel::GetConfig()->Get('app_icon_url');
$_ENV['COMBODO_MODULES_ABSOLUTE_URL'] = utils::GetAbsoluteUrlModulesRoot();

View File

@@ -1,5 +1,7 @@
twig:
default_path: '%combodo.modules.absolute_path%'
paths:
'%combodo.approot%images/': ~
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'

View File

@@ -0,0 +1,21 @@
# Copyright (C) 2010-2024 Combodo SAS
#
# This file is part of iTop.
#
# iTop is free software; you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# iTop is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with iTop. If not, see <http://www.gnu.org/licenses/>
p_preferences_set_preference:
path: '/preferences/setPreference'
defaults:
_controller: 'Combodo\iTop\Portal\Controller\PreferencesController::SetPreferenceAction'

View File

@@ -27,6 +27,7 @@ parameters:
# Used in templates
combodo.current_environment: '%env(string:COMBODO_CURRENT_ENVIRONMENT)%'
combodo.approot: '%env(string:COMBODO_APPROOT)%'
combodo.absolute_url: '%env(string:COMBODO_ABSOLUTE_URL)%'
combodo.conf.app_icon_url: '%env(string:COMBODO_CONF_APP_ICON_URL)%'
combodo.modules.absolute_url: '%env(string:COMBODO_MODULES_ABSOLUTE_URL)%'
@@ -118,6 +119,10 @@ services:
combodo.current_user:
alias: Combodo\iTop\Portal\Twig\CurrentUserAccessor
public: true
combodo.app_icon_url:
alias: Combodo\iTop\Portal\Twig\AppIconUrlAccessor
public: true
# Aliases
brick_collection:

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1 @@
@import '../../../../../css/common/main.scss';
@import "utils/all";
@import "pages/base";
@import "themes/all";
@import "themes/all";

View File

@@ -5,4 +5,5 @@
@import "modal";
@import "form";
@import "input";
@import "caselog";
@import "caselog";
@import "progress-bar";

View File

@@ -1,298 +1,21 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-button--padding-y: 6px !default;
$ipb-button--padding-x: 9px !default;
$ipb-button-colors: (
'' : (
'primary': (
'': (
$common-color-blue-800,
$common-color-white-100,
$common-color-blue-900
),
':hover': (
$common-color-blue-700,
$common-color-white-100,
$common-color-blue-800
),
':active': (
$common-color-blue-900,
$common-color-white-100,
$common-color-blue-950
),
':disabled': (
$common-color-blue-200,
$common-color-blue-600,
$common-color-blue-300
),
),
'default': (
'': (
$common-color-white-100,
$common-color-grey-800,
$common-color-grey-600
),
':hover': (
$common-color-grey-100,
$common-color-grey-900,
$common-color-grey-700
),
':active': (
$common-color-grey-200,
$common-color-grey-900,
$common-color-grey-700
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'success': (
'': (
$common-color-success-900,
$common-color-white-100,
$common-color-success-900
),
':hover': (
$common-color-success-800,
$common-color-green-100,
$common-color-success-900
),
':active': (
$common-color-success-950,
$common-color-green-100,
$common-color-success-950
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'warning': (
'': (
$common-color-warning-700,
$common-color-white-100,
$common-color-warning-900
),
':hover': (
$common-color-warning-600,
$common-color-warning-100,
$common-color-warning-700
),
':active': (
$common-color-warning-800,
$common-color-warning-100,
$common-color-warning-900
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'danger': (
'': (
$common-color-danger-800,
$common-color-white-100,
$common-color-danger-900
),
':hover': (
$common-color-danger-700,
$common-color-danger-100,
$common-color-danger-800
),
':active': (
$common-color-danger-900,
$common-color-danger-100,
$common-color-danger-950
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'info': (
'': (
$common-color-information-800,
$common-color-white-100,
$common-color-information-900
),
':hover': (
$common-color-information-700,
$common-color-information-100,
$common-color-information-800
),
':active': (
$common-color-information-900,
$common-color-information-100,
$common-color-information-950
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
),
'alternative' : (
'primary': (
'': (
$common-color-transparent,
$common-color-blue-800,
$common-color-transparent
),
':hover': (
$common-color-blue-100,
$common-color-blue-900,
$common-color-blue-100
),
':active': (
$common-color-blue-200,
$common-color-blue-900,
$common-color-blue-200
),
':disabled': (
$common-color-blue-200,
$common-color-blue-600,
$common-color-blue-300
),
),
'default': (
'': (
$common-color-transparent,
$common-color-grey-800,
$common-color-transparent
),
':hover': (
$common-color-grey-200,
$common-color-grey-900,
$common-color-grey-200
),
':active': (
$common-color-grey-300,
$common-color-grey-900,
$common-color-grey-300
),
':disabled': (
$common-color-transparent,
$common-color-grey-500,
$common-color-transparent
),
),
'success': (
'': (
$common-color-transparent,
$common-color-success-900,
$common-color-transparent
),
':hover': (
$common-color-success-100,
$common-color-success-900,
$common-color-success-100
),
':active': (
$common-color-success-200,
$common-color-success-900,
$common-color-success-200
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'warning': (
'': (
$common-color-transparent,
$common-color-warning-800,
$common-color-transparent
),
':hover': (
$common-color-warning-100,
$common-color-warning-900,
$common-color-warning-100
),
':active': (
$common-color-warning-200,
$common-color-warning-900,
$common-color-warning-200
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'danger': (
'': (
$common-color-transparent,
$common-color-danger-800,
$common-color-transparent
),
':hover': (
$common-color-danger-100,
$common-color-danger-800,
$common-color-danger-100
),
':active': (
$common-color-danger-200,
$common-color-danger-800,
$common-color-danger-200
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
'info': (
'': (
$common-color-transparent,
$common-color-information-800,
$common-color-transparent
),
':hover': (
$common-color-information-100,
$common-color-information-800,
$common-color-information-100
),
':active': (
$common-color-information-200,
$common-color-information-800,
$common-color-information-200
),
':disabled': (
$common-color-grey-200,
$common-color-grey-700,
$common-color-grey-300
),
),
),
) !default;
.ipb-button, .btn{
--ibp-button-border-radius-top-left: 4px;
--ibp-button-border-radius-top-right: 4px;
--ibp-button-border-radius-bottom-right: 4px;
--ibp-button-border-radius-bottom-left: 4px;
background-color: $common-color-white-100 !important;
border-radius: var(--ibp-button-border-radius-top-left) var(--ibp-button-border-radius-top-right) var(--ibp-button-border-radius-bottom-right) var(--ibp-button-border-radius-bottom-left);
border: solid 1px $common-color-blue-700;
padding: $ipb-button--padding-y $ipb-button--padding-x;
color: $common-color-blue-800 !important;
cursor: pointer;
@each $sType, $aColors in $ipb-button-colors {
@each $sColor, $sPseudoClasses in $aColors {
@each $sPseudoClass, $sAttributes in $sPseudoClasses {
&.ipb-is-#{$sColor}#{if($sType != '', ".ipb-is-#{$sType}", '')}#{$sPseudoClass}, &.btn-#{$sColor}#{if($sType != '', ".#{$sType}", '')}#{$sPseudoClass} {
background-color: nth($sAttributes, 1) !important;
color: nth($sAttributes, 2) !important;
border-color: nth($sAttributes, 3) !important;
}
}
}
}
@extend %common-font-size-150;
}

View File

@@ -1,27 +1,13 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
$messaging-self-primary-color: $common-color-blue-100 !default;
$messaging-self-secondary-color: $common-color-blue-800 !default;
$messaging-1st-peer-primary-color: $white !default;
$messaging-1st-peer-secondary-color: $common-color-grey-400 !default;
$messaging-2nd-peer-primary-color: $white !default;
$messaging-2nd-peer-secondary-color: $common-color-grey-400 !default;
$messaging-3rd-peer-primary-color: $white !default;
$messaging-3rd-peer-secondary-color: $common-color-grey-300 !default;
$messaging-4th-peer-primary-color: $white !default;
$messaging-4th-peer-secondary-color: $common-color-grey-400 !default;
$messaging-5th-peer-primary-color: $white !default;
$messaging-5th-peer-secondary-color: $common-color-grey-400 !default;
$ipb-caselog-thread--border: 1px solid $common-color-grey-400 !default;
/* SCSS variables (can be overloaded) */
$ipb-caselog-thread--border-top: none !default;
$ipb-caselog-thread--header--padding: 12px !default;
$ipb-caselog-thread--header--background-color: $common-color-white-100 !default;
$ipb-caselog-thread--header--span--color: $common-color-grey-800 !default;
$ipb-caselog-thread--header-toggler--color: inherit !default;
$ipb-caselog-thread--header-toggler--hover--active-focus--color: inherit !default;
$ipb-caselog-thread--header-toggler--not-first-child--margin: 0 0.4em 0 0.2em !default;
@@ -30,33 +16,24 @@ $ipb-caselog-thread--header-info--first-child--margin-left: 0 !default;
$ipb-caselog-thread--header-info--span--span--margin-left: $ipb-caselog-thread--header-info--span--margin-left !default;
$ipb-caselog-thread--content--padding: 12px !default;
$ipb-caselog-thread--content--background-color: $common-color-grey-100 !default;
$ipb-caselog-thread--date--margin-bottom: 10px !default;
$ipb-caselog-thread--date--color: $common-color-grey-800 !default;
$ipb-caselog-thread--block--min-height: 40px !default;
$ipb-caselog-thread--block--margin-bottom: 15px !default;
$ipb-caselog-thread--block--last-child--margin-bottom: 0 !default;
$ipb-caselog-thread--block-medallion--block-entries--border: 1px solid $common-color-grey-200 !default;
$ipb-caselog-thread--block-medallion--width: 40px !default;
$ipb-caselog-thread--block-medallion--height: $ipb-caselog-thread--block-medallion--width !default;
$ipb-caselog-thread--block-medallion--color: $common-color-blue-800 !default;
$ipb-caselog-thread--block-medallion--background-color: $common-color-blue-100 !default;
$ipb-caselog-thread--block-user--margin-left: 54px !default;
$ipb-caselog-thread--block-user--color: $ipb-caselog-thread--block-medallion--color !default;
$ipb-caselog-thread--block-entries--margin-x: 60px !default;
$ipb-caselog-thread--block-entries--border-radius: $common-border-radius-500 !default;
$ipb-caselog-thread--block-entries--background-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-entries--color: $ipb-caselog-thread--block-medallion--color !default;
$ipb-caselog-thread--block-entry--padding-y: 8px !default;
$ipb-caselog-thread--block-entry--padding-x: 10px !default;
$ipb-caselog-thread--block-entry--border-bottom: 1px solid $common-color-grey-200 !default;
$ipb-caselog-thread--block-entry-content--height: 0px !default;
@@ -68,24 +45,10 @@ $ipb-caselog-thread--block-entry-toggler--top: 2px !default;
$ipb-caselog-thread--block-entry-toggler--right: 5px !default;
$ipb-caselog-thread--block-entry-toggler--padding-y: 2px !default;
$ipb-caselog-thread--block-entry-toggler--padding-x: 5px !default;
$ipb-caselog-thread--block-entry-toggler--background-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-me--block-user--margin-right: 54px !default;
$ipb-caselog-thread--block-me--block-entries--margin-left: initial !default;
$ipb-caselog-thread--block-me--block-entries--margin-right: $ipb-caselog-thread--block-entries--margin-x !default;
$ipb-caselog-thread--block-me--block-entry--first--content--border-left-color: transparent !default;
$ipb-caselog-thread--block-me--block-entry--first--content--border-right-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-colors: (
1: ($common-color-white-100, $common-color-grey-700),
2: ($common-color-white-100, $common-color-grey-700),
3: ($common-color-white-100, $common-color-grey-700),
4: ($common-color-white-100, $common-color-grey-700),
5: ($common-color-white-100, $common-color-grey-700)
);
$messaging-block-medallion-size: 40px !default;
$messaging-block-entries-margin-x: 60px !default;
@@ -93,28 +56,22 @@ $messaging-block-entries-margin-x: 60px !default;
.ipb-caselog-thread {
position: relative;
border: $ipb-caselog-thread--border;
border-top: $ipb-caselog-thread--border-top;
}
.ipb-caselog-thread--header{
padding: $ipb-caselog-thread--header--padding;
background-color: $ipb-caselog-thread--header--background-color;
border-bottom: none;
@extend %common-font-size-100;
span{
color: $ipb-caselog-thread--header--span--color;
}
}
.ipb-caselog-thread--header-toggler{
cursor: pointer;
color: $ipb-caselog-thread--header-toggler--color;
text-decoration: none;
&:hover,
&:active,
&:focus{
color: $ipb-caselog-thread--header-toggler--hover--active-focus--color;
text-decoration: none;
}
@@ -142,13 +99,11 @@ $messaging-block-entries-margin-x: 60px !default;
.ipb-caselog-thread--content{
padding: $ipb-caselog-thread--content--padding;
background-color: $ipb-caselog-thread--content--background-color;
}
.ipb-caselog-thread--date{
margin-bottom: $ipb-caselog-thread--date--margin-bottom;
text-align: center;
color: $ipb-caselog-thread--date--color;
@extend %common-font-size-150;
&:first-child{
@@ -165,10 +120,7 @@ $messaging-block-entries-margin-x: 60px !default;
margin-bottom: $ipb-caselog-thread--block--last-child--margin-bottom;
}
}
.ipb-caselog-thread--block-medallion,
.ipb-caselog-thread--block-entries{
border: $ipb-caselog-thread--block-medallion--block-entries--border;
}
.ipb-caselog-thread--block-medallion{
position: absolute;
@@ -177,13 +129,11 @@ $messaging-block-entries-margin-x: 60px !default;
width: $ipb-caselog-thread--block-medallion--width;
height: $ipb-caselog-thread--block-medallion--height;
line-height: $ipb-caselog-thread--block-medallion--height;
color: $ipb-caselog-thread--block-medallion--color; /* .ipb-caselog-thread--block-entries color */
text-align: center;
@extend %common-font-size-250;
background-size: 100%; /* Full size is necessary for images with filled background to fit nicely in the medallion, even if this means that images with a transparent background might appear cropped */
background-position: center center;
background-color: $ipb-caselog-thread--block-medallion--background-color; /* .ipb-caselog-thread--block-entries background-color */
background-repeat: no-repeat;
border-radius: 100%;
}
@@ -191,7 +141,6 @@ $messaging-block-entries-margin-x: 60px !default;
.ipb-caselog-thread--block-user{
display: none;
margin-left: $ipb-caselog-thread--block-user--margin-left;
color: $ipb-caselog-thread--block-user--color; /* .ipb-caselog-thread--block-entries background-color */
@extend %common-font-ral-bol-100;
}
@@ -202,14 +151,11 @@ $messaging-block-entries-margin-x: 60px !default;
margin-left: $ipb-caselog-thread--block-entries--margin-x;
max-width: calc(100% - #{$ipb-caselog-thread--block-entries--margin-x});
border-radius: $ipb-caselog-thread--block-entries--border-radius;
background-color: $ipb-caselog-thread--block-entries--background-color;
color: $ipb-caselog-thread--block-entries--color;
}
.ipb-caselog-thread--block-entry{
position: relative;
padding: $ipb-caselog-thread--block-entry--padding-y $ipb-caselog-thread--block-entry--padding-x;
border-bottom: $ipb-caselog-thread--block-entry--border-bottom;
img{
max-width: 100%;
@@ -264,9 +210,13 @@ $messaging-block-entries-margin-x: 60px !default;
padding: $ipb-caselog-thread--block-entry-toggler--padding-y $ipb-caselog-thread--block-entry-toggler--padding-x;
opacity: 0;
cursor: pointer;
background-color: $ipb-caselog-thread--block-entry-toggler--background-color; /* .ipb-caselog-thread--block-entries background-color */
transition: all 0.2s linear;
}
.ipb-caselog-thread--block-entry:not(.closed):hover{
.ipb-caselog-thread--block-entry-toggler{
opacity: 1;
}
}
.ipb-caselog-thread--block-me{
text-align: right;
@@ -297,166 +247,9 @@ $messaging-block-entries-margin-x: 60px !default;
.ipb-caselog-thread--block-entry-content:before{
left: initial;
right: -15px;
border-right-color: transparent;
border-left-color: $ipb-caselog-thread--block-me--block-entry--first--content--border-right-color; /* .ipb-caselog-thread--block-entries background-color */
}
}
}
}
.ipb-caselog-thread--block-color-1{
.ipb-caselog-thread--block-medallion{
color: $messaging-1st-peer-secondary-color;
background-color: $messaging-1st-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-1st-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-1st-peer-secondary-color;
background-color: $messaging-1st-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-1st-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-1st-peer-primary-color;
border-right-color: $messaging-1st-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-2{
.ipb-caselog-thread--block-medallion{
color: $messaging-2nd-peer-secondary-color;
background-color: $messaging-2nd-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-2nd-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-2nd-peer-secondary-color;
background-color: $messaging-2nd-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-2nd-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-2nd-peer-primary-color;
border-right-color: $messaging-2nd-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-3{
.ipb-caselog-thread--block-medallion{
color: $messaging-3rd-peer-secondary-color;
background-color: $messaging-3rd-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-3rd-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-3rd-peer-secondary-color;
background-color: $messaging-3rd-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-3rd-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-3rd-peer-primary-color;
border-right-color: $messaging-3rd-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-4{
.ipb-caselog-thread--block-medallion{
color: $messaging-4th-peer-secondary-color;
background-color: $messaging-4th-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-4th-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-4th-peer-secondary-color;
background-color: $messaging-4th-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-4th-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-4th-peer-primary-color;
border-right-color: $messaging-4th-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-5{
.ipb-caselog-thread--block-medallion{
color: $messaging-5th-peer-secondary-color;
background-color: $messaging-5th-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-5th-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-5th-peer-secondary-color;
background-color: $messaging-5th-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-5th-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-5th-peer-primary-color;
border-right-color: $messaging-5th-peer-primary-color;
}
}
}
}
@each $index, $colors in $ipb-caselog-thread--block-colors {
.ipb-caselog-thread--block-color-#{$index} {
.ipb-caselog-thread--block-medallion {
color: nth($colors, 2);
background-color: nth($colors, 1);
}
.ipb-caselog-thread--block-user {
color: nth($colors, 1);
}
.ipb-caselog-thread--block-entries {
color: nth($colors, 2);
background-color: nth($colors, 1);
.ipb-caselog-thread--block-entry {
.ipb-caselog-thread--block-entry-toggler {
background-color: nth($colors, 1);
}
}
.ipb-caselog-thread--block-entry:first-child {
.ipb-caselog-thread--block-entry-content:before {
border-top-color: nth($colors, 1);
border-right-color: nth($colors, 1);
}
}
}
}
}

View File

@@ -1,16 +1,14 @@
$ipb-dropdown--background-color: $ipb-color-white-100 !default;
$ipb-dropdown--border: 1px solid $ipb-color-grey-300 !default;
$ipb-dropdown--border-radius: $common-border-radius-400 !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ipb-dropdown--li--background-color: $ipb-dropdown--background-color !default;
/* SCSS variables (can be overloaded) */
$ipb-dropdown--border-radius: $common-border-radius-400 !default;
$ipb-dropdown--a--padding-y: $common-spacing-400 !default;
$ipb-dropdown--a--padding-x: $common-spacing-500 !default;
$ipb-dropdown--a--border-radius: $ipb-dropdown--border-radius !default;
$ipb-dropdown--a--color: $ipb-color-grey-900 !default;
$ipb-dropdown--li--hover--background-color: $ipb-color-grey-200 !default;
$ipb-dropdown--li--hover--a--color: $ipb-color-grey-800 !default;
$ipb-dropdown--icon--margin-right: $common-spacing-300 !default;
@@ -18,25 +16,16 @@ ipb-dropdown {
display: none;
position: absolute;
width: max-content;
background: $ipb-dropdown--background-color;
border: $ipb-dropdown--border;
border-radius: $ipb-dropdown--border-radius;
list-style: none;
li {
background-color: $ipb-dropdown--li--background-color;
a {
display: inline-block;
width: 100%;
padding: $ipb-dropdown--a--padding-y $ipb-dropdown--a--padding-x;
border-radius: $ipb-dropdown--a--border-radius;
cursor: pointer;
text-decoration: none;
color: $ipb-dropdown--a--color;
}
&:hover {
background: $ipb-dropdown--li--hover--background-color;
a {
color: $ipb-dropdown--li--hover--a--color;
}
}
}
}

View File

@@ -1,21 +1,44 @@
$ipb--fieldset--background-color: $common-color-grey-50 !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb--fieldset--padding-y: 10px !default;
$ipb--fieldset--padding-x: 7px !default;
$ipb--fieldset--border: 1px solid $common-color-grey-200 !default;
$ipb--fieldset--border-radius: $common-border-radius-500 !default;
$ipb--fieldset--legend--padding-y: $common-spacing-0 !default;
$ipb--fieldset--legend--padding-x: 13px !default;
$ipb-field--has-tooltip-or-is-mandatory--vertical-align: top !default;
$ipb-field--has-tooltip-or-is-mandatory--left: $common-spacing-200 !default;
$ipb-field--is-mandatory--font-size: 0.6rem !default;
.form_fields {
fieldset {
background-color: $common-color-grey-50;
padding: $ipb--fieldset--padding-y $ipb--fieldset--padding-x;
border-radius: $ipb--fieldset--border-radius;
border: $ipb--fieldset--border;
legend {
padding: $ipb--fieldset--legend--padding-y $ipb--fieldset--legend--padding-x;
}
}
}
}
.form_field_label > .control-label[data-tooltip-instantiated="true"]:after, .form_field .form_mandatory .control-label:after {
position: relative;
vertical-align: $ipb-field--has-tooltip-or-is-mandatory--vertical-align;
left: $ipb-field--has-tooltip-or-is-mandatory--left;
@extend %fa-solid-base;
}
.form_field_label > .control-label[data-tooltip-instantiated="true"]:after {
cursor: pointer;
@extend %common-font-size-50;
}
.form_field .form_mandatory .control-label:after{
font-size: $common-font-size-20;
};

View File

@@ -1,18 +1,37 @@
$ipb-form-control--color: $common-color-grey-800 !default;
$ipb-form-control--border-radius: $common-border-radius-500 !default;
$ipb-form-control--box-shadow: none !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-form-control--border-radius: $common-border-radius-300 !default;
$ipb-form-control--box-shadow: none !default;
$ipb-form-control--input-group-addon--border-top-right-radius: 0 !default;
$ipb-form-control--input-group-addon--border-bottom-right-radius: 0 !default;
$ipb-input-group-addon--border-radius: $ipb-form-control--border-radius !default;
$ipb-input-group-addon--form-control--border-top-left-radius: 0 !default;
$ipb-input-group-addon--form-control--border-bottom-left-radius: 0 !default;
$ipb-form-control--is-focused--border-color: $common-color-primary-700 !default;
$ipb-form-control--is-focused--box-shadow: none !default;
.form-control {
color: $ipb-form-control--color;
border-radius: $common-border-radius-500 !important;
border-radius: $ipb-form-control--border-radius;
-webkit-box-shadow: $ipb-form-control--box-shadow;
box-shadow: $ipb-form-control--box-shadow;
&:focus {
border-color: $ipb-form-control--is-focused--border-color;
box-shadow: $ipb-form-control--is-focused--box-shadow;
-webkit-box-shadow: $ipb-form-control--is-focused--box-shadow;
}
}
.form-control:has(+ .input-group-addon) {
border-top-right-radius: $ipb-form-control--input-group-addon--border-top-right-radius;
border-bottom-right-radius: $ipb-form-control--input-group-addon--border-bottom-right-radius;
}
.form-control + .input-group-addon {
border-top-left-radius: $ipb-input-group-addon--form-control--border-top-left-radius;
border-bottom-left-radius: $ipb-input-group-addon--form-control--border-bottom-left-radius;
}

View File

@@ -1,85 +1,76 @@
/*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables */
/* SCSS variables (can be overloaded) */
$ipb-modal--max-height: 90vh !default;
$ipb-modal--max-width: 90vw !default;
$ipb-modal--border-radius: $common-border-radius-500 !default;
$ipb-modal--extra-small--relative-height: 20vh !default;
$ipb-modal--extra-small--absolute-height: 150px !default;
$ipb-modal--extra-small--height: calc(min(#{$ipb-modal--extra-small--relative-height}, #{$ipb-modal--extra-small--absolute-height})) !default;
$ipb-modal--extra-small--relative-width: 20vw !default;
$ipb-modal--extra-small--absolute-width: 200px !default;
$ipb-modal--extra-small--width: calc(min(#{$ipb-modal--extra-small--relative-width}, #{$ipb-modal--extra-small--absolute-width})) !default;
$ipb-modal--header--padding: $common-spacing-500 !default;
$ipb-modal--header--border-radius: $ipb-modal--border-radius $ipb-modal--border-radius 0 0 !default;
$ipb-modal--small--relative-height: 60vh !default;
$ipb-modal--small--absolute-height: 400px !default;
$ipb-modal--small--height: calc(min(#{$ipb-modal--small--relative-height}, #{$ipb-modal--small--absolute-height})) !default;
$ipb-modal--small--relative-width: 60vw !default;
$ipb-modal--small--absolute-width: 800px !default;
$ipb-modal--small--width: calc(min(#{$ipb-modal--small--relative-width}, #{$ipb-modal--small--absolute-width})) !default;
$ipb-modal--footer-padding: $ipb-modal--header--padding !default;
$ipb-modal--medium--relative-height: 75vh !default;
$ipb-modal--medium--absolute-height: 600px !default;
$ipb-modal--medium--height: calc(min(#{$ipb-modal--medium--relative-height}, #{$ipb-modal--medium--absolute-height})) !default;
$ipb-modal--medium--relative-width: 75vw !default;
$ipb-modal--medium--absolute-width: 1200px !default;
$ipb-modal--medium--width: calc(min(#{$ipb-modal--medium--relative-width}, #{$ipb-modal--medium--absolute-width})) !default;
$ipb-modal--large--relative-height: 90vh !default;
$ipb-modal--large--absolute-height: 900px !default;
$ipb-modal--large--height: calc(min(#{$ipb-modal--large--relative-height}, #{$ipb-modal--large--absolute-height})) !default;
$ipb-modal--large--relative-width: 90vw !default;
$ipb-modal--large--absolute-width: 1800px !default;
$ipb-modal--large--width: calc(min(#{$ipb-modal--large--relative-width}, #{$ipb-modal--large--absolute-width})) !default;
$ipb-modal--content--border-radius: $ipb-modal--border-radius !default;
$ipb-modal--title--to-clipboard--margin: $common-spacing-200 !default;
$ipb-modal--title--span--margin-left: 5px !default;
$ipb-modal--title--span--separator--width: $common-size-100 !default;
$ipb-modal--title--span--separator--height: $ipb-modal--title--span--separator--width !default;
$ipb-modal--title--span--separator--margin-right: $common-spacing-200 !default;
$ipb-modal--title--span--separator--margin-top: calc(-1 * #{$ipb-modal--title--span--separator--height} / 2) !default;
$ipb-modal--title--span--separator--border-radius: $common-border-radius-full !default;
$ipb-modal-option--do-not-show-again--margin-top: $common-spacing-500 !default;
$ipb-modal--is-informative--min-width: $common-size-700 !default;
$ipb-modal--is-informative--min-height: $common-size-300 !default;
$ipb-modal--is-informative--is-error--highlight--background-color: $common-color-red-600 !default;
$ipb-modal--is-informative--is-warning--highlight--background-color: $common-color-orange-600 !default;
$ipb-modal--is-informative--is-information--highlight--background-color: $common-color-blue-600 !default;
$ipb-modal--is-informative--is-success--highlight--background-color: $common-color-green-600 !default;
/* Avoid modals bigger than window size
!important in order to overload jQueryUI max-height:none being put on dialog elements */
.modal .modal-dialog{
display: flex;
flex-direction: column;
max-height: $ipb-modal--max-height !important;
max-width: $ipb-modal--max-width !important;
border-radius: 5px;
.modal-header {
background-color: white;
color: #232323;
}
border-radius: $ipb-modal--border-radius;
}
.modal-backdrop.in {
opacity: .6;
background-color: $common-color-blue-grey-800;
backdrop-filter: blur(2px);
}
.modal-content {
border-radius: 5px !important;
border: 1px solid $common-color-grey-400;
border-radius: $ipb-modal--content--border-radius !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
.modal-header {
border-radius: 5px 5px 0 0 !important;
padding: $ipb-modal--header--padding;
border-radius:$ipb-modal--header--border-radius !important;
.close {
@extend %common-font-size-400;
}
}
.modal-footer {
padding: $ipb-modal--footer-padding;
}
.modal-title {
color: #232323 !important;
display: flex;
align-items: center;
span ~ span {
margin-left: $ipb-modal--title--span--margin-left;
&:before {
content: " ";
display: inline-block;
vertical-align: middle;
margin-right: $ipb-modal--title--span--separator--margin-right;
margin-top: $ipb-modal--title--span--separator--margin-top;
width: $ipb-modal--title--span--separator--width;
height: $ipb-modal--title--span--separator--height;
border-radius: $ipb-modal--title--span--separator--border-radius;
}
}
.url-to-clipboard.url-to-clipboard-icon {
margin-right: 4px;
margin-right: $ipb-modal--title--to-clipboard--margin;
}
}

View File

@@ -1,9 +1,17 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-panel--border-radius: $common-border-radius-300!default;
.ipb-panel {
border: 1px solid $common-color-grey-400;
border-radius: 0 $common-border-radius-500 $common-border-radius-500 $common-border-radius-500;
box-shadow: none;
-webkit-box-shadow: none;
}
.panel-title {
@extend %common-font-ral-med-200;
}

View File

@@ -0,0 +1,19 @@
$ipb-progress--height: $common-size-350 !default;
$ipb-progress--border-radius: $common-border-radius-500 !default;
$ipb-progress--bar--line-height: $ipb-progress--height !default;
$ipb-progress--bar--border-radius: $ipb-progress--border-radius !default;
.ipb-progress, .progress {
height: $ipb-progress--height;
border-radius: $ipb-progress--border-radius;
}
.ipb-progress--bar, .progress-bar {
background-color: $ipb-color-primary-600;
color: #ffffff;
line-height: $ipb-progress--bar--line-height;
border-radius: $ipb-progress--bar--border-radius;
@extend %common-font-ral-med-150;
}

View File

@@ -1,23 +1,29 @@
@import "../../../../../../node_modules/bulma-scss/utilities/mixins";
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
/* SCSS variables */
$ipb-tile--width: 450px !default;
$ipb-tile--min-width: 150px !default;
$ipb-tile--padding: $common-spacing-500 !default;
$ipb-tile--margin: $common-spacing-400 !default;
$ipb-tile--border-color: $common-color-grey-200 !default;
$ipb-tile--border-width: 1px !default;
$ipb-tile--border-radius: $common-border-radius-500 !default;
$ipb-tile--background-color: $common-color-white-100 !default;
$ipb-tile--decoration--size: 44px !default;
$ipb-tile--decoration--padding: $common-spacing-400 !default;
$ipb-tile--decoration--hover--background: common-adjust-alpha($common-color-blue-700, .1) !default;
$ipb-tile--decoration--background: common-adjust-lightness($ipb-tile--decoration--hover--background, 38%) !default;
$ipb-tile--decoration--icon--color: $common-color-blue-700 !default;
$ipb-tile--decoration--icon--font-size: $common-font-size-250 !default;
$ipb-tile--title--color: $common-base-variable--text-color !default;
$ipb-tile--title--font-size: $common-font-size-400 !default;
$ipb-tile--description--color: $common-base-variable--text-color !default;
$ipb-tile--manage-brick--chart--margin-top: $common-spacing-500 !default;
$ipb-tile--manage-brick--badge--margin-top: $common-font-size-400 !default;
$ipb-tile--manage-brick--badge--count--padding: 0 $common-spacing-300 !default;
$ipb-tile--manage-brick--badge--count--font-size: $common-font-size-300 !default;
$ipb-tile--manage-brick--badge--label--font-size: $common-font-size-100 !default;
$ipb-tile--manage-brick--top-list--margin-top: $common-spacing-500 !default;
.ipb-tile{
position: relative;
@@ -26,15 +32,12 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
min-width: $ipb-tile--min-width;
margin: $ipb-tile--margin;
padding: $ipb-tile--padding;
background-color: $ipb-tile--background-color;
border: $ipb-tile--border-width solid $ipb-tile--border-color;
border-radius: $ipb-tile--border-radius;
white-space: normal;
flex-grow: 1;
&[data-role="navigation-trigger"] {
cursor: pointer;
@include ipb-heavy-animated-border;
}
}
@@ -68,7 +71,6 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
width: $ipb-tile--decoration--size;
height: $ipb-tile--decoration--size;
padding: $ipb-tile--decoration--padding;
background-color: $ipb-tile--decoration--background;
border-radius: $ipb-tile--border-radius;
text-align: center;
transition: background-color 1s ease;
@@ -81,15 +83,9 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
}
}
}
.ipb-tile:hover{
.ipb-tile--decoration{
background-color: $ipb-tile--decoration--hover--background;
}
}
.ipb-tile--decoration--icon {
&.icon {
color: $ipb-tile--decoration--icon--color;
font-size: $ipb-tile--decoration--icon--font-size;
}
@@ -102,7 +98,6 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
.ipb-tile--title{
flex-grow: 1;
color: $ipb-tile--title--color;
font-size: $ipb-tile--title--font-size;
font-weight: bold;
@include ipb-text-overflow-ellipsis;
@@ -126,8 +121,6 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
/* description */
.ipb-tile--description{
color: $ipb-tile--description--color;
@extend %common-font-ral-nor-150;
}
@@ -136,42 +129,27 @@ $ipb-tile--description--color: $common-base-variable--text-color !default;
.ipb-tile--extra-content {
flex-grow: 1;
position: relative;
@extend %common-font-ral-nor-150;
}
/****************************/
/* ManageBrick tile display */
/****************************/
$ipb-tile--manage-brick--chart--margin-top: $common-spacing-500 !default;
$ipb-tile--manage-brick--badge--margin-top: $common-font-size-400 !default;
$ipb-tile--manage-brick--badge--count--padding: 0 $common-spacing-300 !default;
$ipb-tile--manage-brick--badge--count--font-size: $common-font-size-300 !default;
$ipb-tile--manage-brick--badge--label--font-size: $common-font-size-100 !default;
$ipb-tile--manage-brick--badge--hover--item--background: common-adjust-alpha($common-base-variable--text-color, .1) !default;
$ipb-tile--manage-brick--top-list--margin-top: $common-spacing-500 !default;
/* title */
.ipb-tile--manage .ipb-tile--title {
display: flex;
align-items: center;
> span:first-child {
@include ipb-text-overflow-ellipsis;
}
> span:nth-child(2) {
@include ipb-following-dot;
> .class-icon {
width: 20px;
margin-left: 5px;
vertical-align: baseline;
}
}
}
/* chart */
@@ -203,10 +181,6 @@ $ipb-tile--manage-brick--top-list--margin-top: $common-spacing-500 !default;
font-size: $ipb-tile--manage-brick--badge--label--font-size;
}
/* top list */
.ipb-tile--manage-brick--top-list {
}
/***********************/

View File

@@ -1,3 +1,4 @@
@import "navigation-menu";
@import "page";
@import "home";
@import "home";
@import "tabs";

View File

@@ -1,4 +1,7 @@
/* SCSS variables */
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
.ipb-home .ipb-page--main-wrapper:before{
content: '';
@@ -8,8 +11,6 @@
left: 0;
width: 100%;
height: 100%;
background-image: url("../img/backgrounds/dots-left-top.svg");
background-size: 30%;
background-position-y: top;
background-position-x: left;
background-repeat: no-repeat;
@@ -24,8 +25,6 @@
right: 0;
width: 100%;
height: 100%;
background-image: url("../img/backgrounds/dots-right-bottom.svg");
background-size: 30%;
background-position-y: bottom;
background-position-x: right;
background-repeat: no-repeat;

View File

@@ -1,7 +1,12 @@
@import "../../../../../../node_modules/bulma-scss/utilities/mixins";
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
$ipb-navigation-menu--flex-column-gap: $common-spacing-300 !default;
$ipb-navigation-menu--background-color: $common-color-blue-grey-900 !default;
$ipb-navigation-menu--nav-vertical--width: 60px !default;
$ipb-navigation-menu--nav-vertical--is-expanded--width: 280px !default;
$ipb-navigation-menu--nav-horizontal--height: 56px !default;
@@ -14,16 +19,11 @@ $ipb-navigation-menu--menu-entry--wrapper--flex-column-gap: $common-spacing-500
$ipb-navigation-menu--menu-entry--size: 44px !default;
$ipb-navigation-menu--menu-entry--border-radius: $common-border-radius-500 !default;
$ipb-navigation-menu--menu-entry--padding: $common-spacing-300 !default;
$ipb-navigation-menu--menu-entry--active--icon--color: $common-color-orange-600 !default;
$ipb-navigation-menu--menu-entry--active--color: $common-color-grey-800 !default;
$ipb-navigation-menu--menu-entry--active--background-color: $common-color-white-100 !default;
$ipb-navigation-menu--menu-entry--icon-size: 28px !default;
$ipb-navigation-menu--menu-entry--font-size: 2rem !default;
$ipb-navigation-menu--separator--width: $common-spacing-400 !default;
$ipb-navigation-menu--menu-entry--more--background-color: #455a6447 !default;
$ipb-navigation-menu--user-part--flex-column-gap: $common-spacing-300 !default;
$ipb-navigation-menu--user-card--flex-column-gap: $common-spacing-300;
$ipb-navigation-menu--user-card--photo--background-color: #585653 !default;
$ipb-navigation-menu--user-card--photo--size: 36px !default;
$dropdown-menu--items-remainder--padding: $common-spacing-300 !default;
$dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !default;
@@ -36,18 +36,12 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
display: flex;
flex-direction: column;
border-radius: 0 $ipb-navigation-menu--border-radius $ipb-navigation-menu--border-radius 0;
background-color: $ipb-navigation-menu--background-color;
column-gap: $ipb-navigation-menu--flex-column-gap;
// in expanded state
&.ipb-is-expanded {
width: $ipb-navigation-menu--nav-vertical--is-expanded--width;
// expand menu toggle animation
.ipb-navigation-menu--top-part--toggle--expand-menu {
@include ipb-toggle-nav-animated-chevron-right;
}
// make menu entry fill available space
.ipb-navigation-menu--menu-entry--brick-item {
width: 100%;
@@ -83,11 +77,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
}
// expand toggle menu
.ipb-navigation-menu--top-part--toggle--expand-menu {
@include ipb-toggle-nav;
}
// SEPARATOR ////////////////////////////////////////////
.ipb-navigation-menu--separator {
@@ -102,7 +91,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
display: flex;
flex-direction: column;
padding: 0 $ipb-navigation-menu--middle-part--is-vertical--padding;
@include ipb-scrollbar;
}
// menu entries
@@ -119,22 +107,10 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
// entry wrapper
.ipb-navigation-menu--menu-entry--wrapper {
// entry title
.ipb-navigation-menu--menu-entry--title {
@include ipb-text-overflow-ellipsis;
@extend %common-font-ral-nor-200;
}
&.active .ipb-navigation-menu--menu-entry {
background-color: $ipb-navigation-menu--menu-entry--active--background-color;
color: $ipb-navigation-menu--menu-entry--active--color;
.ipb-navigation-menu--menu-entry--icon {
color: $ipb-navigation-menu--menu-entry--active--icon--color;
}
}
}
// menu entry
@@ -151,8 +127,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
align-items: center;
column-gap: $ipb-navigation-menu--menu-entry--wrapper--flex-column-gap;
border-radius: $ipb-navigation-menu--menu-entry--border-radius;
color: whitesmoke;
@include ipb-transition(#{"background-color, color"});
// entry icon
.ipb-navigation-menu--menu-entry--icon {
@@ -161,13 +135,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
font-size: $ipb-navigation-menu--menu-entry--font-size;
text-align: center;
}
// hover and focus effect
&:hover, &:focus:not(.ipb-not-focusable) {
color: white;
background-color: $common-color-blue-grey-700;
}
}
// drop down items remainder
@@ -178,7 +145,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
// drop down menu items remainder
.ipb-dropdown-menu--items-remainder {
padding: $dropdown-menu--items-remainder--padding;
background-color: $ipb-navigation-menu--background-color;
border-bottom-left-radius: $dropdown-menu--items-remainder--border-radius;
border-bottom-right-radius: $dropdown-menu--items-remainder--border-radius;
-webkit-box-shadow: none;
@@ -195,7 +161,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
display: flex;
align-items: center;
column-gap: $ipb-navigation-menu--user-part--flex-column-gap;
background-color: $common-color-grey-800;
border-radius: 0 0 $ipb-navigation-menu--border-radius 0;
// toggle mobile menu
@@ -213,7 +178,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
align-items: center;
justify-content: center;
@extend %common-font-ral-nor-150;
color: white !important;
text-decoration: none;
overflow-x: hidden;
@@ -226,7 +190,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
background-size: 100%;
background-position: center center;
background-repeat: no-repeat;
background-color: $ipb-navigation-menu--user-card--photo--background-color;
border-radius: 100%;
}
@@ -242,23 +205,12 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
.ipb-navigation-menu--user-card--name {
flex-grow: 1;
overflow-x: hidden;
> div {
@include ipb-text-overflow-ellipsis;
}
}
}
}
// MOBILE MENU ////////////////////////////////////////////
// mobile open toggle menu
.ipb-navigation-menu--user-part--toggle--open-mobile-menu {
@include ipb-toggle-nav;
}
// mobile menu overlay
.ipb-navigation-menu-overlay {
display: none;
@@ -267,7 +219,6 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
top: $ipb-navigation-menu--nav-horizontal--height;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.28);
z-index: 9998;
}
@@ -405,9 +356,7 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
width: 100%;
max-height: 0;
padding: 0 12px;
background-color: $ipb-navigation-menu--background-color;
z-index: 9999;
@include ipb-transition(max-height, ease, 0.5s);
.ipb-navigation-menu--menu-entries {
margin: 15px 0;
@@ -457,15 +406,7 @@ $dropdown-menu--items-remainder--border-radius: $common-border-radius-700 !defau
.ipb-navigation-menu--middle-part {
max-height: 100%;
}
// toggle animation
.ipb-navigation-menu--user-part--toggle--open-mobile-menu {
@include ipb-toggle-nav-animated-cross;
}
}
}
}
}

View File

@@ -1,13 +1,16 @@
@import "../../../../../../node_modules/bulma-scss/utilities/mixins";
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
/* SCSS variables */
$ipb-page--main-wrapper--padding: $common-spacing-600 $common-spacing-700 !default;
$ipb-page--main-header--margin-bottom: $common-size-250 !default;
$ipb-page--main-header--information--title--font-size: $common-font-size-450 !default;
$ipb-page--main-header--information--title--color: $common-base-variable--text-color !default;
$ipb-page--main-header--information--subtitle--padding: $common-spacing-200 !default;
$ipb-page--main-header--information--subtitle--font-size: $common-font-size-250 !default;
$ipb-page--main-header--information--subtitle--color: $common-base-variable--text-color !default;
html {
font-size: 12px;
@@ -48,16 +51,10 @@ body{
.ipb-page--main-header--information--title{
font-size: $ipb-page--main-header--information--title--font-size;
font-weight: bold;
color: $ipb-page--main-header--information--title--color;
> span:nth-child(2) {
@include ipb-following-dot;
}
}
.ipb-page--main-header--information--subtitle{
font-size: $ipb-page--main-header--information--subtitle--font-size;
color: $ipb-page--main-header--information--subtitle--color;
padding: $ipb-page--main-header--information--subtitle--padding;
max-width: 1400px;
}
@@ -76,7 +73,6 @@ body{
.ipb-copyright {
text-decoration: none !important;
color: $common-color-secondary-800;
}
@include mobile {
@@ -97,6 +93,5 @@ body{
width: 100%;
}
}
}

View File

@@ -0,0 +1,42 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-tabs--tab--badge--border-radius: $common-border-radius-500 !default;
$ipb-tabs--tab--badge--padding-y: 3px !default;
$ipb-tabs--tab--badge--padding-x: 5px !default;
$ipb-tabs--tab--badge--margin-left: $common-spacing-200 !default;
$ipb-tabs--tab--active--indicator--width: $common-size-150 !default;
$ipb-tabs--tab--active--indicator--height: $ipb-tabs--tab--active--indicator--width !default;
$ipb-tabs--tab--active--indicator--margin-right: $common-spacing-300 !default;
$ipb-tabs--tab--active--indicator--border-radius: $common-border-radius-full !default;
.ipb-tabs.nav-pills > li{
> a {
display: flex;
align-items: center;
@extend %common-font-ral-med-150;
> .badge {
border-radius: $ipb-tabs--tab--badge--border-radius;
padding: $ipb-tabs--tab--badge--padding-y $ipb-tabs--tab--badge--padding-x;
margin-left: $ipb-tabs--tab--badge--margin-left;
}
}
&.active > a {
&:before {
content: " ";
display: inline-block;
width: $ipb-tabs--tab--active--indicator--width;
height: $ipb-tabs--tab--active--indicator--height;
margin-right: $ipb-tabs--tab--active--indicator--margin-right;
border-radius: $ipb-tabs--tab--active--indicator--border-radius;
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,6 @@
@import "utils/variables/path";
@import 'common/main.scss';
@import "utils/all";
@import "mixins";
@import "components/all";
@import "vendors/all";
@import "pages/all";

View File

@@ -1,8 +0,0 @@
/*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-body-text-color: $ipb-color-grey-900 !default;
$ipb-body-background-color: $ipb-color-white-200 !default;

View File

@@ -1,2 +1,3 @@
@import "browse-brick";
@import "manage-brick";
@import "manage-brick";
@import "object-brick";

View File

@@ -1,47 +1,44 @@
@import "../../../../../../../node_modules/bulma-scss/utilities/mixins";
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ipb-browse-brick--mosaic-item--highlight-color: $common-color-blue-800, $common-color-orange-800, $common-color-green-800, $common-color-pink-800, $common-color-cyan-800, $common-color-yellow-800, $common-color-purple-800;
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
$ipb-browse-brick-panel--row--margin: $common-spacing-0 !default;
$ipb-browse-brick-panel--brick-content-toolbar--padding: $common-spacing-400 !default;
$ipb-content-mosaic--padding: $common-spacing-0 !default;
$ipb-browse-brick--mosaic-breadcrumb--padding: $common-spacing-200 !default;
$ipb-browse-brick--mosaic-breadcrumb--active--color: $common-color-grey-800 !default;
$ipb-browse-brick--mosaic-breadcrumb--a--color: $common-color-primary-800 !default;
$ipb-browse-brick--mosaic--small--grid-template-columns: 100% !default;
$ipb-browse-brick--mosaic--medium--grid-template-columns: 50% 50% !default;
$ipb-browse-brick--mosaic--large--grid-template-columns: 33.3% 33.3% 33.3% !default;
$ipb-browse-brick--mosaic--gap: $common-spacing-300 !default;
$ipb-browse-brick--mosaic--small--grid-template-columns: 1fr !default;
$ipb-browse-brick--mosaic--medium--grid-template-columns: repeat(2, 1fr) !default;
$ipb-browse-brick--mosaic--large--grid-template-columns: repeat(3, 1fr) !default;
$ipb-browse-brick--mosaic-group-item--min-height: $common-size-550 !default;
$ipb-browse-brick--mosaic-group-item--height: auto !default;
$ipb-browse-brick--mosaic-group-item--width: 100% !default;
$ipb-browse-brick--mosaic-group-item--margin: $common-spacing-0 !default;
$ipb-browse-brick--mosaic-group-item--color: $common-base-variable--text-color !default;
$ipb-browse-brick--mosaic-group-item--border: 1px solid $common-color-grey-300 !default;
$ipb-browse-brick--mosaic-group-item--border-radius: $common-border-radius-300 !default;
$ipb-browse-brick--mosaic-group-item--animation--transform-x: -20px !default;
$ipb-browse-brick--mosaic-group-item--actions--top: $common-spacing-500 !default;
$ipb-browse-brick--mosaic-group-item--actions--right: $common-spacing-500 !default;
$ipb-browse-brick--mosaic-item--height: 100% !default;
$ipb-browse-brick--mosaic-item--padding: $common-spacing-500 !default;
$ipb-browse-brick--mosaic-item--padding: $common-spacing-600 !default;
$ipb-browse-brick--mosaic-item--margin: $common-spacing-0 !default;
$ipb-browse-brick--mosaic-item--background-color: $common-color-white-100 !default;
$ipb-browse-brick--mosaic-item--color: $common-base-variable--text-color !default;
$ipb-browse-brick--mosaic-item--hover--background-color: $common-color-grey-200 !default;
$ipb-browse-brick--mosaic-item--hover--color: $common-color-grey-800 !default;
$ipb-browse-brick--mosaic-item--border-radius: $ipb-browse-brick--mosaic-group-item--border-radius !default;
$ipb-browse-brick--mosaic-item-description--color: $common-color-grey-800 !default;
$ipb-browse-brick--mosaic-item-image--height: 44px !default;
$ipb-browse-brick--mosaic-item-image--width: 44px !default;
$ipb-browse-brick--mosaic-item-image--border-radius: $common-border-radius-700 !default;
$ipb-browse-brick--mosaic-item-image--padding: $common-spacing-0 !default;
$ipb-browse-brick--mosaic-item-image--margin-bottom: $common-spacing-500 !default;
$ipb-browse-brick--mosaic-item-image--background-color: common-adjust-alpha($common-color-blue-700, .1) !default;
$ipb-browse-brick--mosaic-item-image--color: $common-color-blue-700 !default;
$ipb-browse-brick--mosaic-item-image--img--height: $common-size-300 !default;
@@ -52,19 +49,12 @@ $ipb-browse-brick-panel--dataTables_wrapper--padding-y: $common-size-200 !defaul
$ipb-browse-brick-panel--dataTables_wrapper--row--div--padding-x: $common-size-200 !default;
$ipb-browse-brick-panel--dataTables_wrapper--row--div--padding-y: $common-size-0 !default;
$ipb-browse-brick--tree-item--color: $common-color-grey-900 !default;
$ipb-browse-brick--tree-item--hyperlink--color: $common-hyperlink-color !default;
$ipb-browse-brick--tree-item-filter-data--color: $common-color-grey-500 !default;
$ipb-browse-brick--tree-item-filter-data--padding-top: $common-spacing-300 !default;
$ipb-browse-brick--tree-item-filter-data--margin-top: $common-spacing-300 !default;
$ipb-browse-brick--tree-item-filter-data--item--margin-y: $common-spacing-0 !default;
$ipb-browse-brick--tree-item-filter-data--item--margin-x: $common-spacing-300 !default;
$ipb-browse-brick--tree-item--description--margin-top: $common-spacing-200 !default;
$ipb-browse-brick--tree-item--description--color: $common-color-grey-800 !default;
$ipb-browse-brick--tree-item--wrapper--padding-top: $common-spacing-500 !default;
$ipb-browse-brick--tree-item--wrapper--color: inherit !default;
$ipb-browse-brick--tree-item-image--height: $common-size-350 !default;
$ipb-browse-brick--tree-item-image--width: $common-size-350 !default;
@@ -80,13 +70,19 @@ $ipb-browse-brick--tree-item-image--has-glyphicon--margin-right: $common-spacing
$ipb-browse-brick--tree-item--has-glyphicon--description--margin-left: 19px !default;
$ipb-browse-brick--list-group-item--padding-y: $common-spacing-400 !default;
$ipb-browse-brick--list-group-item--padding-x: $common-spacing-500 !default;
$ipb-browse-brick--list-group-item--padding: $common-spacing-0 !default;
$ipb-browse-brick--list-group-item--padding-left: $common-spacing-500 !default;
$ipb-browse-brick--list-group-item--margin-bottom: -1px !default;
$ipb-browse-brick--list-group-item--background-color: $common-color-white-100 !default;
$ipb-browse-brick--list-group-item--border: 1px solid $common-color-grey-400 !default;
$ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
$ipb-browse-brick--list-group--margin-bottom: $common-spacing-0 !default;
$ipb-browse-brick--list-group-item--tree-item-wrapper--padding-bottom: $common-spacing-500 !default;
$ipb-browse-brick--list-group--tree--margin: $common-spacing-0 !default;
$ipb-browse-brick--no-item--illustration--max-width: 100% !default;
$ipb-browse-brick--no-item--illustration--padding-y: $common-spacing-600 !default;
$ipb-browse-brick--no-item--illustration--padding-x: $common-spacing-500 !default;
$ipb-browse-brick--no-item--illustration--svg--max-width: $common-size-700 !default;
// Common
@@ -109,26 +105,21 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
width: 100% !important;
}
// Mosaic view
// Mosaic view
#brick_content_mosaic{
padding: $ipb-content-mosaic--padding;
}
#mosaic-breadcrumb {
padding: $ipb-browse-brick--mosaic-breadcrumb--padding;
a {
color: $ipb-browse-brick--mosaic-breadcrumb--a--color;
}
.active {
color: $ipb-browse-brick--mosaic-breadcrumb--active--color;
}
}
.mosaic-group {
display: grid;
animation: opacity 0.3s ease-out;
transition: all 1s;
animation-delay: 0.2s;
gap: $ipb-browse-brick--mosaic--gap;
@include touch {
grid-template-columns: $ipb-browse-brick--mosaic--small--grid-template-columns;
}
@@ -154,68 +145,7 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
height: $ipb-browse-brick--mosaic-group-item--height;
width: $ipb-browse-brick--mosaic-group-item--width;
margin: $ipb-browse-brick--mosaic-group-item--margin;
color: $ipb-browse-brick--mosaic-group-item--color;
opacity: 0;
transform: translateX($ipb-browse-brick--mosaic-group-item--animation--transform-x); /* Move from left */
animation: mosaicGroupItemFadeInLeft 0.3s ease-out forwards;
animation-delay: calc(var(--delay) * var(--index));
@for $i from 1 through length($ipb-browse-brick--mosaic-item--highlight-color) {
&:nth-child(#{length($ipb-browse-brick--mosaic-item--highlight-color)}n + #{$i}) .mosaic-item-image {
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), .1);
color: nth($ipb-browse-brick--mosaic-item--highlight-color, $i);
}
}
@include touch {
border-bottom: $ipb-browse-brick--mosaic-group-item--border;
border-right: $ipb-browse-brick--mosaic-group-item--border;
border-right: none;
&:last-child {
border-bottom: none; // Remove bottom border from last element
}
}
// TODO: could be cleaned up, but desktop to widescreen needs to not affect fullhd
@include desktop-only {
border-bottom: $ipb-browse-brick--mosaic-group-item--border;
border-right: $ipb-browse-brick--mosaic-group-item--border;
// Remove bottom border only from elements in the last row
&:last-child, // Last element
&:nth-last-child(2):nth-child(2n - 1) { // Second-last element if it's in the same row as last element
border-bottom: none;
}
}
@include widescreen-only {
border-bottom: $ipb-browse-brick--mosaic-group-item--border;
border-right: $ipb-browse-brick--mosaic-group-item--border;
// Remove bottom border only from elements in the last row
&:last-child, // Last element
&:nth-last-child(2):nth-child(2n - 1) { // Second-last element if it's in the same row as last element
border-bottom: none;
}
}
@include fullhd {
border-bottom: $ipb-browse-brick--mosaic-group-item--border;
border-right: $ipb-browse-brick--mosaic-group-item--border;
&:nth-child(3n) {
border-right: none;
}
// Remove bottom border from elements in the last row only
&:last-child, // Last element
&:nth-last-child(2):nth-child(3n - 1), // Second-last element if in same row as last
&:nth-last-child(2):nth-child(3n - 2), // Second-last element if in same row as last
&:nth-last-child(3):nth-child(3n - 2) { // Third-last element if in same row as last
border-bottom: none;
}
}
border-radius: $ipb-browse-brick--mosaic-group-item--border-radius;
> .mosaic-group-item-actions {
position: absolute;
@@ -224,16 +154,6 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
}
}
@keyframes mosaicGroupItemFadeInLeft {
from {
opacity: 0;
transform: translateX($ipb-browse-brick--mosaic-group-item--animation--transform-x);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.mosaic-item {
display: flex;
@@ -241,16 +161,8 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
height: $ipb-browse-brick--mosaic-item--height;
padding: $ipb-browse-brick--mosaic-item--padding;
margin: $ipb-browse-brick--mosaic-item--margin;
background-color: $ipb-browse-brick--mosaic-item--background-color;
color: $ipb-browse-brick--mosaic-item--color;
border-radius: $ipb-browse-brick--mosaic-item--border-radius;
transition: background-color 0.3s linear;
&:hover {
background-color: $ipb-browse-brick--mosaic-item--hover--background-color;
color: $ipb-browse-brick--mosaic-item--hover--color;
}
}
@@ -265,7 +177,6 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
.mosaic-item-description {
@extend %common-font-ral-nor-150;
color: $ipb-browse-brick--mosaic-item-description--color;
}
}
@@ -276,8 +187,6 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
padding: $ipb-browse-brick--mosaic-item-image--padding;
margin-bottom: $ipb-browse-brick--mosaic-item-image--margin-bottom;
border-radius: $ipb-browse-brick--mosaic-item-image--border-radius;
background-color: $ipb-browse-brick--mosaic-item-image--background-color;
color: $ipb-browse-brick--mosaic-item-image--color;
align-items: center;
justify-content: center;
text-transform: capitalize;
@@ -304,54 +213,50 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
}
// Tree view
.tree-item {
align-self: center;
}
.list-group-item .list-group-item-text, .tree-item {
color: $ipb-browse-brick--tree-item--color;
@extend %common-font-ral-bol-150;
& a {
@extend %common-font-size-150;
color: $ipb-browse-brick--tree-item--hyperlink--color;
}
}
.list-group.tree .list-group-item .list-group-item-description {
display: block;
margin-top: $ipb-browse-brick--tree-item--description--margin-top;
color: $ipb-browse-brick--tree-item--description--color;
@extend %common-font-ral-nor-100;
}
.list-group-item .tree-item-wrapper .tree-item-filter-data {
padding-top: $ipb-browse-brick--tree-item-filter-data--padding-top;
color: $ipb-browse-brick--tree-item-filter-data--color;
margin-top: $ipb-browse-brick--tree-item-filter-data--margin-top;
@extend %common-font-ral-med-100;
> span:not(:last-child):after {
content: '';
margin: $ipb-browse-brick--tree-item-filter-data--item--margin-y $ipb-browse-brick--tree-item-filter-data--item--margin-x;
}
a {
font-size: $common-font-size-100 !important;
}
}
#brick_content_tree .list-group-item>.tree-item-wrapper {
display: flex;
padding-top: $ipb-browse-brick--tree-item--wrapper--padding-top;
color: $ipb-browse-brick--tree-item--wrapper--color;
text-decoration: inherit;
cursor: pointer
}
.list-group-item {
#brick_content_tree .list-group-item {
display: block;
position: relative;
padding: $ipb-browse-brick--list-group-item--padding-y $ipb-browse-brick--list-group-item--padding-x;
padding: $ipb-browse-brick--list-group-item--padding $ipb-browse-brick--list-group-item--padding $ipb-browse-brick--list-group-item--padding $ipb-browse-brick--list-group-item--padding-left;
margin-bottom: $ipb-browse-brick--list-group-item--margin-bottom;
background-color: $ipb-browse-brick--list-group-item--background-color;
border: $ipb-browse-brick--list-group-item--border;
border-bottom: none;
@for $i from 1 through length($ipb-browse-brick--mosaic-item--highlight-color) {
&:nth-child(#{length($ipb-browse-brick--mosaic-item--highlight-color)}n + #{$i - 1}) > .tree-item-wrapper .tree-item-image {
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), .1);
color: nth($ipb-browse-brick--mosaic-item--highlight-color, $i);
}
}
}
@@ -388,20 +293,29 @@ $ipb-browse-brick--list-group-margin-bottom: $common-spacing-0 !default;
margin-left: $ipb-browse-brick--tree-item--has-glyphicon--description--margin-left;
}
.list-group .list-group-item:hover {
background-color: transparent;
}
.list-group{
margin-bottom: $ipb-browse-brick--list-group-margin-bottom;
margin-bottom: $ipb-browse-brick--list-group--margin-bottom;
}
#brick_content_tree .list-group-item > .tree-item-wrapper {
padding-bottom: 16px;
padding-bottom: $ipb-browse-brick--list-group-item--tree-item-wrapper--padding-bottom;
}
.list-group-item {
padding: 0 16px;
}
.list-group.tree {
margin: 0;
margin: $ipb-browse-brick--list-group--tree--margin;
}
.ipb-browse-brick--no-item--illustration {
width: $ipb-browse-brick--no-item--illustration--max-width;
display: flex;
flex-direction: column;;
padding: $ipb-browse-brick--no-item--illustration--padding-y $ipb-browse-brick--no-item--illustration--padding-x;
> svg {
max-width: $ipb-browse-brick--no-item--illustration--svg--max-width;
height: inherit;
align-self: center;
}
}
.ipb-browse-brick--no-item--text {
@extend %common-font-ral-med-300;
}

View File

@@ -1,50 +1,87 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-manage-brick--panel--body--padding-y: $common-spacing-500 !default;
$ipb-manage-brick--panel--body--padding-x: $common-spacing-0 !default;
$ipb-manage-brick--panel--body--datatable--padding-y: $common-spacing-200 !default;
$ipb-manage-brick--panel--body--datatable--padding-x: $common-spacing-0 !default;
$ipb-manage-brick--panel--body--datatable--row--margin: $common-spacing-0 !default;
$ipb-manage-brick--panel--body--datatable--row--padding-y: $common-spacing-0 !default;
$ipb-manage-brick--panel--body--datatable--row--padding-x: $common-spacing-400 !default;
$ipb-manage-brick--panel--body--table--margin-top: $common-spacing-500 !default;
$ipb-manage-brick--no-result--illustration--width: 100% !default;
$ipb-manage-brick--no-result--illustration--padding-y: $common-spacing-600 !default;
$ipb-manage-brick--no-result--illustration--padding-x: $common-spacing-500 !default;
$ipb-manage-brick--no-result--illustration--svg--max-width: $common-size-700 !default;
.ipb-manage-brick--panel--body {
padding: 15px 0;
padding: $ipb-manage-brick--panel--body--padding-y $ipb-manage-brick--panel--body--padding-x 0 $ipb-manage-brick--panel--body--padding-x;
> .dataTables_wrapper {
padding: 15px 0;
padding: $ipb-manage-brick--panel--body--datatable--padding-y $ipb-manage-brick--panel--body--datatable--padding-x;
> .row {
margin: 0;
margin: $ipb-manage-brick--panel--body--datatable--row--margin;
> div {
padding: 0 12px;
padding: $ipb-manage-brick--panel--body--datatable--row--padding-y $ipb-manage-brick--panel--body--datatable--row--padding-x;
}
}
}
}
.ipb-manage-brick--panel--body--table {
margin-top: 16px !important;
margin-top: $ipb-manage-brick--panel--body--table--margin-top !important;
}
.ipb-manage-brick--export-action {
color: $common-color-grey-800;
}
.ipb-manage-brick--export-action--icon {
float: right;
}
$ipb-manage-brick--pie-chart--colors:
$common-color-blue-400 $common-color-blue-950 "rgb(44, 160, 44)",
$common-color-blue-500 $common-color-blue-950 "rgb(214, 39, 40)",
$common-color-blue-600 $common-color-blue-100 "rgb(148, 103, 189)",
$common-color-blue-700 $common-color-blue-100 "rgb(140, 86, 75)",
$common-color-blue-800 $common-color-blue-100 "rgb(227, 119, 194)",
$common-color-blue-900 $common-color-blue-100 "rgb(127, 127, 127)",
$common-color-blue-950 $common-color-blue-100 "rgb(188, 189, 34)",
$common-color-blue-100 $common-color-blue-950 "rgb(23, 190, 207)",
$common-color-blue-200 $common-color-blue-950 "rgb(31, 119, 180)",
$common-color-blue-300 $common-color-blue-950 "rgb(255, 127, 14)"
!default;
.ipb-export--feedback {
display: flex;
flex-direction: column;
}
@each $background, $text, $originalColor in $ipb-manage-brick--pie-chart--colors {
.c3-chart-arc path[style="fill: #{$originalColor}; cursor: pointer; opacity: 1;"] {
fill: $background !important;
.ipb-export-message {
@extend %common-font-ral-med-150;
margin: $common-spacing-300 $common-spacing-0;
}
.c3-legend-item-tile[style="stroke: #{$originalColor}; pointer-events: none;"] {
stroke: $background !important;
.ipb-export--illustration {
align-self: center;
margin: 24px 0;
max-width: $common-size-650;
max-height: $common-size-650;
> svg {
max-width: 100%;
height: 100%;
}
}
.c3-chart-arc:has(path[style="fill: #{$originalColor}; cursor: pointer; opacity: 1;"]) text {
fill: $text !important;
.ipb-manage-brick--no-result--illustration {
width: $ipb-manage-brick--no-result--illustration--width;
display: flex;
flex-direction: column;;
padding: $ipb-manage-brick--no-result--illustration--padding-y $ipb-manage-brick--no-result--illustration--padding-x;
> svg {
max-width: $ipb-manage-brick--no-result--illustration--svg--max-width;
height: inherit;
align-self: center;
}
}
.ipb-manage-brick--no-result--text {
@extend %common-font-ral-med-300;
}

View File

@@ -0,0 +1,24 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-object-brick--url-to-clipboard--opacity: 0.5 !default;
$ipb-object-brick--url-to-clipboard-tooltip-copied--margin-right: $common-spacing-200!default;
.url-to-clipboard{
&.url-to-clipboard-icon {
opacity: $ipb-object-brick--url-to-clipboard--opacity;
cursor: pointer;
transition: opacity 0.2s linear;
&:hover {
opacity: 1;
}
}
}
// Used for clipboard's tooltip, which is not part of .url-to-clipboard element
.url-to-clipboard-tooltip-copied {
margin-right: $ipb-object-brick--url-to-clipboard-tooltip-copied--margin-right;
}

File diff suppressed because one or more lines are too long

View File

@@ -15,10 +15,10 @@
*
* You should have received a copy of the GNU Affero General Public License
*/
@import '../../../../../css/common/main.scss';
@import 'common/main.scss';
@import 'variables.scss';
@import "utils/all";
@import '../../../../../node_modules/ckeditor5-itop-build/build/styles/compiled-theme';
@import '../node_modules/ckeditor5-itop-build/build/styles/compiled-theme';
/*!
* Combodo portal template v1.0.0
@@ -228,25 +228,6 @@ footer{
text-align: center;
}
/*******************/
/* Clipboard icons */
/*******************/
.url-to-clipboard{
&.url-to-clipboard-icon {
opacity: 0.5;
cursor: pointer;
transition: opacity 0.2s linear;
&:hover {
opacity: 1;
}
}
}
// Used for clipboard's tooltip, which is not part of .url-to-clipboard element
.url-to-clipboard-tooltip-copied {
color: green;
margin-right: 3px;
}
/**************************/
/* MagnificPopup settings */
/**************************/
@@ -294,201 +275,6 @@ footer{
padding-top: 15px;
}
//.home .tile{
// display: block;
// margin-bottom: 8px;
// padding: 0em 1em;
// min-height: 4em;
// background-color: $white;
// background-image: none;
// border: none;
// border-radius: 0px;
// text-align: center;
// text-decoration: none;
// white-space: normal;
// line-height: 4em;
// box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
//}
//.home .tile .tile_decoration{
// position: absolute;
// top: 0.3em;
// left: 2.5em;
//}
//.home .tile .tile_title{
// font-weight: bold;
// color: $gray;
//}
//
//.home .tile .tile_title > span.icon {
// color: $combodo-orange;
//}
//
//.home .tile .tile_description{
// display: none;
// color: #555555;
//}
//
//
///**********************************/
///* ManageBrick badge tile display */
///**********************************/
//.home a.tile.tile_badge > div {
// display: table;
// width: 100%;
//}
//
//.home a.tile.tile_badge > div > div {
// display: table-row;
//}
//
//.home a.tile.tile_badge > div > div > div {
// display: table-cell;
//}
//
//@media (max-width: 768px) {
// .home a.tile.tile_badge > div > div > div.tile_body div.tile_count {
// position: absolute;
// top: 0em;
// right: 2em;
// text-align: right;
// font-size: 1.2em;
// }
// .home a.tile.tile_badge > div.tile_description {
// display: none;
// }
//}
//@media (min-width: 768px) {
// .home .tile{
// display: block;
// margin-bottom: 25px;
// padding: 40px 40px 30px 40px;
// min-height: 10em;
// text-align: left;
// transition: all 0.2s linear;
// }
// .home .tile:hover{
// box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.10);
// }
// .home .tile .tile_decoration{
// display: block;
// position: relative;
// float: left;
// top: 1.5em;
// left: initial;
// margin: 0px 30px 15px 0px;
// }
// .home .tile .tile_body{
// display: block;
// padding-left: 4.3em;
// text-align: left;
// line-height: 1.5em;
// }
// .home .tile .tile_title{
// margin-bottom: 1em;
// font-size: 1.0em;
// }
// .home .tile .tile_description{
// display: block;
// text-align: left;
// }
//
// .home a.tile.tile_badge{
// height: 10em;
// overflow: hidden;
// }
// .home a.tile.tile_badge > div > div > div.tile_decoration{
// top: unset;
// vertical-align: middle;
// }
// .home a.tile.tile_badge > div > div > div.tile_decoration > span.icon {
// font-size: 4em;
// }
// .home a.tile.tile_badge > div > div > div.tile_body{
// position: relative;
// padding: 0;
// margin: 0;
// vertical-align: middle;
// text-align: right;
// }
// .home a.tile.tile_badge > div > div > div.tile_body .tile_title{
// margin-top: 1em;
// margin-bottom: 0;
// font-size: 1em;
// font-weight: normal;
// }
// .home a.tile.tile_badge > div > div > div.tile_body .tile_count{
// position: absolute;
// top: 0;
// right: 0;
// font-size: 2em;
// font-weight: bold;
// color: $gray;
// }
// .home a.tile.tile_badge .tile_description{
// display: none;
// }
//}
//@media (min-width: 992px) {
// .home .tile{
// min-height: 14em;
// padding: 30px 40px 30px 40px;
// }
// .home .tile .tile_decoration > span.icon{
// font-size: 4em;
// }
// .home .tile .tile_body{
// padding-left: 6.3em;
// }
// .home .tile .tile_title{
// font-size: 1.4em;
// }
// .home .tile .tile_description{
// font-size: 1.2em;
// }
//
// .home a.tile.tile_badge > div > div > div.tile_body .tile_title{
// font-size: 1.2em;
// }
// .home a.tile.tile_badge > div > div > div.tile_body .tile_count{
// font-size: 3em;
// }
// .home a.tile.tile_badge > div > div > div.tile_decoration > span.icon {
// font-size: 4em;
// }
// .home a.tile.tile_badge .tile_description{
// display: block;
// font-size: 1em;
// text-align: center;
// }
//}
//@media (min-width: 1200px) {
// .home .tile{
// margin-bottom: 40px;
// min-height: 15em;
// padding: 40px 50px 30px 50px;
// }
// .home .tile .tile_decoration{
// margin: 0px 40px 15px 0px;
// top: 1.5em;
// }
// .home .tile .tile_decoration > span.icon{
// font-size: 6em;
// }
// .home .tile .tile_body{
// padding-left: 9.1em;
// }
// .home .tile .tile_title{
// font-size: 1.5em;
// }
// .home .tile .tile_description{
// font-size: 1.2em;
// }
//
// .home a.tile.tile_badge > div > div > div.tile_decoration > span.icon {
// font-size: 6em;
// }
//}
/********************/
/* Modules settings */
/********************/
@@ -508,13 +294,7 @@ footer{
#main-header-actions{
margin-bottom: 15px;
}
/* This is no longer necessary but we keep it just in case */
/*#main-header-actions .btn-group .btn{
padding: 0em 1.5em;
line-height: 2.4em;
font-size: 14px;
background-image: none;
}*/
@media (min-width: 768px) {
#main-header:after{
clear: both;
@@ -692,22 +472,6 @@ table .group-actions a.glyphicon-menu-hamburger{
font-size: 1em;
}
/* tree list filter data */
.list-group-item .tree-item-wrapper .tree-item-filter-data{
padding-top: 8px;
color: $gray;
font-size: .9em;
}
/* tree list filter data span items */
.list-group-item .tree-item-wrapper .tree-item-filter-data span:not(:last-child):after{
content: '';
margin: 0 5px;
}
/* tree list filter data label span items */
.list-group-item .tree-item-wrapper .tree-item-filter-data .tree-item-filter-data-label{
font-weight: bold;
}
/****************************************************************/
/* - Mosaic mode */
@@ -793,26 +557,7 @@ table .group-actions a.glyphicon-menu-hamburger{
@extend .ck-content;
}
.form_field_label > .control-label[data-tooltip-instantiated="true"] {
&::after {
content: "\1F6C8";
padding-left: 3px;
vertical-align: top;
cursor: pointer;
color: $gray;
font-size: 0.85em;
font-weight: 200;
}
}
.form_field .form_mandatory .control-label:after{
content: "\1F6C8";
position: relative;
left: 3px;
color: $brand-primary;
font-size: 0.9em;
font-weight: 200;
};
/* Note: We don't put the .form_field selector as it must work for read-only */
.form-control-static img{
max-width: 100% !important;

View File

@@ -1,3 +1,9 @@
@import 'common/main.scss';
/* Import shame first as we want to override some of its styles */
@import "shame";
@import "../utils/all";
@import "utils/all";
@import "pages/all";
@import "components/all";
@import "vendors/all";
@import "layout/all";
@import "shame";

View File

@@ -1,35 +1,22 @@
/*!
* Copyright (C) 2013-2024 Combodo SAS
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
@import 'variables.scss';
/*!
/*
* Combodo portal theme v2.7.0
* Based on Bootswatch Simplex
*/
/*!
/*
* bootswatch v3.3.5
* Homepage: http://bootswatch.com
* Copyright 2012-2015 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*/
/*!
/*
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -49,10 +36,6 @@
html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
body {
color: $text-color;
background-color: $body-bg;
}
input,
button,
select,
@@ -1374,15 +1357,6 @@ th {
.table-bordered>thead>tr>td {
border-bottom-width: 2px
}
.table-striped>tbody>tr:nth-of-type(odd) {
background-color: $table-bg-accent;
}
.table-striped>tbody>tr:hover {
background-color: $table-bg-hover;
}
.table-hover>tbody>tr:hover {
background-color: $table-bg-hover;
}
table col[class*="col-"] {
position: static;
float: none;
@@ -1394,111 +1368,6 @@ table th[class*="col-"] {
float: none;
display: table-cell
}
.table>thead>tr>td.active,
.table>tbody>tr>td.active,
.table>tfoot>tr>td.active,
.table>thead>tr>th.active,
.table>tbody>tr>th.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>tbody>tr.active>td,
.table>tfoot>tr.active>td,
.table>thead>tr.active>th,
.table>tbody>tr.active>th,
.table>tfoot>tr.active>th {
background-color: #f5f5f5
}
.table-hover>tbody>tr>td.active:hover,
.table-hover>tbody>tr>th.active:hover,
.table-hover>tbody>tr.active:hover>td,
.table-hover>tbody>tr:hover>.active,
.table-hover>tbody>tr.active:hover>th {
background-color: #e8e8e8
}
.table>thead>tr>td.success,
.table>tbody>tr>td.success,
.table>tfoot>tr>td.success,
.table>thead>tr>th.success,
.table>tbody>tr>th.success,
.table>tfoot>tr>th.success,
.table>thead>tr.success>td,
.table>tbody>tr.success>td,
.table>tfoot>tr.success>td,
.table>thead>tr.success>th,
.table>tbody>tr.success>th,
.table>tfoot>tr.success>th {
background-color: $state-success-bg
}
.table-hover>tbody>tr>td.success:hover,
.table-hover>tbody>tr>th.success:hover,
.table-hover>tbody>tr.success:hover>td,
.table-hover>tbody>tr:hover>.success,
.table-hover>tbody>tr.success:hover>th {
background-color: #d0e9c6
}
.table>thead>tr>td.info,
.table>tbody>tr>td.info,
.table>tfoot>tr>td.info,
.table>thead>tr>th.info,
.table>tbody>tr>th.info,
.table>tfoot>tr>th.info,
.table>thead>tr.info>td,
.table>tbody>tr.info>td,
.table>tfoot>tr.info>td,
.table>thead>tr.info>th,
.table>tbody>tr.info>th,
.table>tfoot>tr.info>th {
background-color: $state-info-bg
}
.table-hover>tbody>tr>td.info:hover,
.table-hover>tbody>tr>th.info:hover,
.table-hover>tbody>tr.info:hover>td,
.table-hover>tbody>tr:hover>.info,
.table-hover>tbody>tr.info:hover>th {
background-color: #c4e3f3
}
.table>thead>tr>td.warning,
.table>tbody>tr>td.warning,
.table>tfoot>tr>td.warning,
.table>thead>tr>th.warning,
.table>tbody>tr>th.warning,
.table>tfoot>tr>th.warning,
.table>thead>tr.warning>td,
.table>tbody>tr.warning>td,
.table>tfoot>tr.warning>td,
.table>thead>tr.warning>th,
.table>tbody>tr.warning>th,
.table>tfoot>tr.warning>th {
background-color: $state-warning-bg
}
.table-hover>tbody>tr>td.warning:hover,
.table-hover>tbody>tr>th.warning:hover,
.table-hover>tbody>tr.warning:hover>td,
.table-hover>tbody>tr:hover>.warning,
.table-hover>tbody>tr.warning:hover>th {
background-color: #faf2cc
}
.table>thead>tr>td.danger,
.table>tbody>tr>td.danger,
.table>tfoot>tr>td.danger,
.table>thead>tr>th.danger,
.table>tbody>tr>th.danger,
.table>tfoot>tr>th.danger,
.table>thead>tr.danger>td,
.table>tbody>tr.danger>td,
.table>tfoot>tr.danger>td,
.table>thead>tr.danger>th,
.table>tbody>tr.danger>th,
.table>tfoot>tr.danger>th {
background-color: $state-danger-bg
}
.table-hover>tbody>tr>td.danger:hover,
.table-hover>tbody>tr>th.danger:hover,
.table-hover>tbody>tr.danger:hover>td,
.table-hover>tbody>tr:hover>.danger,
.table-hover>tbody>tr.danger:hover>th {
background-color: #ebcccc
}
.table-responsive {
overflow-x: auto;
min-height: 0.01%
@@ -3165,31 +3034,16 @@ select[multiple].input-group-sm>.input-group-btn>.btn {
border: 1px solid #dddddd
}
@media (min-width: 768px) {
.nav-tabs.nav-justified>li>a {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #dddddd;
border-radius: $border-radius-base $border-radius-base 0 0
}
.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:hover,
.nav-tabs.nav-justified>.active>a:focus {
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
border-bottom-color: #fcfcfc
}
}
.nav-pills>li {
float: left
}
.nav-pills>li>a {
border-radius: $border-radius-base
}
.nav-pills>li+li {
margin-left: 2px
}
.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
color: #ffffff;
background-color: $brand-primary
}
.nav-stacked>li {
float: none
}
@@ -4061,9 +3915,7 @@ a.badge:focus {
text-decoration: none;
cursor: pointer
}
.list-group .list-group-item:hover{
background-color: rgba(254, 223, 167, 0.1);
}
.list-group-item.active>.badge,
.nav-pills>.active>a>.badge {
color: $brand-primary;
@@ -6084,37 +5936,6 @@ table.dataTable{
}
}
}
/* ManageBrick grouping tabs. Should be placed somewhere else? */
.grouping_tabs{
&.nav-pills > li > a{
color: #444;
background-color: #F5F5F5;
&:hover,
&:focus{
text-decoration: none;
background-color: #DDDDDD;
}
> .badge{
color: #ea7d1e;;
background-color: transparent;
}
}
&.nav-pills > li.active{
> a,
> a:hover,
> a:focus{
color: #444;
background-color: #FCFCFC;
}
}
}
/* Temp */
.label{

View File

@@ -1,4 +1,9 @@
/* SCSS variables */
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-alert--message--color: $ipb-body-text-color !default;
$ipb-alert--icon--font-size: $common-font-size-300 !default;
$ipb-alert--icon--width: 24px !default;
@@ -29,9 +34,7 @@ $ipb-alerts-colors: (
)
) !default;
.ipb-page--session-messages .ipb-alert {
margin-left: $ipb-alert--margin-x;
margin-right: $ipb-alert--margin-x;
.ipb-alert {
margin-bottom: $ipb-alert--margin-bottom;
background-color: $ipb-alert--background-color;
color: $ipb-alert--message--color;
@@ -50,6 +53,11 @@ $ipb-alerts-colors: (
}
}
.ipb-page--session-messages .ipb-alert {
margin-left: $ipb-alert--margin-x;
margin-right: $ipb-alert--margin-x;
}
// for each alert level....
@each $name, $alert-color in $ipb-alerts-colors {
@@ -58,8 +66,8 @@ $ipb-alerts-colors: (
$icon: map-get($alert-color, "icon");
$background-color: common-adjust-alpha($color, .1);
.ipb-alert.alert-#{$name} {
background: linear-gradient(113deg, $background-color 0px, $background-color 60px, transparent 60px), white;
.ipb-alert.alert-#{$name}, .ipb-alert.ipb-is-#{$name} {
background: linear-gradient(113deg, $background-color 0px, $background-color 60px, transparent 60px), $ipb-alert--background-color;
border-left-color: $color;
&:before {

View File

@@ -1,7 +1,13 @@
@import "alert";
@import "button";
@import "caselog";
@import "datatables";
@import "dropdown";
@import "form";
@import "illustration";
@import "input";
@import "modal";
@import "nav";
@import "navigation-menu";
@import "panel";
@import "progress-bar";
@import "tile";

View File

@@ -1,33 +1,299 @@
/* SCSS variables */
$btn--border-radius: $common-border-radius-300 !default;
$btn--active--color: $common-color-white-100 !default;
$btn--active--background-color: $common-color-blue-grey-900 !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
.btn{
border-radius: $btn--border-radius !important;
}
.btn.active{
background-color: #263238 !important;
color: $btn--active--color !important;
}
.btn-group .btn:first-child{
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.btn-group .btn:last-child{
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
// todo
.btn.btn-secondary:hover {
color: unset;
}
.btn.btn-secondary:active {
color: unset;
/* SCSS variables (can be overloaded) */
$ipb-button-colors: (
'' : (
'primary': (
'': (
$ipb-color-blue-800,
$ipb-color-white-100,
$ipb-color-blue-900
),
':hover': (
$ipb-color-blue-700,
$ipb-color-white-100,
$ipb-color-blue-800
),
':active': (
$ipb-color-blue-900,
$ipb-color-white-100,
$ipb-color-blue-950
),
':disabled': (
$ipb-color-blue-200,
$ipb-color-blue-600,
$ipb-color-blue-300
),
),
'default': (
'': (
$ipb-color-white-100,
$ipb-color-grey-800,
$ipb-color-grey-600
),
':hover': (
$ipb-color-grey-100,
$ipb-color-grey-900,
$ipb-color-grey-700
),
':active': (
$ipb-color-grey-200,
$ipb-color-grey-900,
$ipb-color-grey-700
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'success': (
'': (
$ipb-color-success-900,
$ipb-color-white-100,
$ipb-color-success-900
),
':hover': (
$ipb-color-success-800,
$ipb-color-green-100,
$ipb-color-success-900
),
':active': (
$ipb-color-success-950,
$ipb-color-green-100,
$ipb-color-success-950
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'warning': (
'': (
$ipb-color-warning-700,
$ipb-color-white-100,
$ipb-color-warning-900
),
':hover': (
$ipb-color-warning-600,
$ipb-color-warning-100,
$ipb-color-warning-700
),
':active': (
$ipb-color-warning-800,
$ipb-color-warning-100,
$ipb-color-warning-900
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'danger': (
'': (
$ipb-color-danger-800,
$ipb-color-white-100,
$ipb-color-danger-900
),
':hover': (
$ipb-color-danger-700,
$ipb-color-danger-100,
$ipb-color-danger-800
),
':active': (
$ipb-color-danger-900,
$ipb-color-danger-100,
$ipb-color-danger-950
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'info': (
'': (
$ipb-color-information-800,
$ipb-color-white-100,
$ipb-color-information-900
),
':hover': (
$ipb-color-information-700,
$ipb-color-information-100,
$ipb-color-information-800
),
':active': (
$ipb-color-information-900,
$ipb-color-information-100,
$ipb-color-information-950
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
),
'alternative' : (
'primary': (
'': (
$ipb-color-transparent,
$ipb-color-blue-800,
$ipb-color-transparent
),
':hover': (
$ipb-color-blue-100,
$ipb-color-blue-900,
$ipb-color-blue-100
),
':active': (
$ipb-color-blue-200,
$ipb-color-blue-900,
$ipb-color-blue-200
),
':disabled': (
$ipb-color-blue-200,
$ipb-color-blue-600,
$ipb-color-blue-300
),
),
'default': (
'': (
$ipb-color-transparent,
$ipb-color-grey-800,
$ipb-color-transparent
),
':hover': (
$ipb-color-grey-200,
$ipb-color-grey-900,
$ipb-color-grey-200
),
':active': (
$ipb-color-grey-300,
$ipb-color-grey-900,
$ipb-color-grey-300
),
':disabled': (
$ipb-color-transparent,
$ipb-color-grey-500,
$ipb-color-transparent
),
),
'success': (
'': (
$ipb-color-transparent,
$ipb-color-success-900,
$ipb-color-transparent
),
':hover': (
$ipb-color-success-100,
$ipb-color-success-900,
$ipb-color-success-100
),
':active': (
$ipb-color-success-200,
$ipb-color-success-900,
$ipb-color-success-200
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'warning': (
'': (
$ipb-color-transparent,
$ipb-color-warning-800,
$ipb-color-transparent
),
':hover': (
$ipb-color-warning-100,
$ipb-color-warning-900,
$ipb-color-warning-100
),
':active': (
$ipb-color-warning-200,
$ipb-color-warning-900,
$ipb-color-warning-200
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'danger': (
'': (
$ipb-color-transparent,
$ipb-color-danger-800,
$ipb-color-transparent
),
':hover': (
$ipb-color-danger-100,
$ipb-color-danger-800,
$ipb-color-danger-100
),
':active': (
$ipb-color-danger-200,
$ipb-color-danger-800,
$ipb-color-danger-200
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
'info': (
'': (
$ipb-color-transparent,
$ipb-color-information-800,
$ipb-color-transparent
),
':hover': (
$ipb-color-information-100,
$ipb-color-information-800,
$ipb-color-information-100
),
':active': (
$ipb-color-information-200,
$ipb-color-information-800,
$ipb-color-information-200
),
':disabled': (
$ipb-color-grey-200,
$ipb-color-grey-700,
$ipb-color-grey-300
),
),
),
) !default;
$ipb-button--background-color: $ipb-color-white-100 !default;
$ipb-button--color: $ipb-color-blue-800 !default;
$ipb-button--border-color:$ipb-color-blue-700 !default;
$ipb-button--border: solid 1px $ipb-button--border-color !default;
.ipb-button, .btn{
background-color: $ipb-button--background-color !important;
color: $ipb-button--color !important;
border: $ipb-button--border;
@each $sType, $aColors in $ipb-button-colors {
@each $sColor, $sPseudoClasses in $aColors {
@each $sPseudoClass, $sAttributes in $sPseudoClasses {
&.ipb-is-#{$sColor}#{if($sType != '', ".ipb-is-#{$sType}", '')}#{$sPseudoClass}, &.btn-#{$sColor}#{if($sType != '', ".#{$sType}", '')}#{$sPseudoClass} {
background-color: nth($sAttributes, 1) !important;
color: nth($sAttributes, 2) !important;
border-color: nth($sAttributes, 3) !important;
}
}
}
}
}

View File

@@ -0,0 +1,285 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$messaging-self-primary-color: $ipb-color-blue-100 !default;
$messaging-self-secondary-color: $ipb-color-blue-800 !default;
$messaging-1st-peer-primary-color: $ipb-color-white-100 !default;
$messaging-1st-peer-secondary-color: $ipb-color-grey-400 !default;
$messaging-2nd-peer-primary-color: $ipb-color-white-100 !default;
$messaging-2nd-peer-secondary-color: $ipb-color-grey-400 !default;
$messaging-2nd-peer-secondary-color: $ipb-color-grey-400 !default;
$messaging-3rd-peer-primary-color: $ipb-color-white-100 !default;
$messaging-3rd-peer-secondary-color: $ipb-color-grey-300 !default;
$messaging-4th-peer-primary-color: $ipb-color-white-100 !default;
$messaging-4th-peer-secondary-color: $ipb-color-grey-400 !default;
$messaging-5th-peer-primary-color: $ipb-color-white-100 !default;
$messaging-5th-peer-secondary-color: $ipb-color-grey-400 !default;
$ipb-caselog-thread--border-color: $ipb-color-grey-400 !default;
$ipb-caselog-thread--border: 1px solid $ipb-caselog-thread--border-color !default;
$ipb-caselog-thread--header--background-color: $ipb-color-white-100 !default;
$ipb-caselog-thread--header--span--color: $ipb-color-grey-800 !default;
$ipb-caselog-thread--header-toggler--color: inherit !default;
$ipb-caselog-thread--header-toggler--hover--active-focus--color: inherit !default;
$ipb-caselog-thread--content--background-color: $ipb-color-grey-100 !default;
$ipb-caselog-thread--date--color: $ipb-color-grey-800 !default;
$ipb-caselog-thread--block-medallion--block-entries--border-color: $ipb-color-grey-200 !default;
$ipb-caselog-thread--block-medallion--block-entries--border: 1px solid $ipb-caselog-thread--block-medallion--block-entries--border-color !default;
$ipb-caselog-thread--block-medallion--color: $ipb-color-blue-800 !default;
$ipb-caselog-thread--block-medallion--background-color: $ipb-color-blue-100 !default;
$ipb-caselog-thread--block-user--color: $ipb-caselog-thread--block-medallion--color !default;
$ipb-caselog-thread--block-entries--background-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-entries--color: $ipb-caselog-thread--block-medallion--color !default;
$ipb-caselog-thread--block-entry--border-bottom-color: $ipb-color-grey-200 !default;
$ipb-caselog-thread--block-entry--border-bottom: 1px solid $ipb-caselog-thread--block-entry--border-bottom-color !default;
$ipb-caselog-thread--block-entry-toggler--background-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-me--block-entry--first--content--border-left-color: transparent !default;
$ipb-caselog-thread--block-me--block-entry--first--content--border-right-color: $ipb-caselog-thread--block-medallion--background-color !default;
$ipb-caselog-thread--block-colors: (
1: ($ipb-color-white-100, $ipb-color-grey-700),
2: ($ipb-color-white-100, $ipb-color-grey-700),
3: ($ipb-color-white-100, $ipb-color-grey-700),
4: ($ipb-color-white-100, $ipb-color-grey-700),
5: ($ipb-color-white-100, $ipb-color-grey-700)
);
.ipb-caselog-thread {
border: $ipb-caselog-thread--border;
}
.ipb-caselog-thread--header{
background-color: $ipb-caselog-thread--header--background-color;
span{
color: $ipb-caselog-thread--header--span--color;
}
}
.ipb-caselog-thread--header-toggler{
color: $ipb-caselog-thread--header-toggler--color;
&:hover,
&:active,
&:focus{
color: $ipb-caselog-thread--header-toggler--hover--active-focus--color;
}
}
.ipb-caselog-thread--block-medallion,
.ipb-caselog-thread--block-entries{
border: $ipb-caselog-thread--block-medallion--block-entries--border;
}
.ipb-caselog-thread--content{
background-color: $ipb-caselog-thread--content--background-color;
}
.ipb-caselog-thread--date {
color: $ipb-caselog-thread--date--color;
}
.ipb-caselog-thread--block-medallion{
color: $ipb-caselog-thread--block-medallion--color; /* .ipb-caselog-thread--block-entries color */
background-color: $ipb-caselog-thread--block-medallion--background-color; /* .ipb-caselog-thread--block-entries background-color */
}
.ipb-caselog-thread--block-user{
color: $ipb-caselog-thread--block-user--color; /* .ipb-caselog-thread--block-entries background-color */
}
.ipb-caselog-thread--block-entries{
background-color: $ipb-caselog-thread--block-entries--background-color;
color: $ipb-caselog-thread--block-entries--color;
}
.ipb-caselog-thread--block-entry {
border-bottom: $ipb-caselog-thread--block-entry--border-bottom;
}
.ipb-caselog-thread--block-entry-toggler{
background-color: $ipb-caselog-thread--block-entry-toggler--background-color; /* .ipb-caselog-thread--block-entries background-color */
}
.ipb-caselog-thread--block-me{
.ipb-caselog-thread--block-entries{
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-right-color: $ipb-caselog-thread--block-me--block-entry--first--content--border-left-color;
border-left-color: $ipb-caselog-thread--block-me--block-entry--first--content--border-right-color; /* .ipb-caselog-thread--block-entries background-color */
}
}
}
}
.ipb-caselog-thread--block-color-1{
.ipb-caselog-thread--block-medallion{
color: $messaging-1st-peer-secondary-color;
background-color: $messaging-1st-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-1st-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-1st-peer-secondary-color;
background-color: $messaging-1st-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-1st-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-1st-peer-primary-color;
border-right-color: $messaging-1st-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-2{
.ipb-caselog-thread--block-medallion{
color: $messaging-2nd-peer-secondary-color;
background-color: $messaging-2nd-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-2nd-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-2nd-peer-secondary-color;
background-color: $messaging-2nd-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-2nd-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-2nd-peer-primary-color;
border-right-color: $messaging-2nd-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-3{
.ipb-caselog-thread--block-medallion{
color: $messaging-3rd-peer-secondary-color;
background-color: $messaging-3rd-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-3rd-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-3rd-peer-secondary-color;
background-color: $messaging-3rd-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-3rd-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-3rd-peer-primary-color;
border-right-color: $messaging-3rd-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-4{
.ipb-caselog-thread--block-medallion{
color: $messaging-4th-peer-secondary-color;
background-color: $messaging-4th-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-4th-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-4th-peer-secondary-color;
background-color: $messaging-4th-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-4th-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-4th-peer-primary-color;
border-right-color: $messaging-4th-peer-primary-color;
}
}
}
}
.ipb-caselog-thread--block-color-5{
.ipb-caselog-thread--block-medallion{
color: $messaging-5th-peer-secondary-color;
background-color: $messaging-5th-peer-primary-color;
}
.ipb-caselog-thread--block-user{
color: $messaging-5th-peer-primary-color;
}
.ipb-caselog-thread--block-entries{
color: $messaging-5th-peer-secondary-color;
background-color: $messaging-5th-peer-primary-color;
.ipb-caselog-thread--block-entry{
.ipb-caselog-thread--block-entry-toggler{
background-color: $messaging-5th-peer-primary-color;
}
}
.ipb-caselog-thread--block-entry:first-child{
.ipb-caselog-thread--block-entry-content:before{
border-top-color: $messaging-5th-peer-primary-color;
border-right-color: $messaging-5th-peer-primary-color;
}
}
}
}
@each $index, $colors in $ipb-caselog-thread--block-colors {
.ipb-caselog-thread--block-color-#{$index} {
.ipb-caselog-thread--block-medallion {
color: nth($colors, 2);
background-color: nth($colors, 1);
}
.ipb-caselog-thread--block-user {
color: nth($colors, 1);
}
.ipb-caselog-thread--block-entries {
color: nth($colors, 2);
background-color: nth($colors, 1);
.ipb-caselog-thread--block-entry {
.ipb-caselog-thread--block-entry-toggler {
background-color: nth($colors, 1);
}
}
.ipb-caselog-thread--block-entry:first-child {
.ipb-caselog-thread--block-entry-content:before {
border-top-color: nth($colors, 1);
border-right-color: nth($colors, 1);
}
}
}
}
}

View File

@@ -1,3 +1,9 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ibo-vendors-datatables--column-sorting-icon--opacity: 0.3 !default;
$ibo-vendors-datatables--column-sorting-icon--opacity--is-sorted: 1 !default;
$ibo-vendors-datatables--column-sorting-icon--content: "\f0dc" !default;
@@ -40,13 +46,6 @@ table.table > tfoot > tr > td {
vertical-align: middle;
}
table.table > thead > tr > th {
border-bottom-width: 0px;
}
table.table-striped > tbody > tr:hover {
background-color: $common-color-blue-grey-50;
}
table .ipb-table--actions--wrapper {
display: flex;

View File

@@ -0,0 +1,33 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-dropdown--background-color: $ipb-color-white-100 !default;
$ipb-dropdown--border-color: $ipb-color-grey-300 !default;
$ipb-dropdown--border: 1px solid $ipb-dropdown--border-color !default;
$ipb-dropdown--li--background-color: $ipb-dropdown--background-color !default;
$ipb-dropdown--a--color: $ipb-color-grey-900 !default;
$ipb-dropdown--li--hover--background-color: $ipb-color-grey-200 !default;
$ipb-dropdown--li--hover--a--color: $ipb-color-grey-800 !default;
ipb-dropdown {
background-color: $ipb-dropdown--background-color;
border: $ipb-dropdown--border;
li {
background-color: $ipb-dropdown--li--background-color;
a {
color: $ipb-dropdown--a--color;
}
&:hover {
background: $ipb-dropdown--li--hover--background-color;
a {
color: $ipb-dropdown--li--hover--a--color;
}
}
}
}

View File

@@ -0,0 +1,37 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb--fieldset--background-color: $ipb-color-grey-50 !default;
$ipb--fieldset--border-color: $ipb-color-grey-200 !default;
$ipb--fieldset--border: 1px solid $ipb--fieldset--border-color !default;
$ipb--fieldset--inside--fieldset--background-color: $ipb-color-grey-100 !default;
$ipb-field--has-tooltip--content: "\f05a" !default;
$ipb-field--has-tooltip--color: $ipb-color-grey-700 !default;
$ipb-field--is-mandatory--content: "\f069" !default;
$ipb-field--is-mandatory--color: $ipb-color-primary-700 !default;
.form_fields {
fieldset {
background-color: $ipb--fieldset--background-color;
border: $ipb--fieldset--border;
fieldset {
background-color: $ipb--fieldset--inside--fieldset--background-color;
}
}
}
.form_field_label > .control-label[data-tooltip-instantiated="true"]:after {
content: $ipb-field--has-tooltip--content;
color: $ipb-field--has-tooltip--color;
}
.form_field .form_mandatory .control-label:after{
content: $ipb-field--is-mandatory--content;
color: $ipb-field--is-mandatory--color;
};

View File

@@ -0,0 +1,11 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-svg-illustration--fill: $ipb-color-primary-700 !default;
.ipb-svg-illustration--container > svg *[fill="#6c63ff"]{
fill: $ipb-svg-illustration--fill;
}

View File

@@ -1,7 +1,27 @@
/* SCSS variables */
$form-control--border-radius: $common-border-radius-300 !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-form-control--color: $common-color-grey-800 !default;
$ipb-form-control--is-focused--border-color: $common-color-primary-700 !default;
$ipb-input-group-addon--border-color: $ipb-color-grey-300 !default;
$ipb-input-group-addon--border: 1px solid $ipb-input-group-addon--border-color !default;
$ipb-input-group-addon--background-color: $common-color-grey-100 !default;
$ipb-input-group-addon--color: $common-color-grey-800 !default;
.form-control {
border-radius: $form-control--border-radius!important;
color: $ipb-form-control--color;
&:focus {
border-color: $ipb-form-control--is-focused--border-color;
}
}
.input-group-addon {
border: $ipb-input-group-addon--border;
background-color: $ipb-input-group-addon--background-color;
color: $ipb-input-group-addon--color;
}

View File

@@ -0,0 +1,62 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-modal--header--background-color: $ipb-color-white-100 !default;
$ipb-modal--header--color: $ipb-color-grey-900 !default;
$ipb-modal--header--close--color: $ipb-color-grey-900 !default;
$ipb-modal--header--close--opacity: 1 !default;
$ipb-modal--header--close--hover--color: $ipb-color-grey-700 !default;
$ipb-modal--backdrop--opacity: 0.6 !default;
$ipb-modal--backdrop--background-color: $ipb-color-blue-grey-800 !default;
$ipb-modal--backdrop--backdrop-filter: blur(2px) !default;
$ipb-modal--content--border-color: $ipb-color-grey-400 !default;
$ipb-modal--content--border: 1px solid $ipb-modal--content--border-color !default;
$ipb-modal--title--color: $ipb-modal--header--color !default;
$ipb-modal--title--span--separator--background-color: $ipb-color-grey-800 !default;
.modal .modal-dialog{
.modal-header {
background-color: $ipb-modal--header--background-color;
color: $ipb-modal--header--color;
}
}
.modal-backdrop.in {
background-color: common-adjust-alpha($ipb-modal--backdrop--background-color, $ipb-modal--backdrop--opacity);
backdrop-filter: $ipb-modal--backdrop--backdrop-filter;
}
.modal-content {
border: $ipb-modal--content--border;
}
.modal-header {
.close {
color: $ipb-modal--header--close--color;
opacity: $ipb-modal--header--close--opacity;
&:hover {
color: $ipb-modal--header--close--hover--color;
}
}
}
.modal-title {
color: $ipb-modal--title--color !important;
span ~ span {
&:before {
background-color: $ipb-modal--title--span--separator--background-color;
}
}
}

View File

@@ -1,4 +1,9 @@
/* SCSS variables */
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$nav-pills--li--border-radius: $common-border-radius-300 !default;
.nav-pills > li > a{

View File

@@ -1,10 +0,0 @@
.nav > li {
display: flex;
}
.nav > li > a {
display: flex;
}
.navbar-default .navbar-nav > li > a {
color: $common-color-grey-300;
}

View File

@@ -1,8 +1,27 @@
/* SCSS variables */
$panel--border-radius: $common-border-radius-300!default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-panel--border-color: $ipb-color-grey-400 !default;
$ipb-panel--border: 1px solid $ipb-panel--border-color !default;
$ipb-panel--background-color: $ipb-color-white-100 !default;
$ipb-panel--heading--border-color: $ipb-color-grey-400 !default;
$ipb-panel--heading--background-color: $ipb-color-grey-100 !default;
$ipb-panel--heading--color: $ipb-color-grey-800 !default;
.panel{
.ipb-panel, .panel{
box-shadow: none;
border: $ipb-panel--border;
background-color: $ipb-panel--background-color;
&.panel-default .panel-heading {
border-color: $ipb-panel--heading--border-color;
background-color: $ipb-panel--heading--background-color;
color: $ipb-panel--heading--color;
}
}

View File

@@ -0,0 +1,14 @@
$ipb-progress--background-color: $ipb-color-grey-200 !default;
$ipb-progress--bar--background-color: $ipb-color-primary-700 !default;
$ipb-progress--bar--color: $ipb-color-white-100 !default;
.ipb-progress, .progress {
background-color: $ipb-progress--background-color;
}
.ipb-progress--bar, .progress-bar {
background-color: $ipb-color-primary-700;
color: $ipb-progress--bar--color;
}

View File

@@ -0,0 +1,61 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-tile--background-color: $ipb-color-white-100 !default;
$ipb-tile--border-color: $ipb-color-grey-200 !default;
$ipb-tile--border: 1px solid $ipb-tile--border-color!default;
$ipb-tile--decoration--opacity: 0.1 !default;
$ipb-tile--decoration--background-color: common-adjust-alpha($ipb-color-blue-700, $ipb-tile--decoration--opacity) !default;
$ipb-tile--decoration--hover--opacity: 0.25 !default;
$ipb-tile--decoration--hover--background-color: common-adjust-alpha($ipb-tile--decoration--background-color, $ipb-tile--decoration--hover--opacity) !default;
$ipb-tile--decoration--icon--color: $ipb-color-blue-700 !default;
$ipb-tile--title--color: $common-base-variable--text-color !default;
$ipb-tile--description--color: $common-base-variable--text-color !default;
.ipb-tile{
background-color: $ipb-tile--background-color;
border: $ipb-tile--border;
&[data-role="navigation-trigger"] {
@include ipb-heavy-animated-border;
}
}
.ipb-tile--decoration {
background-color: $ipb-tile--decoration--background-color;
}
.ipb-tile:hover {
.ipb-tile--decoration {
background-color: $ipb-tile--decoration--hover--background-color;
}
}
.ipb-tile--decoration--icon {
&.icon {
color: $ipb-tile--decoration--icon--color;
}
}
.ipb-tile--title{
color: $ipb-tile--title--color;
}
.ipb-tile--description{
color: $ipb-tile--description--color;
}
.ipb-tile--manage .ipb-tile--title {
> span:first-child {
@include ipb-text-overflow-ellipsis;
}
> span:nth-child(2) {
@include ipb-following-dot;
}
}

View File

@@ -1 +1,4 @@
@import 'page';
@import 'home';
@import 'navigation-menu';
@import 'page';
@import 'tabs';

View File

@@ -0,0 +1,21 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-home--main-wrapper--before--background-image: url("../img/backgrounds/dots-left-top.svg") !default;
$ipb-home--main-wrapper--before--background-size: 30% !default;
$ipb-home--main-wrapper--after--background-image: url("../img/backgrounds/dots-right-bottom.svg") !default;
$ipb-home--main-wrapper--after--background-size: 30% !default;
.ipb-home .ipb-page--main-wrapper:before{
background-image: $ipb-home--main-wrapper--before--background-image;
background-size: $ipb-home--main-wrapper--before--background-size;
}
.ipb-home .ipb-page--main-wrapper:after{
background-image: $ipb-home--main-wrapper--after--background-image;
background-size: $ipb-home--main-wrapper--after--background-size;
}

View File

@@ -0,0 +1,124 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
$ipb-navigation-menu--background-color: $ipb-color-blue-grey-900 !default;
$ipb-navigation-menu--menu-entry--active--icon--color: $ipb-color-primary-600 !default;
$ipb-navigation-menu--menu-entry--active--color: $ipb-color-grey-800 !default;
$ipb-navigation-menu--menu-entry--active--background-color: $ipb-color-white-100 !default;
$ipb-navigation-menu--dropdown-menu--items-remainder--color: $ipb-color-white-200 !default;
$ipb-navigation-menu--dropdown-menu--items-remainder--hover--color: $ipb-color-white-100 !default;
$ipb-navigation-menu--dropdown-menu--items-remainder--hover--background-color: $ipb-color-blue-grey-700 !default;
$ipb-navigation-menu--user-card--color: $ipb-color-white-100 !default;
$ipb-navigation-menu--user-card--photo--background-color: $ipb-color-grey-700 !default;
$ipb-navigation-menu--user-part--background-color: $ipb-color-grey-800 !default;
$ipb-navigation-menu-overlay--opacity: 0.6 !default;
$ipb-navigation-menu-overlay--background-color: $ipb-color-blue-grey-800 !default;
$ipb-navigation-menu-overlay--backdrop-filter: blur(2px) !default;
.ipb-navigation-menu {
background-color: $ipb-navigation-menu--background-color;
&.ipb-is-expanded {
.ipb-navigation-menu--top-part--toggle--expand-menu {
@include ipb-toggle-nav-animated-chevron-right;
}
}
}
.ipb-navigation-menu--top-part--toggle--expand-menu {
@include ipb-toggle-nav;
}
.ipb-navigation-menu--middle-part {
@include ipb-scrollbar;
}
// entry wrapper
.ipb-navigation-menu--menu-entry--wrapper {
.ipb-navigation-menu--menu-entry--title {
@include ipb-text-overflow-ellipsis;
}
&.active .ipb-navigation-menu--menu-entry {
background-color: $ipb-navigation-menu--menu-entry--active--background-color;
color: $ipb-navigation-menu--menu-entry--active--color;
.ipb-navigation-menu--menu-entry--icon {
color: $ipb-navigation-menu--menu-entry--active--icon--color;
}
}
}
// menu entry
.ipb-navigation-menu--menu-entry,
.ipb-dropdown-menu--items-remainder > li > a {
color: $ipb-navigation-menu--dropdown-menu--items-remainder--color;
@include ipb-transition(#{"background-color, color"});
&:hover, &:focus:not(.ipb-not-focusable) {
color: $ipb-navigation-menu--dropdown-menu--items-remainder--hover--color;
background-color: $ipb-navigation-menu--dropdown-menu--items-remainder--hover--background-color;
}
}
.ipb-dropdown-menu--items-remainder {
background-color: $ipb-navigation-menu--background-color;
}
.ipb-navigation-menu--user-part {
background-color: $ipb-navigation-menu--user-part--background-color;
}
.ipb-navigation-menu--user-card {
color: $ipb-navigation-menu--user-card--color !important;
.ipb-navigation-menu--user-card--photo {
background-color: $ipb-navigation-menu--user-card--photo--background-color;
}
.ipb-navigation-menu--user-card--infos {
// username
.ipb-navigation-menu--user-card--name {
> div {
@include ipb-text-overflow-ellipsis;
}
}
}
}
.ipb-navigation-menu-overlay {
background-color: common-adjust-alpha($ipb-navigation-menu-overlay--background-color, $ipb-navigation-menu-overlay--opacity);
backdrop-filter: $ipb-navigation-menu-overlay--backdrop-filter;
}
.ipb-navigation-menu--user-part--toggle--open-mobile-menu {
@include ipb-toggle-nav;
}
@include mobile {
.ipb-body {
.ipb-navigation-menu {
.ipb-navigation-menu--middle-part {
background-color: $ipb-navigation-menu--background-color;
@include ipb-transition(max-height, ease, 0.5s);
}
&.ipb-is-opened {
// toggle animation
.ipb-navigation-menu--user-part--toggle--open-mobile-menu {
@include ipb-toggle-nav-animated-cross;
}
}
}
}
}

View File

@@ -1,4 +1,30 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-copyright--color: $ipb-color-secondary-800 !default;
$ipb-page--main-header--information--title--color: $common-base-variable--text-color !default;
$ipb-page--main-header--information--subtitle--color: $common-base-variable--text-color !default;
body{
@extend %common-font-ral-med-100;
}
.ipb-copyright {
text-decoration: none !important;
}
.ipb-page--main-header--information--title{
color: $ipb-page--main-header--information--title--color;
> span ~ span {
@include ipb-following-dot;
}
}
.ipb-page--main-header--information--subtitle {
color: $ipb-page--main-header--information--subtitle--color;
}

View File

@@ -0,0 +1,51 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-tabs--tab--border-color: $ipb-color-grey-400 !default;
$ipb-tabs--tab--border: solid 1px $ipb-tabs--tab--border-color !default;
$ipb-tabs--tab--background-color: $ipb-color-grey-100 !default;
$ipb-tabs--tab--color: $ipb-color-grey-900 !default;
$ipb-tabs--tab--badge--background-color: transparent !default;
$ipb-tabs--tab--badge--color: $ipb-color-grey-900 !default;
$ipb-tabs--tab--hover--background-color: $ipb-color-grey-300 !default;
$ipb-tabs--tab--hover--color: $ipb-color-grey-900 !default;
$ipb-tabs--tab--badge--hover--background-color: $ipb-tabs--tab--hover--background-color !default;
$ipb-tabs--tab--active--background-color: $ipb-color-white-100 !default;
$ipb-tabs--tab--active--badge--background-color: $ipb-color-grey-200 !default;
$ipb-tabs--tab--active--indicator--background-color: $ipb-color-primary-600 !default;
.ipb-tabs.nav-pills > li{
> a {
background-color: $ipb-tabs--tab--background-color;
color: $ipb-tabs--tab--color;
> .badge {
background-color: $ipb-tabs--tab--badge--background-color;
color: $ipb-tabs--tab--badge--color;
}
border: $ipb-tabs--tab--border;
border-bottom: none;
}
&.active > a {
background-color: $ipb-tabs--tab--active--background-color;
&:before {
background-color: $ipb-tabs--tab--active--indicator--background-color;
}
> .badge {
background-color: $ipb-tabs--tab--active--badge--background-color;
}
}
&:hover > a, & > a:focus {
background-color: $ipb-tabs--tab--hover--background-color;
color: $ipb-tabs--tab--hover--color;
> .badge {
background-color: $ipb-tabs--tab--badge--hover--background-color;
}
}
}

View File

@@ -0,0 +1,2 @@
@import "base";
@import "bricks/all";

View File

@@ -0,0 +1,13 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-body-text-color: $ipb-color-grey-900 !default;
$ipb-body-background-color: $ipb-color-white-200 !default;
body {
color: $ipb-body-text-color;
background-color: $ipb-body-background-color;
}

View File

@@ -0,0 +1,3 @@
@import "browse-brick";
@import "manage-brick";
@import "object-brick";

View File

@@ -0,0 +1,150 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
@import "../node_modules/bulma-scss/utilities/mixins";
$ipb-browse-brick--mosaic-item--highlight-color: $ipb-color-blue-800, $ipb-color-orange-800, $ipb-color-green-800, $ipb-color-pink-800, $ipb-color-cyan-800, $ipb-color-yellow-800, $ipb-color-purple-800;
$ipb-browse-brick--mosaic-breadcrumb--active--color: $ipb-color-grey-800 !default;
$ipb-browse-brick--mosaic-breadcrumb--a--color: $ipb-color-primary-800 !default;
$ipb-browse-brick--mosaic-group-item--color: $common-base-variable--text-color !default;
$ipb-browse-brick--mosaic-group-item--border-color: $ipb-color-grey-300 !default;
$ipb-browse-brick--mosaic-group-item--border: 1px solid $ipb-browse-brick--mosaic-group-item--border-color !default;
$ipb-browse-brick--mosaic-group-item--background-color: $ipb-color-white-100 !default;
$ipb-browse-brick--mosaic-item--background-color: $ipb-color-white-100 !default;
$ipb-browse-brick--mosaic-item--color: $common-base-variable--text-color !default;
$ipb-browse-brick--mosaic-item--hover--color: inherit !default;
$ipb-browse-brick--mosaic-item--hover--background-color--alpha: 0.05 !default;
$ipb-browse-brick--mosaic-item-description--color: $ipb-color-grey-800 !default;
$ipb-browse-brick--mosaic-item-image--background-color: common-adjust-alpha($ipb-color-blue-700, .1) !default;
$ipb-browse-brick--mosaic-item-image--background-color--alpha: 0.1 !default;
$ipb-browse-brick--mosaic-item-image--color: $ipb-color-blue-700 !default;
$ipb-browse-brick-panel--mosaic--background-color: transparent !default;
$ipb-browse-brick-panel--mosaic--border: none !default;
$ipb-browse-brick--tree-item--color: $ipb-color-grey-900 !default;
$ipb-browse-brick--tree-item--hyperlink--color: $common-hyperlink-color !default;
$ipb-browse-brick--tree-item-filter-data--color: $ipb-color-grey-800 !default;
$ipb-browse-brick--tree-item--description--color: $ipb-color-grey-800 !default;
$ipb-browse-brick--tree-item--wrapper--color: inherit !default;
$ipb-browse-brick--list-group-item--background-color: $ipb-color-white-100 !default;
$ipb-browse-brick--list-group-item--border-top-color: $ipb-color-grey-400 !default;
$ipb-browse-brick--list-group-item--border-top: 1px solid $ipb-browse-brick--list-group-item--border-top-color !default;
$ipb-browse-brick--list-group--tree--background-color: $ipb-color-white-100 !default;
$ipb-browse-brick--no-item--text--color: $ipb-color-grey-800 !default;
.page_browse_brick_as_mosaic .ipb-browse-brick-panel{
background-color: $ipb-browse-brick-panel--mosaic--background-color !important;
border: $ipb-browse-brick-panel--mosaic--border !important;
}
#mosaic-breadcrumb {
a {
color: $ipb-browse-brick--mosaic-breadcrumb--a--color;
}
.active {
color: $ipb-browse-brick--mosaic-breadcrumb--active--color;
}
}
.mosaic-group-item {
background-color: $ipb-browse-brick--mosaic-group-item--background-color;
color: $ipb-browse-brick--mosaic-group-item--color;
border: $ipb-browse-brick--mosaic-group-item--border;
@for $i from 1 through length($ipb-browse-brick--mosaic-item--highlight-color) {
&:nth-child(#{length($ipb-browse-brick--mosaic-item--highlight-color)}n + #{$i}){
.mosaic-item:hover{
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), $ipb-browse-brick--mosaic-item--hover--background-color--alpha);
}
.mosaic-item-image {
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), $ipb-browse-brick--mosaic-item-image--background-color--alpha);
color: nth($ipb-browse-brick--mosaic-item--highlight-color, $i);
}
}
}
}
.mosaic-item {
background-color: $ipb-browse-brick--mosaic-item--background-color;
color: $ipb-browse-brick--mosaic-item--color;
&:hover {
color: $ipb-browse-brick--mosaic-item--hover--color;
}
}
.mosaic-item-text {
.mosaic-item-description {
color: $ipb-browse-brick--mosaic-item-description--color;
}
}
.mosaic-item-image {
background-color: $ipb-browse-brick--mosaic-item-image--background-color;
color: $ipb-browse-brick--mosaic-item-image--color;
}
.list-group-item .list-group-item-text, .tree-item {
color: $ipb-browse-brick--tree-item--color;
& a {
color: $ipb-browse-brick--tree-item--hyperlink--color;
}
}
.list-group.tree .list-group-item .list-group-item-description {
color: $ipb-browse-brick--tree-item--description--color;
}
.list-group-item .tree-item-wrapper .tree-item-filter-data {
color: $ipb-browse-brick--tree-item-filter-data--color;
a {
color: $ipb-browse-brick--tree-item-filter-data--color;
}
}
#brick_content_tree .list-group-item>.tree-item-wrapper {;
color: $ipb-browse-brick--tree-item--wrapper--color;
}
#brick_content_tree .list-group-item {
background-color: $ipb-browse-brick--list-group-item--background-color;
border: none;
border-top: $ipb-browse-brick--list-group-item--border-top;
@for $i from 1 through length($ipb-browse-brick--mosaic-item--highlight-color) {
&:nth-child(#{length($ipb-browse-brick--mosaic-item--highlight-color)}n + #{$i - 1}) {
&:hover {
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), $ipb-browse-brick--mosaic-item--hover--background-color--alpha);
}
> .tree-item-wrapper .tree-item-image {
background-color: common-adjust-alpha(nth($ipb-browse-brick--mosaic-item--highlight-color, $i), $ipb-browse-brick--mosaic-item-image--background-color--alpha);
color: nth($ipb-browse-brick--mosaic-item--highlight-color, $i);
}
}
}
}
.list-group.tree {
background-color: $ipb-browse-brick--list-group--tree--background-color;
}
.ipb-browse-brick--no-item--text {
color: $ipb-browse-brick--no-item--text--color;
}

View File

@@ -0,0 +1,41 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-manage-brick--export-action--color: $ipb-color-grey-800 !default;
$ipb-manage-brick--no-result--text--color: $ipb-color-grey-800 !default;
$ipb-manage-brick--pie-chart--colors:
$ipb-color-blue-400 $ipb-color-blue-950 "rgb(44, 160, 44)",
$ipb-color-blue-500 $ipb-color-blue-950 "rgb(214, 39, 40)",
$ipb-color-blue-600 $ipb-color-blue-100 "rgb(148, 103, 189)",
$ipb-color-blue-700 $ipb-color-blue-100 "rgb(140, 86, 75)",
$ipb-color-blue-800 $ipb-color-blue-100 "rgb(227, 119, 194)",
$ipb-color-blue-900 $ipb-color-blue-100 "rgb(127, 127, 127)",
$ipb-color-blue-950 $ipb-color-blue-100 "rgb(188, 189, 34)",
$ipb-color-blue-100 $ipb-color-blue-950 "rgb(23, 190, 207)",
$ipb-color-blue-200 $ipb-color-blue-950 "rgb(31, 119, 180)",
$ipb-color-blue-300 $ipb-color-blue-950 "rgb(255, 127, 14)"
!default;
@each $background, $text, $originalColor in $ipb-manage-brick--pie-chart--colors {
.c3-chart-arc path[style="fill: #{$originalColor}; cursor: pointer; opacity: 1;"] {
fill: $background !important;
}
.c3-legend-item-tile[style="stroke: #{$originalColor}; pointer-events: none;"] {
stroke: $background !important;
}
.c3-chart-arc:has(path[style="fill: #{$originalColor}; cursor: pointer; opacity: 1;"]) text {
fill: $text !important;
}
}
.ipb-manage-brick--export-action {
color: $ipb-manage-brick--export-action--color;
}
.ipb-manage-brick--no-result--text {
color: $ipb-manage-brick--no-result--text--color;
}

View File

@@ -0,0 +1,11 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-object-brick--url-to-clipboard-tooltip-copied--color: $ipb-color-green-500!default;
.url-to-clipboard-tooltip-copied {
color: $ipb-object-brick--url-to-clipboard-tooltip-copied--color;
}

View File

@@ -0,0 +1 @@
@import "variables/all";

View File

@@ -0,0 +1 @@
@import "colors/all";

View File

@@ -0,0 +1,9 @@
/*
* @copyright Copyright (C) 2010-2025Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
@import "base-palette";
@import "semantic-palette";
@import "lifecycle-palette";
@import "skeleton-palette";

View File

@@ -0,0 +1,127 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/*
Base color palette
CSS variables
These are defined in themes/ as utils/ is included thrice and each time these variables are redeclared in the stylesheets
*/
:root {
--ipb-color-white-100: #{$ipb-color-white-100};
--ipb-color-white-200: #{$ipb-color-white-200};
--ipb-color-transparent: #{$ipb-color-transparent};
--ipb-color-grey-50: #{$ipb-color-grey-50};
--ipb-color-grey-100: #{$ipb-color-grey-100};
--ipb-color-grey-200: #{$ipb-color-grey-200};
--ipb-color-grey-300: #{$ipb-color-grey-300};
--ipb-color-grey-400: #{$ipb-color-grey-400};
--ipb-color-grey-500: #{$ipb-color-grey-500};
--ipb-color-grey-600: #{$ipb-color-grey-600};
--ipb-color-grey-700: #{$ipb-color-grey-700};
--ipb-color-grey-800: #{$ipb-color-grey-800};
--ipb-color-grey-900: #{$ipb-color-grey-900};
--ipb-color-grey-950: #{$ipb-color-grey-950};
--ipb-color-blue-grey-50: #{$ipb-color-blue-grey-50};
--ipb-color-blue-grey-100: #{$ipb-color-blue-grey-100};
--ipb-color-blue-grey-200: #{$ipb-color-blue-grey-200};
--ipb-color-blue-grey-300: #{$ipb-color-blue-grey-300};
--ipb-color-blue-grey-400: #{$ipb-color-blue-grey-400};
--ipb-color-blue-grey-500: #{$ipb-color-blue-grey-500};
--ipb-color-blue-grey-600: #{$ipb-color-blue-grey-600};
--ipb-color-blue-grey-700: #{$ipb-color-blue-grey-700};
--ipb-color-blue-grey-800: #{$ipb-color-blue-grey-800};
--ipb-color-blue-grey-900: #{$ipb-color-blue-grey-900};
--ipb-color-blue-grey-950: #{$ipb-color-blue-grey-950};
--ipb-color-blue-100: #{$ipb-color-blue-100};
--ipb-color-blue-200: #{$ipb-color-blue-200};
--ipb-color-blue-300: #{$ipb-color-blue-300};
--ipb-color-blue-400: #{$ipb-color-blue-400};
--ipb-color-blue-500: #{$ipb-color-blue-500};
--ipb-color-blue-600: #{$ipb-color-blue-600};
--ipb-color-blue-700: #{$ipb-color-blue-700};
--ipb-color-blue-800: #{$ipb-color-blue-800};
--ipb-color-blue-900: #{$ipb-color-blue-900};
--ipb-color-blue-950: #{$ipb-color-blue-950};
--ipb-color-cyan-100: #{$ipb-color-cyan-100};
--ipb-color-cyan-200: #{$ipb-color-cyan-200};
--ipb-color-cyan-300: #{$ipb-color-cyan-300};
--ipb-color-cyan-400: #{$ipb-color-cyan-400};
--ipb-color-cyan-500: #{$ipb-color-cyan-500};
--ipb-color-cyan-600: #{$ipb-color-cyan-600};
--ipb-color-cyan-700: #{$ipb-color-cyan-700};
--ipb-color-cyan-800: #{$ipb-color-cyan-800};
--ipb-color-cyan-900: #{$ipb-color-cyan-900};
--ipb-color-cyan-950: #{$ipb-color-cyan-950};
--ipb-color-green-100: #{$ipb-color-green-100};
--ipb-color-green-200: #{$ipb-color-green-200};
--ipb-color-green-300: #{$ipb-color-green-300};
--ipb-color-green-400: #{$ipb-color-green-400};
--ipb-color-green-500: #{$ipb-color-green-500};
--ipb-color-green-600: #{$ipb-color-green-600};
--ipb-color-green-700: #{$ipb-color-green-700};
--ipb-color-green-800: #{$ipb-color-green-800};
--ipb-color-green-900: #{$ipb-color-green-900};
--ipb-color-green-950: #{$ipb-color-green-950};
--ipb-color-orange-100: #{$ipb-color-orange-100};
--ipb-color-orange-200: #{$ipb-color-orange-200};
--ipb-color-orange-300: #{$ipb-color-orange-300};
--ipb-color-orange-400: #{$ipb-color-orange-400};
--ipb-color-orange-500: #{$ipb-color-orange-500};
--ipb-color-orange-600: #{$ipb-color-orange-600};
--ipb-color-orange-700: #{$ipb-color-orange-700};
--ipb-color-orange-800: #{$ipb-color-orange-800};
--ipb-color-orange-900: #{$ipb-color-orange-900};
--ipb-color-orange-950: #{$ipb-color-orange-950};
--ipb-color-red-100: #{$ipb-color-red-100};
--ipb-color-red-200: #{$ipb-color-red-200};
--ipb-color-red-300: #{$ipb-color-red-300};
--ipb-color-red-400: #{$ipb-color-red-400};
--ipb-color-red-500: #{$ipb-color-red-500};
--ipb-color-red-600: #{$ipb-color-red-600};
--ipb-color-red-700: #{$ipb-color-red-700};
--ipb-color-red-800: #{$ipb-color-red-800};
--ipb-color-red-900: #{$ipb-color-red-900};
--ipb-color-red-950: #{$ipb-color-red-950};
--ipb-color-pink-100: #{$ipb-color-pink-100};
--ipb-color-pink-200: #{$ipb-color-pink-200};
--ipb-color-pink-300: #{$ipb-color-pink-300};
--ipb-color-pink-400: #{$ipb-color-pink-400};
--ipb-color-pink-500: #{$ipb-color-pink-500};
--ipb-color-pink-600: #{$ipb-color-pink-600};
--ipb-color-pink-700: #{$ipb-color-pink-700};
--ipb-color-pink-800: #{$ipb-color-pink-800};
--ipb-color-pink-900: #{$ipb-color-pink-900};
--ipb-color-pink-950: #{$ipb-color-pink-950};
--ipb-color-yellow-100: #{$ipb-color-yellow-100};
--ipb-color-yellow-200: #{$ipb-color-yellow-200};
--ipb-color-yellow-300: #{$ipb-color-yellow-300};
--ipb-color-yellow-400: #{$ipb-color-yellow-400};
--ipb-color-yellow-500: #{$ipb-color-yellow-500};
--ipb-color-yellow-600: #{$ipb-color-yellow-600};
--ipb-color-yellow-700: #{$ipb-color-yellow-700};
--ipb-color-yellow-800: #{$ipb-color-yellow-800};
--ipb-color-yellow-900: #{$ipb-color-yellow-900};
--ipb-color-yellow-950: #{$ipb-color-yellow-950};
--ipb-color-purple-100: #{$ipb-color-purple-100};
--ipb-color-purple-200: #{$ipb-color-purple-200};
--ipb-color-purple-300: #{$ipb-color-purple-300};
--ipb-color-purple-400: #{$ipb-color-purple-400};
--ipb-color-purple-500: #{$ipb-color-purple-500};
--ipb-color-purple-600: #{$ipb-color-purple-600};
--ipb-color-purple-700: #{$ipb-color-purple-700};
--ipb-color-purple-800: #{$ipb-color-purple-800};
--ipb-color-purple-900: #{$ipb-color-purple-900};
--ipb-color-purple-950: #{$ipb-color-purple-950};
}

View File

@@ -0,0 +1,29 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/*
Lifecycle palette
CSS variables
These are defined in themes/ as utils/ is included thrice and each time these variables are redeclared in the stylesheets
*/
:root {
--ipb-lifecycle-new-state-primary-color: #{$ipb-lifecycle-new-state-primary-color};
--ipb-lifecycle-new-state-secondary-color: #{$ipb-lifecycle-new-state-secondary-color};
--ipb-lifecycle-neutral-state-primary-color: #{$ipb-lifecycle-neutral-state-primary-color};
--ipb-lifecycle-neutral-state-secondary-color: #{$ipb-lifecycle-neutral-state-secondary-color};
--ipb-lifecycle-waiting-state-primary-color: #{$ipb-lifecycle-waiting-state-primary-color};
--ipb-lifecycle-waiting-state-secondary-color: #{$ipb-lifecycle-waiting-state-secondary-color};
--ipb-lifecycle-success-state-primary-color: #{$ipb-lifecycle-success-state-primary-color};
--ipb-lifecycle-success-state-secondary-color: #{$ipb-lifecycle-success-state-secondary-color};
--ipb-lifecycle-failure-state-primary-color: #{$ipb-lifecycle-failure-state-primary-color};
--ipb-lifecycle-failure-state-secondary-color: #{$ipb-lifecycle-failure-state-secondary-color};
--ipb-lifecycle-frozen-state-primary-color: #{$ipb-lifecycle-frozen-state-primary-color};
--ipb-lifecycle-frozen-state-secondary-color: #{$ipb-lifecycle-frozen-state-secondary-color};
--ipb-lifecycle-active-state-primary-color: #{$ipb-lifecycle-active-state-primary-color};
--ipb-lifecycle-active-state-secondary-color: #{$ipb-lifecycle-active-state-secondary-color};
--ipb-lifecycle-inactive-state-primary-color: #{$ipb-lifecycle-inactive-state-primary-color};
--ipb-lifecycle-inactive-state-secondary-color: #{$ipb-lifecycle-inactive-state-secondary-color};
}

View File

@@ -0,0 +1,94 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/*
Semantic palettes
CSS variables
These are defined in themes/ as utils/ is included thrice and each time these variables are redeclared in the stylesheets
*/
:root {
--ipb-color-primary-100: #{$ipb-color-primary-100};
--ipb-color-primary-200: #{$ipb-color-primary-200};
--ipb-color-primary-300: #{$ipb-color-primary-300};
--ipb-color-primary-400: #{$ipb-color-primary-400};
--ipb-color-primary-500: #{$ipb-color-primary-500};
--ipb-color-primary-600: #{$ipb-color-primary-600};
--ipb-color-primary-700: #{$ipb-color-primary-700};
--ipb-color-primary-800: #{$ipb-color-primary-800};
--ipb-color-primary-900: #{$ipb-color-primary-900};
--ipb-color-primary-950: #{$ipb-color-primary-950};
--ipb-color-secondary-100: #{$ipb-color-secondary-100};
--ipb-color-secondary-200: #{$ipb-color-secondary-200};
--ipb-color-secondary-300: #{$ipb-color-secondary-300};
--ipb-color-secondary-400: #{$ipb-color-secondary-400};
--ipb-color-secondary-500: #{$ipb-color-secondary-500};
--ipb-color-secondary-600: #{$ipb-color-secondary-600};
--ipb-color-secondary-700: #{$ipb-color-secondary-700};
--ipb-color-secondary-800: #{$ipb-color-secondary-800};
--ipb-color-secondary-900: #{$ipb-color-secondary-900};
--ipb-color-secondary-950: #{$ipb-color-secondary-950};
--ipb-color-information-100: #{$ipb-color-information-100};
--ipb-color-information-200: #{$ipb-color-information-200};
--ipb-color-information-300: #{$ipb-color-information-300};
--ipb-color-information-400: #{$ipb-color-information-400};
--ipb-color-information-500: #{$ipb-color-information-500};
--ipb-color-information-600: #{$ipb-color-information-600};
--ipb-color-information-700: #{$ipb-color-information-700};
--ipb-color-information-800: #{$ipb-color-information-800};
--ipb-color-information-900: #{$ipb-color-information-900};
--ipb-color-information-950: #{$ipb-color-information-950};
--ipb-color-success-100: #{$ipb-color-success-100};
--ipb-color-success-200: #{$ipb-color-success-200};
--ipb-color-success-300: #{$ipb-color-success-300};
--ipb-color-success-400: #{$ipb-color-success-400};
--ipb-color-success-500: #{$ipb-color-success-500};
--ipb-color-success-600: #{$ipb-color-success-600};
--ipb-color-success-700: #{$ipb-color-success-700};
--ipb-color-success-800: #{$ipb-color-success-800};
--ipb-color-success-900: #{$ipb-color-success-900};
--ipb-color-success-950: #{$ipb-color-success-950};
--ipb-color-warning-100: #{$ipb-color-warning-100};
--ipb-color-warning-200: #{$ipb-color-warning-200};
--ipb-color-warning-300: #{$ipb-color-warning-300};
--ipb-color-warning-400: #{$ipb-color-warning-400};
--ipb-color-warning-500: #{$ipb-color-warning-500};
--ipb-color-warning-600: #{$ipb-color-warning-600};
--ipb-color-warning-700: #{$ipb-color-warning-700};
--ipb-color-warning-800: #{$ipb-color-warning-800};
--ipb-color-warning-900: #{$ipb-color-warning-900};
--ipb-color-warning-950: #{$ipb-color-warning-950};
--ipb-color-danger-100: #{$ipb-color-danger-100};
--ipb-color-danger-200: #{$ipb-color-danger-200};
--ipb-color-danger-300: #{$ipb-color-danger-300};
--ipb-color-danger-400: #{$ipb-color-danger-400};
--ipb-color-danger-500: #{$ipb-color-danger-500};
--ipb-color-danger-600: #{$ipb-color-danger-600};
--ipb-color-danger-700: #{$ipb-color-danger-700};
--ipb-color-danger-800: #{$ipb-color-danger-800};
--ipb-color-danger-900: #{$ipb-color-danger-900};
--ipb-color-danger-950: #{$ipb-color-danger-950};
--ipb-color-error-100: #{$ipb-color-error-100};
--ipb-color-error-200: #{$ipb-color-error-200};
--ipb-color-error-300: #{$ipb-color-error-300};
--ipb-color-error-400: #{$ipb-color-error-400};
--ipb-color-error-500: #{$ipb-color-error-500};
--ipb-color-error-600: #{$ipb-color-error-600};
--ipb-color-error-700: #{$ipb-color-error-700};
--ipb-color-error-800: #{$ipb-color-error-800};
--ipb-color-error-900: #{$ipb-color-error-900};
--ipb-color-error-950: #{$ipb-color-error-950};
--ipb-caselog-color-highlight-1: #{$ipb-caselog-highlight-color-1};
--ipb-caselog-color-highlight-2: #{$ipb-caselog-highlight-color-2};
--ipb-caselog-color-highlight-3: #{$ipb-caselog-highlight-color-3};
--ipb-caselog-color-highlight-4: #{$ipb-caselog-highlight-color-4};
--ipb-caselog-color-highlight-5: #{$ipb-caselog-highlight-color-5};
}

View File

@@ -0,0 +1,13 @@
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* Skeleton palette
CSS variables
These are defined in themes/ as utils/ is included thrice and each time these variables are redeclared in the stylesheets
*/
:root {
--skeleton-start-color: #{$ipb-skeleton-start-color};
--skeleton-stop-color: #{$ipb-skeleton-stop-color};
}

View File

@@ -0,0 +1 @@
@import "datatables";

View File

@@ -0,0 +1,129 @@
$ipb-vendors--datatables--paginate-button--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), '') !default;
$ipb-vendors--datatables--paginate-button--hover--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':hover') !default;
$ipb-vendors--datatables--paginate-button--focus--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':active') !default;
$ipb-vendors--datatables--paginate-button--disabled--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':disabled') !default;
$ipb-vendors--datatables--paginate-button--active--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'primary'), '') !default;
$ipb-vendors--datatables--paginate-button--active--hover--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'primary'), ':hover') !default;
$ipb-vendors-datatables--columns-header--border-bottom-color: $ipb-color-grey-400 !default;
$ipb-vendors-datatables--columns-header--border-bottom: 2px solid $ipb-vendors-datatables--columns-header--border-bottom-color !default;
$ipb-vendors-datatables--row--is-odd--background-color: $ipb-color-white-100 !default;
$ipb-vendors-datatables--row--is-even--background-color: $ipb-color-white-200 !default;
$ipb-vendors-datatables--row--hover--background-color: $ipb-color-blue-100 !default;
$ipb-vendors-datatables--row--is-selected--color: $ipb-color-blue-900 !default;
$ipb-vendors-datatables--row--is-selected--background-color: $ipb-color-blue-200 !default;
$ipb-vendors-datatables--row--is-selected--hover--background-color: $ipb-color-blue-100 !default;
$ipb-vendors-datatables--row-highlight--colors:(
'red': ($ipb-color-red-100, $ipb-color-red-200),
'danger': ($ipb-color-danger-200, $ipb-color-danger-300),
'alert': ($ipb-color-red-200, $ipb-color-red-300),
'orange': ($ipb-color-orange-100, $ipb-color-orange-200),
'warning': ($ipb-color-warning-200, $ipb-color-warning-300),
'blue': ($ipb-color-blue-200, $ipb-color-blue-300),
'info': ($ipb-color-information-200, $ipb-color-information-300),
'green': ($ipb-color-green-100, $ipb-color-green-200),
'success': ($ipb-color-success-100, $ipb-color-success-200),
) !default;
$ipb-vendors-datatables--row-highlight--first-cell--colors:(
'red': ($ipb-color-red-300),
'danger': ($ipb-color-danger-400),
'alert': ($ipb-color-red-400),
'orange': ($ipb-color-orange-300),
'warning': ($ipb-color-warning-400),
'blue': ($ipb-color-blue-400),
'info': ($ipb-color-information-400),
'green': ($ipb-color-green-300),
'success': ($ipb-color-success-300),
) !default;
.table {
> thead > tr > th {
border-bottom: $ipb-vendors-datatables--columns-header--border-bottom !important;
}
}
.table-striped > tbody > tr{
background-color: $ipb-vendors-datatables--row--is-even--background-color;
&:nth-of-type(2n+1) {
background-color: $ipb-vendors-datatables--row--is-odd--background-color;
}
@each $sColorLabel, $aAttributes in $ipb-vendors-datatables--row-highlight--colors {
$sBgColor: nth($aAttributes, 1);
$sBgColorHover: nth($aAttributes, 2);
&.ipb-is-#{$sColorLabel}, &.#{$sColorLabel}{
td {
background-color: $sBgColor;
}
&:hover td {
background-color: $sBgColorHover;
}
}
}
@each $sColorLabel, $aAttributes in $ipb-vendors-datatables--row-highlight--first-cell--colors {
$sBgColor: nth($aAttributes, 1);
&.ipb-is-#{$sColorLabel} td:first-child::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 3px;
height: 100%;
background-color: $sBgColor;
}
}
&:hover {
background-color: $ipb-vendors-datatables--row--hover--background-color;
}
}
table.dataTable {
> thead, tbody, tfoot {
> tr.selected {
background-color: $ipb-vendors-datatables--row--is-selected--background-color;
color: $ipb-vendors-datatables--row--is-selected--color;
&:hover {
background-color: $ipb-vendors-datatables--row--is-selected--hover--background-color;
}
}
}
}
.pagination > .paginate_button{
> a {
background-color: nth($ipb-vendors--datatables--paginate-button--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--colors, 3);
&:hover {
background-color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 3)
}
&:focus {
background-color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 3)
}
}
&.disabled > a {
background-color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 3)
}
&.active > a {
background-color: nth($ipb-vendors--datatables--paginate-button--active--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--active--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--active--colors, 3);
&:hover{
background-color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 3)
}
}
}

View File

@@ -1,2 +1,3 @@
@import "helpers/all";
@import "variables/all";
@import "variables/all";
@import "mixins/all";

View File

@@ -1,7 +1,14 @@
/* SCSS variables */
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* TODO 3.3.0: move these to individual files */
/* SCSS variables (can be overloaded) */
$ipb-following-dot--size: $common-size-150 !default;
$ipb-following-dot--color: $common-color-orange-600 !default;
$ipb-following-dot--margin-y: auto !default;
$ipb-following-dot--color: $ipb-color-primary-600 !default;
$ipb-following-dot--margin-top: calc(-1 * #{$ipb-following-dot--size} / 2) !default;
$ipb-following-dot--margin-bottom: auto !default;
$ipb-following-dot--margin-x: $common-spacing-300 !default;
@mixin ipb-following-dot($size:$ipb-following-dot--size, $color:$ipb-following-dot--color) {
@@ -12,13 +19,13 @@ $ipb-following-dot--margin-x: $common-spacing-300 !default;
background-color: $color;
border-radius: 50%;
display: inline-block;
margin: $ipb-following-dot--margin-y $ipb-following-dot--margin-x;
margin: $ipb-following-dot--margin-top $ipb-following-dot--margin-x $ipb-following-dot--margin-bottom $ipb-following-dot--margin-x;
vertical-align: middle;
}
}
/* SCSS variables */
$ipb-heavy-animated-border--border-color: $common-color-blue-grey-700 !default;
$ipb-heavy-animated-border--border-color: $ipb-color-blue-grey-700 !default;
$ipb-heavy-animated-border--border-width: $common-size-50 !default;
$ipb-heavy-animated-border--border-radius: $common-border-radius-500 !default;
@@ -44,7 +51,7 @@ $ipb-heavy-animated-border--border-radius: $common-border-radius-500 !default;
/* SCSS variables */
$ipb-toggle-nav--color: white !default;
$ipb-toggle-nav--color: $ipb-color-white-100 !default;
@mixin ipb-toggle-nav($color:$ipb-toggle-nav--color) {
@@ -146,7 +153,7 @@ $ipb-toggle-nav--color: white !default;
}
/* SCSS variables */
$ipb-scrollbar--color: $common-color-grey-200 $common-color-blue-grey-800 !default;
$ipb-scrollbar--color: $ipb-color-grey-200 $ipb-color-blue-grey-800 !default;
@mixin ipb-scrollbar($overflowX:hidden, $overflowY:auto, $scrollbarWidth:thin, $scrollbarColor:$ipb-scrollbar--color) {
overflow-x: $overflowX;

View File

@@ -121,123 +121,4 @@ $ipb-color-purple-800: $common-color-purple-800 !default;
$ipb-color-purple-900: $common-color-purple-900 !default;
$ipb-color-purple-950: $common-color-purple-950 !default;
$ipb-colors: $common-colors;
/* CSS variables */
:root {
--ipb-color-white-100: #{$ipb-color-white-100};
--ipb-color-white-200: #{$ipb-color-white-200};
--ipb-color-transparent: #{$ipb-color-transparent};
--ipb-color-grey-50: #{$ipb-color-grey-50};
--ipb-color-grey-100: #{$ipb-color-grey-100};
--ipb-color-grey-200: #{$ipb-color-grey-200};
--ipb-color-grey-300: #{$ipb-color-grey-300};
--ipb-color-grey-400: #{$ipb-color-grey-400};
--ipb-color-grey-500: #{$ipb-color-grey-500};
--ipb-color-grey-600: #{$ipb-color-grey-600};
--ipb-color-grey-700: #{$ipb-color-grey-700};
--ipb-color-grey-800: #{$ipb-color-grey-800};
--ipb-color-grey-900: #{$ipb-color-grey-900};
--ipb-color-grey-950: #{$ipb-color-grey-950};
--ipb-color-blue-grey-50: #{$ipb-color-blue-grey-50};
--ipb-color-blue-grey-100: #{$ipb-color-blue-grey-100};
--ipb-color-blue-grey-200: #{$ipb-color-blue-grey-200};
--ipb-color-blue-grey-300: #{$ipb-color-blue-grey-300};
--ipb-color-blue-grey-400: #{$ipb-color-blue-grey-400};
--ipb-color-blue-grey-500: #{$ipb-color-blue-grey-500};
--ipb-color-blue-grey-600: #{$ipb-color-blue-grey-600};
--ipb-color-blue-grey-700: #{$ipb-color-blue-grey-700};
--ipb-color-blue-grey-800: #{$ipb-color-blue-grey-800};
--ipb-color-blue-grey-900: #{$ipb-color-blue-grey-900};
--ipb-color-blue-grey-950: #{$ipb-color-blue-grey-950};
--ipb-color-blue-100: #{$ipb-color-blue-100};
--ipb-color-blue-200: #{$ipb-color-blue-200};
--ipb-color-blue-300: #{$ipb-color-blue-300};
--ipb-color-blue-400: #{$ipb-color-blue-400};
--ipb-color-blue-500: #{$ipb-color-blue-500};
--ipb-color-blue-600: #{$ipb-color-blue-600};
--ipb-color-blue-700: #{$ipb-color-blue-700};
--ipb-color-blue-800: #{$ipb-color-blue-800};
--ipb-color-blue-900: #{$ipb-color-blue-900};
--ipb-color-blue-950: #{$ipb-color-blue-950};
--ipb-color-cyan-100: #{$ipb-color-cyan-100};
--ipb-color-cyan-200: #{$ipb-color-cyan-200};
--ipb-color-cyan-300: #{$ipb-color-cyan-300};
--ipb-color-cyan-400: #{$ipb-color-cyan-400};
--ipb-color-cyan-500: #{$ipb-color-cyan-500};
--ipb-color-cyan-600: #{$ipb-color-cyan-600};
--ipb-color-cyan-700: #{$ipb-color-cyan-700};
--ipb-color-cyan-800: #{$ipb-color-cyan-800};
--ipb-color-cyan-900: #{$ipb-color-cyan-900};
--ipb-color-cyan-950: #{$ipb-color-cyan-950};
--ipb-color-green-100: #{$ipb-color-green-100};
--ipb-color-green-200: #{$ipb-color-green-200};
--ipb-color-green-300: #{$ipb-color-green-300};
--ipb-color-green-400: #{$ipb-color-green-400};
--ipb-color-green-500: #{$ipb-color-green-500};
--ipb-color-green-600: #{$ipb-color-green-600};
--ipb-color-green-700: #{$ipb-color-green-700};
--ipb-color-green-800: #{$ipb-color-green-800};
--ipb-color-green-900: #{$ipb-color-green-900};
--ipb-color-green-950: #{$ipb-color-green-950};
--ipb-color-orange-100: #{$ipb-color-orange-100};
--ipb-color-orange-200: #{$ipb-color-orange-200};
--ipb-color-orange-300: #{$ipb-color-orange-300};
--ipb-color-orange-400: #{$ipb-color-orange-400};
--ipb-color-orange-500: #{$ipb-color-orange-500};
--ipb-color-orange-600: #{$ipb-color-orange-600};
--ipb-color-orange-700: #{$ipb-color-orange-700};
--ipb-color-orange-800: #{$ipb-color-orange-800};
--ipb-color-orange-900: #{$ipb-color-orange-900};
--ipb-color-orange-950: #{$ipb-color-orange-950};
--ipb-color-red-100: #{$ipb-color-red-100};
--ipb-color-red-200: #{$ipb-color-red-200};
--ipb-color-red-300: #{$ipb-color-red-300};
--ipb-color-red-400: #{$ipb-color-red-400};
--ipb-color-red-500: #{$ipb-color-red-500};
--ipb-color-red-600: #{$ipb-color-red-600};
--ipb-color-red-700: #{$ipb-color-red-700};
--ipb-color-red-800: #{$ipb-color-red-800};
--ipb-color-red-900: #{$ipb-color-red-900};
--ipb-color-red-950: #{$ipb-color-red-950};
--ipb-color-pink-100: #{$ipb-color-pink-100};
--ipb-color-pink-200: #{$ipb-color-pink-200};
--ipb-color-pink-300: #{$ipb-color-pink-300};
--ipb-color-pink-400: #{$ipb-color-pink-400};
--ipb-color-pink-500: #{$ipb-color-pink-500};
--ipb-color-pink-600: #{$ipb-color-pink-600};
--ipb-color-pink-700: #{$ipb-color-pink-700};
--ipb-color-pink-800: #{$ipb-color-pink-800};
--ipb-color-pink-900: #{$ipb-color-pink-900};
--ipb-color-pink-950: #{$ipb-color-pink-950};
--ipb-color-yellow-100: #{$ipb-color-yellow-100};
--ipb-color-yellow-200: #{$ipb-color-yellow-200};
--ipb-color-yellow-300: #{$ipb-color-yellow-300};
--ipb-color-yellow-400: #{$ipb-color-yellow-400};
--ipb-color-yellow-500: #{$ipb-color-yellow-500};
--ipb-color-yellow-600: #{$ipb-color-yellow-600};
--ipb-color-yellow-700: #{$ipb-color-yellow-700};
--ipb-color-yellow-800: #{$ipb-color-yellow-800};
--ipb-color-yellow-900: #{$ipb-color-yellow-900};
--ipb-color-yellow-950: #{$ipb-color-yellow-950};
--ipb-color-purple-100: #{$ipb-color-purple-100};
--ipb-color-purple-200: #{$ipb-color-purple-200};
--ipb-color-purple-300: #{$ipb-color-purple-300};
--ipb-color-purple-400: #{$ipb-color-purple-400};
--ipb-color-purple-500: #{$ipb-color-purple-500};
--ipb-color-purple-600: #{$ipb-color-purple-600};
--ipb-color-purple-700: #{$ipb-color-purple-700};
--ipb-color-purple-800: #{$ipb-color-purple-800};
--ipb-color-purple-900: #{$ipb-color-purple-900};
--ipb-color-purple-950: #{$ipb-color-purple-950};
}
$ipb-colors: $common-colors;

View File

@@ -57,25 +57,4 @@ $ipb-lifecycle-states-colors: (
'primary-color': $ipb-lifecycle-inactive-state-primary-color,
'secondary-color': $ipb-lifecycle-inactive-state-secondary-color,
),
);
/* CSS varibales */
:root {
--ipb-lifecycle-new-state-primary-color: #{$ipb-lifecycle-new-state-primary-color};
--ipb-lifecycle-new-state-secondary-color: #{$ipb-lifecycle-new-state-secondary-color};
--ipb-lifecycle-neutral-state-primary-color: #{$ipb-lifecycle-neutral-state-primary-color};
--ipb-lifecycle-neutral-state-secondary-color: #{$ipb-lifecycle-neutral-state-secondary-color};
--ipb-lifecycle-waiting-state-primary-color: #{$ipb-lifecycle-waiting-state-primary-color};
--ipb-lifecycle-waiting-state-secondary-color: #{$ipb-lifecycle-waiting-state-secondary-color};
--ipb-lifecycle-success-state-primary-color: #{$ipb-lifecycle-success-state-primary-color};
--ipb-lifecycle-success-state-secondary-color: #{$ipb-lifecycle-success-state-secondary-color};
--ipb-lifecycle-failure-state-primary-color: #{$ipb-lifecycle-failure-state-primary-color};
--ipb-lifecycle-failure-state-secondary-color: #{$ipb-lifecycle-failure-state-secondary-color};
--ipb-lifecycle-frozen-state-primary-color: #{$ipb-lifecycle-frozen-state-primary-color};
--ipb-lifecycle-frozen-state-secondary-color: #{$ipb-lifecycle-frozen-state-secondary-color};
--ipb-lifecycle-active-state-primary-color: #{$ipb-lifecycle-active-state-primary-color};
--ipb-lifecycle-active-state-secondary-color: #{$ipb-lifecycle-active-state-secondary-color};
--ipb-lifecycle-inactive-state-primary-color: #{$ipb-lifecycle-inactive-state-primary-color};
--ipb-lifecycle-inactive-state-secondary-color: #{$ipb-lifecycle-inactive-state-secondary-color};
}
);

View File

@@ -98,89 +98,3 @@ $ipb-caselog-highlight-color-5: $common-caselog-highlight-color-5 !default;
$ipb-caselog-highlight-color-6: $common-caselog-highlight-color-6 !default;
$ipb-caselog-highlight-color-7: $common-caselog-highlight-color-7 !default;
$ipb-caselog-highlight-colors: $common-caselog-highlight-colors !default;
/* CSS variables */
:root {
--ipb-color-primary-100: #{$ipb-color-primary-100};
--ipb-color-primary-200: #{$ipb-color-primary-200};
--ipb-color-primary-300: #{$ipb-color-primary-300};
--ipb-color-primary-400: #{$ipb-color-primary-400};
--ipb-color-primary-500: #{$ipb-color-primary-500};
--ipb-color-primary-600: #{$ipb-color-primary-600};
--ipb-color-primary-700: #{$ipb-color-primary-700};
--ipb-color-primary-800: #{$ipb-color-primary-800};
--ipb-color-primary-900: #{$ipb-color-primary-900};
--ipb-color-primary-950: #{$ipb-color-primary-950};
--ipb-color-secondary-100: #{$ipb-color-secondary-100};
--ipb-color-secondary-200: #{$ipb-color-secondary-200};
--ipb-color-secondary-300: #{$ipb-color-secondary-300};
--ipb-color-secondary-400: #{$ipb-color-secondary-400};
--ipb-color-secondary-500: #{$ipb-color-secondary-500};
--ipb-color-secondary-600: #{$ipb-color-secondary-600};
--ipb-color-secondary-700: #{$ipb-color-secondary-700};
--ipb-color-secondary-800: #{$ipb-color-secondary-800};
--ipb-color-secondary-900: #{$ipb-color-secondary-900};
--ipb-color-secondary-950: #{$ipb-color-secondary-950};
--ipb-color-information-100: #{$ipb-color-information-100};
--ipb-color-information-200: #{$ipb-color-information-200};
--ipb-color-information-300: #{$ipb-color-information-300};
--ipb-color-information-400: #{$ipb-color-information-400};
--ipb-color-information-500: #{$ipb-color-information-500};
--ipb-color-information-600: #{$ipb-color-information-600};
--ipb-color-information-700: #{$ipb-color-information-700};
--ipb-color-information-800: #{$ipb-color-information-800};
--ipb-color-information-900: #{$ipb-color-information-900};
--ipb-color-information-950: #{$ipb-color-information-950};
--ipb-color-success-100: #{$ipb-color-success-100};
--ipb-color-success-200: #{$ipb-color-success-200};
--ipb-color-success-300: #{$ipb-color-success-300};
--ipb-color-success-400: #{$ipb-color-success-400};
--ipb-color-success-500: #{$ipb-color-success-500};
--ipb-color-success-600: #{$ipb-color-success-600};
--ipb-color-success-700: #{$ipb-color-success-700};
--ipb-color-success-800: #{$ipb-color-success-800};
--ipb-color-success-900: #{$ipb-color-success-900};
--ipb-color-success-950: #{$ipb-color-success-950};
--ipb-color-warning-100: #{$ipb-color-warning-100};
--ipb-color-warning-200: #{$ipb-color-warning-200};
--ipb-color-warning-300: #{$ipb-color-warning-300};
--ipb-color-warning-400: #{$ipb-color-warning-400};
--ipb-color-warning-500: #{$ipb-color-warning-500};
--ipb-color-warning-600: #{$ipb-color-warning-600};
--ipb-color-warning-700: #{$ipb-color-warning-700};
--ipb-color-warning-800: #{$ipb-color-warning-800};
--ipb-color-warning-900: #{$ipb-color-warning-900};
--ipb-color-warning-950: #{$ipb-color-warning-950};
--ipb-color-danger-100: #{$ipb-color-danger-100};
--ipb-color-danger-200: #{$ipb-color-danger-200};
--ipb-color-danger-300: #{$ipb-color-danger-300};
--ipb-color-danger-400: #{$ipb-color-danger-400};
--ipb-color-danger-500: #{$ipb-color-danger-500};
--ipb-color-danger-600: #{$ipb-color-danger-600};
--ipb-color-danger-700: #{$ipb-color-danger-700};
--ipb-color-danger-800: #{$ipb-color-danger-800};
--ipb-color-danger-900: #{$ipb-color-danger-900};
--ipb-color-danger-950: #{$ipb-color-danger-950};
--ipb-color-error-100: #{$ipb-color-error-100};
--ipb-color-error-200: #{$ipb-color-error-200};
--ipb-color-error-300: #{$ipb-color-error-300};
--ipb-color-error-400: #{$ipb-color-error-400};
--ipb-color-error-500: #{$ipb-color-error-500};
--ipb-color-error-600: #{$ipb-color-error-600};
--ipb-color-error-700: #{$ipb-color-error-700};
--ipb-color-error-800: #{$ipb-color-error-800};
--ipb-color-error-900: #{$ipb-color-error-900};
--ipb-color-error-950: #{$ipb-color-error-950};
--ipb-caselog-color-highlight-1: #{$ipb-caselog-highlight-color-1};
--ipb-caselog-color-highlight-2: #{$ipb-caselog-highlight-color-2};
--ipb-caselog-color-highlight-3: #{$ipb-caselog-highlight-color-3};
--ipb-caselog-color-highlight-4: #{$ipb-caselog-highlight-color-4};
--ipb-caselog-color-highlight-5: #{$ipb-caselog-highlight-color-5};
}

View File

@@ -7,11 +7,4 @@
/* - Colors used by skeletons svg to display placeholders */
$ipb-skeleton-start-color: $common-skeleton-start-color !default;
$ipb-skeleton-stop-color: $common-skeleton-stop-color !default;
/* CSS variables */
/* Skeleton CSS3 variables are not ipb prefixed as they are not iTop backoffice exclusives*/
:root {
--skeleton-start-color: #{$ipb-skeleton-start-color};
--skeleton-stop-color: #{$ipb-skeleton-stop-color};
}
$ipb-skeleton-stop-color: $common-skeleton-stop-color !default;

View File

@@ -1,43 +1,31 @@
$ipb-vendors--datatables--paginate-button--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), '') !default;
$ipb-vendors--datatables--paginate-button--hover--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':hover') !default;
$ipb-vendors--datatables--paginate-button--focus--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':active') !default;
$ipb-vendors--datatables--paginate-button--disabled--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'default'), ':disabled') !default;
$ipb-vendors--datatables--paginate-button--active--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'primary'), '') !default;
$ipb-vendors--datatables--paginate-button--active--hover--colors: map-get(map-get(map-get($ipb-button-colors, ''), 'primary'), ':hover') !default;
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
/* SCSS variables (can be overloaded) */
$ipb-vendors-datatables--cell--padding-x: $common-spacing-400 !default;
$ipb-vendors-datatables--cell--padding-y: 10px !default;
.pagination > .paginate_button{
> a {
background-color: nth($ipb-vendors--datatables--paginate-button--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--colors, 3);
&:hover {
background-color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--hover--colors, 3)
}
&:focus {
background-color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--focus--colors, 3)
$ipb-vendors-datatables--row-highlight--first-cell--width: 3px !default;
.table {
> thead, tbody, tfoot {
> tr {
> th, td {
position: relative;
padding: $ipb-vendors-datatables--cell--padding-y $ipb-vendors-datatables--cell--padding-x;
border: none;
}
}
}
&.disabled > a {
background-color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--disabled--colors, 3)
}
&.active > a {
background-color: nth($ipb-vendors--datatables--paginate-button--active--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--active--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--active--colors, 3);
&:hover{
background-color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 1);
color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 2);
border-color: nth($ipb-vendors--datatables--paginate-button--active--hover--colors, 3)
}
}
}
}
.table-striped > tbody > tr{
cursor: pointer;
}
.dataTables_length, .dataTables_filter, .dataTables_info {
@extend %common-font-ral-nor-150;
}

View File

@@ -93,8 +93,8 @@ class BaseElement extends HTMLElement {
// listen click event
eElement.addEventListener('click', (oEvent) => {
// prevent redirection when clicking on a button or a link
if (oEvent.target.closest("a") || oEvent.target.closest("button")) {
// prevent redirection when clicking on a button or a link that are not navigation-trigger
if (oEvent.target.closest("a") && oEvent.target.closest("a").getAttribute('data-role') !== 'navigation-trigger' || oEvent.target.closest("button") && oEvent.target.closest("button").getAttribute('data-role') !== 'navigation-trigger') {
return;
}

View File

@@ -245,6 +245,10 @@ class NavigationMenuElement extends HTMLElement {
}
Expand(bSaveUserPreference = false) {
// save user preference
if (bSaveUserPreference) {
oUserPreferences.setPreference('portal.navigation_menu.expanded', 'expanded');
}
// sync attribute
if (this.getAttribute(NavigationMenuElement.DATA_EXPANDED_STATE) !== 'expanded') {
this.setAttribute(NavigationMenuElement.DATA_EXPANDED_STATE, 'expanded');
@@ -257,13 +261,13 @@ class NavigationMenuElement extends HTMLElement {
// dispatch events
window.dispatchEvent(new Event('resize')); // do layout
this.dispatchEvent(new CustomEvent("state", {detail: 'expanded'}));
// save user preference
if (bSaveUserPreference) {
SetUserPreference('portal.navigation_menu.expanded', 'expanded', true);
}
}
Collapse(bSaveUserPreference = false) {
// save user preference
if (bSaveUserPreference) {
oUserPreferences.setPreference('portal.navigation_menu.expanded', 'collapsed');
}
// sync attribute
if (this.getAttribute(NavigationMenuElement.DATA_EXPANDED_STATE) !== 'collapsed') {
this.setAttribute(NavigationMenuElement.DATA_EXPANDED_STATE, 'collapsed');
@@ -276,10 +280,6 @@ class NavigationMenuElement extends HTMLElement {
// dispatch events
window.dispatchEvent(new Event('resize')); // do layout
this.dispatchEvent(new CustomEvent("state", {detail: 'collapsed'}));
// save user preference
if (bSaveUserPreference) {
SetUserPreference('portal.navigation_menu.expanded', 'collapsed', true);
}
}
IsExpanded() {

View File

@@ -0,0 +1,50 @@
/*
* Copyright (C) 2013-2024 Combodo SAS
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
*/
class UserPreferences {
constructor(sUrl) {
this.sUrl = sUrl;
}
setPreference(key, value) {
let $data = new FormData();
$data.append("key", key);
$data.append("value", value);
fetch(this.sUrl, {
method: "POST",
body: $data,
}).then(
(response) => {
if (!response.ok) {
throw new Error(`Network response was not ok: ${response.statusText}`);
}
return response.json();
}
).catch(
(error) => {
console.error('Unable to set user preference:', error);
}
);
}
}

View File

@@ -237,8 +237,9 @@ class ObjectController extends BrickController
$aData = array('sMode' => 'view');
$aData['form'] = $this->oObjectFormHandlerHelper->HandleForm($oRequest, $aData['sMode'], $sObjectClass, $sObjectId);
$aData['form']['title'] = Dict::Format('Brick:Portal:Object:Form:View:Title', MetaModel::GetName($sObjectClass),
$oObject->GetName());
$aData['form']['title'] = Dict::Format('Brick:Portal:Object:Form:View:Title', $oObject->GetName());
$aData['form']['title_complement'] = MetaModel::GetName($sObjectClass);
// Add an edit button if user is allowed
if ($this->oSecurityHelper->IsActionAllowed(UR_ACTION_MODIFY, $sObjectClass, $sObjectId)) {
@@ -322,8 +323,8 @@ class ObjectController extends BrickController
$aData = array('sMode' => 'edit');
$aData['form'] = $this->oObjectFormHandlerHelper->HandleForm($oRequest, $aData['sMode'], $sObjectClass, $sObjectId);
$aData['form']['title'] = Dict::Format('Brick:Portal:Object:Form:Edit:Title', MetaModel::GetName($sObjectClass),
$aData['form']['object_name']);
$aData['form']['title'] = Dict::Format('Brick:Portal:Object:Form:Edit:Title', $aData['form']['object_name']);
$aData['form']['title_complement'] = MetaModel::GetName($sObjectClass);
// Preparing response
if ($oRequest->isXmlHttpRequest())
@@ -1015,8 +1016,8 @@ class ObjectController extends BrickController
$aData = $aData + array(
'form' => array(
'id' => 'object_search_form_'.time(),
'title' => Dict::Format('Brick:Portal:Object:Search:Regular:Title', $oTargetAttDef->GetLabel(),
MetaModel::GetName($sTargetObjectClass)),
'title' => Dict::Format('Brick:Portal:Object:Search:Regular:Title', $oTargetAttDef->GetLabel()),
'title_complement' => MetaModel::GetName($sTargetObjectClass)
),
'aColumnProperties' => json_encode($aColumnProperties),
'aResults' => array(

View File

@@ -0,0 +1,65 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
*/
namespace Combodo\iTop\Portal\Controller;
use appUserPreferences;
use Exception;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController as SymfonyAbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
/**
* Class PreferencesController
*
* @package Combodo\iTop\Portal\Controller
* @since 3.3.0
*/
class PreferencesController extends SymfonyAbstractController
{
/**
* Set a preference for the current user.
*
* @param \Symfony\Component\HttpFoundation\Request $oRequest
*
* @return \Symfony\Component\HttpFoundation\JsonResponse
*/
public function SetPreferenceAction(Request $oRequest): JsonResponse
{
$sStatus = 'success';
// retrieve the parameters from the request
$sKey = $oRequest->request->get('key');
$sValue = $oRequest->request->get('value');
// set user preference
try{
appUserPreferences::SetPref($sKey, $sValue);
}
catch(Exception){
$sStatus = 'error';
}
return new JsonResponse([
'status' => $sStatus,
]);
}
}

Some files were not shown because too many files have changed in this diff Show More