For the HTML/CSS boffins out there please help.
New Ninox release has broken this in the sense that the Ninox setting for background color no longer works. How does one set the background color for a formula that is colored to be invisible with this formula:
Looks like every formula that one has that is hidden with html is now going to need fixing!
if HUD then
html("
<style>
.sideeditor-buttons-left .button{display: none;
height: 0px;}
.popupeditor2-buttons-left .button{display: none;}
.stringeditor .stringeditor-button2{display: none;}
.nx-backplane .popupeditor.pane .nx-button-text.blue{display: none;}
.tab.tab-icon{display: none;}
.hud-menu-right{display: none;}
.HudLeftHeader_root .nav-item.head.FastClickContainer_root{display: none;}
.nav-item.head.HudLeftHeader_backButton.FastClickContainer_root{display: block;}
.HudContainer_body{display: none;}
.hud-menu-button.menu-icon.menu-icon-trash{display: none;}
.hud-menu-button.menu-icon.menu-icon-duplicate{display: none;}
.hud-menu-button.menu-icon.menu-icon-add{display: none;}
.hud-menu-button.menu-icon.menu-icon-print{display:;}
.hud-menu-group, .hud-menu-right{display:none;}
div.Container-dqubpQ.cupfZa{display:none}
.hud-menu-button.i-32-24.i-white.i-setting-tool.--ul-admin-button.admin-button{display:none;}
</style>
")
4 replies
-
ChatGPT suggested this:
local color = "#FF5733" -- Replace this with your desired color
if HUD then
html([[
<style>
.sideeditor-buttons-left .button {
display: none;
height: 0px;
color: ]] .. color .. [[; /* Apply color here */
}
.popupeditor2-buttons-left .button {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.stringeditor .stringeditor-button2 {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.nx-backplane .popupeditor.pane .nx-button-text.blue {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.tab.tab-icon {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-right {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.HudLeftHeader_root .nav-item.head.FastClickContainer_root {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.nav-item.head.HudLeftHeader_backButton.FastClickContainer_root {
display: block;
color: ]] .. color .. [[; /* Apply color here */
}
.HudContainer_body {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-button.menu-icon.menu-icon-trash {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-button.menu-icon.menu-icon-duplicate {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-button.menu-icon.menu-icon-add {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-button.menu-icon.menu-icon-print {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-group, .hud-menu-right {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
div.Container-dqubpQ.cupfZa {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
.hud-menu-button.i-32-24.i-white.i-setting-tool.--ul-admin-button.admin-button {
display: none;
color: ]] .. color .. [[; /* Apply color here */
}
</style>
]])
end
-
Well we gained some items, and lost one of the most important ones. Hopefully the html will be fixed soon. I am many layouts and printouts that rely on html.
Content aside
- 2 mths agoLast active
- 4Replies
- 68Views
-
2
Following