UNPKG

choerodon-ui

Version:

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

860 lines (859 loc) 24.3 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-mentions { min-height: 0.3rem; position: relative; display: inline-block; width: 100%; height: 0.3rem; padding: 0.01rem 0.1rem; color: #000000; font-size: inherit; line-height: 1.5; background-color: transparent; background-image: none; border: 0.01rem none #d9d9d9; border-radius: 0.02rem; cursor: text; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: opacity, color, background-color, border; transition-property: opacity, color, background-color, border; /* stylelint-disable */ } .c7n-pro-mentions-compact:not(:last-child) { margin-right: -0.01rem; border-right-width: 0.01rem; } .c7n-pro-mentions-compact:not(:first-child) .c7n-pro-mentions { border-top-left-radius: 0; border-bottom-left-radius: 0; } .c7n-pro-mentions-compact:not(:last-child) .c7n-pro-mentions { border-top-right-radius: 0; border-bottom-right-radius: 0; } .c7n-pro-mentions-compact:hover .c7n-pro-mentions-wrapper, .c7n-pro-mentions-compact:focus .c7n-pro-mentions-wrapper { z-index: 3; } .c7n-pro-mentions-compact .c7n-pro-mentions-focused { z-index: 3; } .c7n-pro-mentions-compact .c7n-pro-mentions-invalid { z-index: 2; } .c7n-pro-mentions-border .c7n-pro-mentions, .c7n-pro-mentions-border.c7n-pro-mentions-float-label::before { border-style: solid; } .c7n-pro-mentions-wrapper { position: relative; display: inline-block; line-height: 1; vertical-align: middle; background-color: #fff; } .c7n-pro-mentions-wrapper label { position: relative; z-index: 1; display: -webkit-box; display: -ms-flexbox; display: flex; } .c7n-pro-mentions-wrapper .c7n-pro-field-label { z-index: -1; } .c7n-pro-mentions::-moz-placeholder { color: #bfbfbf; opacity: 1; } .c7n-pro-mentions:-ms-input-placeholder { color: #bfbfbf; } .c7n-pro-mentions::-webkit-input-placeholder { color: #bfbfbf; } .c7n-pro-mentions::-moz-placeholder { color: #bfbfbf; text-align: left; opacity: 1; } .c7n-pro-mentions:-ms-input-placeholder { color: #bfbfbf; text-align: left; } .c7n-pro-mentions::-webkit-input-placeholder { color: #bfbfbf; text-align: left; } .c7n-pro-mentions-required-colors { background-color: #feffe6; } .c7n-pro-mentions-required-colors .c7n-pro-mentions { border-color: #d9d9d9; } .c7n-pro-mentions-highlight .c7n-pro-mentions { border-color: #47B881; } label:hover .c7n-pro-mentions, .c7n-pro-mentions:hover { border-color: #6374c2; } .c7n-pro-mentions-required-colors label:hover .c7n-pro-mentions, .c7n-pro-mentions-required-colors .c7n-pro-mentions:hover { border-color: #6374c2; } .c7n-pro-mentions:focus, .c7n-pro-mentions-focused .c7n-pro-mentions { color: #000000; border-color: #6374c2; outline: 0; -webkit-box-shadow: none; box-shadow: none; } .c7n-pro-mentions-disabled { background-color: #f5f5f5; } .c7n-pro-mentions-disabled i { color: rgba(0, 0, 0, 0.54); } .c7n-pro-mentions-disabled .c7n-pro-mentions, .c7n-pro-mentions-disabled label:hover .c7n-pro-mentions, .c7n-pro-mentions:disabled { color: rgba(0, 0, 0, 0.54); cursor: not-allowed; opacity: 1; } .c7n-pro-mentions-disabled .c7n-pro-mentions, .c7n-pro-mentions-disabled label:hover .c7n-pro-mentions, .c7n-pro-mentions:disabled, .c7n-pro-mentions-disabled .c7n-pro-mentions:hover, .c7n-pro-mentions-disabled label:hover .c7n-pro-mentions:hover, .c7n-pro-mentions:disabled:hover { border-color: #d9d9d9; } .c7n-pro-mentions-disabled .c7n-pro-mentions-prefix, .c7n-pro-mentions-disabled .c7n-pro-mentions-suffix, .c7n-pro-mentions-disabled.c7n-pro-mentions-prefix-button .c7n-pro-mentions-prefix, .c7n-pro-mentions-disabled.c7n-pro-mentions-suffix-button .c7n-pro-mentions-suffix, .c7n-pro-mentions-disabled .c7n-pro-mentions-inner-button, .c7n-pro-mentions-disabled input { cursor: not-allowed; } .c7n-pro-mentions-not-editable .c7n-pro-mentions { cursor: default; } .c7n-pro-mentions-placeholder, .c7n-pro-mentions-rendered-value { position: absolute; top: 0; bottom: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; max-width: 100%; height: 0.3rem; margin: auto 0; padding: 0 0.1rem; line-height: 0.3rem; white-space: pre; border: 0.01rem solid transparent; -webkit-transition: all 0.3s; transition: all 0.3s; } .c7n-pro-mentions-placeholder-inner, .c7n-pro-mentions-rendered-value-inner { display: inline-block; width: 100%; overflow: hidden; } .c7n-pro-mentions-placeholder { color: #bfbfbf; white-space: nowrap; opacity: 0; } .c7n-pro-mentions-disabled .c7n-pro-mentions-rendered-value { color: rgba(0, 0, 0, 0.54); } textarea.c7n-pro-mentions { max-width: 100%; height: auto; vertical-align: bottom; } .c7n-pro-mentions-lg .c7n-pro-mentions { height: 0.4rem; padding: 0.06rem 0.1rem; } .c7n-pro-mentions-sm .c7n-pro-mentions { height: 0.24rem; padding: 0.01rem 0.1rem; } .c7n-pro-mentions-prefix, .c7n-pro-mentions-suffix, .c7n-pro-mentions-inner-button { position: absolute; top: 0.01rem; bottom: 0.01rem; z-index: 1; height: 0.2rem; margin: auto 0; line-height: 1; text-align: center; } .c7n-pro-mentions-prefix, .c7n-pro-mentions-suffix { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .c7n-pro-mentions-prefix { left: 0.01rem; width: 0.24rem; } .c7n-pro-mentions-suffix { width: 0.24rem; } .c7n-pro-mentions-suffix, .c7n-pro-mentions-inner-button { right: 0.01rem; } .c7n-pro-mentions-prefix-button .c7n-pro-mentions-placeholder, .c7n-pro-mentions-prefix-button .c7n-pro-mentions-rendered-value { padding-left: 0.24rem; } .c7n-pro-mentions-suffix-button .c7n-pro-mentions-placeholder, .c7n-pro-mentions-suffix-button .c7n-pro-mentions-rendered-value { padding-right: 0.24rem; } .c7n-pro-mentions-suffix-button .c7n-pro-mentions-suffix { cursor: pointer; } .c7n-pro-mentions:not(textarea):not(:last-child) { padding-right: 0.24rem; } .c7n-pro-mentions:not(textarea):not(:first-child) { padding-left: 0.24rem; } .c7n-pro-mentions-inner-button { z-index: 1; width: 0.24rem; cursor: pointer; opacity: 0; -webkit-transition: opacity 0.3s; transition: opacity 0.3s; } .c7n-pro-mentions-wrapper:hover .c7n-pro-mentions-inner-button, .c7n-pro-mentions-focused .c7n-pro-mentions-inner-button { z-index: 2; opacity: 1; } .c7n-pro-mentions-wrapper:not(.c7n-pro-mentions-empty):hover .c7n-pro-mentions-allow-clear, .c7n-pro-mentions-focused:not(.c7n-pro-mentions-empty) .c7n-pro-mentions-allow-clear { opacity: 0; } .c7n-pro-mentions-suffix-button .c7n-pro-mentions-suffix:not(.c7n-pro-mentions-allow-clear) + .c7n-pro-mentions-clear-button { right: 0.25rem; } .c7n-pro-mentions-clear-button { background: transparent; } .c7n-pro-mentions-clear-button:hover { color: #6374c2; } .c7n-pro-mentions-clear-button:active { color: #b6bfdb; } .c7n-pro-mentions-empty .c7n-pro-mentions-clear-button { display: none; } .c7n-pro-mentions-empty .c7n-pro-mentions-clear-button + * { opacity: 1 !important; } .c7n-pro-mentions-empty .c7n-pro-mentions-placeholder { overflow: hidden; text-overflow: ellipsis; opacity: 1; } .c7n-pro-mentions > ul { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 100%; margin: 0; padding: 0.01rem 0; overflow-x: hidden; overflow-y: auto; } .c7n-pro-mentions > ul > li, .c7n-pro-mentions > ul span { display: inline-block; max-width: 99%; height: 0.24rem; margin-top: 0.01rem; margin-bottom: 0.01rem; line-height: 0.22rem; vertical-align: middle; } .c7n-pro-mentions-multiple-value { display: block; width: 100%; height: 0; padding: 0; border: none; visibility: hidden; } .c7n-pro-mentions-multiple-input { width: 0.05rem; max-width: 100%; height: 100%; margin-left: 0.04rem; padding: 0; background-color: transparent; border: none; outline: 0; } .c7n-pro-mentions-multiple .c7n-pro-mentions { height: auto; min-height: 0.3rem; margin: 0; padding-top: 0; padding-bottom: 0; padding-left: 0; } .c7n-pro-mentions-multiple.c7n-pro-mentions-lg .c7n-pro-mentions { height: auto; min-height: 0.4rem; } .c7n-pro-mentions-multiple.c7n-pro-mentions-sm .c7n-pro-mentions { height: auto; min-height: 0.24rem; } .c7n-pro-mentions-multiple.c7n-pro-mentions-lov .c7n-pro-mentions:not(:last-child) { padding-right: 0.48rem; } .c7n-pro-mentions-multiple:not(.c7n-pro-mentions-suffix-button) .c7n-pro-mentions:not(:last-child) { padding-right: 0.24rem; } .c7n-pro-mentions-multiple-block { display: inline-block; max-width: 99%; margin: 0 0.02rem; padding: 0 0.08rem; overflow: hidden; color: #ffffff; line-height: 1.5; white-space: nowrap; background-color: #3f51b5; border-radius: 0.02rem; cursor: default; } .c7n-pro-mentions-multiple-block > div { height: 100%; display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: top; } .c7n-pro-mentions-multiple-block > div:not(:last-child) { max-width: calc(100% - .24rem); } .c7n-pro-mentions-multiple-block-invalid { background-color: #d50000; color: #ffffff; } .c7n-pro-mentions-multiple-block-disabled { padding-right: 0.1rem; background-color: rgba(0, 0, 0, 0.25); color: #ffffff; cursor: not-allowed; } .c7n-pro-mentions-multiple-block .icon { height: 100%; margin-left: 0.08rem; color: inherit; line-height: inherit; cursor: pointer; } .c7n-pro-mentions-multiple-block .icon:hover { color: inherit; } .c7n-pro-mentions-range-text { position: relative; display: block; height: 100%; white-space: nowrap; } .c7n-pro-mentions-range-start, .c7n-pro-mentions-range-end, .c7n-pro-mentions-range-split, .c7n-pro-mentions-range-input { display: inline-block; height: 100%; line-height: 0.26rem; vertical-align: middle; } .c7n-pro-mentions-range-start-rendered-value, .c7n-pro-mentions-range-end-rendered-value, .c7n-pro-mentions-range-start, .c7n-pro-mentions-range-end, .c7n-pro-mentions-range-input { width: calc(50% - .1rem); text-align: center; background-color: transparent; border: none; outline: 0; } .c7n-pro-mentions-range-split { width: 0.2rem; text-align: center; } .c7n-pro-mentions-range-input { position: absolute; color: #3f51b5; font-weight: bold; opacity: 0; } .c7n-pro-mentions-range-start-rendered-value { left: 0; padding: 0 !important; } .c7n-pro-mentions-range-end-rendered-value { right: 0; padding: 0 !important; } .c7n-pro-mentions-focused .c7n-pro-mentions-range-input { opacity: 1; } .c7n-pro-mentions-group { display: -webkit-box; display: -ms-flexbox; display: flex; } .c7n-pro-mentions-group-wrapper { display: inline-block; width: 100%; vertical-align: middle; } .c7n-pro-mentions-group-before, .c7n-pro-mentions-group-input, .c7n-pro-mentions-group-after, .c7n-pro-mentions-group-help { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .c7n-pro-mentions-group-before, .c7n-pro-mentions-group-after, .c7n-pro-mentions-group-help { padding-right: 0.05rem; padding-left: 0.05rem; word-break: keep-all; background-color: #eee; border: 0.01rem solid #d9d9d9; border-radius: 0.02rem; } .c7n-pro-mentions-group-before { border-right: none; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; } .c7n-pro-mentions-group-after, .c7n-pro-mentions-group-help { border-left: none; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; } .c7n-pro-mentions-group-help:not(:last-child) { border-radius: 0 !important; } .c7n-pro-mentions-group-input { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .c7n-pro-mentions-group-input:not(:last-child) .c7n-pro-mentions { border-top-right-radius: 0; border-bottom-right-radius: 0; } .c7n-pro-mentions-group-input:not(:first-child) .c7n-pro-mentions { border-top-left-radius: 0; border-bottom-left-radius: 0; } .c7n-pro-mentions-group-input .c7n-pro-mentions-wrapper { width: 100%; } .c7n-pro-mentions:-webkit-autofill { -webkit-box-shadow: 0 0 0 10rem #fff inset; box-shadow: 0 0 0 10rem #fff inset; } .c7n-pro-mentions-invalid .c7n-pro-mentions, .c7n-pro-mentions-invalid label:hover .c7n-pro-mentions { color: #d50000; border-color: #d50000; opacity: 1; } .c7n-pro-mentions-invalid.c7n-pro-mentions-wrapper { background-color: #fcebeb; } .c7n-pro-mentions-invalid .c7n-pro-mentions-clear-button { background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(20%, #fcebeb), to(#fcebeb)) !important; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fcebeb 20%, #fcebeb) !important; } .c7n-pro-mentions-underline { position: absolute; bottom: -0.01rem; width: 100%; height: 0; border-bottom: 0.01rem solid rgba(0, 0, 0, 0.54); } .c7n-pro-mentions-ripple { position: absolute; left: 0; width: 100%; height: 0; border-bottom: 0.02rem solid #3f51b5; -webkit-transform: scaleX(0.5); -ms-transform: scaleX(0.5); transform: scaleX(0.5); -webkit-transform-origin: 50%; -ms-transform-origin: 50%; transform-origin: 50%; opacity: 0; -webkit-transition: border-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2); transition: border-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2); } .c7n-pro-mentions-disabled .c7n-pro-mentions-underline { border-bottom: 0.01rem dotted rgba(0, 0, 0, 0.42); } .c7n-pro-mentions-focused .c7n-pro-mentions-underline .c7n-pro-mentions-ripple { -webkit-transform: scaleX(1); -ms-transform: scaleX(1); transform: scaleX(1); opacity: 1; -webkit-transition: opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1), border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1); transition: opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1), border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1); transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1), opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1), border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1); transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1), opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1), border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1); } .c7n-pro-mentions-invalid .c7n-pro-mentions-underline { border-color: #d50000; } .c7n-pro-mentions-length-info { position: absolute; color: rgba(0, 0, 0, 0.54); font-size: 0.12rem; letter-spacing: 0.02rem; right: 0.03rem; top: 0.01rem; bottom: 0.01rem; height: 0.2rem; line-height: 0.2rem; margin: auto 0; } .c7n-pro-mentions-float-label .c7n-pro-field-label { padding: 0; overflow: hidden; color: inherit; font-weight: 400; line-height: 0.34rem; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; -webkit-transform-origin: inherit; -ms-transform-origin: inherit; transform-origin: inherit; -webkit-transition: inherit; transition: inherit; } .c7n-pro-mentions-float-label .c7n-pro-field-label-wrapper { position: absolute; top: 0; left: 0.1rem; max-width: 98%; height: 0; margin-left: -0.05rem; padding: 0 0.05rem; border-top: 0.02rem solid #fff; -webkit-transform-origin: 0.1rem -230%; -ms-transform-origin: 0.1rem -230%; transform-origin: 0.1rem -230%; -webkit-transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1); transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1); } .c7n-pro-mentions-float-label .c7n-pro-field-label::after { width: 0; } .c7n-pro-mentions-float-label .c7n-pro-field-label.c7n-pro-field-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-mentions-float-label.c7n-pro-mentions-focused .c7n-pro-field-label { color: #3f51b5; } .c7n-pro-mentions-float-label.c7n-pro-mentions-invalid .c7n-pro-field-label { color: #d50000; } .c7n-pro-mentions-float-label .c7n-pro-field-label-wrapper, .c7n-pro-mentions-float-label .c7n-pro-mentions:focus + .c7n-pro-field-label-wrapper { -webkit-transform: scaleX(0.8); -ms-transform: scaleX(0.8); transform: scaleX(0.8); } .c7n-pro-mentions-float-label .c7n-pro-mentions:-webkit-autofill + .c7n-pro-field-label-wrapper { -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } .c7n-pro-mentions-float-label .c7n-pro-field-label, .c7n-pro-mentions-float-label.c7n-pro-mentions-focused .c7n-pro-field-label { font-weight: 500; font-size: 0.15rem; -webkit-transform: scaleY(0.8); -ms-transform: scaleY(0.8); transform: scaleY(0.8); } .c7n-pro-mentions-float-label .c7n-pro-mentions:-webkit-autofill + .c7n-pro-field-label-wrapper .c7n-pro-field-label { font-weight: 500; font-size: 0.15rem; -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } .c7n-pro-mentions-float-label:not(.c7n-pro-mentions-multiple) .c7n-pro-mentions { height: 0.36rem; border-radius: 0.05rem; } .c7n-pro-mentions-float-label .c7n-pro-mentions { min-height: 0.36rem; border-radius: 0.05rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-sm:not(.c7n-pro-mentions-multiple) .c7n-pro-mentions { height: 0.3rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-sm .c7n-pro-field-label { line-height: 0.28rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-lg:not(.c7n-pro-mentions-multiple) .c7n-pro-mentions { height: 0.4rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-lg .c7n-pro-field-label { line-height: 0.38rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-lg:not(.c7n-pro-mentions-multiple) textarea.c7n-pro-mentions, .c7n-pro-mentions-float-label.c7n-pro-mentions-sm:not(.c7n-pro-mentions-multiple) textarea.c7n-pro-mentions, .c7n-pro-mentions-float-label:not(.c7n-pro-mentions-multiple) textarea.c7n-pro-mentions, .c7n-pro-mentions-float-label textarea.c7n-pro-mentions { height: auto; } .c7n-pro-mentions-float-label.c7n-pro-mentions-required-colors { background-color: #fff; } .c7n-pro-mentions-float-label.c7n-pro-mentions-invalid { background-color: #fff; } .c7n-pro-mentions-float-label.c7n-pro-mentions-disabled { background-color: #fff; } .c7n-pro-mentions-float-label.c7n-pro-mentions-required .c7n-pro-field-label::after { width: 0.08rem; } .c7n-pro-mentions-empty:not(.c7n-pro-mentions-focused) .c7n-pro-field-label { font-weight: inherit; font-size: inherit; -webkit-transform: none; -ms-transform: none; transform: none; pointer-events: none; } .c7n-pro-mentions-empty:not(.c7n-pro-mentions-focused) .c7n-pro-field-label-wrapper { border-top-color: transparent; -webkit-transform: none; -ms-transform: none; transform: none; } .c7n-pro-mentions-float-label .c7n-pro-mentions > ul { margin: 0 0 0 0.03rem; padding: 0.07rem 0; } .c7n-pro-mentions-float-label .c7n-pro-mentions > ul > li { height: 0.2rem; margin-top: 0.01rem; margin-bottom: 0.01rem; line-height: 0.2rem; } .c7n-pro-mentions-float-label .c7n-pro-mentions-multiple-block { padding: 0 0.02rem 0 0.08rem; border-radius: 0.12rem; } .c7n-pro-mentions-float-label .c7n-pro-mentions-multiple-block .icon { color: rgba(255, 255, 255, 0.72); font-size: 0.16rem; line-height: 0.2rem; vertical-align: top; } .c7n-pro-mentions-float-label .c7n-pro-mentions-multiple-block .icon:hover { color: inherit; } .c7n-pro-mentions-prefix-button.c7n-pro-mentions-float-label .c7n-pro-field-label-wrapper { left: 0.24rem; } .c7n-pro-mentions-float-label .c7n-pro-mentions { border: none; } .c7n-pro-mentions-float-label::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; border: 0.01rem none #d9d9d9; border-radius: 0.05rem; content: ' '; } .c7n-pro-mentions-float-label.c7n-pro-mentions-required-colors::before { border-color: #d9d9d9; } .c7n-pro-mentions-float-label.c7n-pro-mentions-highlight::before { border-color: #47B881; } .c7n-pro-mentions-float-label.c7n-pro-mentions-focused::before, .c7n-pro-mentions-float-label.c7n-pro-mentions-invalid::before { border-width: 0.02rem; } .c7n-pro-mentions-float-label:hover:not(.c7n-pro-mentions-disabled):not(.c7n-pro-mentions-focused):not(.c7n-pro-mentions-invalid)::before { border-color: #000000; } .c7n-pro-mentions-float-label.c7n-pro-mentions-required-colors:hover:not(.c7n-pro-mentions-disabled):not(.c7n-pro-mentions-focused):not(.c7n-pro-mentions-invalid)::before { border-color: #000000; } .c7n-pro-mentions-float-label.c7n-pro-mentions-focused::before { border-color: #6374c2; } .c7n-pro-mentions-float-label.c7n-pro-mentions-invalid::before { border-color: #d50000; } .c7n-pro-mentions-float-label.c7n-pro-mentions-disabled i { color: rgba(0, 0, 0, 0.54); } .c7n-pro-mentions-float-label.c7n-pro-mentions-disabled::before { border-style: dashed; } .c7n-pro-mentions-float-label.c7n-pro-mentions-disabled .c7n-pro-mentions, .c7n-pro-mentions-float-label.c7n-pro-mentions-disabled .c7n-pro-mentions:hover { background-color: transparent; } .c7n-pro-mentions-group-input:not(:last-child) .c7n-pro-mentions-float-label::before { border-top-right-radius: 0; border-bottom-right-radius: 0; } .c7n-pro-mentions-group-input:not(:first-child) .c7n-pro-mentions-float-label::before { border-top-left-radius: 0; border-bottom-left-radius: 0; } .c7n-pro-mentions-float-label-group .c7n-pro-mentions-group-before, .c7n-pro-mentions-float-label-group .c7n-pro-mentions-group-after, .c7n-pro-mentions-float-label-group .c7n-pro-mentions-group-help { border-radius: 0.05rem; } .c7n-pro-mentions-float-label .c7n-pro-mentions:-webkit-autofill { height: 0.32rem; margin: 0.02rem; padding-left: 0.08rem; border-radius: 0.05rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-sm .c7n-pro-mentions:-webkit-autofill { height: 0.26rem; } .c7n-pro-mentions-float-label.c7n-pro-mentions-lg .c7n-pro-mentions:-webkit-autofill { height: 0.36rem; } .c7n-pro-mentions-float-label textarea.c7n-pro-mentions:-webkit-autofill { height: auto; } .c7n-pro-mentions-prefix-button.c7n-pro-mentions-float-label .c7n-pro-mentions:-webkit-autofill { padding-left: 0.22rem; } .c7n-pro-mentions-uppercase { text-transform: uppercase; } .c7n-pro-mentions-lowercase { text-transform: lowercase; } .c7n-pro-mentions-capitalize { text-transform: capitalize; } .c7n-pro-mentions-focused .c7n-pro-mentions-hover-value { color: #808080; } .c7n-pro-mentions-wrapper { max-width: 100%; } .c7n-pro-mentions-wrapper label .c7n-pro-mentions { padding-right: 0.13rem; } .c7n-pro-mentions-wrapper label .c7n-pro-mentions-clear-button { top: 0.07rem; right: 0.03rem; bottom: unset; width: 0.2rem; } .c7n-pro-mentions-wrapper label .c7n-pro-mentions-length-info { right: 0; bottom: -0.2rem; } .c7n-pro-mentions, .c7n-pro-mentions-placeholder { padding: 0.07rem 0.1rem; } .c7n-pro-mentions-length-info { top: unset; right: 0.08rem; bottom: 0.04rem; margin: unset; } .c7n-pro-mentions-measure { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; padding: 0.07rem 0.13rem 0.07rem 0.1rem; overflow: auto; color: transparent; font-size: inherit; line-height: 1.5; white-space: pre-wrap; vertical-align: bottom; border: 0.01rem solid transparent; border-radius: 0.02rem; pointer-events: none; }