﻿/*
 * csp-utilities.css - loaded by every page with csp-runtime.js.
 *
 * Inline style="" attributes in the admin markup are not rewritten by hand: the response
 * filter (Functions/CspResponseFilter.vb) renames them to data-csp-style="...", and
 * csp-runtime.js applies them through the CSSOM (allowed under style-src-attr 'none'),
 * then removes the attribute. Pages that call Csp.AllowInlineStyleAttributes() keep
 * their style="" attributes as they are.
 *
 * Until the runtime has applied them, these rules hide such elements so nothing that is
 * meant to be hidden flashes on screen.
 */
[data-csp-style*="display:none" i], [data-csp-style*="display: none" i] { display: none; }
[data-csp-style*="visibility:hidden" i], [data-csp-style*="visibility: hidden" i] { visibility: hidden; }
