From f55ea1cfc0b5f60b01552e8b96f95e8a33c45bb8 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 15 Nov 2024 09:12:53 +0800
Subject: [PATCH] Merge branch 'main' of http://139.196.74.78:10010/r/zhyq/bigScreen
---
src/styles/base/dc-base.scss | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 112 insertions(+), 2 deletions(-)
diff --git a/src/styles/base/dc-base.scss b/src/styles/base/dc-base.scss
index 902ad74..9b0e8e2 100644
--- a/src/styles/base/dc-base.scss
+++ b/src/styles/base/dc-base.scss
@@ -66,12 +66,122 @@
box-shadow: 0px 0px 10px rgb(255, 179, 0, 1);
img {
- width: 24px;
- height: 24px;
+ width: 20px;
+ height: 20px;
}
}
}
+.fxy-box {
+ &::after {
+ background: linear-gradient(to bottom, rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0.2));
+ }
+
+ .map-name {
+ color: #ff3b3b;
+ }
+
+ .map-icon {
+ background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(255, 0, 0, 0.9) 100%);
+ box-shadow: 0px 0px 10px rgb(255, 0, 0);
+ }
+}
+
+.qyfb-box {
+ &::after {
+ background: linear-gradient(to bottom, rgba(0, 136, 255, 0.8), rgba(0, 136, 255, 0.2));
+ }
+
+ .map-name {
+ color: rgb(66, 165, 252);
+ }
+
+ .map-icon {
+ background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(0, 136, 255, 0.9) 100%);
+ box-shadow: 0px 0px 10px rgba(0, 136, 255, 1);
+ }
+}
+
+@keyframes pulse-glow {
+ 0% {
+ box-shadow: 0 0 4px red, inset 0 0 4px red;
+ }
+
+ 50% {
+ box-shadow: 0 0 8px red, inset 0 0 8px red;
+ }
+
+ 100% {
+ box-shadow: 0 0 4px red, inset 0 0 4px red;
+ }
+}
+
+.dynamic-map-popup {
+ position: absolute;
+ right: 100%;
+ bottom: 0;
+ width: 320px;
+ color: #fff;
+ background: rgba(255, 0, 0, 0.2);
+ font-weight: bold;
+ font-style: italic;
+
+ &::after {
+ content: '';
+ position: absolute;
+ top: -0.8px;
+ /* 调整以匹配所需的发光区域 */
+ left: 0px;
+ /* 同上 */
+ right: 0px;
+ bottom: calc(100% - 0.8px);
+ background: white;
+ box-shadow: 0 0 8px red, inset 0 0 8px red;
+ animation: pulse-glow 3s infinite;
+ }
+
+ &::before {
+ content: '';
+ position: absolute;
+ top: calc(100% - 0.8px);
+ /* 调整以匹配所需的发光区域 */
+ left: 0px;
+ /* 同上 */
+ right: 0px;
+ bottom: -0.8px;
+ background: white;
+ box-shadow: 0 0 8px red, inset 0 0 8px red;
+ animation: pulse-glow 3s infinite;
+ }
+
+ .title {
+ position: relative;
+ height: 30px;
+ line-height: 30px;
+ font-size: 18px;
+
+
+ &::before {
+ content: '';
+ position: absolute;
+ top: calc(100% - 0.8px);
+ /* 调整以匹配所需的发光区域 */
+ left: 0px;
+ /* 同上 */
+ right: 40%;
+ bottom: -0.8px;
+ background: white;
+ box-shadow: 0 0 8px red, inset 0 0 8px red;
+ animation: pulse-glow 3s infinite;
+ }
+ }
+
+ .content {
+ text-indent: 2em;
+ line-height: 28px;
+ }
+}
+
.widget.location-bar {
position: absolute;
left: 620px !important;
--
Gitblit v1.9.3