4 次代码提交

修改 2 个文件,包含 7 行新增10 行删除
+6 -9
查看文件
@@ -53,7 +53,7 @@
&::after { &::after {
content: ''; content: '';
position: absolute; position: absolute;
left: -30%; left: -5%;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 30%; width: 30%;
@@ -81,24 +81,19 @@
z-index: 100; z-index: 100;
--dash-spacing: 6px; --dash-spacing: 6px;
--dash-width: 2px; --dash-width: 2px;
background: var(--background); background-color: color-mix(in srgb, var(--background) 90%, transparent);
opacity: 0.8;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
/* 进入动画:透明度由0到1,宽度由中间到100% */ // 进入动画:透明度由0到1
animation: sticky-in 0.5s ease-in-out forwards; animation: sticky-in 0.5s ease-in-out forwards;
opacity: 1; opacity: 1;
&::before { &::before {
animation: line-flow 1.5s linear infinite;
mask-image: none;
-webkit-mask-image: none;
top: calc(50% - 1px); top: calc(50% - 1px);
height: 2px; height: 2px;
} }
&::after { &::after {
animation: scan-line 2.5s ease-in-out infinite;
opacity: 0.6; opacity: 0.6;
filter: blur(3px); filter: blur(3px);
// 调整扫描线高度以适应 5px 容器 // 调整扫描线高度以适应 5px 容器
@@ -121,10 +116,12 @@
// 扫描线动画 - 模拟终端扫描效果 // 扫描线动画 - 模拟终端扫描效果
@keyframes scan-line { @keyframes scan-line {
0% { 0% {
left: -20%; left: -5%;
width: 5%;
opacity: 0; opacity: 0;
} }
30% { 30% {
width: 30%;
opacity: .3; opacity: .3;
} }
70% { 70% {
+1 -1
查看文件
@@ -13,5 +13,5 @@ spec:
repo: https://git.dev.cm/theme-terminal repo: https://git.dev.cm/theme-terminal
settingName: "theme-terminal-setting" settingName: "theme-terminal-setting"
configMapName: "theme-terminal-configMap" configMapName: "theme-terminal-configMap"
version: 1.2.3 version: 1.2.6
require: ">=2.22.0" require: ">=2.22.0"