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.

256 lines
4.3 KiB

7 months ago
/**
* /* Page Header
*
* @format
*/
/* Form */
.ns-form {
&.ns-flex-form-vertical {
.ant-form-item-label {
line-height: 22px;
margin-bottom: 8px;
}
}
&.ns-flex-form-horizontal {
.ant-col-16 {
max-width: 100%;
}
}
&.ns-vertical-form {
width: 100%;
7 months ago
margin: 0 auto;
}
////最后一个分割线隐藏
//&:last-child.ns-child-form {
// .ns-child-form-divider {
// display: none;
// }
//}
//
//&:is(.ns-form > .ns-form-body .ant-col:last-child.ns-col-space) > .ns-form-body > .ns-form-item-child:nth-last-child(2) .ant-divider{
// display: none;
//}
&::after {
position: absolute;
bottom: 0;
left: 0;
content: '';
width: 100%;
height: 36px;
background-color: @white;
}
// 只在悬停时显示输入框 删除图标
.ant-form-item {
.ant-input-suffix [aria-label='close-circle'] {
display: none;
}
&:hover .ant-input-suffix [aria-label='close-circle'] {
display: flex;
}
}
}
.ns-icon {
display: inline-block;
overflow: hidden;
fill: currentColor;
width: 1em;
height: 1em;
}
.ns-hide {
display: none !important;
}
/**
reset
*/
* {
6 months ago
// scrollbar-width: thin;
7 months ago
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
7 months ago
}
::-webkit-scrollbar-track {
background-color: transparent;
7 months ago
}
::-webkit-scrollbar-thumb {
background-color: rgb(144 147 153 / 30%);
border-radius: 5px;
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;
}
.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;
}
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden visible;
}
#app {
width: 100%;
height: 100%;
}
a {
transition: color 0.08s;
}
7 months ago
.ant-layout-sider-children {
overflow: auto;
}
.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {
padding: auto;
}
7 months ago
.ns-view-spinning {
position: fixed !important;
width: calc(100% - @ns-content-padding * 2 - @layout-sider-width) !important;
left: calc(@layout-sider-width + @ns-content-padding) !important;
top: calc(@ns-nav-shutters-height + @layout-header-height + @ns-content-padding) !important;
}
.ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-expand-icon,
.ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow {
color: @primary-color;
}
.ant-menu-submenu-selected .secendIcon {
color: @primary-color;
}
// 自定义的title样式
.ns-title-extra-box {
position: relative;
padding-left: 9px;
&::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: 13px;
width: 3px;
border-radius: 1px;
background-color: @primary-color;
}
}
7 months ago
//状态颜色
.commonStatus {
&::before {
7 months ago
content: '';
width: 8px;
height: 8px;
display: inline-block;
border-radius: 50%;
vertical-align: middle;
margin-right: 4px;
}
}
.statusWarn {
&::before {
7 months ago
background-color: #fa8214;
}
}
.statusSuccess {
&::before {
background-color: #0d9e3e;
7 months ago
}
}
.statusRunning {
&::before {
background-color: #1c4ddc;
7 months ago
}
}
.statusError {
&::before {
background-color: #d4321c;
7 months ago
}
}
.statusEmpty {
&::before {
width: 0;
7 months ago
}
width: 0;
7 months ago
}
.statusNotStart {
&::before {
background-color: #8b98ab;
7 months ago
}
}
.statusDone {
&::before {
7 months ago
background-color: #697383;
}
}
.statusInvalid {
&::before {
background-color: #aeaeae;
7 months ago
}
}
.statusNull {
&::before {
background-color: #8b98ab;
7 months ago
}
// background-color: #8B98AB;
} /* */
.statusNull2 {
&::before {
7 months ago
background-color: #697383;
}
// background-color: #697383;
}