@import url("./fonts.scss"); @import url("./element-plus.scss"); // 标题背景 .bg_title { background-size: contain; background-repeat: no-repeat; height: 14px; margin-left: 8px; } // 标题图 @for $i from 0 through 8 { // 生成动态类名 .bg_title_#{$i} { // 动态设置背景图片,引用对应的图标 background-image: url("@/assets/header/title#{$i}.png"); } } .bg-basic-content { background: linear-gradient(180deg, rgba(7, 16, 19, 0) 0%, #081417 100%); } .bg-error-picture { width: 100%; height: 100%; background: url("@/assets/common/load_file_error.png") no-repeat center center; background-size: 50%; border: 1px dashed red; } // 标题字体 .fg-title { font-family: "DouyinSansBold"; // 自定义字体名称 // 字体样式(根据需求调整) font-size: 16px; color: #96e6ff; // 初始字体颜色, 浅蓝色 // 背景渐变和裁剪 background: linear-gradient(to bottom, #ffffff, #96e6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } // 特殊标记1 .fg-mark1 { font-family: "DingTalk JinBuTi"; // 自定义字体名称 // 字体样式(根据需求调整) color: #1cecf5; // 初始字体颜色, 浅蓝色 } // 标题图标 .fg-icon { width: 17px; height: 17px; background-image: url("@/assets/common/title_before_icon.png"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; } // 按钮 .fg-button { cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 10px; height: 28px; border-radius: 2px 2px 2px 2px; } .fg-button-primary { @apply fg-button; background: #009dff; } .fg-button-primary1 { @apply fg-button; background: #22bacb; } // 弹窗 .fg-dialog { background-color: transparent; background-image: url("@/assets/common/dialog_bg1.png"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; padding: 0 !important; width: 816px; height: 640px; &.fg-dialog2 { width: 1202px; height: 602px; background-image: url("@/assets/common/dialog_bg2.png"); } .fg-dialog-header { position: relative; background-color: transparent; background-image: url("@/assets/common/dialog_head_bg.png"); background-repeat: no-repeat; .fg-dialog-header-close { width: 50px; height: 50px; position: absolute; right: -17px; top: -17px; z-index: 999999 !important; cursor: pointer; background-image: url("@/assets/common/dialog_close_icon.png"); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; } } }