665 lines
11 KiB
SCSS
665 lines
11 KiB
SCSS
.props-box label {
|
|
line-height: 32px;
|
|
width: 120px;
|
|
font-size: 14px;
|
|
text-align: right;
|
|
}
|
|
|
|
.props-box .iconLabel {
|
|
line-height: 32px;
|
|
width: 24px;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.props-box .el-tabs--card > .el-tabs__header {
|
|
background-color: $--background-color-base;
|
|
border: none;
|
|
}
|
|
|
|
.props-box .el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
|
|
background: $--background-color-empty;
|
|
font-size: 14px;
|
|
color: $--color-primary;
|
|
font-weight: 700;
|
|
border-bottom-color: $--background-color-empty;
|
|
border-top: 3px solid $--color-primary;
|
|
}
|
|
|
|
.props-box .el-tabs--card > .el-tabs__header .el-tabs__item {
|
|
box-sizing: content-box;
|
|
height: 31px;
|
|
line-height: 31px;
|
|
}
|
|
|
|
.query-row .input-box {
|
|
margin: 0;
|
|
}
|
|
|
|
.project-title {
|
|
background: $--background-color-base;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
border-radius: 0;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.project-content {
|
|
margin: 10px;
|
|
height: calc(100% - 50px);
|
|
overflow-y: auto;
|
|
|
|
.project-content-title {
|
|
background: $--background-color-base;
|
|
padding-left: 10px;
|
|
font-size: 14px;
|
|
color: $--color-text-primary;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
height: 32px;
|
|
line-height: 31px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.project-content-box {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.half.project-content-item {
|
|
width: calc(50% - 15px);
|
|
height: 64px;
|
|
|
|
label {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.project-content-item {
|
|
padding-left: 10px;
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
label {
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 14px;
|
|
color: $--color-text-regular;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.h32 {
|
|
height: 32px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.project-content.node-content {
|
|
overflow-y: unset;
|
|
height: auto;
|
|
|
|
.el-select-dropdown__wrap {
|
|
max-height: 190px;
|
|
}
|
|
}
|
|
|
|
.pens-data {
|
|
.el-form-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.half-form-item {
|
|
width: calc(50% - 5px);
|
|
display: inline-block;
|
|
}
|
|
|
|
.half-form-item--end {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.full-form-item {
|
|
width: 100%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.form-row-title {
|
|
height: 32px;
|
|
line-height: 32px;
|
|
background: $--background-color-base;
|
|
font-size: 14px;
|
|
padding: 0 10px;
|
|
color: $--color-text-regular;
|
|
.el-form-item__content {
|
|
height: 100%;
|
|
line-height: 32px;
|
|
|
|
> div {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.title__label {
|
|
font-size: 12px;
|
|
color: $--color-text-regular;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.el-form-item__content {
|
|
> div {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.el-form-item__label {
|
|
line-height: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.element-item {
|
|
padding: 10px 10px 10px 0;
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.right-box-form .element-item.form-row-item {
|
|
width: calc(100% - 120px);
|
|
padding: 20px 20px 20px 0;
|
|
}
|
|
|
|
.form-row-item .nz-icon-minus-position .nz-icon-minus-medium {
|
|
background: rgba(236, 127, 102, 0.1);
|
|
padding: 2px 6px;
|
|
color: #EC7F66;
|
|
}
|
|
|
|
.form-row-item .nz-icon-minus-position {
|
|
right: 6px;
|
|
.nz-icon-copy{
|
|
text-align: center;
|
|
padding-top: 1.5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sub-box {
|
|
padding: 0 10px;
|
|
}
|
|
.asset-dropdown.right-box-select-top{
|
|
width: unset;
|
|
}
|
|
|
|
.props-box {
|
|
.metric-selector-title {
|
|
margin-left: 10px;
|
|
width: 98px !important;
|
|
}
|
|
|
|
.query-row .input-box {
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
.metric-selector-input-box {
|
|
width: calc(100% - 120px) !important;
|
|
}
|
|
.legend-title {
|
|
width: 100px;
|
|
margin-right: 10px;
|
|
text-align: left;
|
|
padding-left: 0;
|
|
margin-left: 10px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
font-size: 14px;
|
|
color: $--color-text-regular;
|
|
background: transparent;
|
|
}
|
|
.el-textarea {
|
|
.el-textarea__inner {
|
|
border: 1px solid $--border-color-light !important;
|
|
}
|
|
.el-textarea__inner:focus {
|
|
border: 1px solid $--color-primary !important;
|
|
}
|
|
.el-textarea__inner:hover {
|
|
border: 1px solid $--border-color-light-hover !important;
|
|
}
|
|
}
|
|
.el-input__inner:hover,.el-select:hover .el-input__inner {
|
|
border: 1px solid $--border-color-light-hover !important;
|
|
}
|
|
.form-row-item.form-row-item-border {
|
|
border: 1px dashed $--border-color-light;
|
|
}
|
|
|
|
.el-cascader-node {
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nz-cascade-temp {
|
|
box-sizing: border-box;
|
|
max-width: 170px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metric-selector-title {
|
|
background: $--background-color-empty !important;
|
|
}
|
|
.el-collapse-item__arrow.el-icon-arrow-right{
|
|
display: inline-block !important;
|
|
}
|
|
.el-select--mini {
|
|
width: 100%;
|
|
}
|
|
.el-tabs.el-tabs--card {
|
|
height: 100%;
|
|
|
|
.el-tabs__content {
|
|
height: calc(100% - 55px) !important;
|
|
overflow-y: auto;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
.el-collapse {
|
|
background: $--background-color-empty;
|
|
border: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.el-collapse-item__header {
|
|
padding: 0 10px;
|
|
background-color: $--background-color-base;
|
|
height: 32px;
|
|
font-size: 14px;
|
|
color: $--color-text-primary;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.el-collapse-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
.el-collapse-item__wrap {
|
|
padding: 0 10px;
|
|
background-color: $--background-color-empty;
|
|
border: none;
|
|
}
|
|
|
|
.el-collapse-item__content {
|
|
padding: 10px 0 0 0;
|
|
}
|
|
|
|
.el-input-number__decrease, .el-input-number__increase {
|
|
visibility: hidden;
|
|
outline: none;
|
|
}
|
|
|
|
.el-input-number:focus {
|
|
.el-input-number__decrease, .el-input-number__increase {
|
|
visibility: visible;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.el-input-number:focus-within {
|
|
.el-input-number__decrease, .el-input-number__increase {
|
|
visibility: visible;
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.thresholds-box {
|
|
background: $--background-color-empty;
|
|
border-top: 1px solid $--border-color-light;
|
|
border-left: 1px solid $--border-color-light;
|
|
border-radius: 2px;
|
|
font-size: 12px;
|
|
color: $--color-text-primary;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
|
|
.thresholds-title {
|
|
font-size: 12px;
|
|
color: $--color-text-primary;
|
|
letter-spacing: 0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.thresholds-cell {
|
|
border-bottom: 1px solid $--border-color-light;
|
|
border-right: 1px solid $--border-color-light;
|
|
padding: 5px 5px;
|
|
height: 42px;
|
|
line-height: 32px;
|
|
|
|
.el-input-group__prepend {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.is-arrow-active {
|
|
color: $--color-primary;
|
|
}
|
|
|
|
.nz-icon.nz-icon-arrow-up1 {
|
|
margin-right: -15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.value-mapping-add {
|
|
background: $--color-primary-light-3;
|
|
margin-bottom: 10px;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
color: $--color-primary;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mb10 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mt10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.p10 {
|
|
padding: 10px;
|
|
}
|
|
|
|
.pl0 {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.special-select .el-select.el-select--small {
|
|
width: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.special-select .el-input.el-input--prefix.el-input--suffix:hover {
|
|
border: 1px solid $--border-color-light-hover;
|
|
}
|
|
|
|
.special-select .el-input.el-input--prefix.el-input--suffix, .line-width .el-input.el-input--prefix.el-input--suffix {
|
|
border: 1px solid $--border-color-base;
|
|
height: 28px;
|
|
}
|
|
|
|
.special-select .el-input__inner, .line-width .el-input__inner {
|
|
display: none;
|
|
}
|
|
|
|
.special-select .el-input__prefix, .line-width .el-input__prefix {
|
|
height: 28px;
|
|
line-height: 28px;
|
|
color: #899FB7;
|
|
width: 100%;
|
|
}
|
|
|
|
.special-select .el-input__prefix > div {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.props-box {
|
|
|
|
|
|
.iconfont {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.iconfontSize16 {
|
|
font-size: 16px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
|
|
.full {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.flex-warp {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.props-pen-item {
|
|
width: 50%;
|
|
|
|
.p10 {
|
|
position: relative;
|
|
}
|
|
|
|
.gradient-to {
|
|
.el-select.el-select--small {
|
|
vertical-align: top;
|
|
width: calc(100% - 42px);
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
.gradient-to-color {
|
|
display: inline-block;
|
|
width: calc(100% - 70px);
|
|
}
|
|
}
|
|
.el-select-dropdown__item {
|
|
height: 30px;
|
|
}
|
|
.icon-item {
|
|
width: 75%;
|
|
height: 100%;
|
|
padding-left: 25%;
|
|
}
|
|
|
|
.icon-item svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.del-btn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
border: none;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
}
|
|
|
|
.del-btn:hover {
|
|
background: #D8D7D7 !important;
|
|
}
|
|
|
|
.bottom {
|
|
font-size: 14px;
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
}
|
|
|
|
.el-input-number--small {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.color-content {
|
|
height: 0;
|
|
width: 0;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 66px;
|
|
}
|
|
|
|
.thresholds-cell .color-content {
|
|
top: 32px;
|
|
left: 137px;
|
|
}
|
|
|
|
.color-tab {
|
|
position: absolute;
|
|
top: -28px;
|
|
width: 100%;
|
|
left: 0;
|
|
height: 28px;
|
|
border-radius: 5px 5px 0 0;
|
|
border: 1px solid #EBEEF5;
|
|
border-bottom: none;
|
|
background-color: $--background-color-empty;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
|
|
z-index: 1;
|
|
}
|
|
|
|
.color-tab div {
|
|
text-align: center;
|
|
flex: 1;
|
|
color: $--color-text-secondary;
|
|
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
background: #E4E7ED;
|
|
cursor: pointer;
|
|
border-top: 2px solid transparent;
|
|
}
|
|
|
|
.color-tab div:hover {
|
|
color: #409EFF;
|
|
}
|
|
|
|
.color-tab .color-active {
|
|
background-color: $--background-color-empty;
|
|
font-size: 14px;
|
|
color: #FA901C;
|
|
font-weight: 700;
|
|
border-color: #FA901C;;
|
|
}
|
|
|
|
.color {
|
|
position: relative;
|
|
}
|
|
|
|
.color-show {
|
|
border: 1px solid $--border-color-light;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 30px;
|
|
}
|
|
|
|
.color-show .color-text {
|
|
font-size: 14px;
|
|
color: $--color-text-primary;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.color-show:hover {
|
|
border-color: $--border-color-light-hover !important;
|
|
}
|
|
.color-show:focus {
|
|
border-color: $--color-primary !important;
|
|
}
|
|
|
|
.color-show-left {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 1px solid $--border-color-light;
|
|
border-radius: 5px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.color-arrows {
|
|
color: #C0C4CC;
|
|
position: absolute;
|
|
right: 12px;
|
|
}
|
|
|
|
.color-arrows .nz-icon {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.v-sub {
|
|
vertical-align: sub;
|
|
}
|
|
|
|
.font12 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.font20 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
|
|
.can-clear.el-color-dropdown .el-color-dropdown__link-btn {
|
|
display: inline-block !important;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.no-style-class.el-color-picker__panel {
|
|
border-radius: 0 0 5px 5px;
|
|
border-top: none;
|
|
}
|
|
|
|
.icon-item {
|
|
width: 75%;
|
|
height: 100%;
|
|
padding-left: 25%;
|
|
}
|
|
|
|
.icon-item svg {
|
|
width: 180px;
|
|
height: 100%;
|
|
}
|
|
|
|
.el-color-predefine__color-selector:nth-child(10n+1) {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.el-color-predefine__color-selector {
|
|
margin: 0 0 8px 8px;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.color-before-select {
|
|
width: 60px !important;
|
|
border-radius: 4px 0 0 4px;
|
|
cursor: pointer;
|
|
}
|
|
.color-show {
|
|
cursor: pointer;
|
|
}
|
|
.color-before-select .el-input__inner {
|
|
background: $--right-box-sub-title-background-color;
|
|
border-color: $--border-color-light;
|
|
color: transparent;
|
|
}
|
|
|
|
.color-before-select .el-input__prefix {
|
|
left: 1px;
|
|
width: 30px;
|
|
height: 29px;
|
|
top: 1px;
|
|
}
|
|
|
|
.color-before-select .el-select-dropdown__item {
|
|
text-align: center;
|
|
overflow: unset;
|
|
}
|