This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/assets/css/common.scss
2022-11-22 10:49:35 +08:00

63 lines
1.2 KiB
SCSS

/* 不含主题变量的通用css */
[v-cloak] {
display: none !important;
}
* {
font-family: NotoSansSChineseRegular, serif;
box-sizing: border-box;
}
html, body, #app {
height: 100%;
}
body {
min-width: 1024px;
margin: 0 !important;
padding: 0 !important;
cursor: default !important;
overflow: hidden;
}
.temp-dom {
visibility: hidden;
position: fixed;
}
.icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
/* 淡入淡出动画 */
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.4s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
/* 调整表单错误提示上边距 */
.el-form-item__error {
padding-top: 0 !important;
}
/* 请求报错样式关于popover的修改 */
.error-popover {
//min-width: 30px !important;
display: inline-block;
background: #FFE7E6 !important;
border: 1px solid rgba(226,97,84,0.42) !important;
padding: 6.6px 12px !important;
border-radius: 4px !important;
font-size: 14px !important;
color: #F53A19 !important;
font-weight: 400 !important;
line-height: 1.2 !important;
.el-popper__arrow {
display: none !important;
}
}