mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 06:47:12 +00:00
1 parent
09d04984a5
commit
7ea3608dab
6 files changed
+59
-23
No files matched your search
@@ -106,10 +106,14 @@
|
||||
if (scope.block.userState)
|
||||
iElement.addClass('sg-event--' + scope.block.userState);
|
||||
|
||||
// Set background color
|
||||
if (scope.block.component) {
|
||||
// Set background color
|
||||
iElement.addClass('bg-folder' + scope.block.component.pid);
|
||||
iElement.addClass('contrast-bdr-folder' + scope.block.component.pid);
|
||||
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -61,10 +61,15 @@
|
||||
if (scope.block.userState)
|
||||
iElement.addClass('sg-event--' + scope.block.userState);
|
||||
|
||||
// Set background color
|
||||
if (scope.block.component)
|
||||
if (scope.block.component) {
|
||||
// Set background color
|
||||
iElement.addClass('bg-folder' + scope.block.component.pid);
|
||||
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user