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.
 
 
 
 
 
 

230 lines
3.8 KiB

/**
* /* 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%;
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
*/
* {
// scrollbar-width: thin;
}
::-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: 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%;
}
.ant-layout-sider-children {
overflow: auto;
}
.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;
}
//状态颜色
.commonStatus {
&::before{
content: '';
width: 8px;
height: 8px;
display: inline-block;
border-radius: 50%;
vertical-align: middle;
margin-right: 4px;
}
}
.statusWarn {
&::before{
background-color: #fa8214;
}
}
.statusSuccess {
&::before{
background-color: #0D9E3E;
}
}
.statusRunning {
&::before{
background-color: #1C4DDC;
}
}
.statusError {
&::before{
background-color: #D4321C;
}
}
.statusEmpty {
&::before{
width:0;
}
width:0;
}
.statusNotStart {
&::before{
background-color: #8B98AB;
}
}
.statusDone{
&::before{
background-color: #697383;
}
}
.statusInvalid{
&::before{
background-color: #AEAEAE;
}
}
.statusNull {
&::before{
background-color: #8B98AB;
}
// background-color: #8B98AB;
}/* */
.statusNull2{
&::before{
background-color: #697383;
}
// background-color: #697383;
}