UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

126 lines (125 loc) 3.03 kB
/* 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 */ .c7n-pro-field { display: inline-block; width: 100%; } .c7n-pro-field-label, .c7n-pro-field-label-vertical { overflow: hidden; font-weight: 400; line-height: 0.3rem; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; } .c7n-pro-field-label label, .c7n-pro-field-label-vertical label { display: inline; } .c7n-pro-field-label-right, .c7n-pro-field-label-vertical-right { text-align: right; } .c7n-pro-field-label-center, .c7n-pro-field-label-vertical-center { text-align: center; } .c7n-pro-field-label { padding: 0.1rem 0.05rem; color: inherit; } .c7n-pro-field-wrapper { padding: 0.1rem 0.05rem; } .c7n-pro-field-label-vertical { display: block; padding-top: 0; padding-bottom: 0; color: inherit; direction: ltr; text-align: left; } .c7n-pro-field-label-vertical + .c7n-pro-field-wrapper { padding-top: 0; } .c7n-pro-field-label::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-field-required.c7n-pro-field-label::after { content: '*'; } .c7n-pro-field-required.c7n-pro-field-label.c7n-pro-field-label-output::after { content: ''; } .c7n-pro-field-required.c7n-pro-field-label-useColon.c7n-pro-field-label-output::after, .c7n-pro-field-label.c7n-pro-field-label-useColon::after { position: relative; width: 0; margin: 0 0.1rem 0 0.01rem; vertical-align: baseline; content: ':'; } .c7n-pro-field-label.c7n-pro-field-label-useColon::after { top: -0.01rem; color: inherit; } .c7n-pro-field-label-vertical.c7n-pro-field-label.c7n-pro-field-label-useColon { width: auto; } .c7n-pro-field-required.c7n-pro-field-label.c7n-pro-field-label-useColon::before { display: inline-block; margin-right: 0.02rem; color: #d50000; line-height: 1; content: '*'; } .c7n-pro-field-help { color: rgba(0, 0, 0, 0.45); font-size: 0.12rem; word-break: break-all; } .c7n-pro-field-output { padding-top: 0.01rem; padding-bottom: 0.01rem; } .c7n-pro-field-label-output { padding-top: 0.01rem; padding-bottom: 0.01rem; } .c7n-pro-field-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } .c7n-pro-field-col { position: relative; -webkit-box-flex: 0; -ms-flex-positive: 0; flex-grow: 0; max-width: 100%; min-height: 1px; } .c7n-pro-field-col-control { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .c7n-pro-field-col .c7n-pro-field-label { display: inline-block; }