Logic Machine Forum
Layers for Objects, maybe with custom CSS? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Layers for Objects, maybe with custom CSS? (/showthread.php?tid=348)



Layers for Objects, maybe with custom CSS? - Habib - 18.07.2016

Hi,

in my visualisation I use a full area visualisation for my light switch on/off. In some cases when I switch my light on, the other objects are drawn under the light visualisation, some are above. It would be nice to get an control wich objects are in top.

Is there a way to realize that? For an example, I would be very grateful.

[Image: HWR-Room.png]

Thx forwards

Habib


RE: Layers for Objects, maybe with custom CSS? - admin - 18.07.2016

Create a custom CSS class top and set it for all elements that should be above all other elements. Note that this will only work in the visualization, but not in the editor.
Code:
.top {
  z-index: 100 !important;
}



RE: Layers for Objects, maybe with custom CSS? - Habib - 18.07.2016

Many Many thx. It's works great :-)


RE: Layers for Objects, maybe with custom CSS? - phongvucba - 25.10.2016

Can you post file for me?
Visual..very like.<3