c50e5df3e3
This patch makes tag-browser layout somewhat usable on mobile. Additionally it adds few banner hints to use Ctrl keys and basic hint to select a category when empty. This also makes the Copy-button hidden until some content is shown in code-block.
34 lines
No EOL
1.2 KiB
HTML
34 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width"/>
|
|
<meta charset="UTF-8">
|
|
<title>firefox-csshacks tag browser</title>
|
|
<script type="module" src="html_resources/selector.js"></script>
|
|
<script type="module" src="html_resources/code-block/code-block.js"></script>
|
|
<link href="html_resources/main.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="icon" href="html_resources/favicon.svg" type="image/svg+xml">
|
|
</head>
|
|
<body>
|
|
<div id="placeholder">
|
|
<div class="placeholder-text">FAILURE, resources could not be loaded properly</div>
|
|
</div>
|
|
<div id="ui" class="hidden">
|
|
<div id="categories" class="categoryList">
|
|
</div>
|
|
<div id="secondaryCategories" class="categoryList">
|
|
</div>
|
|
<main id="site">
|
|
<div id="targets">
|
|
</div>
|
|
<div class="banner">
|
|
<div class="hint keyinfo">Hold <kbd>Ctrl</kbd> or <kbd>Cmd</kbd> to add/remove styles to style set</div>
|
|
<div class="hint placeholder">Select a style category from the left pane</div>
|
|
</div>
|
|
<div>
|
|
<code-block data-highlight="css" data-matchlinks="[\w-\.]+\.css -> ./chrome/%s" id="previewBox" class="copy-able"></code-block>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html> |