style: 修复字体冲突

This commit is contained in:
@changcode
2022-12-01 16:11:08 +08:00
parent 7b811e3eb6
commit 9ce2d75797
9 changed files with 8 additions and 23 deletions

View File

@@ -2,7 +2,6 @@
.CodeMirror { .CodeMirror {
/* Set height, width, borders, and global font properties here */ /* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 40px; height: 40px;
color: black; color: black;
direction: ltr; direction: ltr;

View File

@@ -144,7 +144,6 @@
text-align: -webkit-match-parent; text-align: -webkit-match-parent;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
font-family: Helvetica;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
} }

View File

@@ -68,7 +68,6 @@
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
font-family: Roboto-Regular;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
} }

View File

@@ -50,7 +50,6 @@
.text-box__title { .text-box__title {
font-size: 16px; font-size: 16px;
line-height: 19px; line-height: 19px;
font-family: Roboto-Regular;
color: #333333; color: #333333;
font-weight: 400; font-weight: 400;
div { div {
@@ -86,7 +85,6 @@
} }
.time-box__start-time { .time-box__start-time {
font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
line-height: 14px; line-height: 14px;
@@ -109,7 +107,6 @@
} }
.time-box__start-time { .time-box__start-time {
font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
font-weight: 400; font-weight: 400;
@@ -118,7 +115,6 @@
.text__type { .text__type {
width: auto; width: auto;
font-family: Roboto-Regular;
line-height: 16px; line-height: 16px;
font-size: 12px; font-size: 12px;
border: 1px solid; border: 1px solid;
@@ -138,7 +134,6 @@
width: 5px; width: 5px;
height: 5px; height: 5px;
border-radius: 50%; border-radius: 50%;
font-family: Roboto-Black;
font-size: 12px; font-size: 12px;
color: #666666; color: #666666;
line-height: 17px; line-height: 17px;

View File

@@ -306,7 +306,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
margin: 16px 0 27px 0; margin: 16px 0 27px 0;
font-family: PingFangSC-Medium;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
line-height: 22px; line-height: 22px;
@@ -324,7 +323,6 @@
.content__data__doh { .content__data__doh {
.content__data__doh__count { .content__data__doh__count {
font-family: Roboto-Medium;
font-size: 30px; font-size: 30px;
color: #333333; color: #333333;
font-weight: 500; font-weight: 500;
@@ -332,13 +330,11 @@
.content__data__doh__percent { .content__data__doh__percent {
margin-top: 10px; margin-top: 10px;
font-family: Roboto-Black;
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
span { span {
font-family: Roboto-Medium;
font-size: 14px; font-size: 14px;
color: #FC8157; color: #FC8157;
font-weight: 500; font-weight: 500;

View File

@@ -7,7 +7,6 @@
flex-direction: column; flex-direction: column;
.dns-mailcious-domain-title { .dns-mailcious-domain-title {
font-family: NotoSansHans-Medium;
font-size: 14px; font-size: 14px;
color: #353636; color: #353636;
margin-bottom: 12px; margin-bottom: 12px;

View File

@@ -116,7 +116,6 @@
margin-right: 12px; margin-right: 12px;
} }
.detection-event-severity-block { .detection-event-severity-block {
font-family: NotoSansHans-Medium;
font-size: 12px; font-size: 12px;
color: #046EC9; color: #046EC9;
font-weight: 500; font-weight: 500;

View File

@@ -57,7 +57,6 @@
color: #353636; color: #353636;
} }
.explorer-top-tools-block { .explorer-top-tools-block {
font-family: NotoSansHans-Medium;
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
background: #F5F8FA; background: #F5F8FA;

View File

@@ -39,23 +39,23 @@
</template> </template>
<template v-else-if="item.prop === 'eventSeverity'"> <template v-else-if="item.prop === 'eventSeverity'">
<template v-if="scope.row[item.prop]==='critical'"> <template v-if="scope.row[item.prop]==='critical'">
<div v-for="item in 5" class="red-dot"></div> <div v-for="item in 5" class="red-dot" :key="item"></div>
</template> </template>
<template v-else-if="scope.row[item.prop]==='high'"> <template v-else-if="scope.row[item.prop]==='high'">
<div v-for="item in 4" class="red-dot"></div> <div v-for="item in 4" class="red-dot" :key="item"></div>
<div class="grey-dot"></div> <div class="grey-dot"></div>
</template> </template>
<template v-else-if="scope.row[item.prop]==='medium'"> <template v-else-if="scope.row[item.prop]==='medium'">
<div v-for="item in 3" class="red-dot"></div> <div v-for="item in 3" class="red-dot" :key="item"></div>
<div v-for="item in 2" class="grey-dot"></div> <div v-for="item in 2" class="grey-dot" :key="item"></div>
</template> </template>
<template v-else-if="scope.row[item.prop]==='low'"> <template v-else-if="scope.row[item.prop]==='low'">
<div v-for="item in 2" class="red-dot"></div> <div v-for="item in 2" class="red-dot" :key="item"></div>
<div v-for="item in 3" class="grey-dot"></div> <div v-for="item in 3" class="grey-dot" :key="item"></div>
</template> </template>
<template v-else-if="scope.row[item.prop]==='info'"> <template v-else-if="scope.row[item.prop]==='info'">
<div v-for="item in 1" class="red-dot"></div> <div v-for="item in 1" class="red-dot" :key="item"></div>
<div v-for="item in 4" class="grey-dot"></div> <div v-for="item in 4" class="grey-dot" :key="item"></div>
</template> </template>
<span class="data-severity">{{ $t(scope.row[item.prop]) }}</span> <span class="data-severity">{{ $t(scope.row[item.prop]) }}</span>
</template> </template>