* N°7793 Add breaking changes induce by adding common SCSS variables between backoffice and end-user portal
* N°7793 Handle breaking changes in darkmoon theme
* N°7793 Add common SCSS variables between backoffice and end-user portal
* Add shame & readme
* Move font face to common
* Inherit color functions
* Move font icon to common
* FIx breaking change introduced in lifecycle palette
* FIx breaking change introduced in base
* Move approot url to common
* Make highlightjs common variables more coherent with 3.2.1 commonization approach
* Deprecated and migrate the usage of ibo-adjust-alpha and ibo-adjust-lightness
* N°6132 - disable tabs dynamically
* Apply suggestions from code review
JS cleanup after review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Disable tabs by ID instead of index
Disabled tabs are visible (with a 'not-allowed' cursor) instead of being hidden from the extra tabs menu.
* Typo!
* Update code to match conventions
* N°6132 - Fix show/hide of disabled tabs as it collided with internal methods
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Rebase onto develop
* Use exit condition instead of englobing condition
* Add informative modals that can be called from modal toolbox
* Refactor "apply_modify" and "apply_new" into own controller, handle ajax requests with a json response and handle these responses in linkset creation/edition
* Fix merge issues
* Remove inverted condition
* Move linkset create button to a better place, still needs to fix duplicate "New" button caused by a refactor
* Handle "Cancel" button in modals
* Do not display relations when editing an object in a modal
* More elegant way to add "New" button to relations lists
* Factorize vertical highlights in alerts and modal in a single mixin
* Replace button name with dict entry code
* Change route name to snake case
* More elegant way to add "Create in modal" button to relations lists
* Replace triple if with in_array
* Move listener to body
* Rename variable to match boolean rules
* Rename event
* Rename extra param
* Add phpdoc
* Revert changes
* Check indirect linkset rights before allowing creation in modal
Bulma minireset (https://github.com/jgthms/bulma/blob/master/sass/base/minireset.sass) was applied everywhere in iTop. This was causing HTML content without any Bulma or iTop 3.0.* CSS classes to render with no styles anymore, not even the default browser's ones. Especially rendering for content styled in CK Editor was problematic...
This commit creates a new `ibo-is-html-content` CSS class (in css/backoffice/utils/helpers/_misc.scss) that just extends the `content` Bulma class (indirection to reduce framework coupling).
This new iTop CSS class is added in :
* AttributeText and its children when format is HTML
* HTML components
* activity entries in HTML format
The class can also be used elsewhere when needed, for example in modules having custom pages that aren't using yet the iTop 3.0.* UI components or CSS classes.
- Don't nest selectors when there is no need to
- Use SCSS variables instead of CSS3 variables in SCSS files, otherwise we can't use SCSS functions. CSS3 variables should be kept for the front-end manipulations