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.

306 lines
5.8 KiB

7 months ago
* {
scrollbar-width: auto;
}
::-webkit-scrollbar {
width: 6px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: rgb(0 0 0 / 5%);
}
::-webkit-scrollbar-thumb {
background-color: rgb(144 147 153 / 30%);
border-radius: 2px;
box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
}
::-webkit-scrollbar-thumb:hover {
background-color: #b6b7b9;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: color 99999s 99999s, background-color 9999s 99999s;
}
#app {
// button
.ant-btn {
padding: 0 16px;
}
.ns-icon {
display: inline-block;
overflow: hidden;
fill: currentColor;
width: 1em;
height: 1em;
}
.ns-hide {
display: none;
}
.ns-vertical-form {
//display: flex;
//flex-flow: column wrap;
//align-items: center;
//
//.ant-row {
// padding: 0;
//}
.ant-form-item-control-input-content > * {
width: 300px;
}
//
//.ns-form-item {
// width: 100%;
//}
//
//.ns-child-form-title {
// text-align: right;
//}
}
//application组件
.application {
display: flex;
width: 100%;
height: 100%;
min-height: 100%;
background-color: #f4f7f9;
flex-direction: column;
}
:deep(.ant-layout-content) {
// background-color: #f0f2f5 !important;
overflow: auto;
scrollbar-width: none; /* firefox */
-ms-overflow-style: none; /* IE 10+ */
}
//application-header
.header {
padding: 0;
}
.logo {
min-width: @layout-sider-width !important;
.logoImg {
margin-left: 24px;
transform: translateY(-2px);
}
}
.ant-layout-header {
display: flex;
}
.header_right {
min-width: 140px;
color: #fff;
img {
width: 24px;
height: 24px;
margin-right: 4px;
margin-left: 20px;
transform: translateY(-2px);
}
span {
cursor: pointer;
}
}
}
@font-face {
font-family: 'iconfont';
src: url('/assets/fonts/iconfont.eot');
src: url('/assets/fonts/iconfont.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/iconfont.woff') format('woff'),
url('/assets/fonts/iconfont.woff2') format('woff'),
url('/assets/fonts/iconfont.ttf') format('truetype'),
url('/assets/fonts/iconfont.svg#iconfont') format('svg');
}
@font-face {
font-family: 'QuartzMS';
src: url('/assets/fonts/QuartzMS.TTF') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-stroke-width: .2px;
}
.ns-cell-rule-popover {
.ant-popover-inner-content {
color: @error-color;
}
}
.ns-form-item-validate-self {
.ant-input,
.ant-input-affix-wrapper,
.ant-input:hover,
.ant-input-affix-wrapper:hover,
.ant-input-number,
.ant-picker,
&.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector {
border-color: @border-color-base !important;
box-shadow: none !important;
}
.ant-form-item-explain, .ant-form-item-extra {
display: none;
}
}
.ant-drawer.start-menu-box {
left: 50px;
top: 48px;
.ant-drawer-content-wrapper {
width: 70%;
max-width: 1100px;
min-width: 900px;
display: flex;
flex-direction: row;
height: calc(100% - 48px) !important;
.menu-search-block {
.search-block {
.search-input {
font-size: 12px;
box-sizing: border-box;
border-radius: 2px;
height: 30px;
color: #6c757d;
.ant-input {
font-size: 12px !important;
color: #6c757d !important;
}
}
}
.search-Tip {
padding: 1em 0;
.search-key {
font-size: 16px;
font-weight: bold;
color: #1498ff;
}
}
.menu-box {
height: 100%;
overflow-y: auto;
margin-bottom: 120px;
display: flex;
flex-wrap: wrap;
flex-direction: row;
.menu-block {
display: inline-block;
vertical-align: top;
padding-top: 4px;
width: 25%;
.menu-block-title {
margin: 0;
line-height: 54px;
font-weight: 700;
font-size: 12px !important;
}
.menu-block-container {
border-top: 1px solid #ddd;
padding-top: 10px;
width: 80%;
margin: 0;
.menu-block-item {
position: relative;
line-height: 38px;
cursor: pointer;
.item-icon {
font-size: 16px !important;
margin-right: 6px;
color: #9b9b9b;
display: inline-block;
vertical-align: middle;
}
span {
display: inline-block;
vertical-align: middle;
}
.tip-icon {
font-size: 12px;
position: absolute;
right: 0;
color: #ddd;
}
&:hover {
color: #00acff;
.item-icon {
color: #00acff;
}
.tip-icon {
color: #00acff;
transform: rotate(-45deg);
}
}
.active {
color: #00acff;
transform: rotate(-45deg);
}
}
}
}
}
}
}
}
// 树形下拉组件选中项样式
.ant-select-tree .ant-select-tree-node-selected {
background-color: #e6fbff !important;
}
// 列表搜索表单中将空项隐藏
.ns-table .ns-table-search .ns-form .ant-row .ant-col:empty {
display: none;
}