Hide menu bar in Mosaic - 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: Hide menu bar in Mosaic (/showthread.php?tid=2984) |
Hide menu bar in Mosaic - Trond Hoyem - 16.11.2020 Hi I am making some visualisations on some Divus screens. For this purpose I only want each screen to be able to see one single page and not be able to navigate to any other page. I see that there is some CSS in the "Styles" in the config. Is it possible to hide it completely here? RE: Hide menu bar in Mosaic - Daniel - 16.11.2020 In new Mosaic with user access you will have option to restrict access. Try this Code: body.app-container .panels.panels_left { RE: Hide menu bar in Mosaic - Trond Hoyem - 16.11.2020 (16.11.2020, 14:29)Daniel. Wrote: In new Mosaic with user access you will have option to restrict access. I am using the Schneider Touch, not really Mosaic as I stated earlier. Sorry about the unclear information. This CSS worked like a charm, so I will go for this solution. Thanks for help! RE: Hide menu bar in Mosaic - Trond Hoyem - 04.03.2021 I am doing some more adjustments to this touch-visu. I want to hide also the back-button in the top left corner so that the users are not able to navigate at all. I need this because there are several different rooms with visu on each SL, and since there is no user control, I need to restrict the access in a different way. I have tried this, but with no luck: Code: body.app-container .header.header__constrain.header_settings2 { The back button is still there. I am not sure exactly how to drill in to the different levels of the different <div>, so maybe I am doing it wrong.... RE: Hide menu bar in Mosaic - admin - 04.03.2021 Try this: Code: .header__settings2 { display: none !important; } RE: Hide menu bar in Mosaic - Trond Hoyem - 05.03.2021 (04.03.2021, 17:34)admin Wrote: Try this: Yup, that worked. But in this code you are skipping the whole drill down thing. I cannot really understand why sometimes one needs to drill down, and other times that is not working. In the first CSS code in this thread i get the code to hide the left panel: Code: body.app-container .panels.panels_left { When I inspect the touch visu, the body.app... -> panels -> panels.left is the actual levels for the <div>'s I can see in the inspect window, hance the reason why I tried the code Code: body.app-container .header.header__constrain.header__settings2 It did not work, but when I tried your version, without the reference to the other levels, it worked. Why? How do one know when to use the different levels in the referenceand when not to? RE: Hide menu bar in Mosaic - admin - 05.03.2021 If using !important usually you don't need to write the whole path. Otherwise the priority depends on which types (element, id, class) are in the selector. RE: Hide menu bar in Mosaic - Trond Hoyem - 05.03.2021 (05.03.2021, 08:57)admin Wrote: If using !important usually you don't need to write the whole path. Otherwise the priority depends on which types (element, id, class) are in the selector. OK, so that means, use !important, and then add path if it does not work? RE: Hide menu bar in Mosaic - admin - 05.03.2021 important should work with a single selector in most cases. You can use inspect element in your browser to see which rules are overridden with others with higher priority. |