Lines Matching +full:div +full:- +full:s
3 * SPDX-License-Identifier: Apache-2.0
13 const tooltip = document.createElement('div');
17 const tooltipShadow = document.createElement('div');
18 tooltipShadow.id = 'doxytooltip-shadow';
21 /* tippy's JS code automatically adds a <style> tag to the document's <head> with the
22 * styles for the tooltips. We need to copy it to the tooltip's shadow DOM for it to apply to the
23 * tooltip's content.
25 const tippyStyle = document.querySelector('style[data-tippy-stylesheet]');
32 * similarly, doxytooltip.css is added to the document's <head> by the Sphinx extension, but we
58 .shadowRoot.getElementById('doxytooltip-shadow'),
70 /* Grab the main stylesheets from the Doxygen page and inject them in the tooltip's
72 const doxygenCSSNames = ['doxygen-awesome.css', 'doxygen-awesome-zephyr.css'];
91 if (codeClasses.contains('c-enumerator')) {
96 } else if (codeClasses.contains('c-struct')) {
97 content = parsedDoc.querySelector(`#details ~ div.textblock`);
99 /* c-function, c-type, etc. */