mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
chore: return styles for aCustomStatistic
styles was intended to properly display a-statistic in the app, but for some unknown reason it was removed
This commit is contained in:
parent
e6eb99eb97
commit
92acee04b4
2 changed files with 12 additions and 5 deletions
|
@ -12,6 +12,18 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "component/aCustomStatistic"}}
|
{{define "component/aCustomStatistic"}}
|
||||||
|
<style>
|
||||||
|
.dark .ant-statistic-content {
|
||||||
|
color: var(--dark-color-text-primary)
|
||||||
|
}
|
||||||
|
.dark .ant-statistic-title {
|
||||||
|
color: rgba(255, 255, 255, 0.55)
|
||||||
|
}
|
||||||
|
.ant-statistic-content {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
Vue.component('a-custom-statistic', {
|
Vue.component('a-custom-statistic', {
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -24,11 +24,9 @@
|
||||||
}
|
}
|
||||||
.dark .ant-backup-list-item svg,
|
.dark .ant-backup-list-item svg,
|
||||||
.dark .ant-badge-status-text,
|
.dark .ant-badge-status-text,
|
||||||
.dark .ant-statistic-content,
|
|
||||||
.dark .ant-card-extra {
|
.dark .ant-card-extra {
|
||||||
color: var(--dark-color-text-primary);
|
color: var(--dark-color-text-primary);
|
||||||
}
|
}
|
||||||
.dark .ant-statistic-title,
|
|
||||||
.dark .ant-card-actions>li {
|
.dark .ant-card-actions>li {
|
||||||
color: rgba(255, 255, 255, 0.55);
|
color: rgba(255, 255, 255, 0.55);
|
||||||
}
|
}
|
||||||
|
@ -48,9 +46,6 @@
|
||||||
.ant-card-actions {
|
.ant-card-actions {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
.ant-statistic-content {
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
.ip-hidden {
|
.ip-hidden {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
|
Loading…
Reference in a new issue