|
|
@@ -40,6 +40,42 @@ html, body {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
|
|
|
+ // 旋转流光层
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ width: 200%;
|
|
|
+ aspect-ratio: 1;
|
|
|
+ background: conic-gradient(
|
|
|
+ transparent 0deg,
|
|
|
+ transparent 250deg,
|
|
|
+ rgba(59, 175, 214, 0.3) 265deg,
|
|
|
+ #3BAFD6 280deg,
|
|
|
+ rgba(59, 175, 214, 0.3) 295deg,
|
|
|
+ transparent 310deg,
|
|
|
+ transparent 360deg
|
|
|
+ );
|
|
|
+ animation: panelGlow 4s linear infinite;
|
|
|
+ pointer-events: none;
|
|
|
+ z-index: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 内部遮罩层(只露出1px边框流光)
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 1px;
|
|
|
+ left: 1px;
|
|
|
+ right: 1px;
|
|
|
+ bottom: 1px;
|
|
|
+ background: #0c2044;
|
|
|
+ border-radius: 3px;
|
|
|
+ pointer-events: none;
|
|
|
+ z-index: 0;
|
|
|
+ }
|
|
|
+
|
|
|
.panel-title {
|
|
|
font-size: 15px;
|
|
|
font-weight: bold;
|
|
|
@@ -49,6 +85,8 @@ html, body {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
|
|
|
&::before {
|
|
|
content: '';
|
|
|
@@ -63,5 +101,12 @@ html, body {
|
|
|
|
|
|
.panel-content {
|
|
|
padding: 10px 14px;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+@keyframes panelGlow {
|
|
|
+ from { transform: translate(-50%, -50%) rotate(0deg); }
|
|
|
+ to { transform: translate(-50%, -50%) rotate(360deg); }
|
|
|
+}
|