mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°6132 - Introduce API to disable tabs dynamically (#470)
* 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>
This commit is contained in:
@@ -38,6 +38,10 @@ $ibo-is-code--padding: 1.25rem 1.5rem !default;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.ibo-is-disabled {
|
||||
cursor: not-allowed !important; /* Note: !important is necessary as it needs to overload any standard rules */
|
||||
}
|
||||
|
||||
/* Class to display a hint on elements that have a tooltip for further description */
|
||||
.ibo-has-description {
|
||||
&::after {
|
||||
|
||||
Reference in New Issue
Block a user