choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
90 lines (89 loc) • 2.24 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
.c7n-pro-output {
color: unset;
font-weight: 400;
line-height: 0.28rem;
white-space: normal;
word-break: normal;
}
.c7n-pro-output-invalid {
padding: 0.01rem 0.1rem;
color: #d50000;
background-color: #fcebeb;
border: 0.01rem solid #d50000;
border-radius: 0.02rem;
}
.c7n-pro-output-multiple-block {
display: inline-block;
max-width: 99%;
padding: 0 0.08rem;
overflow: hidden;
color: #ffffff;
line-height: 1.5;
white-space: nowrap;
background-color: #3f51b5;
border-radius: 0.02rem;
margin: 0 0.02rem;
vertical-align: text-top;
}
.c7n-pro-output-multiple-block > div {
height: 100%;
display: inline-block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
}
.c7n-pro-output-multiple-block > div:not(:last-child) {
max-width: calc(100% - 0.24rem);
}
.c7n-pro-output-multiple-block-invalid {
background-color: #d50000;
color: #ffffff;
}
.c7n-pro-output-multiple-block-disabled {
padding-right: 0.1rem;
background-color: rgba(0, 0, 0, 0.25);
color: #ffffff;
cursor: not-allowed;
}
.c7n-pro-output:empty::before {
display: inline-block;
width: 0;
content: '';
}
.c7n-pro-output-highlight {
border-color: #47B881;
}
.c7n-pro-output-multi-value-invalid {
color: #d50000;
}
.c7n-pro-output-multi-label-required::after {
display: inline-block;
width: 0.08rem;
margin-left: 0.04rem;
color: #d50000;
font-family: SimSun, sans-serif;
line-height: 1;
vertical-align: middle;
content: '*';
}
.c7n-pro-output-float-label {
line-height: 0.36rem;
}
.c7n-pro-output-float-label > .c7n-pro-field-label-wrapper > .c7n-pro-field-label {
width: 100%;
padding: 0;
overflow: hidden;
color: inherit;
font-weight: 400;
font-size: 0.12rem;
line-height: 0.18rem;
white-space: nowrap;
text-overflow: ellipsis;
}