UNPKG

drip-table

Version:

A tiny and powerful enterprise-class solution for building tables.

1,762 lines (1,464 loc) 58.7 kB
/** * This file is part of the drip-table project. * @link : https://drip-table.jd.com/ * @author : Emil Zhai (root@derzh.com) * @modifier : Emil Zhai (root@derzh.com) * @copyright: Copyright (c) 2021 JD Network Technology Co., Ltd. */ @import url("../../../styles/theme/default.less"); @prefixRc: jfe-drip-table-rc; @prefixCls: jfe-drip-table-rc-input; .@{prefixCls}-number-affix-wrapper { min-width: 0; color: @drip-table-text-color; font-size: 14px; line-height: 1.5715; background-color: #ffffff; background-image: none; border: 1px solid #d9d9d9; border-radius: 2px; transition: all .3s; position: relative; display: inline-flex; width: 90px; padding: 0; padding-inline-start: 11px; } .@{prefixCls}-number-affix-wrapper::placeholder { color: #bfbfbf; user-select: none; } .@{prefixCls}-number-affix-wrapper:placeholder-shown { text-overflow: ellipsis; } .@{prefixCls}-number-affix-wrapper:hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; } .@{prefixCls}-number-affix-wrapper:focus, .@{prefixCls}-number-affix-wrapper-focused { border-color: @drip-table-primary-active-color; box-shadow: 0 0 0 2px @drip-table-primary-shadow-color; border-right-width: 1px; outline: 0; z-index: 1; } .@{prefixCls}-number-affix-wrapper-disabled { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-number-affix-wrapper-disabled:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-number-affix-wrapper[disabled] { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-number-affix-wrapper[disabled]:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-number-affix-wrapper-borderless, .@{prefixCls}-number-affix-wrapper-borderless:hover, .@{prefixCls}-number-affix-wrapper-borderless:focus, .@{prefixCls}-number-affix-wrapper-borderless-focused, .@{prefixCls}-number-affix-wrapper-borderless-disabled, .@{prefixCls}-number-affix-wrapper-borderless[disabled] { background-color: transparent; border: none; box-shadow: none; } textarea.@{prefixCls}-number-affix-wrapper { max-width: 100%; height: auto; min-height: 32px; line-height: 1.5715; vertical-align: bottom; transition: all .3s, height 0s; } .@{prefixCls}-number-affix-wrapper-lg { padding: 6.5px 11px; font-size: 16px; } .@{prefixCls}-number-affix-wrapper-sm { padding: 0 7px; } .@{prefixCls}-number-affix-wrapper:not(.@{prefixCls}-number-affix-wrapper-disabled):hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; z-index: 1; } .@{prefixCls}-number-affix-wrapper-disabled .@{prefixCls}-number[disabled] { background: transparent; } .@{prefixCls}-number-affix-wrapper>div.@{prefixCls}-number { width: 100%; border: none; outline: none; } .@{prefixCls}-number-affix-wrapper>div.@{prefixCls}-number.@{prefixCls}-number-focused { box-shadow: none !important; } .@{prefixCls}-number-affix-wrapper input.@{prefixCls}-number-input { padding: 0; } .@{prefixCls}-number-affix-wrapper:before { width: 0; visibility: hidden; content: "\a0"; } .@{prefixCls}-number-affix-wrapper .@{prefixCls}-number-handler-wrap { z-index: 2; } .@{prefixCls}-number-prefix, .@{prefixCls}-number-suffix { display: flex; flex: none; align-items: center; pointer-events: none; } .@{prefixCls}-number-prefix { margin-inline-end: 4px; } .@{prefixCls}-number-suffix { position: absolute; top: 0; right: 0; z-index: 1; height: 100%; margin-right: 11px; margin-left: 4px; } .@{prefixCls}-number-group-wrapper .@{prefixCls}-number-affix-wrapper { width: 100%; } .@{prefixCls}-number-status-error:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number, .@{prefixCls}-number-status-error:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number:hover { background: #ffffff; border-color: #ff4d4f; } .@{prefixCls}-number-status-error:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number:focus, .@{prefixCls}-number-status-error:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number-focused { border-color: #ff7875; box-shadow: 0 0 0 2px #ff4d4f33; border-right-width: 1px; outline: 0; } .@{prefixCls}-number-status-error .@{prefixCls}-number-prefix { color: #ff4d4f; } .@{prefixCls}-number-status-warning:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number, .@{prefixCls}-number-status-warning:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number:hover { background: #ffffff; border-color: #faad14; } .@{prefixCls}-number-status-warning:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number:focus, .@{prefixCls}-number-status-warning:not(.@{prefixCls}-number-disabled):not(.@{prefixCls}-number-borderless).@{prefixCls}-number-focused { border-color: #ffc53d; box-shadow: 0 0 0 2px #faad1433; border-right-width: 1px; outline: 0; } .@{prefixCls}-number-status-warning .@{prefixCls}-number-prefix { color: #faad14; } .@{prefixCls}-number-affix-wrapper-status-error:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper, .@{prefixCls}-number-affix-wrapper-status-error:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper:hover { background: #ffffff; border-color: #ff4d4f; } .@{prefixCls}-number-affix-wrapper-status-error:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper:focus, .@{prefixCls}-number-affix-wrapper-status-error:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper-focused { border-color: #ff7875; box-shadow: 0 0 0 2px #ff4d4f33; border-right-width: 1px; outline: 0; } .@{prefixCls}-number-affix-wrapper-status-error .@{prefixCls}-number-prefix { color: #ff4d4f; } .@{prefixCls}-number-affix-wrapper-status-warning:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper, .@{prefixCls}-number-affix-wrapper-status-warning:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper:hover { background: #ffffff; border-color: #faad14; } .@{prefixCls}-number-affix-wrapper-status-warning:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper:focus, .@{prefixCls}-number-affix-wrapper-status-warning:not(.@{prefixCls}-number-affix-wrapper-disabled):not(.@{prefixCls}-number-affix-wrapper-borderless).@{prefixCls}-number-affix-wrapper-focused { border-color: #ffc53d; box-shadow: 0 0 0 2px #faad1433; border-right-width: 1px; outline: 0; } .@{prefixCls}-number-affix-wrapper-status-warning .@{prefixCls}-number-prefix { color: #faad14; } .@{prefixCls}-number-group-wrapper-status-error .@{prefixCls}-number-group-addon { color: #ff4d4f; border-color: #ff4d4f; } .@{prefixCls}-number-group-wrapper-status-warning .@{prefixCls}-number-group-addon { color: #faad14; border-color: #faad14; } .@{prefixCls}-number { box-sizing: border-box; font-variant: tabular-nums; list-style: none; font-feature-settings: "tnum", "tnum"; position: relative; min-width: 0; color: @drip-table-text-color; font-size: 14px; line-height: 1.5715; background-color: #ffffff; background-image: none; transition: all .3s; display: inline-block; width: 90px; margin: 0; padding: 0; border: 1px solid #d9d9d9; border-radius: 2px; } .@{prefixCls}-number::placeholder { color: #bfbfbf; user-select: none; } .@{prefixCls}-number:placeholder-shown { text-overflow: ellipsis; } .@{prefixCls}-number:focus, .@{prefixCls}-number-focused { border-color: @drip-table-primary-active-color; box-shadow: 0 0 0 2px @drip-table-primary-shadow-color; border-right-width: 1px; outline: 0; } .@{prefixCls}-number[disabled] { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-number[disabled]:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-number-borderless, .@{prefixCls}-number-borderless:hover, .@{prefixCls}-number-borderless:focus, .@{prefixCls}-number-borderless-focused, .@{prefixCls}-number-borderless-disabled, .@{prefixCls}-number-borderless[disabled] { background-color: transparent; border: none; box-shadow: none; } textarea.@{prefixCls}-number { max-width: 100%; height: auto; min-height: 32px; line-height: 1.5715; vertical-align: bottom; transition: all .3s, height 0s; } .@{prefixCls}-number-group { box-sizing: border-box; margin: 0; padding: 0; color: @drip-table-text-color; font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: "tnum", "tnum"; position: relative; display: table; width: 100%; border-collapse: separate; border-spacing: 0; } .@{prefixCls}-number-group[class*=col-] { float: none; padding-right: 0; padding-left: 0; } .@{prefixCls}-number-group>[class*=col-] { padding-right: 8px; } .@{prefixCls}-number-group>[class*=col-]:last-child { padding-right: 0; } .@{prefixCls}-number-group-addon, .@{prefixCls}-number-group-wrap, .@{prefixCls}-number-group>.@{prefixCls}-number { display: table-cell; } .@{prefixCls}-number-group-addon:not(:first-child):not(:last-child), .@{prefixCls}-number-group-wrap:not(:first-child):not(:last-child), .@{prefixCls}-number-group>.@{prefixCls}-number:not(:first-child):not(:last-child) { border-radius: 0; } .@{prefixCls}-number-group-addon, .@{prefixCls}-number-group-wrap { width: 1px; white-space: nowrap; vertical-align: middle; } .@{prefixCls}-number-group-wrap>* { display: block !important; } .@{prefixCls}-number-group .@{prefixCls}-number { float: left; width: 100%; margin-bottom: 0; text-align: inherit; } .@{prefixCls}-number-group .@{prefixCls}-number:focus { z-index: 1; border-right-width: 1px; } .@{prefixCls}-number-group .@{prefixCls}-number:hover { z-index: 1; border-right-width: 1px; } .@{prefixCls}-search-with-button .@{prefixCls}-number-group .@{prefixCls}-number:hover { z-index: 0; } .@{prefixCls}-number-group-addon { position: relative; padding: 0 11px; color: @drip-table-text-color; font-weight: 400; font-size: 14px; text-align: center; background-color: #fafafa; border: 1px solid #d9d9d9; border-radius: 2px; transition: all .3s; } .@{prefixCls}-number-group-addon .@{prefixRc}-select { margin: -5px -11px; } .@{prefixCls}-number-group-addon .@{prefixRc}-select.@{prefixRc}-select-single:not(.@{prefixRc}-select-customize-input) .@{prefixRc}-select-selector { background-color: inherit; border: 1px solid transparent; box-shadow: none; } .@{prefixCls}-number-group-addon .@{prefixRc}-select-open .@{prefixRc}-select-selector, .@{prefixCls}-number-group-addon .@{prefixRc}-select-focused .@{prefixRc}-select-selector { color: @drip-table-primary-color; } .@{prefixCls}-number-group-addon .@{prefixRc}-cascader-picker { margin: -9px -12px; background-color: transparent; } .@{prefixCls}-number-group-addon .@{prefixRc}-cascader-picker .@{prefixRc}-cascader-input { text-align: left; border: 0; box-shadow: none; } .@{prefixCls}-number-group>.@{prefixCls}-number:first-child, .@{prefixCls}-number-group-addon:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-number-group>.@{prefixCls}-number:first-child .@{prefixRc}-select .@{prefixRc}-select-selector, .@{prefixCls}-number-group-addon:first-child .@{prefixRc}-select .@{prefixRc}-select-selector { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-number-group>.@{prefixCls}-number-affix-wrapper:not(:first-child) .@{prefixCls}-number { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-group>.@{prefixCls}-number-affix-wrapper:not(:last-child) .@{prefixCls}-number { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-number-group-addon:first-child { border-right: 0; } .@{prefixCls}-number-group-addon:last-child { border-left: 0; } .@{prefixCls}-number-group>.@{prefixCls}-number:last-child, .@{prefixCls}-number-group-addon:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-group>.@{prefixCls}-number:last-child .@{prefixRc}-select .@{prefixRc}-select-selector, .@{prefixCls}-number-group-addon:last-child .@{prefixRc}-select .@{prefixRc}-select-selector { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-group-lg .@{prefixCls}-number, .@{prefixCls}-number-group-lg>.@{prefixCls}-number-group-addon { padding: 6.5px 11px; font-size: 16px; } .@{prefixCls}-number-group-sm .@{prefixCls}-number, .@{prefixCls}-number-group-sm>.@{prefixCls}-number-group-addon { padding: 0 7px; } .@{prefixCls}-number-group-lg .@{prefixRc}-select-single .@{prefixRc}-select-selector { height: 40px; } .@{prefixCls}-number-group-sm .@{prefixRc}-select-single .@{prefixRc}-select-selector { height: 24px; } .@{prefixCls}-number-group .@{prefixCls}-number-affix-wrapper:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-search .@{prefixCls}-number-group .@{prefixCls}-number-affix-wrapper:not(:last-child) { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .@{prefixCls}-number-group .@{prefixCls}-number-affix-wrapper:not(:first-child), .@{prefixCls}-search .@{prefixCls}-number-group .@{prefixCls}-number-affix-wrapper:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact { display: block; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact:before { display: table; content: ""; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact:after { display: table; clear: both; content: ""; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-addon:not(:first-child):not(:last-child), .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-wrap:not(:first-child):not(:last-child), .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-number:not(:first-child):not(:last-child) { border-right-width: 1px; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-addon:not(:first-child):not(:last-child):hover, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-wrap:not(:first-child):not(:last-child):hover, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-number:not(:first-child):not(:last-child):hover { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-addon:not(:first-child):not(:last-child):focus, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact-wrap:not(:first-child):not(:last-child):focus, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-number:not(:first-child):not(:last-child):focus { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>* { display: inline-block; float: none; vertical-align: top; border-radius: 0; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-number-affix-wrapper { display: inline-flex; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-picker-range { display: inline-flex; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>*:not(:last-child) { margin-right: -1px; border-right-width: 1px; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact .@{prefixCls}-number { float: none; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls} { border-right-width: 1px; border-radius: 0; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector:hover, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}:hover, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}:hover, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls}:hover { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector:focus, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}:focus, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}:focus, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls}:focus { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-focused { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-arrow { z-index: 1; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>*:first-child, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select:first-child>.@{prefixRc}-select-selector, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-auto-complete:first-child .@{prefixCls}, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker:first-child .@{prefixCls} { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>*:last-child, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select:last-child>.@{prefixRc}-select-selector, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker:last-child .@{prefixCls}, .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-cascader-picker-focused:last-child .@{prefixCls} { border-right-width: 1px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls} { vertical-align: top; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact .@{prefixCls}-group-wrapper+.@{prefixCls}-group-wrapper { margin-left: -1px; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact .@{prefixCls}-group-wrapper+.@{prefixCls}-group-wrapper .@{prefixCls}-affix-wrapper { border-radius: 0; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact .@{prefixCls}-group-wrapper:not(:last-child).@{prefixCls}-search>.@{prefixCls}-group>.@{prefixCls}-group-addon>.@{prefixCls}-search-button { border-radius: 0; } .@{prefixCls}-number-group.@{prefixCls}-number-group-compact .@{prefixCls}-group-wrapper:not(:last-child).@{prefixCls}-search>.@{prefixCls}-group>.@{prefixCls} { border-radius: 2px 0 0 2px; } .@{prefixCls}-number-group>.@{prefixCls}-number-rtl:first-child { border-radius: 0 2px 2px 0; } .@{prefixCls}-number-group>.@{prefixCls}-number-rtl:last-child { border-radius: 2px 0 0 2px; } .@{prefixCls}-number-group-rtl .@{prefixCls}-number-group-addon:first-child { border-right: 1px solid #d9d9d9; border-left: 0; border-radius: 0 2px 2px 0; } .@{prefixCls}-number-group-rtl .@{prefixCls}-number-group-addon:last-child { border-right: 0; border-left: 1px solid #d9d9d9; border-radius: 2px 0 0 2px; } .@{prefixCls}-number-group-wrapper { display: inline-block; text-align: start; vertical-align: top; } .@{prefixCls}-number-handler { position: relative; display: block; width: 100%; height: 50%; overflow: hidden; color: #00000073; font-weight: 700; line-height: 0; text-align: center; border-left: 1px solid #d9d9d9; transition: all .1s linear; } .@{prefixCls}-number-handler:active { background: #f4f4f4; } .@{prefixCls}-number-handler:hover .@{prefixCls}-number-handler-up-inner, .@{prefixCls}-number-handler:hover .@{prefixCls}-number-handler-down-inner { color: @drip-table-primary-active-color; } .@{prefixCls}-number-handler-up-inner, .@{prefixCls}-number-handler-down-inner { display: inline-block; font-style: normal; text-align: center; text-transform: none; vertical-align: -.125em; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; right: 4px; width: 12px; height: 12px; color: #00000073; line-height: 12px; transition: all .1s linear; user-select: none; } .@{prefixCls}-number-handler-up-inner>*, .@{prefixCls}-number-handler-down-inner>* { line-height: 1; } .@{prefixCls}-number-handler-up-inner svg, .@{prefixCls}-number-handler-down-inner svg { display: inline-block; } .@{prefixCls}-number-handler-up-inner:before, .@{prefixCls}-number-handler-down-inner:before { display: none; } .@{prefixCls}-number-handler-up-inner .@{prefixCls}-number-handler-up-inner-icon, .@{prefixCls}-number-handler-up-inner .@{prefixCls}-number-handler-down-inner-icon, .@{prefixCls}-number-handler-down-inner .@{prefixCls}-number-handler-up-inner-icon, .@{prefixCls}-number-handler-down-inner .@{prefixCls}-number-handler-down-inner-icon { display: block; } .@{prefixCls}-number:hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; } .@{prefixCls}-number:hover+.@{prefixRc}-form-item-children-icon { opacity: 0; transition: opacity .24s linear .24s; } .@{prefixCls}-number-focused { border-color: @drip-table-primary-active-color; box-shadow: 0 0 0 2px @drip-table-primary-shadow-color; border-right-width: 1px; outline: 0; } .@{prefixCls}-number-disabled { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-number-disabled:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-number-disabled .@{prefixCls}-number-input { cursor: not-allowed; } .@{prefixCls}-number-disabled .@{prefixCls}-number-handler-wrap, .@{prefixCls}-number-readonly .@{prefixCls}-number-handler-wrap { display: none; } .@{prefixCls}-number-input { width: 100%; height: 30px; padding: 0 11px; text-align: left; background-color: transparent; border: 0; border-radius: 2px; outline: 0; transition: all .3s linear; appearance: textfield !important; } .@{prefixCls}-number-input::placeholder { color: #bfbfbf; user-select: none; } .@{prefixCls}-number-input:placeholder-shown { text-overflow: ellipsis; } .@{prefixCls}-number-input[type=number]::-webkit-inner-spin-button, .@{prefixCls}-number-input[type=number]::-webkit-outer-spin-button { margin: 0; appearance: none; } .@{prefixCls}-number-lg { padding: 0; font-size: 16px; } .@{prefixCls}-number-lg input { height: 38px; } .@{prefixCls}-number-sm { padding: 0; } .@{prefixCls}-number-sm input { height: 22px; padding: 0 7px; } .@{prefixCls}-number-handler-wrap { position: absolute; top: 0; right: 0; width: 22px; height: 100%; background: #ffffff; border-radius: 0 2px 2px 0; opacity: 0; transition: opacity .24s linear .1s; } .@{prefixCls}-number-handler-wrap .@{prefixCls}-number-handler .@{prefixCls}-number-handler-up-inner, .@{prefixCls}-number-handler-wrap .@{prefixCls}-number-handler .@{prefixCls}-number-handler-down-inner { display: flex; align-items: center; justify-content: center; min-width: auto; margin-right: 0; font-size: 7px; } .@{prefixCls}-number-borderless .@{prefixCls}-number-handler-wrap { border-left-width: 0; } .@{prefixCls}-number-handler-wrap:hover .@{prefixCls}-number-handler { height: 40%; } .@{prefixCls}-number:hover .@{prefixCls}-number-handler-wrap, .@{prefixCls}-number-focused .@{prefixCls}-number-handler-wrap { opacity: 1; } .@{prefixCls}-number-handler-up { border-top-right-radius: 2px; cursor: pointer; } .@{prefixCls}-number-handler-up-inner { top: 50%; margin-top: -5px; text-align: center; } .@{prefixCls}-number-handler-up:hover { height: 60% !important; } .@{prefixCls}-number-handler-down { top: 0; border-top: 1px solid #d9d9d9; border-bottom-right-radius: 2px; cursor: pointer; } .@{prefixCls}-number-handler-down-inner { top: 50%; text-align: center; transform: translateY(-50%); } .@{prefixCls}-number-handler-down:hover { height: 60% !important; } .@{prefixCls}-number-borderless .@{prefixCls}-number-handler-down { border-top-width: 0; } .@{prefixCls}-number:hover:not(.@{prefixCls}-number-borderless) .@{prefixCls}-number-handler-down, .@{prefixCls}-number-focused:not(.@{prefixCls}-number-borderless) .@{prefixCls}-number-handler-down { border-top: 1px solid #d9d9d9; } .@{prefixCls}-number-handler-up-disabled, .@{prefixCls}-number-handler-down-disabled { cursor: not-allowed; } .@{prefixCls}-number-handler-up-disabled:hover .@{prefixCls}-number-handler-up-inner, .@{prefixCls}-number-handler-down-disabled:hover .@{prefixCls}-number-handler-down-inner { color: #00000040; } .@{prefixCls}-number-borderless { box-shadow: none; } .@{prefixCls}-number-out-of-range input { color: #ff4d4f; } .@{prefixCls}-number-compact-item:not(.@{prefixCls}-number-compact-last-item):not(.@{prefixCls}-number-compact-item-rtl) { margin-right: -1px; } .@{prefixCls}-number-compact-item:not(.@{prefixCls}-number-compact-last-item).@{prefixCls}-number-compact-item-rtl { margin-left: -1px; } .@{prefixCls}-number-compact-item:hover, .@{prefixCls}-number-compact-item:focus, .@{prefixCls}-number-compact-item:active { z-index: 2; } .@{prefixCls}-number-compact-item.@{prefixCls}-number-focused { z-index: 2; } .@{prefixCls}-number-compact-item[disabled] { z-index: 0; } .@{prefixCls}-number-compact-item:not(.@{prefixCls}-number-compact-first-item):not(.@{prefixCls}-number-compact-last-item).@{prefixCls}-number { border-radius: 0; } .@{prefixCls}-number-compact-item.@{prefixCls}-number.@{prefixCls}-number-compact-first-item:not(.@{prefixCls}-number-compact-last-item):not(.@{prefixCls}-number-compact-item-rtl) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-number-compact-item.@{prefixCls}-number.@{prefixCls}-number-compact-last-item:not(.@{prefixCls}-number-compact-first-item):not(.@{prefixCls}-number-compact-item-rtl) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-compact-item.@{prefixCls}-number.@{prefixCls}-number-compact-item-rtl.@{prefixCls}-number-compact-first-item:not(.@{prefixCls}-number-compact-last-item) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-number-compact-item.@{prefixCls}-number.@{prefixCls}-number-compact-item-rtl.@{prefixCls}-number-compact-last-item:not(.@{prefixCls}-number-compact-first-item) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-number-rtl { direction: rtl; } .@{prefixCls}-number-rtl .@{prefixCls}-number-handler { border-right: 1px solid #d9d9d9; border-left: 0; } .@{prefixCls}-number-rtl .@{prefixCls}-number-handler-wrap { right: auto; left: 0; } .@{prefixCls}-number-rtl.@{prefixCls}-number-borderless .@{prefixCls}-number-handler-wrap { border-right-width: 0; } .@{prefixCls}-number-rtl .@{prefixCls}-number-handler-up { border-top-right-radius: 0; } .@{prefixCls}-number-rtl .@{prefixCls}-number-handler-down { border-bottom-right-radius: 0; } .@{prefixCls}-number-rtl .@{prefixCls}-number-input { direction: ltr; text-align: right; } .@{prefixCls}-affix-wrapper { position: relative; width: 100%; min-width: 0; padding: 4px 11px; color: @drip-table-text-color; font-size: 14px; line-height: 1.5715; background-color: #ffffff; background-image: none; border: 1px solid #d9d9d9; border-radius: 2px; transition: all .3s; display: inline-flex; } .@{prefixCls}-affix-wrapper::placeholder { color: #bfbfbf; user-select: none; } .@{prefixCls}-affix-wrapper:placeholder-shown { text-overflow: ellipsis; } .@{prefixCls}-affix-wrapper:hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; } .@{prefixCls}-rtl .@{prefixCls}-affix-wrapper:hover { border-right-width: 0; border-left-width: 1px !important; } .@{prefixCls}-affix-wrapper:focus, .@{prefixCls}-affix-wrapper-focused { border-color: @drip-table-primary-active-color; box-shadow: 0 0 0 2px @drip-table-primary-shadow-color; border-right-width: 1px; outline: 0; z-index: 1; } .@{prefixCls}-rtl .@{prefixCls}-affix-wrapper:focus, .@{prefixCls}-rtl .@{prefixCls}-affix-wrapper-focused { border-right-width: 0; border-left-width: 1px !important; } .@{prefixCls}-affix-wrapper-disabled { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-affix-wrapper-disabled:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-affix-wrapper[disabled] { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-affix-wrapper[disabled]:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-affix-wrapper-borderless, .@{prefixCls}-affix-wrapper-borderless:hover, .@{prefixCls}-affix-wrapper-borderless:focus, .@{prefixCls}-affix-wrapper-borderless-focused, .@{prefixCls}-affix-wrapper-borderless-disabled, .@{prefixCls}-affix-wrapper-borderless[disabled] { background-color: transparent; border: none; box-shadow: none; } textarea.@{prefixCls}-affix-wrapper { max-width: 100%; height: auto; min-height: 32px; line-height: 1.5715; vertical-align: bottom; transition: all .3s, height 0s; } .@{prefixCls}-affix-wrapper-lg { padding: 6.5px 11px; font-size: 16px; } .@{prefixCls}-affix-wrapper-sm { padding: 0 7px; } .@{prefixCls}-affix-wrapper-rtl { direction: rtl; } .@{prefixCls}-affix-wrapper:not(.@{prefixCls}-affix-wrapper-disabled):hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; z-index: 1; } .@{prefixCls}-rtl .@{prefixCls}-affix-wrapper:not(.@{prefixCls}-affix-wrapper-disabled):hover { border-right-width: 0; border-left-width: 1px !important; } .@{prefixCls}-search-with-button .@{prefixCls}-affix-wrapper:not(.@{prefixCls}-affix-wrapper-disabled):hover { z-index: 0; } .@{prefixCls}-affix-wrapper-disabled .@{prefixCls}[disabled] { background: transparent; } .@{prefixCls}-affix-wrapper>.@{prefixCls} { font-size: inherit; border: none; outline: none; } .@{prefixCls}-affix-wrapper>.@{prefixCls}:focus { box-shadow: none !important; } .@{prefixCls}-affix-wrapper>.@{prefixCls}:not(textarea) { padding: 0; } .@{prefixCls}-affix-wrapper:before { width: 0; visibility: hidden; content: "\a0"; } .@{prefixCls}-prefix, .@{prefixCls}-suffix { display: flex; flex: none; align-items: center; } .@{prefixCls}-prefix>*:not(:last-child), .@{prefixCls}-suffix>*:not(:last-child) { margin-right: 8px; } .@{prefixCls}-show-count-suffix { color: #00000073; } .@{prefixCls}-show-count-has-suffix { margin-right: 2px; } .@{prefixCls}-prefix { margin-right: 4px; } .@{prefixCls}-suffix { margin-left: 4px; } .@{prefixCls}-clear-icon.@{prefixCls}-clear-icon__icon, .@{prefixCls}-clear-icon { margin: 0; color: #00000040; font-size: 12px; vertical-align: -1px; cursor: pointer; transition: color .3s; } .@{prefixCls}-clear-icon.@{prefixCls}-clear-icon__icon:hover, .@{prefixCls}-clear-icon:hover { color: #00000073; } .@{prefixCls}-clear-icon.@{prefixCls}-clear-icon__icon:active, .@{prefixCls}-clear-icon:active { color: @drip-table-text-color; } .@{prefixCls}-clear-icon-hidden { visibility: hidden; } .@{prefixCls}-clear-icon-has-suffix { margin: 0 4px; } .@{prefixCls}-affix-wrapper.@{prefixCls}-affix-wrapper-textarea-with-clear-btn { padding: 0; } .@{prefixCls}-affix-wrapper.@{prefixCls}-affix-wrapper-textarea-with-clear-btn .@{prefixCls}-clear-icon { position: absolute; top: 8px; right: 8px; z-index: 1; } .@{prefixCls}-status-error:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}, .@{prefixCls}-status-error:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}:hover { background: #ffffff; border-color: #ff4d4f; } .@{prefixCls}-status-error:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}:focus, .@{prefixCls}-status-error:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}-focused { border-color: #ff7875; box-shadow: 0 0 0 2px #ff4d4f33; border-right-width: 1px; outline: 0; } .@{prefixCls}-status-error .@{prefixCls}-prefix { color: #ff4d4f; } .@{prefixCls}-status-warning:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}, .@{prefixCls}-status-warning:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}:hover { background: #ffffff; border-color: #faad14; } .@{prefixCls}-status-warning:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}:focus, .@{prefixCls}-status-warning:not(.@{prefixCls}-disabled):not(.@{prefixCls}-borderless).@{prefixCls}-focused { border-color: #ffc53d; box-shadow: 0 0 0 2px #faad1433; border-right-width: 1px; outline: 0; } .@{prefixCls}-status-warning .@{prefixCls}-prefix { color: #faad14; } .@{prefixCls}-affix-wrapper-status-error:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper, .@{prefixCls}-affix-wrapper-status-error:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper:hover { background: #ffffff; border-color: #ff4d4f; } .@{prefixCls}-affix-wrapper-status-error:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper:focus, .@{prefixCls}-affix-wrapper-status-error:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper-focused { border-color: #ff7875; box-shadow: 0 0 0 2px #ff4d4f33; border-right-width: 1px; outline: 0; } .@{prefixCls}-affix-wrapper-status-error .@{prefixCls}-prefix { color: #ff4d4f; } .@{prefixCls}-affix-wrapper-status-warning:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper, .@{prefixCls}-affix-wrapper-status-warning:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper:hover { background: #ffffff; border-color: #faad14; } .@{prefixCls}-affix-wrapper-status-warning:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper:focus, .@{prefixCls}-affix-wrapper-status-warning:not(.@{prefixCls}-affix-wrapper-disabled):not(.@{prefixCls}-affix-wrapper-borderless).@{prefixCls}-affix-wrapper-focused { border-color: #ffc53d; box-shadow: 0 0 0 2px #faad1433; border-right-width: 1px; outline: 0; } .@{prefixCls}-affix-wrapper-status-warning .@{prefixCls}-prefix { color: #faad14; } .@{prefixCls}-textarea-status-error.@{prefixCls}-textarea-has-feedback .@{prefixCls}, .@{prefixCls}-textarea-status-warning.@{prefixCls}-textarea-has-feedback .@{prefixCls}, .@{prefixCls}-textarea-status-success.@{prefixCls}-textarea-has-feedback .@{prefixCls}, .@{prefixCls}-textarea-status-validating.@{prefixCls}-textarea-has-feedback .@{prefixCls} { padding-right: 24px; } .@{prefixCls}-group-wrapper-status-error .@{prefixCls}-group-addon { color: #ff4d4f; border-color: #ff4d4f; } .@{prefixCls}-group-wrapper-status-warning .@{prefixCls}-group-addon { color: #faad14; border-color: #faad14; } .@{prefixCls} { box-sizing: border-box; margin: 0; font-variant: tabular-nums; list-style: none; font-feature-settings: "tnum", "tnum"; position: relative; display: inline-block; width: 100%; min-width: 0; padding: 4px 11px; color: @drip-table-text-color; font-size: 14px; line-height: 1.5715; background-color: #ffffff; background-image: none; border: 1px solid #d9d9d9; border-radius: 2px; transition: all .3s; } .@{prefixCls}::placeholder { color: #bfbfbf; user-select: none; } .@{prefixCls}:placeholder-shown { text-overflow: ellipsis; } .@{prefixCls}:hover { border-color: @drip-table-primary-active-color; border-right-width: 1px; } .@{prefixCls}-rtl .@{prefixCls}:hover { border-right-width: 0; border-left-width: 1px !important; } .@{prefixCls}:focus, .@{prefixCls}-focused { border-color: @drip-table-primary-active-color; box-shadow: 0 0 0 2px @drip-table-primary-shadow-color; border-right-width: 1px; outline: 0; } .@{prefixCls}-rtl .@{prefixCls}:focus, .@{prefixCls}-rtl .@{prefixCls}-focused { border-right-width: 0; border-left-width: 1px !important; } .@{prefixCls}-disabled { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}-disabled:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}[disabled] { color: #00000040; background-color: #f5f5f5; border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; opacity: 1; } .@{prefixCls}[disabled]:hover { border-color: #d9d9d9; border-right-width: 1px; } .@{prefixCls}-borderless, .@{prefixCls}-borderless:hover, .@{prefixCls}-borderless:focus, .@{prefixCls}-borderless-focused, .@{prefixCls}-borderless-disabled, .@{prefixCls}-borderless[disabled] { background-color: transparent; border: none; box-shadow: none; } textarea.@{prefixCls} { max-width: 100%; height: auto; min-height: 32px; line-height: 1.5715; vertical-align: bottom; transition: all .3s, height 0s; } .@{prefixCls}-lg { padding: 6.5px 11px; font-size: 16px; } .@{prefixCls}-sm { padding: 0 7px; } .@{prefixCls}-rtl { direction: rtl; } .@{prefixCls}-group { box-sizing: border-box; margin: 0; padding: 0; color: @drip-table-text-color; font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: "tnum", "tnum"; position: relative; display: table; width: 100%; border-collapse: separate; border-spacing: 0; } .@{prefixCls}-group[class*=col-] { float: none; padding-right: 0; padding-left: 0; } .@{prefixCls}-group>[class*=col-] { padding-right: 8px; } .@{prefixCls}-group>[class*=col-]:last-child { padding-right: 0; } .@{prefixCls}-group-addon, .@{prefixCls}-group-wrap, .@{prefixCls}-group>.@{prefixCls} { display: table-cell; } .@{prefixCls}-group-addon:not(:first-child):not(:last-child), .@{prefixCls}-group-wrap:not(:first-child):not(:last-child), .@{prefixCls}-group>.@{prefixCls}:not(:first-child):not(:last-child) { border-radius: 0; } .@{prefixCls}-group-addon, .@{prefixCls}-group-wrap { width: 1px; white-space: nowrap; vertical-align: middle; } .@{prefixCls}-group-wrap>* { display: block !important; } .@{prefixCls}-group .@{prefixCls} { float: left; width: 100%; margin-bottom: 0; text-align: inherit; } .@{prefixCls}-group .@{prefixCls}:focus { z-index: 1; border-right-width: 1px; } .@{prefixCls}-group .@{prefixCls}:hover { z-index: 1; border-right-width: 1px; } .@{prefixCls}-search-with-button .@{prefixCls}-group .@{prefixCls}:hover { z-index: 0; } .@{prefixCls}-group-addon { position: relative; padding: 0 11px; color: @drip-table-text-color; font-weight: 400; font-size: 14px; text-align: center; background-color: #fafafa; border: 1px solid #d9d9d9; border-radius: 2px; transition: all .3s; } .@{prefixCls}-group-addon .@{prefixRc}-select { margin: -5px -11px; } .@{prefixCls}-group-addon .@{prefixRc}-select.@{prefixRc}-select-single:not(.@{prefixRc}-select-customize-input) .@{prefixRc}-select-selector { background-color: inherit; border: 1px solid transparent; box-shadow: none; } .@{prefixCls}-group-addon .@{prefixRc}-select-open .@{prefixRc}-select-selector, .@{prefixCls}-group-addon .@{prefixRc}-select-focused .@{prefixRc}-select-selector { color: @drip-table-primary-color; } .@{prefixCls}-group-addon .@{prefixRc}-cascader-picker { margin: -9px -12px; background-color: transparent; } .@{prefixCls}-group-addon .@{prefixRc}-cascader-picker .@{prefixRc}-cascader-input { text-align: left; border: 0; box-shadow: none; } .@{prefixCls}-group>.@{prefixCls}:first-child, .@{prefixCls}-group-addon:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-group>.@{prefixCls}:first-child .@{prefixRc}-select .@{prefixRc}-select-selector, .@{prefixCls}-group-addon:first-child .@{prefixRc}-select .@{prefixRc}-select-selector { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-group>.@{prefixCls}-affix-wrapper:not(:first-child) .@{prefixCls} { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-group>.@{prefixCls}-affix-wrapper:not(:last-child) .@{prefixCls} { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-group-addon:first-child { border-right: 0; } .@{prefixCls}-group-addon:last-child { border-left: 0; } .@{prefixCls}-group>.@{prefixCls}:last-child, .@{prefixCls}-group-addon:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-group>.@{prefixCls}:last-child .@{prefixRc}-select .@{prefixRc}-select-selector, .@{prefixCls}-group-addon:last-child .@{prefixRc}-select .@{prefixRc}-select-selector { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-group-lg .@{prefixCls}, .@{prefixCls}-group-lg>.@{prefixCls}-group-addon { padding: 6.5px 11px; font-size: 16px; } .@{prefixCls}-group-sm .@{prefixCls}, .@{prefixCls}-group-sm>.@{prefixCls}-group-addon { padding: 0 7px; } .@{prefixCls}-group-lg .@{prefixRc}-select-single .@{prefixRc}-select-selector { height: 40px; } .@{prefixCls}-group-sm .@{prefixRc}-select-single .@{prefixRc}-select-selector { height: 24px; } .@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .@{prefixCls}-search .@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:last-child) { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:first-child), .@{prefixCls}-search .@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .@{prefixCls}-group.@{prefixCls}-group-compact { display: block; } .@{prefixCls}-group.@{prefixCls}-group-compact:before { display: table; content: ""; } .@{prefixCls}-group.@{prefixCls}-group-compact:after { display: table; clear: both; content: ""; } .@{prefixCls}-group.@{prefixCls}-group-compact-addon:not(:first-child):not(:last-child), .@{prefixCls}-group.@{prefixCls}-group-compact-wrap:not(:first-child):not(:last-child), .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}:not(:first-child):not(:last-child) { border-right-width: 1px; } .@{prefixCls}-group.@{prefixCls}-group-compact-addon:not(:first-child):not(:last-child):hover, .@{prefixCls}-group.@{prefixCls}-group-compact-wrap:not(:first-child):not(:last-child):hover, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}:not(:first-child):not(:last-child):hover { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact-addon:not(:first-child):not(:last-child):focus, .@{prefixCls}-group.@{prefixCls}-group-compact-wrap:not(:first-child):not(:last-child):focus, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}:not(:first-child):not(:last-child):focus { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact>* { display: inline-block; float: none; vertical-align: top; border-radius: 0; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}-affix-wrapper { display: inline-flex; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-picker-range { display: inline-flex; } .@{prefixCls}-group.@{prefixCls}-group-compact>*:not(:last-child) { margin-right: -1px; border-right-width: 1px; } .@{prefixCls}-group.@{prefixCls}-group-compact .@{prefixCls} { float: none; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls} { border-right-width: 1px; border-radius: 0; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector:hover, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}:hover, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}:hover, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls}:hover { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-selector:focus, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls}:focus, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker .@{prefixCls}:focus, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixCls}-group-wrapper .@{prefixCls}:focus { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-focused { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select>.@{prefixRc}-select-arrow { z-index: 1; } .@{prefixCls}-group.@{prefixCls}-group-compact>*:first-child, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select:first-child>.@{prefixRc}-select-selector, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete:first-child .@{prefixCls}, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker:first-child .@{prefixCls} { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .@{prefixCls}-group.@{prefixCls}-group-compact>*:last-child, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select:last-child>.@{prefixRc}-select-selector, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker:last-child .@{prefixCls}, .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-cascader-picker-focused:last-child .@{prefixCls} { border-right-width: 1px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete .@{prefixCls} { vertical-align: top; } .@{prefixCls}-group.@{prefixCls}-group-compact .@{prefixCls}-group-wrapper+.@{prefixCls}-group-wrapper { margin-left: -1px; } .@{prefixCls}-group.@{prefixCls}-group-compact .@{prefixCls}-group-wrapper+.@{prefixCls}-group-wrapper .@{prefixCls}-affix-wrapper { border-radius: 0; } .@{prefixCls}-group.@{prefixCls}-group-compact .@{prefixCls}-group-wrapper:not(:last-child).@{prefixCls}-search>.@{prefixCls}-group>.@{prefixCls}-group-addon>.@{prefixCls}-search-button { border-radius: 0; } .@{prefixCls}-group.@{prefixCls}-group-compact .@{prefixCls}-group-wrapper:not(:last-child).@{prefixCls}-search>.@{prefixCls}-group>.@{prefixCls} { border-radius: 2px 0 0 2px; } .@{prefixCls}-group>.@{prefixCls}-rtl:first-child, .@{prefixCls}-group-rtl .@{prefixCls}-group-addon:first-child { border-radius: 0 2px 2px 0; } .@{prefixCls}-group-rtl .@{prefixCls}-group-addon:first-child { border-right: 1px solid #d9d9d9; border-left: 0; } .@{prefixCls}-group-rtl .@{prefixCls}-group-addon:last-child { border-right: 0; border-left: 1px solid #d9d9d9; border-radius: 2px 0 0 2px; } .@{prefixCls}-group-rtl.@{prefixCls}-group>.@{prefixCls}:last-child, .@{prefixCls}-group-rtl.@{prefixCls}-group-addon:last-child { border-radius: 2px 0 0 2px; } .@{prefixCls}-group-rtl.@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:first-child) { border-radius: 2px 0 0 2px; } .@{prefixCls}-group-rtl.@{prefixCls}-group .@{prefixCls}-affix-wrapper:not(:last-child) { border-radius: 0 2px 2px 0; } .@{prefixCls}-group-rtl.@{prefixCls}-group.@{prefixCls}-group-compact>*:not(:last-child) { margin-right: 0; margin-left: -1px; border-left-width: 1px; } .@{prefixCls}-group-rtl.@{prefixCls}-group.@{prefixCls}-group-compact>*:first-child, .@{prefixCls}-group-rtl.@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select:first-child>.@{prefixRc}-select-selector, .@{prefixCls}-group-rtl.@{prefixCls}-group.@{prefixCls}-group-compact>.@{prefixRc}-select-auto-complete:first-child .@{prefixCls}, .@{prefixCls}-gro