aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-16 20:41:12 -0500
committerGitHub <noreply@github.com>2020-11-16 20:41:12 -0500
commitea7b8621c3620ae55d2596f98c26f33b479db01c (patch)
tree858e541d688e09365e26e8ee185746ee8fdb71fd /ext/bg
parent37ea7e2c9a3d15b6de61972a2163a323572acd28 (diff)
Update layout to have better sizing properties (#1040)
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/search.html64
1 files changed, 33 insertions, 31 deletions
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 4feec8d5..959979d9 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -17,48 +17,50 @@
<body>
<div class="content scrollbar" id="content"><div class="content-body" id="content-body">
+ <div class="content-body-inner">
- <span tabindex="-1" id="content-scroll-focus"></span>
+ <span tabindex="-1" id="content-scroll-focus"></span>
- <div id="intro">
- <h1>Yomichan Search</h1>
- </div>
+ <div id="intro">
+ <h1>Yomichan Search</h1>
+ </div>
- <div class="scan-disable">
- <div class="search-options">
- <label class="search-option">
- <label class="toggle"><input type="checkbox" id="wanakana-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
- <span class="search-option-label">Automatic kana conversion</span>
- </label>
- <label class="search-option">
- <label class="toggle"><input type="checkbox" id="clipboard-monitor-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
- <span class="search-option-label">Clipboard monitor</span>
- </label>
- <div class="search-option" id="query-parser-mode-container" hidden>
- <span class="search-option-pre-label">Parser:</span>
- <select id="query-parser-mode-select"></select>
+ <div class="scan-disable">
+ <div class="search-options">
+ <label class="search-option">
+ <label class="toggle"><input type="checkbox" id="wanakana-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
+ <span class="search-option-label">Automatic kana conversion</span>
+ </label>
+ <label class="search-option">
+ <label class="toggle"><input type="checkbox" id="clipboard-monitor-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
+ <span class="search-option-label">Clipboard monitor</span>
+ </label>
+ <div class="search-option" id="query-parser-mode-container" hidden>
+ <span class="search-option-pre-label">Parser:</span>
+ <select id="query-parser-mode-select"></select>
+ </div>
+ </div>
+ <div class="search-textbox-container">
+ <textarea id="search-textbox" placeholder="Input a term, expression, sentence, or block of text" autocomplete="false" autofocus></textarea>
+ <button id="search-button"><span class="icon-button-icon" data-icon="magnifying-glass"></span></button>
</div>
</div>
- <div class="search-textbox-container">
- <textarea id="search-textbox" placeholder="Input a term, expression, sentence, or block of text" autocomplete="false" autofocus></textarea>
- <button id="search-button"><span class="icon-button-icon" data-icon="magnifying-glass"></span></button>
- </div>
- </div>
- <div id="spinner" hidden><img src="/mixed/img/spinner.gif"></div>
+ <div id="spinner" hidden><img src="/mixed/img/spinner.gif"></div>
- <div class="scan-disable" id="query-parser-container">
- <div id="query-parser-content"></div>
- </div>
+ <div class="scan-disable" id="query-parser-container">
+ <div id="query-parser-content"></div>
+ </div>
- <div id="definitions"></div>
+ <div id="definitions"></div>
- <div id="no-results" hidden>
- <div class="entry">
- <p>No results found.</p>
+ <div id="no-results" hidden>
+ <div class="entry">
+ <p>No results found.</p>
+ </div>
</div>
- </div>
+ </div>
</div></div>
<!-- Scripts -->