哪吒监控 – 默认主题魔改透明主题推荐

2,329次阅读
没有评论

共计 6087 个字符,预计需要花费 16 分钟才能阅读完成。

哪吒监控

https://github.com/naiba/nezha

主题截图

哪吒监控 - 默认主题魔改透明主题推荐

 

代码:

<style>

@media only screen and (min-width: 1200px) {
.ui.container {width: 80% !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;}
}


i.icon {
color: #000;
width: 1.2em !important;
}


body {
content: " " !important;
background: fixed !important;
z-index: -1 !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background-position: top !important;
background-repeat: no-repeat !important;
background-size: cover !important;
background-image: url(https://gitee.com/darki/img/raw/master/1631081013043.webp) !important;
font-family: Arial,Helvetica,sans-serif !important;
}


.ui.large.menu {
border: 0 !important;
border-radius: 0px !important;
background-color: rgba(255, 255, 255, 55%) !important;
}


.ui.menu .active.item {background-color: transparent !important;}


.ui.dropdown .menu {
border: 0 !important;
border-radius: 0 !important;
background-color: rgba(255, 255, 255, 80%) !important;
}


.nezha-primary-btn {
background-color: transparent !important;
color: #000 !important;
}


#app .ui.fluid.accordion {
background-color: #fbfbfb26 !important;
border-radius: 0.4rem !important;
}


.ui.four.cards>.card {
border-radius: 0.6rem !important;
background-color: #fafafaa3 !important;
}

.status.cards .wide.column {
padding-top: 0 !important;
padding-bottom: 0 !important;
height: 3.3rem !important;
}

.status.cards .three.wide.column {padding-right: 0rem !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 .description {padding-bottom: 0 !important;}


.status.cards .flag {margin-right: 0.5rem !important;}


.status.cards .header > .info.icon {margin-right: 0 !important;}

.nezha-secondary-font {color: #21ba45 !important;}


.ui.progress {border-radius: 50rem !important;}

.ui.progress .bar {
min-width: 1.8em !important;
border-radius: 15px !important;
line-height: 1.65em !important;
}

.ui.fine.progress> .bar {background-color: #21ba45 !important;}

.ui.progress> .bar {background-color: #000 !important;}

.ui.progress.fine .bar {background-color: #21ba45 !important;}

.ui.progress.warning .bar {background-color: #ff9800 !important;}

.ui.progress.error .bar {background-color: #e41e10 !important;}

.ui.progress.offline .bar {background-color: #000 !important;}


.status.cards .outline.icon {margin-right: 1px !important;}

i.arrow.alternate.circle.down.outline.icon {color: #21ba45 !important;}

i.arrow.alternate.circle.up.outline.icon {color: red !important;}


.ui.right.center.popup {
margin: -3px 0 0 0.914286em !important;
-webkit-transform-origin: left 50% !important;
transform-origin: left 50% !important;
}

.ui.bottom.left.popup {
margin-left: 1px !important;
margin-top: 3px !important;
}

.ui.top.left.popup {
margin-left: 0 !important;
margin-bottom: 10px !important;
}

.ui.top.right.popup {
margin-right: 0 !important;
margin-bottom: 8px !important;
}

.ui.left.center.popup {
margin: -3px .91428571em 0 0 !important;
-webkit-transform-origin: right 50% !important;
transform-origin: right 50% !important;
}

.ui.right.center.popup:before,
.ui.left.center.popup:before {
border: 0px solid #fafafaeb !important;
background: #fafafaeb !important;
}

.ui.top.popup:before {border-color: #fafafaeb transparent transparent !important;}

.ui.popup:before {border-color: #fafafaeb transparent transparent !important;}

.ui.bottom.left.popup:before {
border-radius: 0 !important;
border: 1px solid transparent !important;
border-color: #fafafaeb transparent transparent !important;
background: #fafafaeb !important;
-webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
box-shadow: 0px 0px 0 0 #fafafaeb !important;
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.ui.bottom.right.popup:before {
border-radius: 0 !important;
border: 1px solid transparent !important;
border-color: #fafafaeb transparent transparent !important;
background: #fafafaeb !important
-webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
box-shadow: 0px 0px 0 0 #fafafaeb !important;
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.ui.top.left.popup:before {
border-radius: 0 !important;
border: 1px solid transparent !important;
border-color: #fafafaeb transparent transparent !important;
background: #fafafaeb !important;
-webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
box-shadow: 0px 0px 0 0 #fafafaeb !important;
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.ui.top.right.popup:before {
border-radius: 0 !important;
border: 1px solid transparent !important;
border-color: #fafafaeb transparent transparent !important;
background: #fafafaeb !important;
-webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
box-shadow: 0px 0px 0 0 #fafafaeb !important;
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.ui.left.center.popup:before {
border-radius: 0 !important;
border: 1px solid transparent !important;
border-color: #fafafaeb transparent transparent !important;
background: #fafafaeb !important;
-webkit-box-shadow: 0px 0px 0 0 #fafafaeb !important;
box-shadow: 0px 0px 0 0 #fafafaeb !important;
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}


.status.cards .ui.content.popup {
min-width: 20rem !important;
line-height: 2rem !important;
border-radius: 5px !important;
border: 1px solid transparent !important;
background-color: #fafafaeb !important;
font-family: Arial,Helvetica,sans-serif !important;
}

.ui.content {
margin: 0 !important;
padding: 1em !important;
}


.ui.table {background: RGB(225,225,225,0.6) !important;
}

.ui.table thead th {background: transparent !important;}


.service-status .good {background-color: #21ba45 !important;}

.service-status .danger {background-color: red !important;}

.service-status .warning {background-color: orange !important;}


.ui.inverted.segment, .ui.primary.inverted.segment {
color: #000 !important;
font-weight: bold !important;
background-color: #fafafaa3 !important;
}
</style>


<script>
window.onload = function(){var avatar=document.querySelector(".item img")
var footer=document.querySelector("div.is-size-7")
footer.innerHTML="server.ooly 监控面板"
footer.style.visibility="visible"
avatar.src="https://ww.ws/favicon.ico"
avatar.style.visibility="visible"
}
var faviconurl="https://ww.ws/favicon.ico" ; 
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = faviconurl;
document.getElementsByTagName('head')[0].appendChild(link);
</script>

 

使用方法

1. 用哪吒监控的默认主题,复制上方主题代码,粘贴到自定义代码 (style、script 都可以) 里面保存。

2. 如有报错,把注释去掉即可。

正文完
 
alecctv
版权声明:本文于2023-04-01转载自魔改主题,共计6087字。
转载提示:此文章非本站原创文章,若需转载请联系原作者获得转载授权。
评论(没有评论)
验证码