#app{
width: 100%;
height: 100%;
}
html,
body {
width: 100%;
height: 100%;
overflow: visible !important;
overflow-x: hidden !important;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
}
/* 滚动条的宽度 */
*::-webkit-scrollbar {
width: 12px;
height: 12px;
}
/* 滚动条的设置 */
*::-webkit-scrollbar-thumb {
border-radius: 6px;
border: 2px solid transparent;
background-color: #ddd;
background-clip: padding-box;
}
/* 滚动条鼠标移上去 */
*::-webkit-scrollbar-thumb:hover {
background-color: #bbb;
}
html.theme-dark {
*::-webkit-scrollbar{
background-color: rgb(24, 24, 28);
}
*::-webkit-scrollbar-track-piece{
background-color: rgb(24, 24, 28);
}
*::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.2)
}
*::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.3);
}
}
.anticon svg{
display: block;
}
//antd 卡片样式定制
body .n-card {
transition: all .2s ease-in-out;
}
body .n-icon {
vertical-align: middle;
}
body .antd-admin-card {
border-radius: 4px;
.ant-card-body {
padding: 16px;
//&:first-child {
// padding-top: 16px;
//}
}
}
body .antd-admin-card.tabs-card{
.ant-card-body {
padding-top: 0;
}
}
body .n-modal{
border-radius: 6px;
}
body .proCard {
border-radius: 4px;
.ant-card-body {
padding: 16px;
}
}
//body .proCardTabs{
// .n-card__content{ padding-top: 3px}
// .n-card__content:first-child{ padding-top: 3px}
//}
.n-layout-page-header {
margin: 0 -10px;
}
.ant-image-preview-img{
display: inline-block;
}
.ant-upload-list-text .ant-upload-list-item-name, .ant-upload-list-picture .ant-upload-list-item-name {
flex:auto!important;
}
.ant-descriptions-bordered .ant-descriptions-item-label, .ant-descriptions-bordered .ant-descriptions-item-content {
padding:8px 11px;
}