-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.优化default主题模版 2.优化serverstatus主题模版
- Loading branch information
Showing
31 changed files
with
1,712 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -621,3 +621,9 @@ other = "启用DDNS" | |
|
||
[DDNSDomain] | ||
other = "DDNS域名" | ||
|
||
[Feature] | ||
other = "功能" | ||
|
||
[Template] | ||
other = "主题" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -621,3 +621,9 @@ other = "啟用DDNS" | |
|
||
[DDNSDomain] | ||
other = "DDNS網域" | ||
|
||
[Feature] | ||
other = "功能" | ||
|
||
[Template] | ||
other = "主題" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
/* 屏幕适配 */ | ||
@media only screen and (min-width:1200px) { | ||
.ui.container { | ||
width:95% !important; | ||
font-size: 90% !important; | ||
} | ||
} | ||
@media only screen and (max-width:767px) { | ||
.ui.card>.content>.header:not(.ui),.ui.cards>.card>.content>.header:not(.ui) { | ||
margin-top:0.4em !important; | ||
} | ||
.ui.menu .item>img:not(.ui){ | ||
width: 2.2rem; | ||
} | ||
.ui.menu .item:before{ | ||
width:0.5px; | ||
} | ||
.ui.menu .item{ | ||
padding: 0.9rem 0.55rem; | ||
} | ||
.ui.large.menu{ | ||
font-size: 1rem; | ||
} | ||
} | ||
|
||
i.icon { | ||
color:#000; | ||
width:1.2em !important; | ||
} | ||
i.fi { | ||
width:0.9em; | ||
margin:0px 6px 0px 2px; | ||
} | ||
|
||
body { | ||
content:" " !important; | ||
background:fixed !important; | ||
z-index:-1 !important; | ||
top:0 !important; | ||
right:0 !important; | ||
bottom:0 !important; | ||
left:0 !important; | ||
} | ||
|
||
td { | ||
word-wrap: break-word; | ||
word-break: break-all; | ||
} | ||
|
||
.nb-container { | ||
padding-top: 75px; | ||
min-height: 100vh; | ||
padding-bottom: 65px; | ||
margin-bottom: -47px; | ||
} | ||
|
||
#app .ui.fluid.accordion { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.login.nb-container { | ||
display: flex; | ||
align-items: center; | ||
padding-top: unset; | ||
} | ||
|
||
.login.nb-container > .grid { | ||
width: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
.login.nb-container > .grid .column { | ||
max-width: 450px; | ||
} | ||
|
||
.ui.menu .item-right:before{ | ||
width:0px; | ||
} | ||
|
||
.status.cards .flag { | ||
margin-right: 0 !important; | ||
} | ||
|
||
.status.cards .header > .info.icon { | ||
float: right; | ||
margin-right: 0; | ||
} | ||
|
||
.status.cards .wide.column { | ||
padding-top: 0 !important; | ||
padding-bottom: 0 !important; | ||
height:3.3rem !important; | ||
} | ||
|
||
.status.cards .wide.column:nth-child(1) { | ||
margin-top:2rem !important; | ||
} | ||
|
||
.status.cards .wide.column:nth-child(2) { | ||
margin-top:2rem !important; | ||
} | ||
|
||
.status.cards .thirteen.wide.column{ | ||
padding-left:0; | ||
} | ||
|
||
.status.cards .description { | ||
padding-bottom:0 !important; | ||
} | ||
|
||
.status.cards .flag { | ||
margin-right:0.5rem !important; | ||
} | ||
|
||
.status.cards .header > .info.icon { | ||
float: right; | ||
margin-right:0 !important; | ||
} | ||
|
||
.ui.popup:before { | ||
display: none; | ||
} | ||
|
||
.closePopup{ | ||
color:rgb(10, 148, 242) !important; | ||
position: absolute; | ||
top: 10px; | ||
right: 10px; | ||
cursor: pointer; | ||
z-index: 9999; | ||
} | ||
|
||
.ui.content { | ||
margin:0 !important; | ||
padding:1em !important; | ||
} | ||
|
||
.status.cards .ui.content.popup { | ||
min-width:calc(100%)!important; | ||
line-height:2rem !important; | ||
border-radius:5px !important; | ||
border:1px solid transparent !important; | ||
font-family:Arial,Helvetica,sans-serif !important; | ||
} | ||
|
||
.status.cards .outline.icon { | ||
margin-right:1px !important; | ||
} | ||
|
||
.ui.progress .bar { | ||
min-width:1.8em !important; | ||
border-radius:5px !important; | ||
line-height:1.65em !important; | ||
text-align: right; | ||
padding-right: 0.4em; | ||
color: rgba(255, 255, 255, 0.7); | ||
font-weight: 700; | ||
max-width: 100% !important; | ||
} | ||
|
||
.service-status .delay-today { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.service-status .delay-today > i { | ||
display: inline-block; | ||
width: 1.2em; | ||
height: 1.2em; | ||
border-radius: 0.6em; | ||
background-color: grey; | ||
margin-right: 0.3em; | ||
} | ||
|
||
.service-status .danger { | ||
background-color: crimson !important; | ||
} | ||
|
||
.service-status .good { | ||
background-color: rgb(10, 148, 242) !important; | ||
} | ||
|
||
.service-status .warning { | ||
background-color: orange !important; | ||
} | ||
|
||
.nezha-primary-btn { | ||
background-color: #0338d6 !important; | ||
color: white !important; | ||
} | ||
|
||
.nezha-primary-font { | ||
color: #0338d6 !important; | ||
} | ||
|
||
.nezha-secondary-font { | ||
color: rgb(10, 148, 242) !important; | ||
} | ||
|
||
.ui-alerts.top-center { | ||
z-index: 99999999; | ||
} |
6 changes: 3 additions & 3 deletions
6
resource/static/theme-server-status/css/bootstrap-theme.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
resource/static/theme-server-status/css/bootstrap-theme.min.css.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.