From ab5f195aad1df11e8723474ddd257d65ebdfc5cc Mon Sep 17 00:00:00 2001 From: shylinux Date: Sun, 5 Apr 2020 16:07:15 +0800 Subject: [PATCH] add miss --- index.js | 2 +- page/black.css | 38 +++++++++++++++ page/miss.css | 114 +++++++++++++++++++++++++++++++++++++++++++ pane/Storm.css | 4 -- plugin/wiki/draw.css | 3 -- plugin/wiki/word.css | 11 ----- style.css | 6 --- 7 files changed, 153 insertions(+), 25 deletions(-) create mode 100644 page/miss.css diff --git a/index.js b/index.js index 8d7208de..1a868917 100644 --- a/index.js +++ b/index.js @@ -33,7 +33,7 @@ var Config = {iceberg: "/chat/", volcano: "/static/volcanos/", {group: "index", name: "Action", pos: "bottom"}, {group: "index", name: "Footer", pos: "foot", state: ["ntxt", "ncmd"], title: 'shylinux@163.com'}, - ], title: "volcanos", topic: "black", layout: {def: "工作", list: ["工作", "办公", "聊天"], size: { + ], title: "volcanos", topic: "miss", layout: {def: "工作", list: ["工作", "办公", "聊天"], size: { "最大": {head: 0, foot: 0, left: 0, right: 0, bottom: -1, center: 0, top: 0}, "工作": {head: 30, foot: 30, left: 0, right: 100, bottom: -1, center: 0, top: 0}, "办公": {head: 30, foot: 30, left: 100, right: 100, bottom: -1, center: 0, top: 0}, diff --git a/page/black.css b/page/black.css index 7ffda2a6..d2c1c4a3 100644 --- a/page/black.css +++ b/page/black.css @@ -34,6 +34,11 @@ fieldset.story { margin:2px; } +fieldset div.output>div.item:hover { + cursor:pointer; + background-color:red; + border:ridge 2px yellow; +} fieldset input { font-size:12px; } @@ -46,6 +51,9 @@ fieldset input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color:green; } +fieldset table { + border:solid 1px green; +} fieldset table tr:hover { background-color:#0fbd45; } @@ -73,3 +81,33 @@ fieldset table td:hover { fieldset table td.select { background-color:red; } + +fieldset div.code { + color:white; + font-size:14px; + font-family:monospace; + background-color:#343a34f2; + white-space:pre; + padding:10px; + overflow:auto; + border:solid 3px green; + max-height:640px; +} + +fieldset.Storm>div.output>div.item.select { + background-color:red; + border:ridge 2px yellow; +} +fieldset.item>div.output>div.code svg { + border: solid 2px red; +} + +fieldset .story { + border:solid 2px #f000; +} +fieldset .story:hover { + border:solid 2px red; +} +fieldset fieldset.story { + border:ridge 2px cyan; +} diff --git a/page/miss.css b/page/miss.css new file mode 100644 index 00000000..54b813ed --- /dev/null +++ b/page/miss.css @@ -0,0 +1,114 @@ +body, fieldset { + color: white; + background-color:black; +} +fieldset.item { + border:ridge 2px gray; + margin:2px; +} +fieldset.item:hover { + /* background-color:gold; */ + border:ridge 2px gray; +} +fieldset.item.select { + /* background-color:gold; */ + border:ridge 2px gray; +} +a { + color:white; +} + +fieldset.input { + border:solid 2px yellow; +} +fieldset.input table tr:hover { + background-color:gray; +} +fieldset.input table td:hover { + background-color:gray; + cursor:pointer; +} +fieldset.input table td.select { + background-color:gray; +} + +fieldset.story { + border:ridge 1px gray; + margin:2px; +} + +fieldset div.output>div.item:hover { + cursor:pointer; + border:ridge 2px gray; +} +fieldset input { + font-size:12px; +} +fieldset input.args { + background-color:gray; + font-weight:600; + width:80px; +} +fieldset input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { + color:gray; +} + +fieldset table { + border:solid 1px gray; +} +fieldset table tr:hover { + background-color:gray; +} +fieldset table tr.over { + background:gray; +} +fieldset table tr.select { + background-color:gray; +} +fieldset table th { + font-family:monospace; + background-color:gray; + cursor:pointer; + padding: 0 6px; +} +fieldset table td { + max-width:1200px; + font-family:monospace; + padding: 0 6px; + white-space: pre; +} +fieldset table td:hover { + background-color:gray; +} +fieldset table td.select { + background-color:gray; +} +fieldset div.code { + color:white; + font-size:14px; + font-family:monospace; + background-color:black; + white-space:pre; + padding:10px; + overflow:auto; + border:solid 3px gray; + max-height:640px; +} + +fieldset.Storm>div.output>div.item.select { + border:ridge 2px gray; +} +fieldset.item>div.output>div.code svg { + border: solid 2px gray; +} + + +fieldset .story { + border:solid 2px gray; +} +fieldset .story:hover { + border:solid 2px gray; +} +fieldset fieldset.story { + border:ridge 2px gray; +} diff --git a/pane/Storm.css b/pane/Storm.css index 79d0d5bf..b72d830c 100644 --- a/pane/Storm.css +++ b/pane/Storm.css @@ -7,8 +7,4 @@ fieldset.Storm>div.output { fieldset.Storm>div.output>div.item { padding-left:6px; } -fieldset.Storm>div.output>div.item.select { - background-color:red; - border:ridge 2px yellow; -} diff --git a/plugin/wiki/draw.css b/plugin/wiki/draw.css index 736ac718..31a75bdb 100644 --- a/plugin/wiki/draw.css +++ b/plugin/wiki/draw.css @@ -1,7 +1,4 @@ -fieldset.item>div.output>div.code svg { - border: solid 2px red; -} fieldset.item>div.output>div.status>div { float:left; height:20px; diff --git a/plugin/wiki/word.css b/plugin/wiki/word.css index 72326118..c13b4646 100644 --- a/plugin/wiki/word.css +++ b/plugin/wiki/word.css @@ -9,17 +9,6 @@ fieldset.clear { clear:both; } -fieldset .story { - border:solid 2px #f000; -} -fieldset .story:hover { - border:solid 2px red; -} - -fieldset fieldset.story { - border:ridge 2px cyan; -} - fieldset p.story { white-space:pre; } diff --git a/style.css b/style.css index 74d31acd..b2215e4c 100644 --- a/style.css +++ b/style.css @@ -90,11 +90,6 @@ fieldset div.output { fieldset div.output>div.item { padding:2px; } -fieldset div.output>div.item:hover { - cursor:pointer; - background-color:red; - border:ridge 2px yellow; -} fieldset div.status { clear:both; } @@ -147,7 +142,6 @@ fieldset.input>legend { fieldset table { font-size:14px; overflow: auto; - border:solid 1px green; } fieldset table caption { font-size:18px;