✏️ 正在编辑: video.css
路径:
/home/h359620/public_html/wp-content/themes/datis/inc/elementor/widgets/datis_video/css/video.css
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
.datis-video-cover-wrapper { position: relative; text-align: center; max-width: 100%; border-radius: var(--datis-border-radius) } .datis-video-cover { background-size: contain; background-position: center; background-repeat: no-repeat; height: 400px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: var(--datis-border-radius) } .datis-play-btn { background: transparent; border: none; cursor: pointer; z-index: 2; transition: transform .3s ease } .datis-play-btn:hover { transform: scale(1.1) } .datis-video-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .85); display: none; align-items: center; justify-content: center; z-index: 9999 } .datis-video-modal-inner { position: relative; max-width: 90%; width: 800px } .datis-video-modal video { width: 100%; height: auto; border-radius: 8px } .datis-video-close { position: absolute; top: -20px; right: -20px; font-size: 30px; color: white; cursor: pointer; background: #000; border-radius: 50%; width: 40px; height: 40px; text-align: center; line-height: 40px } /* --- Datis Play Button Pulse Animation --- */ .datis-play-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: none; border-radius: 50%; cursor: pointer; background: none; padding: 0; outline: none; overflow: visible; } .datis-play-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgb(255 95 6 / 76%); z-index: -1; transform: scale(1); opacity: 0.8; animation: datis-pulse 2.2s ease-out infinite; } .datis-play-btn:hover svg { transform: scale(1.06); transition: transform 0.25s ease; } @keyframes datis-pulse { 0% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1); opacity: 0.7; } }
💾 保存文件
← 返回文件管理器