From a8e07bdea9a4050d78ff349ad47571de9140accc Mon Sep 17 00:00:00 2001 From: shylinux Date: Thu, 27 May 2021 17:01:42 +0800 Subject: [PATCH] opt some --- page/index.css | 15 ++++++++------- panel/header.css | 6 +++++- proto.js | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/page/index.css b/page/index.css index ada0af9f..d2ee94af 100644 --- a/page/index.css +++ b/page/index.css @@ -1,7 +1,3 @@ -a { - - color:yellow; -} body.mobile.landscape fieldset.Header.head { position:unset; } @@ -67,6 +63,10 @@ body.mobile div.input.login input { font-size:24px } +a { + + color:yellow; +} body { margin:0; padding:0; background:black; @@ -486,9 +486,6 @@ body>fieldset.input.date table td:hover { background-color:red; } -body.black a { - color:yellow; -} body.white { background-color:#052238bf; color:white; @@ -569,6 +566,10 @@ body.print { background-color:white; color:black; } +body.print a { + color:blue; + +} body.print fieldset.Header { background-color:white; color:black; diff --git a/panel/header.css b/panel/header.css index 5d783a01..0a89b53c 100644 --- a/panel/header.css +++ b/panel/header.css @@ -22,7 +22,7 @@ fieldset.Header>div.output>div.search { float:left; margin-left:20px; } fieldset.Header>div.output>div.search>input { - width:120px; + width:120px; background-color:cyan; } fieldset.Header>div.output>div.search>input:hover { /* width:240px; */ @@ -49,3 +49,7 @@ fieldset.Header>div.output div.menu:hover { fieldset.Header>div.status { display:none; } + +body.print fieldset.Header>div.output>div.search>input { + width:120px; background-color:white; +} diff --git a/proto.js b/proto.js index 8c13a756..2dd9f17f 100644 --- a/proto.js +++ b/proto.js @@ -77,7 +77,7 @@ var Volcanos = shy("火山架", {args: {}, pack: {}, libs: [], cache: {}}, [], f Conf: function(key, value) { return can.core.Value(can._conf, key, value) }, _conf: {}, }; can = can || {}; can.__proto__ = proto - if (_can_name) { // 加入缓存 + if (_can_name && location.search.indexOf("debug=true") == -1) { // 加入缓存 meta.cache[_can_name] = meta.cache[_can_name] || [] meta.cache[_can_name].push(can) } else { // 加入队列