glkote
glkote copied to clipboard
Support style hints
glkapi.js
still says:
/* Style hints are not supported. We will use the new style system. */
At least six years later, the new style system has yet to manifest. :) In the meantime it would be really nice if quixe could use the old style system. (And perhaps add a couple more user styles to glk to tide us over in the meantime?)
Implementing the old style system would take time that I do not want to spend on it. Also, the old style system really wasn't very good.
Would you be opposed to a PR that implements it? It's better than nothing.
I notice that there is a lot of tags with inline style, such as the Windowport main window that holds all the BufferLine class output:
<div id="window578" class="WindowFrame BufferWindow WindowRock_201" aria-live="polite" aria-atomic="false" aria-relevant="additions" style="left: 4px; top: 8px; right: 4px; bottom: 4px;"></div>
Is there a way to tell it to not use inline style= so that CSS files can do this?
More directly, it would seem nice to have a HTML / CSS sample that wraps Quixie + glkote where the windows are under the control of the webpage author and really only the BufferLine output is formatted/class-tagged by the engine?