120 lines
2.1 KiB
CSS
120 lines
2.1 KiB
CSS
/* 应用项目卡片动画 */
|
|
.application-item {
|
|
transition: all 0.3s ease;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.application-item:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.application-item img {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.application-item:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.application-item .btn {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.application-item:hover .btn {
|
|
background-color: #0056b3;
|
|
color: white;
|
|
}
|
|
|
|
/* Banner背景 */
|
|
.banner-wrap {
|
|
background: linear-gradient(45deg, rgba(0, 194, 255, 0.05), rgba(0, 255, 157, 0.05)),
|
|
url('../../images/index/banner.png') no-repeat center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
/* 技术演示浮窗 */
|
|
.demo-modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
z-index: 1000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.demo-modal-content {
|
|
position: relative;
|
|
width: 90%;
|
|
height: 90%;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.demo-modal-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
font-size: 24px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
z-index: 1001;
|
|
width: 30px;
|
|
height: 30px;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.demo-modal-close:hover {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.demo-modal iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
/* 技术图片交互 */
|
|
.tech-image img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tech-image img:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* iframe遮罩层 */
|
|
.demo-3d {
|
|
position: relative;
|
|
}
|
|
|
|
.iframe-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
}
|
|
|
|
.iframe-overlay:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.core-tech-frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
} |