mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-11 05:38:13 -05:00
parent
460483fdef
commit
1e27fb9413
8
resource/static/theme-default/css/main.css
vendored
8
resource/static/theme-default/css/main.css
vendored
@ -10,6 +10,14 @@
|
||||
.ui.card>.content>.header:not(.ui),.ui.cards>.card>.content>.header:not(.ui) {
|
||||
margin-top:0.4em !important;
|
||||
}
|
||||
.ui.card>.content>.header,.ui.cards>.card>.content>.header {
|
||||
padding-top: 0.5rem;
|
||||
display: flex;
|
||||
color: rgba(0, 0, 0, .85);
|
||||
align-items: center;
|
||||
padding-bottom: .2em;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .2);
|
||||
}
|
||||
.ui.menu .item>img:not(.ui){
|
||||
width: 2.2rem;
|
||||
}
|
||||
|
2
resource/template/theme-default/home.html
vendored
2
resource/template/theme-default/home.html
vendored
@ -15,7 +15,7 @@
|
||||
<div v-for="server in group.data" :id="server.ID" class="ui card">
|
||||
<div class="content" v-if="server.Host" style="margin-top: 10px; padding-bottom: 5px">
|
||||
<div class="header">
|
||||
<i :class="'fi fi-' + server.Host.CountryCode"></i> <i v-if='server.Host.Platform == "darwin"'
|
||||
<img v-if="server.Host.CountryCode" style="border-radius: 5px;width:45px;" :src="'https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.6.5/flags/4x3/'+server.Host.CountryCode + '.svg'" alt="国家"/> <i v-if='server.Host.Platform == "darwin"'
|
||||
class="apple icon"></i><i v-else-if='isWindowsPlatform(server.Host.Platform)'
|
||||
class="windows icon"></i><i v-else :class="'fl-' + getFontLogoClass(server.Host.Platform)"></i>
|
||||
@#server.Name + (server.live?'':'[{{tr "Offline"}}]')#@
|
||||
|
Loading…
Reference in New Issue
Block a user