mobile show

This commit is contained in:
macos 2019-05-10 17:28:59 +08:00
parent f86c261efc
commit 57f50aeb47
2 changed files with 18 additions and 6 deletions

@ -44,11 +44,17 @@ tr.odd.expandRow > :hover { background: #000 !important; }
@media only screen and (max-width: 450px) {
body { font-size: 10px; }
.content { padding: 0; }
#name, tr td:nth-child(3) { min-width: 10px; max-width: 25px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
#status4, tr td:nth-child(1) { width: 35px; }
#ipstatus, tr td:nth-child(2) { width: 35px; }
#name, tr td:nth-child(3) { min-width: 45px; max-width: 55px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
#network, tr td:nth-child(8) { display:none; visibility:hidden; }
#cpu, #ram, #hdd { min-width: 25px; max-width: 50px; }
#traffic, tr td:nth-child(8) { display:none; visibility:hidden; }
#cpu, tr td:nth-child(10) { width: 55px; }
#ram, tr td:nth-child(11) { width: 55px; }
#hdd, tr td:nth-child(12) { display:none; visibility:hidden; }
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
}

@ -41,11 +41,17 @@ tr.odd.expandRow > :hover { background: #FFF !important; }
@media only screen and (max-width: 450px) {
body { font-size: 10px; }
.content { padding: 0; }
#name, tr td:nth-child(3) { min-width: 10px; max-width: 25px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
#status4, tr td:nth-child(1) { width: 35px; }
#ipstatus, tr td:nth-child(2) { width: 35px; }
#name, tr td:nth-child(3) { min-width: 45px; max-width: 55px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
#type, tr td:nth-child(4) { display:none; visibility:hidden; }
#location, tr td:nth-child(5) { display:none; visibility:hidden; }
#uptime, tr td:nth-child(6) { display:none; visibility:hidden; }
#network, tr td:nth-child(8) { display:none; visibility:hidden; }
#cpu, #ram, #hdd { min-width: 25px; max-width: 50px; }
#traffic, tr td:nth-child(8) { display:none; visibility:hidden; }
#cpu, tr td:nth-child(10) { width: 55px; }
#ram, tr td:nth-child(11) { width: 55px; }
#hdd, tr td:nth-child(12) { display:none; visibility:hidden; }
#ping, tr td:nth-child(13) { display:none; visibility:hidden; }
}