熊大给出的配色建议

Co-authored-by: xiongbao <4247191+xiongbao@users.noreply.github.com>
This commit is contained in:
naiba
2021-08-06 10:43:21 +08:00
parent 08c688464a
commit 5f140f1d04
11 changed files with 21 additions and 12 deletions

View File

@@ -98,9 +98,18 @@
}
.service-status .good {
background-color: rgb(0, 235, 139) !important;
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;
}

View File

@@ -9,7 +9,7 @@
<title>{{.Title}}</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
<link rel="stylesheet" type="text/css" href="/static/main.css?v202107161357">
<link rel="stylesheet" type="text/css" href="/static/main.css?v20210806">
<link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
</head>

View File

@@ -40,7 +40,7 @@
</div>
</div>
{{else}}
<a href="/login" class="ui large teal button"><i class="sign-in icon"></i>登录</a>
<a href="/login" class="ui large nezha-primary-btn button"><i class="sign-in icon"></i>登录</a>
{{end}}
</div>
</div>

View File

@@ -3,7 +3,7 @@
<div class="login nb-container">
<div class="ui center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<h2 class="ui nezha-primary-font image header">
<img src="/static/logo.svg?v20210804" class="image">
<div class="content">
访问受限

View File

@@ -3,13 +3,13 @@
<div class="login nb-container">
<div class="ui center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<h2 class="ui nezha-primary-font image header">
<img src="static/logo.svg?v20210804" class="image">
<div class="content">
使用 {{.LoginType}} 账号登录
</div>
</h2>
<a href="/oauth2/login" class="ui fluid large teal submit button">登录</a>
<a href="/oauth2/login" class="ui fluid large nezha-primary-btn submit button">登录</a>
<div class="ui message">
没有账号? <a href="{{.RegistrationLink}}" target="_blank">注册</a>
</div>

View File

@@ -188,7 +188,7 @@
this.cache[percent].style['background-color'] = 'slategray'
this.cache[percent].class.offline = true
} else if (percent < 51) {
this.cache[percent].style['background-color'] = 'rgb(0, 235, 139)'
this.cache[percent].style['background-color'] = '#0a94f2'
this.cache[percent].class.fine = true
} else if (percent < 81) {
this.cache[percent].style['background-color'] = 'orange'

View File

@@ -6,7 +6,7 @@
<div class="login nb-container">
<div class="ui center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<h2 class="ui nezha-primary-font image header">
<img src="static/logo.svg?v20210804" class="image">
<div class="content">
验证查看密码

View File

@@ -191,7 +191,7 @@
this.cache[percent].style['background-color'] = 'slategray'
this.cache[percent].class.offline = true
} else if (percent < 51) {
this.cache[percent].style['background-color'] = 'rgb(0, 235, 139)'
this.cache[percent].style['background-color'] = '#0a94f2'
this.cache[percent].class.fine = true
} else if (percent < 81) {
this.cache[percent].style['background-color'] = 'orange'

View File

@@ -6,7 +6,7 @@
<div class="login nb-container">
<div class="ui center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<h2 class="ui nezha-primary-font image header">
<img src="static/logo.svg?v20210804" class="image">
<div class="content">
验证查看密码