choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
58 lines (57 loc) • 1.59 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 */
.c7n-pro-form-header {
margin-bottom: 0.1rem;
padding: 0.08rem;
font-weight: 400;
font-size: 0.16rem;
border-bottom: 0.01rem solid #e0e0e0;
}
.c7n-pro-form > table {
width: 100%;
table-layout: fixed;
}
.c7n-pro-form > table.auto-width {
table-layout: auto;
}
.c7n-pro-form > table.auto-width .c7n-pro-field-label label > span,
.c7n-pro-form > table.auto-width .c7n-pro-field-label-vertical {
white-space: nowrap;
}
.c7n-pro-form > table > tbody > tr > td {
vertical-align: top;
}
.c7n-pro-form-float-label {
margin: 0 -0.05rem;
}
.c7n-pro-form-float-label .c7n-pro-form-header {
margin-right: 0.05rem;
margin-left: 0.05rem;
}
.c7n-pro-form-float-label .c7n-pro-field-wrapper {
margin-top: 0.07rem;
margin-bottom: 0.2rem;
padding-top: 0;
padding-bottom: 0;
}
.c7n-pro-form-float-label .c7n-pro-validation-message + .c7n-pro-field-help {
display: none;
}
.c7n-pro-form-item-group {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.c7n-pro-form-item-group-item {
display: inline-block;
}
.c7n-pro-form-item-group-item:not(:last-child) {
margin-right: 0.05rem;
}
.c7n-pro-form-item-group-compact .c7n-pro-form-item-group-item:not(:last-child) {
margin-right: -0.01rem;
}