2015-02-08 11:34:28 -07:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<style>
|
2015-02-09 06:03:29 -07:00
|
|
|
:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
html, body {
|
2015-02-15 15:27:58 -07:00
|
|
|
background: transparent !important;
|
2015-09-12 13:11:33 -06:00
|
|
|
color: black;
|
2015-06-25 22:08:41 -06:00
|
|
|
font: 12px sans-serif;
|
2015-02-09 06:03:29 -07:00
|
|
|
height: 100%;
|
2015-06-25 22:08:41 -06:00
|
|
|
margin: 0;
|
2015-02-08 11:34:28 -07:00
|
|
|
overflow: hidden;
|
2015-06-25 22:08:41 -06:00
|
|
|
width: 100%;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
|
|
|
ul, li, div {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-02-14 06:13:04 -07:00
|
|
|
ul {
|
|
|
|
margin: 0.25em 0 0 0;
|
|
|
|
}
|
2015-02-08 11:34:28 -07:00
|
|
|
button {
|
2015-05-26 06:43:46 -06:00
|
|
|
background-color: #ccc;
|
2015-02-08 11:34:28 -07:00
|
|
|
border: 1px solid #aaa;
|
2015-05-26 06:43:46 -06:00
|
|
|
border-radius: 3px;
|
2015-02-08 11:34:28 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: none;
|
2015-05-26 06:43:46 -06:00
|
|
|
color: #000;
|
2015-02-08 11:34:28 -07:00
|
|
|
cursor: pointer;
|
2015-05-26 06:43:46 -06:00
|
|
|
margin: 0 0 0 2px;
|
|
|
|
opacity: 0.7;
|
|
|
|
padding: 4px 6px;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
2015-05-26 06:43:46 -06:00
|
|
|
button:first-of-type {
|
|
|
|
margin-left: 0;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
|
|
|
button:disabled {
|
|
|
|
color: #999;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
2015-05-26 06:43:46 -06:00
|
|
|
button:not(:disabled):hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2015-02-08 11:34:28 -07:00
|
|
|
#create:not(:disabled) {
|
2016-04-16 09:20:01 -06:00
|
|
|
background-color: hsl(36, 100%, 83%);
|
|
|
|
border-color: hsl(36, 50%, 60%);
|
|
|
|
}
|
|
|
|
#preview {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
body.preview #preview {
|
|
|
|
background-color: hsl(204, 100%, 83%);
|
|
|
|
border-color: hsl(204, 50%, 60%);
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
|
|
|
section {
|
2015-05-26 06:43:46 -06:00
|
|
|
border: 0;
|
2015-02-08 11:34:28 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-10-02 14:10:38 -06:00
|
|
|
section > div:first-child {
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
margin: 0;
|
2016-10-01 10:34:25 -06:00
|
|
|
position: relative;
|
|
|
|
}
|
2016-12-25 14:56:39 -07:00
|
|
|
section.invalidFilter > div:first-child {
|
|
|
|
border-color: red;
|
|
|
|
}
|
|
|
|
section > div:first-child > textarea {
|
2015-02-08 11:34:28 -07:00
|
|
|
background-color: #fff;
|
2016-10-02 14:10:38 -06:00
|
|
|
border: none;
|
2015-02-08 11:34:28 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
font: 11px monospace;
|
2016-10-02 14:10:38 -06:00
|
|
|
height: 8em;
|
|
|
|
margin: 0;
|
2015-02-08 11:34:28 -07:00
|
|
|
overflow: hidden;
|
2016-10-02 14:10:38 -06:00
|
|
|
padding: 2px;
|
2015-02-08 11:34:28 -07:00
|
|
|
resize: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-12-25 14:56:39 -07:00
|
|
|
section > div:first-child > textarea + div {
|
2016-10-01 10:34:25 -06:00
|
|
|
background-color: #aaa;
|
|
|
|
bottom: 0;
|
|
|
|
color: white;
|
|
|
|
padding: 2px 4px;
|
2015-05-26 06:43:46 -06:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
2016-12-25 14:56:39 -07:00
|
|
|
section.invalidFilter > div:first-child > textarea + div {
|
|
|
|
background-color: red;
|
|
|
|
}
|
2016-10-02 14:10:38 -06:00
|
|
|
section > div:first-child + div {
|
2016-10-01 10:34:25 -06:00
|
|
|
direction: ltr;
|
|
|
|
margin: 2px 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2015-02-08 11:34:28 -07:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
text-align: left;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2015-05-26 06:43:46 -06:00
|
|
|
aside > ul {
|
2016-04-16 09:20:01 -06:00
|
|
|
max-height: 16em;
|
2015-05-26 06:43:46 -06:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
aside > ul > li:first-of-type {
|
|
|
|
margin-bottom: 0.5em;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
|
|
|
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 {
|
|
|
|
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-05-26 06:43:46 -06:00
|
|
|
background-color: white;
|
2015-02-09 06:03:29 -07:00
|
|
|
}
|
|
|
|
svg {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: crosshair;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.paused > svg {
|
2015-02-17 05:46:49 -07:00
|
|
|
cursor: not-allowed;
|
2015-02-09 06:03:29 -07:00
|
|
|
}
|
|
|
|
svg > path:first-child {
|
|
|
|
fill: rgba(0,0,0,0.75);
|
|
|
|
fill-rule: evenodd;
|
|
|
|
}
|
|
|
|
svg > path + path {
|
|
|
|
stroke: #F00;
|
|
|
|
stroke-width: 0.5px;
|
2016-04-16 09:20:01 -06:00
|
|
|
fill: rgba(255,63,63,0.20);
|
|
|
|
}
|
2016-04-19 07:15:06 -06:00
|
|
|
body.preview svg > path {
|
2016-04-16 09:20:01 -06:00
|
|
|
fill: rgba(0,0,0,0.10);
|
2015-02-09 06:03:29 -07:00
|
|
|
}
|
2016-10-01 10:34:25 -06:00
|
|
|
body.preview svg > path + path {
|
|
|
|
stroke: none;
|
|
|
|
}
|
2015-02-09 06:03:29 -07:00
|
|
|
aside {
|
2015-06-25 22:08:41 -06:00
|
|
|
background-color: #eee;
|
2016-10-01 10:34:25 -06:00
|
|
|
border: 1px solid #aaa;
|
2015-02-09 06:03:29 -07:00
|
|
|
bottom: 4px;
|
2015-06-25 22:08:41 -06:00
|
|
|
box-sizing: border-box;
|
|
|
|
visibility: hidden;
|
2015-02-09 06:03:29 -07:00
|
|
|
padding: 4px;
|
|
|
|
position: fixed;
|
|
|
|
right: 4px;
|
2015-06-25 22:08:41 -06:00
|
|
|
width: calc(40% - 4px);
|
2015-02-09 06:03:29 -07:00
|
|
|
}
|
|
|
|
body.paused > aside {
|
2015-06-25 22:08:41 -06:00
|
|
|
opacity: 0.1;
|
|
|
|
visibility: visible;
|
|
|
|
z-index: 100;
|
2015-02-09 06:03:29 -07:00
|
|
|
}
|
|
|
|
body.paused > aside:hover {
|
|
|
|
opacity: 1;
|
2015-02-08 11:34:28 -07:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body direction="{{bidi_dir}}">
|
2015-02-09 06:03:29 -07:00
|
|
|
<svg><path></path><path></path></svg>
|
|
|
|
<aside>
|
|
|
|
<section>
|
2016-10-01 10:34:25 -06:00
|
|
|
<div>
|
|
|
|
<textarea lang="en" dir="ltr" spellcheck="false"></textarea>
|
|
|
|
<div></div>
|
|
|
|
</div>
|
2015-05-26 06:43:46 -06:00
|
|
|
<div><!--
|
2016-04-16 09:20:01 -06:00
|
|
|
--><button id="preview" type="button">{{preview}}</button><!--
|
|
|
|
--><button id="create" type="button" disabled>{{create}}</button><!--
|
2015-05-26 06:43:46 -06:00
|
|
|
--><button id="pick" type="button">{{pick}}</button><!--
|
|
|
|
--><button id="quit" type="button">{{quit}}</button><!--
|
|
|
|
--></div>
|
2015-02-09 06:03:29 -07: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 11:34:28 -07:00
|
|
|
</body>
|