Commit be466768 authored by 周宏民's avatar 周宏民

style: 集成登录标题样式修改

parent 2f6db084
Pipeline #94145 waiting for manual action with stages
......@@ -410,7 +410,9 @@ const IntegrationNew = props => {
/>
</div>
<div className={styles.integrationNew_title_text}>
<span>{integratedConfig?.title || props.global.title || '智慧水务综合监控平台'}</span>
<span title={integratedConfig?.title || props.global.title || '智慧水务综合监控平台'}>
{integratedConfig?.title || props.global.title || '智慧水务综合监控平台'}
</span>
</div>
</div>
{integratedConfig?.subtitle ? (
......
......@@ -188,14 +188,28 @@
font-size: 36px;
color: #FFFFFF;
letter-spacing: 4px;
// background: linear-gradient(0deg, #56A1EF 0%, #FFFFFF 59%);
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
background: linear-gradient(0deg, #56A1EF 0%, #FFFFFF 59%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
// top: -8px;
font-family: Microsoft YaHei;
position: relative;
}
// 利用伪类实现阴影效果
span::before {
content: attr(title);
// 必须设置 绝对定位 和 z-index: -1 才行
position: absolute;
z-index: -1;
// 阴影
text-shadow: 0px 4px 3px rgba(4, 50, 140, 0.81), 0px 0px 13px rgba(89, 105, 252, 0.60);
}
}
}
......@@ -304,7 +318,7 @@
visibility: hidden;
}
:global {}
@-webkit-keyframes scale-in-center {
0% {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment