N°2847 - Activity panel: Several improvements

- Improve display of code snippets
- Improve code structure for loops on case log colors
This commit is contained in:
Molkobain
2020-08-14 12:18:26 +02:00
parent b9d7967c0e
commit 398621693e
4 changed files with 41 additions and 18 deletions

View File

@@ -104,10 +104,10 @@ $ibo-activity-panel--body--padding-x: $ibo-activity-panel--padding-x !default;
}
}
/* - Specific decoration regarding the case log rank */
@for $iIdx from 1 through 5 {
.ibo-activity-panel--tab-for-caselog-#{$iIdx}{
@each $sColor in $ibo-activity-panel--tab--caselog-highlight-colors {
.ibo-activity-panel--tab-for-caselog-#{index($ibo-activity-panel--tab--caselog-highlight-colors, $sColor)}{
.ibo-activity-panel--tab-decoration{
background-color: nth($ibo-activity-panel--tab--caselog-highlight-colors, $iIdx);
background-color: $sColor;
}
}
}