yomichan/ext/bg/context.html

133 lines
5.2 KiB
HTML
Raw Normal View History

2017-03-02 04:49:46 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
2019-11-02 14:10:03 +00:00
<link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19">
<link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">
<link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">
<link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64">
<link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128">
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css">
2017-03-04 20:27:05 +00:00
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.css">
2017-03-02 04:49:46 +00:00
<style type="text/css">
body {
padding: 10px;
}
h3 {
margin-top: 10px;
}
label {
font-weight: normal;
}
#mini {
text-align: center;
}
#full {
display: none;
}
2017-03-02 04:49:46 +00:00
.btn-group {
display: flex;
justify-content: center;
2019-09-28 16:36:34 +00:00
margin-top: 10px;
white-space: nowrap;
2017-03-02 04:49:46 +00:00
}
html:root[data-mode=full] #mini {
display: none;
}
html:root[data-mode=full] #full {
display: initial;
}
.link-group {
display: block;
line-height: 1.5em;
margin: 0 -10px;
padding: 0.5em 10px;
cursor: pointer;
color: #333;
text-decoration: none;
background-color: transparent;
transition: background-color 0.125s linear 0s;
max-width: none;
}
.link-group:hover,
.link-group:active {
color: #333;
text-decoration: none;
}
.link-group:hover>.link-group-label,
.link-group:active>.link-group-label {
text-decoration: underline;
}
.link-group:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.link-group:active {
background-color: rgba(0, 0, 0, 0.1);
}
.link-group-icon {
width: 16px;
height: 16px;
text-align: center;
vertical-align: middle;
display: inline-block;
margin-right: 0.25em;
}
.link-group-icon>input {
margin: 0;
padding: 0;
}
.link-group-icon>.glyphicon {
top: 0;
}
.link-group-label {
vertical-align: middle;
}
2017-03-02 04:49:46 +00:00
</style>
</head>
<body>
<div id="mini">
<div>
<input type="checkbox" id="enable-search">
</div>
<div class="btn-group">
<a title="Search (Alt + Insert)&#10;(Middle click to open in new tab)" class="btn btn-default btn-xs action-open-search"><span class="glyphicon glyphicon-search"></span></a>
<a title="Options&#10;(Middle click to open in new tab)" class="btn btn-default btn-xs action-open-options"><span class="glyphicon glyphicon-wrench"></span></a>
<a title="Help" class="btn btn-default btn-xs action-open-help"><span class="glyphicon glyphicon-question-sign"></span></a>
</div>
2019-09-28 16:36:34 +00:00
</div>
<div id="full">
<h3 id="extension-info">Yomichan</h3>
<label class="link-group">
<span class="link-group-icon"><input type="checkbox" id="enable-search2" /></span><span class="link-group-label">Enable content scanning</span>
</label>
<a class="link-group action-open-options">
<span class="link-group-icon"><span class="glyphicon glyphicon-chevron-right"></span></span><span class="link-group-label">Options</span>
</a>
<a class="link-group action-open-search">
<span class="link-group-icon"><span class="glyphicon glyphicon-chevron-right"></span></span><span class="link-group-label">Search</span>
</a>
<a class="link-group action-open-help">
<span class="link-group-icon"><span class="glyphicon glyphicon-chevron-right"></span></span><span class="link-group-label">Help</span>
</a>
2019-09-28 16:36:34 +00:00
</div>
2017-07-25 05:44:19 +00:00
<script src="/mixed/lib/jquery.min.js"></script>
2017-03-04 20:27:05 +00:00
<script src="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.js"></script>
2017-07-25 05:44:19 +00:00
2019-08-22 23:44:31 +00:00
<script src="/mixed/js/extension.js"></script>
2017-07-25 05:44:19 +00:00
<script src="/bg/js/api.js"></script>
2017-07-16 20:14:28 +00:00
<script src="/bg/js/options.js"></script>
2017-08-15 04:43:09 +00:00
<script src="/bg/js/util.js"></script>
2017-08-14 03:50:43 +00:00
2017-08-15 02:55:04 +00:00
<script src="/bg/js/context.js"></script>
2017-03-02 04:49:46 +00:00
</body>
</html>