From 809a6b5562d3e539d0aa96794ff69d38a092c2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 7 Nov 2022 15:48:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86class=E7=A7=BB=E5=85=A5?= =?UTF-8?q?=E5=85=AC=E5=85=B1css=E4=B8=AD=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E6=8A=A5=E7=BA=A2=E7=BA=BF=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/detections/detection-list/row.scss | 19 ++ src/components/layout/Header.vue | 265 +++++++++++------- src/views/detections/DetectionRow.vue | 22 -- 3 files changed, 182 insertions(+), 124 deletions(-) diff --git a/src/assets/css/components/views/detections/detection-list/row.scss b/src/assets/css/components/views/detections/detection-list/row.scss index 5f9b3b0d..3f1ad7c3 100644 --- a/src/assets/css/components/views/detections/detection-list/row.scss +++ b/src/assets/css/components/views/detections/detection-list/row.scss @@ -99,6 +99,25 @@ line-height: 14px; margin-left: 5px; } + .detection-event-severity-color-block { + width: 5px; + height: 20px; + border-radius: 2.5px; + margin-left: -16px; + margin-right: 12px; + } + .detection-event-severity-block { + font-family: NotoSansHans-Medium; + font-size: 12px; + color: #046EC9; + font-weight: 500; + padding: 2px 10px; + background: rgba(56,172,210,0.10); + border: 1px solid #ADC7DB; + box-shadow: 0 2px 4px 0 rgba(51,51,51,0.02); + border-radius: 3px; + margin-right: 10px; + } } .cn-detection__body { diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index 41a58901..6d67cdd0 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -2,7 +2,8 @@
@@ -12,23 +13,27 @@ - + @@ -38,7 +43,8 @@
- + - -