Browse Source

更改按钮颜色避免视觉疲劳

tags/6.1.7
xushubieli 2 years ago
parent
commit
3d576a0702
12 changed files with 25 additions and 25 deletions
  1. +1
    -1
      src/admin/css/indexbody.css
  2. +1
    -1
      src/admin/dialog/select_mimages.php
  3. +1
    -1
      src/admin/member_pm.php
  4. +1
    -1
      src/admin/sys_repair.php
  5. +2
    -2
      src/admin/sys_safetest.php
  6. +1
    -1
      src/admin/templets/vote_main.htm
  7. +10
    -10
      src/admin/testenv.php
  8. +1
    -1
      src/static/web/css/admin.css
  9. +1
    -1
      src/static/web/css/bootstrap.min.css
  10. +1
    -1
      src/static/web/css/bootstrap.min.css.map
  11. +1
    -1
      src/system/common.func.php
  12. +4
    -4
      src/user/index_do.php

+ 1
- 1
src/admin/css/indexbody.css View File

@@ -1 +1 @@
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px}
.title{color:#009688}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px}

+ 1
- 1
src/admin/dialog/select_mimages.php View File

@@ -19,7 +19,7 @@ input[type=radio],input[type=checkbox]{margin:0;height:auto;box-shadow:none;outl
button+button{margin-left:10px}
#wrap{padding:10px}
#topbar{padding:10px 0;border-bottom:1px solid #ccc;text-align:right}
#topbar button{display:inline-block;border:0;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#28a745;border-color:#28a745;border-radius:.25rem;transition:all .6s;text-align:center}
#topbar button{display:inline-block;border:0;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#009688;border-color:#009688;border-radius:.25rem;transition:all .6s;text-align:center}
.topbar button+.topbar button{margin-left:10px}
#topbar button:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5);outline:none}
#file_list{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding-top:10px}


+ 1
- 1
src/admin/member_pm.php View File

@@ -55,6 +55,6 @@ function GetFolders($me)
function IsReader($me)
{
$me = preg_replace("#[^0-1]#", "", $me);
if ($me) return "<span style='color:#28a745'>√</span>";
if ($me) return "<span style='color:#009688'>√</span>";
else return "<span style='color:#dc3545'>×</span>";
}

+ 1
- 1
src/admin/sys_repair.php View File

@@ -57,7 +57,7 @@ else if ($dopost == 1) {
<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td height='250' valign='top'>
<span style='color:#28a745'>已完成数据结构完整性检测</span>
<span style='color:#009688'>已完成数据结构完整性检测</span>
<hr size='1'/>
<br>
如果您系统有下面几种问题之一,请检测微表正确性:<br>


+ 2
- 2
src/admin/sys_safetest.php View File

@@ -77,7 +77,7 @@ if ($action == 'test') {
$message = '<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"><link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">';
AjaxHead();
TestSafe(DEDEROOT);
if ($message == '') $message = "<span style='color:#28a745'>没发现可疑文件</span>";
if ($message == '') $message = "<span style='color:#009688'>没发现可疑文件</span>";
echo $message;
exit();
} else if ($action == 'viewdiff') {
@@ -114,7 +114,7 @@ else if ($action == 'clear') {
@unlink($d.'/'.$filename);
}
}
$message = "<span style='color:#28a745'>成功清空模板缓存</span>";
$message = "<span style='color:#009688'>成功清空模板缓存</span>";
echo $message;
exit();
}


+ 1
- 1
src/admin/templets/vote_main.htm View File

@@ -36,7 +36,7 @@
<td>{dede:field.starttime function="GetDateMk(@me)" /}</td>
<td>{dede:field.endtime function="GetDateMk(@me)" /}</td>
<td>{dede:field.totalcount /}</td>
<td><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span style='color:#28a745'>启用</span>";} ?></td>
<td><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span style='color:#009688'>启用</span>";} ?></td>
<td>
<a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a>
<a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a>


+ 10
- 10
src/admin/testenv.php View File

@@ -292,32 +292,32 @@ $action = isset($action) ? $action : '';
echo "<span style='color:#dc3545'>无法判断</span>";
} else {
if ($val['execute'] == true)
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>";
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:#009688'>正常(可执行)</span>";
else
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:#28a745'>正常(不可执行)</span>";
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:#009688'>正常(不可执行)</span>";
}
?>|<?php
if ($val['read'] == true)
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>";
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#009688'>正常(可读)</span>";
else
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>";
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#009688'>正常(不可读)</span>";
?>|<?php
if ($val['write'] == true)
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>";
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#009688'>正常(可写)</span>";
else
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>";
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#009688'>正常(不可写)</span>";
?><dedecms><?php
} else {
?><?php echo $key; ?>|无需判断|<?php
if ($val['read'] == true)
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>";
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#009688'>正常(可读)</span>";
else
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>";
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#009688'>正常(不可读)</span>";
?>|<?php
if ($val['write'] == true)
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>";
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#009688'>正常(可写)</span>";
else
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>";
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#009688'>正常(不可写)</span>";
?><dedecms><?php
}
}


+ 1
- 1
src/static/web/css/admin.css
File diff suppressed because it is too large
View File


+ 1
- 1
src/static/web/css/bootstrap.min.css
File diff suppressed because it is too large
View File


+ 1
- 1
src/static/web/css/bootstrap.min.css.map
File diff suppressed because it is too large
View File


+ 1
- 1
src/system/common.func.php View File

@@ -224,7 +224,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0)
}
$func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}";
$rmsg = $func;
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f2f2f2}a{color:#28a745;text-decoration:none}.tips{margin:68px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff5722}.tips-box{padding:20px;min-height:120px;color:#666}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");";
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f2f2f2}a{color:#009688;text-decoration:none}.tips{margin:68px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff5722}.tips-box{padding:20px;min-height:120px;color:#666}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#009688;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");";
$rmsg .= "document.write(\"<div class='tips'>";
$rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");";
$rmsg .= "document.write(\"<div class='tips-box'>\");";


+ 4
- 4
src/user/index_do.php View File

@@ -94,7 +94,7 @@ else if ($fmdo == 'user') {
$msg = CheckUserID($uid, $msgtitle, false);
}
if ($msg == 'ok') {
$msg = "<span style='color:#28a745'>√{$msgtitle}可以使用</span>";
$msg = "<span style='color:#009688'>√{$msgtitle}可以使用</span>";
} else {
$msg = "<span style='color:#dc3545'>×{$msg}</span>";
}
@@ -106,14 +106,14 @@ else if ($fmdo == 'user') {
AjaxHead();
if ($cfg_md_mailtest == 'N') {
$msg = "<span style='color:#28a745'>√可以使用</span>";
$msg = "<span style='color:#009688'>√可以使用</span>";
} else {
if (!CheckEmail($email)) {
$msg = "<span style='color:#28a745'>×Email格式有误</span>";
$msg = "<span style='color:#009688'>×Email格式有误</span>";
} else {
$row = $dsql->GetOne("SELECT mid FROM `#@__member` WHERE email LIKE '$email' LIMIT 1");
if (!is_array($row)) {
$msg = "<span style='color:#28a745'>√可以使用</span>";
$msg = "<span style='color:#009688'>√可以使用</span>";
} else {
$msg = "<span style='color:#dc3545'>×Email已经被另一个帐号占用</span>";
}


Loading…
Cancel
Save