Skip to content

Commit

Permalink
mobile show
Browse files Browse the repository at this point in the history
  • Loading branch information
cppla committed May 10, 2019
1 parent f86c261 commit 57f50ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions web/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
12 changes: 9 additions & 3 deletions web/css/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}

0 comments on commit 57f50ae

Please sign in to comment.