You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.6 KiB
94 lines
1.6 KiB
@import "./mixins/config.scss"; |
|
@import "./mixins/mixins.scss"; |
|
:-webkit-autofill { |
|
transition: background-color 5000s ease-in-out 0s !important; |
|
} |
|
|
|
html { |
|
overflow: hidden; |
|
text-size-adjust: 100%; |
|
} |
|
|
|
html, |
|
body { |
|
width: 100%; |
|
height: 100%; |
|
overflow: visible; |
|
overflow-x: hidden; |
|
color: var(--text-color); |
|
|
|
&.color-weak { |
|
filter: invert(80%); |
|
} |
|
|
|
&.gray-mode { |
|
filter: grayscale(100%); |
|
filter: progid:dximagetransform.microsoft.basicimage(grayscale=1); |
|
} |
|
} |
|
|
|
a:focus, |
|
a:active, |
|
button, |
|
div, |
|
svg, |
|
span { |
|
outline: none; |
|
} |
|
|
|
/** 打包后夜间模式样式有问题 在这里覆盖 */ |
|
html[data-theme="dark"] { |
|
/** 菜单边框 */ |
|
ul li { |
|
border: none; |
|
} |
|
|
|
ul li:hover { |
|
color: inherit !important; |
|
border: none; |
|
box-shadow: none; |
|
} |
|
|
|
/** 日期输入框 */ |
|
.ant-picker-input > input { |
|
border: none; |
|
} |
|
|
|
.ant-picker-input > input:focus { |
|
color: inherit !important; |
|
box-shadow: none; |
|
} |
|
} |
|
|
|
.ant-input-number { |
|
width: 100%; |
|
} |
|
|
|
.app-content-spin { |
|
width: 100%; |
|
height: 100%; |
|
.ant-spin-container { |
|
width: 100%; |
|
height: 100%; |
|
position: relative; |
|
&::after { |
|
background: #eeeeee; |
|
} |
|
} |
|
} |
|
|
|
// ant 图片预览遮罩 |
|
.ant-image-preview-mask { |
|
background-color: rgba($color: #000000, $alpha: 1) !important; |
|
} |
|
// markdown 图片预览遮罩 |
|
.medium-zoom-overlay { |
|
background: rgba($color: #000000, $alpha: 1) !important; |
|
} |
|
|
|
// 保持 和 windi 一样的全局样式,减少升级带来的影响 |
|
ul { |
|
padding: 0; |
|
margin: 0; |
|
list-style: none; |
|
}
|
|
|