glkote icon indicating copy to clipboard operation
glkote copied to clipboard

Support style hints

Open eevee opened this issue 9 years ago • 3 comments

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?)

eevee avatar Jan 23 '16 02:01 eevee

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.

erkyrath avatar Jan 23 '16 04:01 erkyrath

Would you be opposed to a PR that implements it? It's better than nothing.

eevee avatar Jan 23 '16 04:01 eevee

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?

BroadcastGames avatar Oct 11 '16 00:10 BroadcastGames