parent
5a3f374fd5
commit
892b964580
@ -29,9 +29,19 @@ table td, .table .td {
|
|||||||
color: red !important;
|
color: red !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
._now_use_bg {
|
||||||
|
background: #5e72e445 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ping a:hover{
|
.ping a:hover{
|
||||||
text-decoration : underline;
|
text-decoration : underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
._now_use_bg {
|
||||||
|
background: #4a90e2 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -212,6 +222,7 @@ table td, .table .td {
|
|||||||
var dom = document.getElementById("cbi-passwall-" + id);
|
var dom = document.getElementById("cbi-passwall-" + id);
|
||||||
if (dom) {
|
if (dom) {
|
||||||
dom.title = "当前使用的 TCP 节点";
|
dom.title = "当前使用的 TCP 节点";
|
||||||
|
dom.classList.add("_now_use_bg");
|
||||||
//var v = "<a style='color: red'>当前TCP节点:</a>" + document.getElementById("cbid.passwall." + id + ".remarks").value;
|
//var v = "<a style='color: red'>当前TCP节点:</a>" + document.getElementById("cbid.passwall." + id + ".remarks").value;
|
||||||
//document.getElementById("cbi-passwall-" + id + "-remarks").innerHTML = v;
|
//document.getElementById("cbi-passwall-" + id + "-remarks").innerHTML = v;
|
||||||
var dom_remarks = document.getElementById("cbi-passwall-" + id + "-remarks");
|
var dom_remarks = document.getElementById("cbi-passwall-" + id + "-remarks");
|
||||||
@ -229,6 +240,7 @@ table td, .table .td {
|
|||||||
} else {
|
} else {
|
||||||
dom.title = "当前使用的 UDP 节点";
|
dom.title = "当前使用的 UDP 节点";
|
||||||
}
|
}
|
||||||
|
dom.classList.add("_now_use_bg");
|
||||||
var dom_remarks = document.getElementById("cbi-passwall-" + id + "-remarks");
|
var dom_remarks = document.getElementById("cbi-passwall-" + id + "-remarks");
|
||||||
if (dom_remarks) {
|
if (dom_remarks) {
|
||||||
dom_remarks.classList.add("_now_use");
|
dom_remarks.classList.add("_now_use");
|
||||||
|
Loading…
Reference in New Issue
Block a user