132 lines
3.0 KiB
Plaintext
132 lines
3.0 KiB
Plaintext
@import 'color.less';
|
||
@import 'transition/index.less';
|
||
@import 'var/index.less';
|
||
@import 'public.less';
|
||
@import 'ant/index.less';
|
||
@import 'theme.less';
|
||
@import 'entry.css';
|
||
|
||
input:-webkit-autofill {
|
||
box-shadow: 0 0 0 1000px transparent inset;
|
||
-webkit-text-fill-color: @text-color-base;
|
||
}
|
||
|
||
:-webkit-autofill {
|
||
transition: background-color 5000s ease-in-out 0s !important;
|
||
}
|
||
|
||
html {
|
||
overflow: hidden;
|
||
text-size-adjust: 100%;
|
||
}
|
||
|
||
html,
|
||
body {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
|
||
&.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;
|
||
}
|
||
|
||
// 保持 和 windi 一样的全局样式,减少升级带来的影响
|
||
ul {
|
||
margin: 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
}
|
||
.card-always{
|
||
border-color: transparent;
|
||
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
||
}
|
||
.card-hover{
|
||
transition: box-shadow 0.2s, border-color 0.2s;
|
||
}
|
||
.card-hover:hover{
|
||
border-color: transparent;
|
||
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
||
}
|
||
// 修改全局输入框 disable时背景颜色改浅,字体加深
|
||
.ant-input-affix-wrapper-disabled, .ant-input-number-disabled{
|
||
background-color: rgba(0, 0, 0, 0.01);
|
||
}
|
||
.ant-input[disabled]{
|
||
color: rgba(0, 0, 0, 0.8);
|
||
background-color: rgba(0, 0, 0, 0.01);
|
||
}
|
||
.ant-radio-wrapper-disabled{
|
||
color: rgba(0, 0, 0, 0.8);
|
||
}
|
||
.ant-image-preview-operations{
|
||
background-color: rgba(0, 0, 0, 0);
|
||
span{
|
||
font-size: 25px;
|
||
}
|
||
}
|
||
.ant-radio-disabled .ant-radio-inner::after {
|
||
background-color: rgba(0, 0, 0, 0.7);
|
||
}
|
||
.ant-radio-disabled .ant-radio-inner {
|
||
border-color: rgba(0, 0, 0, 0.2);
|
||
}
|
||
.ant-select-disabled .ant-select-selector{
|
||
color: rgba(0, 0, 0, 0.8) !important;
|
||
background: rgba(0, 0, 0, 0.01) !important;
|
||
}
|
||
.ant-table .ant-table-body{
|
||
overflow: auto !important;
|
||
}
|
||
@font-face {
|
||
font-family: 'PingFangSC-Medium';
|
||
src: url('/public/datamaintenance/fonts/PingFangSC-Medium.ttf') format('truetype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'PingFangSC-Regular';
|
||
src: url('/public/datamaintenance/fonts/PingFangSC-Regular.ttf') format('truetype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'AlibabaPuHuiTiBold';
|
||
src: url('/public/login/fonts/AlibabaPuHuiTiBold.otf') format('opentype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'AlibabaPuHuiTiR';
|
||
src: url('/public/login/fonts/AlibabaPuHuiTiRegular.ttf') format('truetype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'PingFangSCLight';
|
||
src: url('/public/login/fonts/PingFangSCLight.ttf') format('truetype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|
||
@font-face {
|
||
font-family: 'DINProMedium';
|
||
src: url('/public/login/fonts/DINProMedium.ttf') format('truetype');
|
||
font-weight: normal;
|
||
font-style: normal;
|
||
}
|