add theme hotaru

This commit is contained in:
naiba
2020-12-09 19:05:40 +08:00
parent 8e30f48395
commit 53ef95a664
220 changed files with 2453 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,47 @@
/* Dark mode */
#darkmodeButton {
background-color: black;
width: 3rem;
height: 3rem;
position: fixed;
bottom: 2rem;
right: 0.5rem;
z-index: 9999;
border-radius: 50%;
outline: 0;
}
body.dark #darkmodeButton {
background-color: white;
}
body.dark {
background: #263236;
color: #aaa;
}
body.dark table.table-striped tr.even {
background-color: #212f36;
}
body.dark table.table-striped tr.odd {
background-color: #2f3c42;
}
body.dark tr.expandRow {
background-color: #263238 !important;
}
body.dark .panel {
background-color: #384d58;
color: #aaa;
}
body.dark .panel h3, body.dark .panel span {
color: #aaa;
}
body.dark .page-section {
border-bottom: 1px solid #212f36;
}

View File

@@ -0,0 +1,312 @@
body {
margin: 0;
color: #616366;
background: url(../img/bg_parts.png) repeat-y left top, url(../img/bg.png) repeat left top;
}
a {
-webkit-transition: all ease-in .15s;
-moz-transition: all ease-in .15s;
-ms-transition: all ease-in .15s;
-o-transition: all ease-in .15s;
transition: all ease-in .15s;
}
th {
padding: 0;
text-align: center;
}
table {
border-spacing: 0;
border-collapse: collapse;
}
@media (max-width: 991px) {
.container {
padding-left: 24px;
padding-right: 24px;
}
}
@media (max-width: 767px) {
.container {
padding-left: 20px;
padding-right: 20px;
}
}
.page-section {
padding-top: 48px;
padding-bottom: 55px;
border-bottom: 1px solid #edeff2;
}
@media (max-width: 991px) {
.page-section {
padding-top: 25px;
padding-bottom: 35px;
}
}
.location-header {
padding: 0 0 20px 0;
}
.location-header .h4 {
margin: 0;
}
.location-header .h4 small {
display: block;
padding: 3px 0 0 0;
color: #919699;
font-size: 12px;
font-weight: 300;
text-transform: none;
}
.location-info {
margin: 0 0 -5px 0;
font-size: 14px;
opacity: 1;
visibility: visible;
-webkit-transform: translateX(0) translateY(0);
transform: translateX(0) translateY(0);
-webkit-transition: all ease-in .25s, transform .6s cubic-bezier(0.165, 0.84, 0.44, 1);
-moz-transition: all ease-in .25s, transform .6s cubic-bezier(0.165, 0.84, 0.44, 1);
transition: all ease-in .25s, transform .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.location-info>li {
margin: 0;
}
.location-header>i {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
}
.location-progress .progress {
margin: 0 0 15px 0;
}
.progress {
background-color: #d5dade;
-webkit-box-shadow: none;
box-shadow: none;
}
.progress-bar {
background: linear-gradient(to right, #44ce78 0%, #43ce9f 100%) !important;
}
.progress-bar-danger {
background: #d9534f !important;
}
.progress-bar-warning {
background: #f0ad4e !important;
}
.progress-sm {
height: 5px;
}
.table {
/* font-size: 0.9rem; */
font-weight: 800;
}
.table>thead>tr>th:first-child {
padding-left: 5px;
}
.table>thead>tr>th:last-child {
padding-right: 5px;
}
.hotaru-cover p,
h1 {
color: white;
font-weight: bolder;
}
@media only screen and (min-width: 992px) {
.hotaru-cover {
background: url(../img/tenshi_l.png) center no-repeat;
background-size: 100%;
}
}
@media only screen and (max-width: 992px) {
#location,
tr td:nth-child(4) {
display: none;
visibility: hidden;
}
.hotaru-cover {
background: url(../img/tenshi_l.png) center no-repeat;
background-size: 100%;
}
}
@media only screen and (max-width: 720px) {
#type,
tr td:nth-child(3) {
display: none;
visibility: hidden;
}
#location,
tr td:nth-child(4) {
display: none;
visibility: hidden;
}
#uptime,
tr td:nth-child(5) {
display: none;
visibility: hidden;
}
.hotaru-cover {
background: url(../img/tenshi.png) no-repeat;
background-size: 100%;
}
}
@media only screen and (max-width: 600px) {
#type,
tr td:nth-child(3) {
display: none;
visibility: hidden;
}
#location,
tr td:nth-child(4) {
display: none;
visibility: hidden;
}
#uptime,
tr td:nth-child(5) {
display: none;
visibility: hidden;
}
#load,
tr td:nth-child(6) {
display: none;
visibility: hidden;
}
.hotaru-cover {
background: url(../img/tenshi.png) no-repeat;
background-size: 100%;
}
}
@media only screen and (max-width: 533px) {
#type,
tr td:nth-child(3) {
display: none;
visibility: hidden;
}
#location,
tr td:nth-child(4) {
display: none;
visibility: hidden;
}
#uptime,
tr td:nth-child(5) {
display: none;
visibility: hidden;
}
#traffic,
tr td:nth-child(8) {
display: none;
visibility: hidden;
}
#load,
tr td:nth-child(6) {
display: none;
visibility: hidden;
}
.hotaru-cover {
background: url(../img/tenshi.png) no-repeat;
background-size: 100%;
}
@media only screen and (max-width: 450px) {
body {
font-size: 10px;
}
.content {
padding: 0;
}
#name,
tr td:nth-child(2) {
min-width: 20px;
max-width: 60px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
#type,
tr td:nth-child(3) {
display: none;
visibility: hidden;
}
#location,
tr td:nth-child(4) {
display: none;
visibility: hidden;
}
#uptime,
tr td:nth-child(5) {
display: none;
visibility: hidden;
}
#traffic,
tr td:nth-child(8) {
display: none;
visibility: hidden;
}
#hdd,
tr td:nth-child(11) {
display: none;
visibility: hidden;
}
#cpu,
#ram {
min-width: 20px;
max-width: 40px;
}
.hotaru-cover {
background: url(../img/tenshi.png) no-repeat;
background-size: 100%;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Some files were not shown because too many files have changed in this diff Show More