lcny-vue3-antd-admin/src/design/index.less

104 lines
1.7 KiB
Plaintext

@import 'transition/index.less';
@import 'var/index.less';
@import 'public.less';
@import 'ant/index.less';
@import './theme.less';
input:-webkit-autofill {
box-shadow: 0 0 0 1000px white inset !important;
}
:-webkit-autofill {
transition: background-color 5000s ease-in-out 0s !important;
}
html {
overflow: hidden;
text-size-adjust: 100%;
}
@font-face {
font-family: 'pmzd';
src: url('../assets/fonts/pmzd.TTF');
}
html,
body {
width: 100%;
height: 100%;
overflow: visible;
overflow-x: 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;
}
.dropdownClass {
.ant-dropdown-menu {
border: 1px solid rgba(57, 102, 132, 1);
color: #fff;
background: rgba(28, 44, 52, 0.9);
max-height: 200px;
overflow-y: auto;
.ant-dropdown-menu-item {
color: white;
&:hover {
background: rgba(62, 97, 114, 0.6);
}
}
}
.ant-popover-arrow {
right: 42px;
.ant-popover-arrow-content {
display: none;
background-color: rgba(57, 102, 132, 1) !important;
}
}
}
.cu-date-picker {
.ant-picker-dropdown,
.ant-picker-header,
.ant-picker-cell-in-view {
color: #fff;
}
.ant-picker-cell-in-view.ant-picker-cell-selected {
.ant-picker-cell-inner {
background: #68ced4;
}
}
.ant-picker-cell-inner {
&:hover {
background: #68ced43b;
}
}
.ant-picker-cell {
.ant-picker-cell {
color: rgb(255 252 252 / 25%);
}
}
.ant-picker-panel-container {
background-color: rgba(28, 44, 52, 0.8) !important;
border: 1px solid rgba(57, 102, 132, 1);
}
}