0

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

null
    • Alan_Cooke
    • 2 mths ago
    • Reported - view

    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
     

      • Nick_Massie
      • 2 mths ago
      • Reported - view

        here is the statement from Ninox "

      HTML rendering in rich text field

      If you've been using HTML in the rich text field, you may notice changes in how it displays. We're working on bringing full HTML rendering capabilities in an upcoming 3.13.X patch. Until then, your HTML content might not appear as expected. We value your flexibility during this transition and are committed to supporting your workflow needs. Stay tuned for updates."

      • Alan_Cooke
      • 2 mths ago
      • Reported - view

       Thanks Nick - my issue is a regular formula field using html to hide the icons.  Why Ninox cannot have them in an option On/Off setting beats me (as in sidebar, search, calendar)  I guess the RTF bug impacts on html in any field using it.

    • Nick_Massie
    • 2 mths ago
    • Reported - view

    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