2015-02-08 19:34:28 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<style>
|
2015-02-09 14:03:29 +01:00
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
html, body {
|
2015-02-15 23:27:58 +01:00
|
|
|
background: transparent !important;
|
2015-02-08 19:34:28 +01:00
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
2015-02-09 14:03:29 +01:00
|
|
|
height: 100%;
|
2015-02-08 19:34:28 +01:00
|
|
|
overflow: hidden;
|
|
|
|
font: 12px sans-serif;
|
|
|
|
}
|
|
|
|
ul, li, div {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-02-14 14:13:04 +01:00
|
|
|
ul {
|
|
|
|
margin: 0.25em 0 0 0;
|
|
|
|
}
|
2015-02-08 19:34:28 +01:00
|
|
|
button {
|
2015-02-14 14:13:04 +01:00
|
|
|
margin: 0 0 0 2px;
|
2015-02-08 19:34:28 +01:00
|
|
|
border: 1px solid #aaa;
|
2015-02-14 14:13:04 +01:00
|
|
|
padding: 4px 6px;
|
2015-02-08 19:34:28 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #444;
|
|
|
|
background-color: #ccc;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
button:hover {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
button:disabled {
|
|
|
|
color: #999;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
#create:not(:disabled) {
|
|
|
|
background-color: #ffdca8;
|
|
|
|
}
|
|
|
|
section {
|
2015-02-14 14:13:04 +01:00
|
|
|
border: 1px solid #ccc;
|
2015-02-08 19:34:28 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
height: 8em;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
background-color: #fff;
|
2015-02-14 14:13:04 +01:00
|
|
|
border: 0;
|
2015-02-08 19:34:28 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
font: 11px monospace;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
2015-02-14 14:13:04 +01:00
|
|
|
padding: 0;
|
2015-02-08 19:34:28 +01:00
|
|
|
resize: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
div {
|
2015-02-14 14:13:04 +01:00
|
|
|
bottom: 1px;
|
2015-02-08 19:34:28 +01:00
|
|
|
direction: ltr;
|
2015-02-25 02:20:53 +01:00
|
|
|
opacity: 1;
|
2015-02-08 19:34:28 +01:00
|
|
|
position: absolute;
|
2015-02-14 14:13:04 +01:00
|
|
|
right: 1px;
|
2015-02-08 19:34:28 +01:00
|
|
|
}
|
2015-02-25 02:20:53 +01:00
|
|
|
textarea:focus + div {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
textarea:focus + div:hover {
|
2015-02-08 19:34:28 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
text-align: left;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
body > ul > li {
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
|
|
|
ul > li > span:nth-of-type(1) {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
ul > li > span:nth-of-type(2) {
|
|
|
|
font-size: smaller;
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
ul > li > ul {
|
|
|
|
background-color: #eee;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0 0 0 1em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
ul > li > ul > li {
|
|
|
|
font: 11px monospace;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
ul > li > ul > li:hover {
|
2015-02-09 14:03:29 +01:00
|
|
|
background-color: rgba(255,255,255,1);
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: crosshair;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.paused > svg {
|
2015-02-17 13:46:49 +01:00
|
|
|
cursor: not-allowed;
|
2015-02-09 14:03:29 +01:00
|
|
|
}
|
|
|
|
svg > path:first-child {
|
|
|
|
fill: rgba(0,0,0,0.75);
|
|
|
|
fill-rule: evenodd;
|
|
|
|
}
|
|
|
|
svg > path + path {
|
|
|
|
stroke: #F00;
|
|
|
|
stroke-width: 0.5px;
|
|
|
|
fill: rgba(255,0,0,0.25);
|
|
|
|
}
|
|
|
|
aside {
|
|
|
|
background-color: rgba(255,255,255,0.9);
|
|
|
|
bottom: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
right: 4px;
|
|
|
|
width: 30em;
|
|
|
|
}
|
|
|
|
body.paused > aside {
|
|
|
|
opacity: 0.2;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
body.paused > aside:hover {
|
|
|
|
opacity: 1;
|
2015-02-08 19:34:28 +01:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body direction="{{bidi_dir}}">
|
2015-02-09 14:03:29 +01:00
|
|
|
<svg><path></path><path></path></svg>
|
|
|
|
<aside>
|
|
|
|
<section>
|
|
|
|
<textarea lang="en" dir="ltr" spellcheck="false"></textarea>
|
2015-02-14 14:13:04 +01:00
|
|
|
<div><button id="create" type="button" disabled="disabled">{{create}}</button><button id="pick" type="button">{{pick}}</button><button id="quit" type="button">{{quit}}</button></div>
|
2015-02-09 14:03:29 +01:00
|
|
|
</section>
|
|
|
|
<ul>
|
|
|
|
<li id="netFilters">
|
|
|
|
<span>{{netFilters}}</span><ul lang="en" class="changeFilter"></ul>
|
|
|
|
</li>
|
|
|
|
<li id="cosmeticFilters">
|
|
|
|
<span>{{cosmeticFilters}}</span> <span>{{cosmeticFiltersHint}}</span>
|
|
|
|
<ul lang="en" class="changeFilter"></ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
2015-02-08 19:34:28 +01:00
|
|
|
</body>
|