hc-materials
Version:
基于react的通用组件库
1,902 lines (1,901 loc) • 169 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 */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-form {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
}
.ant-form legend {
display: block;
width: 100%;
margin-bottom: 20px;
padding: 0;
color: rgba(0, 0, 0, 0.45);
font-size: 16px;
line-height: inherit;
border: 0;
border-bottom: 1px solid #d9d9d9;
}
.ant-form label {
font-size: 14px;
}
.ant-form input[type='search'] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.ant-form input[type='radio'],
.ant-form input[type='checkbox'] {
line-height: normal;
}
.ant-form input[type='file'] {
display: block;
}
.ant-form input[type='range'] {
display: block;
width: 100%;
}
.ant-form select[multiple],
.ant-form select[size] {
height: auto;
}
.ant-form input[type='file']:focus,
.ant-form input[type='radio']:focus,
.ant-form input[type='checkbox']:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.ant-form output {
display: block;
padding-top: 15px;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
line-height: 1.5;
}
.ant-form-item-required::before {
display: inline-block;
margin-right: 4px;
color: #f5222d;
font-size: 14px;
font-family: SimSun, sans-serif;
line-height: 1;
content: '*';
}
.ant-form-hide-required-mark .ant-form-item-required::before {
display: none;
}
input[type='radio'][disabled],
input[type='checkbox'][disabled],
input[type='radio'].disabled,
input[type='checkbox'].disabled {
cursor: not-allowed;
}
.ant-radio-inline.disabled,
.ant-radio-vertical.disabled,
.ant-checkbox-inline.disabled,
.ant-checkbox-vertical.disabled {
cursor: not-allowed;
}
.ant-radio.disabled label,
.ant-checkbox.disabled label {
cursor: not-allowed;
}
.ant-form-item {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
margin-bottom: 24px;
vertical-align: top;
}
.ant-form-item label {
position: relative;
}
.ant-form-item label > .anticon {
font-size: 14px;
vertical-align: top;
}
.ant-form-item-control {
position: relative;
line-height: 40px;
zoom: 1;
}
.ant-form-item-control::before,
.ant-form-item-control::after {
content: '';
display: table;
}
.ant-form-item-control::after {
clear: both;
}
.ant-form-item-children {
position: relative;
}
.ant-form-item-with-help {
margin-bottom: 5px;
}
.ant-form-item-label {
display: inline-block;
overflow: hidden;
line-height: 39.9999px;
white-space: nowrap;
text-align: right;
vertical-align: middle;
}
.ant-form-item-label-left {
text-align: left;
}
.ant-form-item-label > label {
color: rgba(0, 0, 0, 0.85);
}
.ant-form-item-label > label::after {
content: ':';
position: relative;
top: -0.5px;
margin: 0 8px 0 2px;
}
.ant-form-item .ant-switch {
margin: 2px 0 4px;
}
.ant-form-item-no-colon .ant-form-item-label label::after {
content: ' ';
}
.ant-form-explain,
.ant-form-extra {
clear: both;
min-height: 22px;
margin-top: -2px;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
line-height: 1.5;
-webkit-transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ant-form-explain {
margin-bottom: -1px;
}
.ant-form-extra {
padding-top: 4px;
}
.ant-form-text {
display: inline-block;
padding-right: 8px;
}
.ant-form-split {
display: block;
text-align: center;
}
form .has-feedback .ant-input {
padding-right: 24px;
}
form .has-feedback > .ant-select .ant-select-arrow,
form .has-feedback > .ant-select .ant-select-selection__clear,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection__clear {
right: 28px;
}
form .has-feedback > .ant-select .ant-select-selection-selected-value,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value {
padding-right: 42px;
}
form .has-feedback .ant-cascader-picker-arrow {
margin-right: 17px;
}
form .has-feedback .ant-cascader-picker-clear {
right: 28px;
}
form .has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix {
right: 28px;
}
form .has-feedback .ant-calendar-picker-icon,
form .has-feedback .ant-time-picker-icon,
form .has-feedback .ant-calendar-picker-clear,
form .has-feedback .ant-time-picker-clear {
right: 28px;
}
form textarea.ant-input {
height: auto;
margin-bottom: 4px;
}
form .ant-upload {
background: transparent;
}
form input[type='radio'],
form input[type='checkbox'] {
width: 14px;
height: 14px;
}
form .ant-radio-inline,
form .ant-checkbox-inline {
display: inline-block;
margin-left: 8px;
font-weight: normal;
vertical-align: middle;
cursor: pointer;
}
form .ant-radio-inline:first-child,
form .ant-checkbox-inline:first-child {
margin-left: 0;
}
form .ant-checkbox-vertical,
form .ant-radio-vertical {
display: block;
}
form .ant-checkbox-vertical + .ant-checkbox-vertical,
form .ant-radio-vertical + .ant-radio-vertical {
margin-left: 0;
}
form .ant-input-number + .ant-form-text {
margin-left: 8px;
}
form .ant-input-number-handler-wrap {
z-index: 2;
}
form .ant-select,
form .ant-cascader-picker {
width: 100%;
}
form .ant-input-group .ant-select,
form .ant-input-group .ant-cascader-picker {
width: auto;
}
form :not(.ant-input-group-wrapper) > .ant-input-group,
form .ant-input-group-wrapper {
position: relative;
top: -1px;
display: inline-block;
vertical-align: middle;
}
.ant-input-group-wrap .ant-select-selection {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ant-input-group-wrap .ant-select-selection:hover {
border-color: #d9d9d9;
}
.ant-input-group-wrap .ant-select-selection--single {
height: 40px;
margin-left: -1px;
background-color: rgba(0, 0, 0, 0.07);
}
.ant-input-group-wrap .ant-select-selection--single .ant-select-selection__rendered {
padding-right: 25px;
padding-left: 8px;
line-height: 30px;
}
.ant-input-group-wrap .ant-select-open .ant-select-selection {
border-color: #d9d9d9;
-webkit-box-shadow: none;
box-shadow: none;
}
.ant-form-vertical .ant-form-item-label,
.ant-col-24.ant-form-item-label,
.ant-col-xl-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-form-vertical .ant-form-item-label label::after,
.ant-col-24.ant-form-item-label label::after,
.ant-col-xl-24.ant-form-item-label label::after {
display: none;
}
.ant-form-vertical .ant-form-item {
padding-bottom: 8px;
}
.ant-form-vertical .ant-form-item-control {
line-height: 1.5;
}
.ant-form-vertical .ant-form-explain {
margin-top: 2px;
margin-bottom: -5px;
}
.ant-form-vertical .ant-form-extra {
margin-top: 2px;
margin-bottom: -4px;
}
@media (max-width: 575px) {
.ant-form-item-label,
.ant-form-item-control-wrapper {
display: block;
width: 100%;
}
.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-form-item-label label::after {
display: none;
}
.ant-col-xs-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-col-xs-24.ant-form-item-label label::after {
display: none;
}
}
@media (max-width: 767px) {
.ant-col-sm-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-col-sm-24.ant-form-item-label label::after {
display: none;
}
}
@media (max-width: 991px) {
.ant-col-md-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-col-md-24.ant-form-item-label label::after {
display: none;
}
}
@media (max-width: 1199px) {
.ant-col-lg-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-col-lg-24.ant-form-item-label label::after {
display: none;
}
}
@media (max-width: 1599px) {
.ant-col-xl-24.ant-form-item-label {
display: block;
margin: 0;
padding: 0 0 8px;
line-height: 1.5;
white-space: initial;
text-align: left;
}
.ant-col-xl-24.ant-form-item-label label::after {
display: none;
}
}
.ant-form-inline .ant-form-item {
display: inline-block;
margin-right: 16px;
margin-bottom: 0;
}
.ant-form-inline .ant-form-item-with-help {
margin-bottom: 24px;
}
.ant-form-inline .ant-form-item > .ant-form-item-control-wrapper,
.ant-form-inline .ant-form-item > .ant-form-item-label {
display: inline-block;
vertical-align: top;
}
.ant-form-inline .ant-form-text {
display: inline-block;
}
.ant-form-inline .has-feedback {
display: inline-block;
}
.has-success.has-feedback .ant-form-item-children-icon,
.has-warning.has-feedback .ant-form-item-children-icon,
.has-error.has-feedback .ant-form-item-children-icon,
.is-validating.has-feedback .ant-form-item-children-icon {
position: absolute;
top: 50%;
right: 0;
z-index: 1;
width: 32px;
height: 20px;
margin-top: -10px;
font-size: 14px;
line-height: 20px;
text-align: center;
visibility: visible;
-webkit-animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);
animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);
pointer-events: none;
}
.has-success.has-feedback .ant-form-item-children-icon svg,
.has-warning.has-feedback .ant-form-item-children-icon svg,
.has-error.has-feedback .ant-form-item-children-icon svg,
.is-validating.has-feedback .ant-form-item-children-icon svg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
}
.has-success.has-feedback .ant-form-item-children-icon {
color: #52c41a;
-webkit-animation-name: diffZoomIn1 !important;
animation-name: diffZoomIn1 !important;
}
.has-warning .ant-form-explain,
.has-warning .ant-form-split {
color: #faad14;
}
.has-warning .ant-input,
.has-warning .ant-input:hover {
border-color: #faad14;
}
.has-warning .ant-input:focus {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-warning .ant-input:not([disabled]):hover {
border-color: #faad14;
}
.has-warning .ant-calendar-picker-open .ant-calendar-picker-input {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-warning .ant-input-affix-wrapper .ant-input,
.has-warning .ant-input-affix-wrapper .ant-input:hover {
border-color: #faad14;
}
.has-warning .ant-input-affix-wrapper .ant-input:focus {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-warning .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
border-color: #faad14;
}
.has-warning .ant-input-prefix {
color: #faad14;
}
.has-warning .ant-input-group-addon {
color: #faad14;
background-color: #fff;
border-color: #faad14;
}
.has-warning .has-feedback {
color: #faad14;
}
.has-warning.has-feedback .ant-form-item-children-icon {
color: #faad14;
-webkit-animation-name: diffZoomIn3 !important;
animation-name: diffZoomIn3 !important;
}
.has-warning .ant-select-selection {
border-color: #faad14;
}
.has-warning .ant-select-selection:hover {
border-color: #faad14;
}
.has-warning .ant-select-open .ant-select-selection,
.has-warning .ant-select-focused .ant-select-selection {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-warning .ant-calendar-picker-icon::after,
.has-warning .ant-time-picker-icon::after,
.has-warning .ant-picker-icon::after,
.has-warning .ant-select-arrow,
.has-warning .ant-cascader-picker-arrow {
color: #faad14;
}
.has-warning .ant-input-number,
.has-warning .ant-time-picker-input {
border-color: #faad14;
}
.has-warning .ant-input-number-focused,
.has-warning .ant-time-picker-input-focused,
.has-warning .ant-input-number:focus,
.has-warning .ant-time-picker-input:focus {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-warning .ant-input-number:not([disabled]):hover,
.has-warning .ant-time-picker-input:not([disabled]):hover {
border-color: #faad14;
}
.has-warning .ant-cascader-picker:focus .ant-cascader-input {
border-color: #ffc53d;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
}
.has-error .ant-form-explain,
.has-error .ant-form-split {
color: #f5222d;
}
.has-error .ant-input,
.has-error .ant-input:hover {
border-color: #f5222d;
}
.has-error .ant-input:focus {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-input:not([disabled]):hover {
border-color: #f5222d;
}
.has-error .ant-calendar-picker-open .ant-calendar-picker-input {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-input-affix-wrapper .ant-input,
.has-error .ant-input-affix-wrapper .ant-input:hover {
border-color: #f5222d;
}
.has-error .ant-input-affix-wrapper .ant-input:focus {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
border-color: #f5222d;
}
.has-error .ant-input-prefix {
color: #f5222d;
}
.has-error .ant-input-group-addon {
color: #f5222d;
background-color: #fff;
border-color: #f5222d;
}
.has-error .has-feedback {
color: #f5222d;
}
.has-error.has-feedback .ant-form-item-children-icon {
color: #f5222d;
-webkit-animation-name: diffZoomIn2 !important;
animation-name: diffZoomIn2 !important;
}
.has-error .ant-select-selection {
border-color: #f5222d;
}
.has-error .ant-select-selection:hover {
border-color: #f5222d;
}
.has-error .ant-select-open .ant-select-selection,
.has-error .ant-select-focused .ant-select-selection {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-select.ant-select-auto-complete .ant-input:focus {
border-color: #f5222d;
}
.has-error .ant-input-group-addon .ant-select-selection {
border-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.has-error .ant-calendar-picker-icon::after,
.has-error .ant-time-picker-icon::after,
.has-error .ant-picker-icon::after,
.has-error .ant-select-arrow,
.has-error .ant-cascader-picker-arrow {
color: #f5222d;
}
.has-error .ant-input-number,
.has-error .ant-time-picker-input {
border-color: #f5222d;
}
.has-error .ant-input-number-focused,
.has-error .ant-time-picker-input-focused,
.has-error .ant-input-number:focus,
.has-error .ant-time-picker-input:focus {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-input-number:not([disabled]):hover,
.has-error .ant-time-picker-input:not([disabled]):hover {
border-color: #f5222d;
}
.has-error .ant-mention-wrapper .ant-mention-editor,
.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {
border-color: #f5222d;
}
.has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,
.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-cascader-picker:focus .ant-cascader-input {
border-color: #ff4d4f;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.has-error .ant-transfer-list {
border-color: #f5222d;
}
.has-error .ant-transfer-list-search:not([disabled]) {
border-color: #d9d9d9;
}
.has-error .ant-transfer-list-search:not([disabled]):hover {
border-color: #40a9ff;
border-right-width: 1px !important;
}
.has-error .ant-transfer-list-search:not([disabled]):focus {
border-color: #40a9ff;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.is-validating.has-feedback .ant-form-item-children-icon {
display: inline-block;
color: #1890ff;
}
.ant-advanced-search-form .ant-form-item {
margin-bottom: 24px;
}
.ant-advanced-search-form .ant-form-item-with-help {
margin-bottom: 5px;
}
.show-help-enter,
.show-help-appear {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
.show-help-leave {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
.show-help-enter.show-help-enter-active,
.show-help-appear.show-help-appear-active {
-webkit-animation-name: antShowHelpIn;
animation-name: antShowHelpIn;
-webkit-animation-play-state: running;
animation-play-state: running;
}
.show-help-leave.show-help-leave-active {
-webkit-animation-name: antShowHelpOut;
animation-name: antShowHelpOut;
-webkit-animation-play-state: running;
animation-play-state: running;
pointer-events: none;
}
.show-help-enter,
.show-help-appear {
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
.show-help-leave {
-webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
@-webkit-keyframes antShowHelpIn {
0% {
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
opacity: 0;
}
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
}
@keyframes antShowHelpIn {
0% {
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
opacity: 0;
}
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
}
@-webkit-keyframes antShowHelpOut {
to {
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
opacity: 0;
}
}
@keyframes antShowHelpOut {
to {
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
opacity: 0;
}
}
@-webkit-keyframes diffZoomIn1 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes diffZoomIn1 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@-webkit-keyframes diffZoomIn2 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes diffZoomIn2 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@-webkit-keyframes diffZoomIn3 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes diffZoomIn3 {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
.ant-switch {
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
-webkit-box-sizing: border-box;
box-sizing: border-box;
min-width: 44px;
height: 22px;
line-height: 20px;
vertical-align: middle;
background-color: rgba(0, 0, 0, 0.25);
border: 1px solid transparent;
border-radius: 100px;
cursor: pointer;
-webkit-transition: all 0.36s;
transition: all 0.36s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-switch-inner {
display: block;
margin-right: 6px;
margin-left: 24px;
color: #fff;
font-size: 12px;
}
.ant-switch-loading-icon,
.ant-switch::after {
position: absolute;
top: 1px;
left: 1px;
width: 18px;
height: 18px;
background-color: #fff;
border-radius: 18px;
cursor: pointer;
-webkit-transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
content: ' ';
}
.ant-switch::after {
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
}
.ant-switch:active::before,
.ant-switch:active::after {
width: 24px;
}
.ant-switch-loading-icon {
z-index: 1;
display: none;
font-size: 12px;
background: transparent;
}
.ant-switch-loading-icon svg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
}
.ant-switch-loading .ant-switch-loading-icon {
display: inline-block;
color: rgba(0, 0, 0, 0.65);
}
.ant-switch-checked.ant-switch-loading .ant-switch-loading-icon {
color: #1890ff;
}
.ant-switch:focus {
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.ant-switch:focus:hover {
-webkit-box-shadow: none;
box-shadow: none;
}
.ant-switch-small {
min-width: 28px;
height: 16px;
line-height: 14px;
}
.ant-switch-small .ant-switch-inner {
margin-right: 3px;
margin-left: 18px;
font-size: 12px;
}
.ant-switch-small::after {
width: 12px;
height: 12px;
}
.ant-switch-small:active::before,
.ant-switch-small:active::after {
width: 16px;
}
.ant-switch-small .ant-switch-loading-icon {
width: 12px;
height: 12px;
}
.ant-switch-small.ant-switch-checked .ant-switch-inner {
margin-right: 18px;
margin-left: 3px;
}
.ant-switch-small.ant-switch-checked .ant-switch-loading-icon {
left: 100%;
margin-left: -13px;
}
.ant-switch-small.ant-switch-loading .ant-switch-loading-icon {
font-weight: bold;
-webkit-transform: scale(0.66667);
-ms-transform: scale(0.66667);
transform: scale(0.66667);
}
.ant-switch-checked {
background-color: #1890ff;
}
.ant-switch-checked .ant-switch-inner {
margin-right: 24px;
margin-left: 6px;
}
.ant-switch-checked::after {
left: 100%;
margin-left: -1px;
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
}
.ant-switch-checked .ant-switch-loading-icon {
left: 100%;
margin-left: -19px;
}
.ant-switch-loading,
.ant-switch-disabled {
cursor: not-allowed;
opacity: 0.4;
}
.ant-switch-loading *,
.ant-switch-disabled * {
cursor: not-allowed;
}
.ant-switch-loading::before,
.ant-switch-disabled::before,
.ant-switch-loading::after,
.ant-switch-disabled::after {
cursor: not-allowed;
}
@-webkit-keyframes AntSwitchSmallLoadingCircle {
0% {
-webkit-transform: rotate(0deg) scale(0.66667);
transform: rotate(0deg) scale(0.66667);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
100% {
-webkit-transform: rotate(360deg) scale(0.66667);
transform: rotate(360deg) scale(0.66667);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
}
@keyframes AntSwitchSmallLoadingCircle {
0% {
-webkit-transform: rotate(0deg) scale(0.66667);
transform: rotate(0deg) scale(0.66667);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
100% {
-webkit-transform: rotate(360deg) scale(0.66667);
transform: rotate(360deg) scale(0.66667);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
}
.ant-input {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
font-variant: tabular-nums;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
width: 100%;
height: 32px;
padding: 4px 11px;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
line-height: 1.5;
background-color: #fff;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 4px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-input::-moz-placeholder {
color: #bfbfbf;
opacity: 1;
}
.ant-input:-ms-input-placeholder {
color: #bfbfbf;
}
.ant-input::-webkit-input-placeholder {
color: #bfbfbf;
}
.ant-input:hover {
border-color: #40a9ff;
border-right-width: 1px !important;
}
.ant-input:focus {
border-color: #40a9ff;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.ant-input-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
cursor: not-allowed;
opacity: 1;
}
.ant-input-disabled:hover {
border-color: #e6d8d8;
border-right-width: 1px !important;
}
.ant-input[disabled] {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
cursor: not-allowed;
opacity: 1;
}
.ant-input[disabled]:hover {
border-color: #e6d8d8;
border-right-width: 1px !important;
}
textarea.ant-input {
max-width: 100%;
height: auto;
min-height: 32px;
vertical-align: bottom;
-webkit-transition: all 0.3s, height 0s;
transition: all 0.3s, height 0s;
}
.ant-input-lg {
height: 40px;
padding: 6px 11px;
font-size: 16px;
}
.ant-input-sm {
height: 24px;
padding: 1px 7px;
}
.ant-input-group {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: table;
width: 100%;
border-collapse: separate;
border-spacing: 0;
}
.ant-input-group[class*='col-'] {
float: none;
padding-right: 0;
padding-left: 0;
}
.ant-input-group > [class*='col-'] {
padding-right: 8px;
}
.ant-input-group > [class*='col-']:last-child {
padding-right: 0;
}
.ant-input-group-addon,
.ant-input-group-wrap,
.ant-input-group > .ant-input {
display: table-cell;
}
.ant-input-group-addon:not(:first-child):not(:last-child),
.ant-input-group-wrap:not(:first-child):not(:last-child),
.ant-input-group > .ant-input:not(:first-child):not(:last-child) {
border-radius: 0;
}
.ant-input-group-addon,
.ant-input-group-wrap {
width: 1px;
white-space: nowrap;
vertical-align: middle;
}
.ant-input-group-wrap > * {
display: block !important;
}
.ant-input-group .ant-input {
float: left;
width: 100%;
margin-bottom: 0;
text-align: inherit;
}
.ant-input-group .ant-input:focus {
z-index: 1;
border-right-width: 1px;
}
.ant-input-group .ant-input:hover {
z-index: 1;
border-right-width: 1px;
}
.ant-input-group-addon {
position: relative;
padding: 0 11px;
color: rgba(0, 0, 0, 0.65);
font-weight: normal;
font-size: 14px;
line-height: 1;
text-align: center;
background-color: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 4px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-input-group-addon .ant-select {
margin: -5px -11px;
}
.ant-input-group-addon .ant-select .ant-select-selection {
margin: -1px;
background-color: inherit;
border: 1px solid transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.ant-input-group-addon .ant-select-open .ant-select-selection,
.ant-input-group-addon .ant-select-focused .ant-select-selection {
color: #1890ff;
}
.ant-input-group-addon > i:only-child::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
content: '';
}
.ant-input-group > .ant-input:first-child,
.ant-input-group-addon:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.ant-input-group > .ant-input:first-child .ant-select .ant-select-selection,
.ant-input-group-addon:first-child .ant-select .ant-select-selection {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.ant-input-group-addon:first-child {
border-right: 0;
}
.ant-input-group-addon:last-child {
border-left: 0;
}
.ant-input-group > .ant-input:last-child,
.ant-input-group-addon:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ant-input-group > .ant-input:last-child .ant-select .ant-select-selection,
.ant-input-group-addon:last-child .ant-select .ant-select-selection {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ant-input-group-lg .ant-input,
.ant-input-group-lg > .ant-input-group-addon {
height: 40px;
padding: 6px 11px;
font-size: 16px;
}
.ant-input-group-sm .ant-input,
.ant-input-group-sm > .ant-input-group-addon {
height: 24px;
padding: 1px 7px;
}
.ant-input-group-lg .ant-select-selection--single {
height: 40px;
}
.ant-input-group-sm .ant-select-selection--single {
height: 24px;
}
.ant-input-group .ant-input-affix-wrapper {
display: table-cell;
float: left;
width: 100%;
}
.ant-input-group.ant-input-group-compact {
display: block;
zoom: 1;
}
.ant-input-group.ant-input-group-compact::before,
.ant-input-group.ant-input-group-compact::after {
content: '';
display: table;
}
.ant-input-group.ant-input-group-compact::after {
clear: both;
}
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),
.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child) {
border-right-width: 1px;
}
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,
.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {
z-index: 1;
}
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,
.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {
z-index: 1;
}
.ant-input-group.ant-input-group-compact > * {
display: inline-block;
float: none;
vertical-align: top;
border-radius: 0;
}
.ant-input-group.ant-input-group-compact > *:not(:last-child) {
margin-right: -1px;
border-right-width: 1px;
}
.ant-input-group.ant-input-group-compact .ant-input {
float: none;
}
.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input {
border-right-width: 1px;
border-radius: 0;
}
.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:hover,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:hover,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:hover,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:hover,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:hover,
.ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:hover {
z-index: 1;
}
.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:focus,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:focus,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:focus,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:focus,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:focus,
.ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:focus {
z-index: 1;
}
.ant-input-group.ant-input-group-compact > *:first-child,
.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper:first-child .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker:first-child .ant-time-picker-input {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ant-input-group.ant-input-group-compact > *:last-child,
.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input {
border-right-width: 1px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input {
vertical-align: top;
}
.ant-input-group-wrapper {
display: inline-block;
width: 100%;
text-align: start;
vertical-align: top;
}
.ant-input-affix-wrapper {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
width: 100%;
text-align: start;
}
.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
border-color: #40a9ff;
border-right-width: 1px !important;
}
.ant-input-affix-wrapper .ant-input {
position: relative;
text-align: inherit;
}
.ant-input-affix-wrapper .ant-input-prefix,
.ant-input-affix-wrapper .ant-input-suffix {
position: absolute;
top: 50%;
z-index: 2;
color: rgba(0, 0, 0, 0.65);
line-height: 0;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.ant-input-affix-wrapper .ant-input-prefix :not(.anticon),
.ant-input-affix-wrapper .ant-input-suffix :not(.anticon) {
line-height: 1.5;
}
.ant-input-affix-wrapper .ant-input-prefix {
left: 12px;
}
.ant-input-affix-wrapper .ant-input-suffix {
right: 12px;
}
.ant-input-affix-wrapper .ant-input:not(:first-child) {
padding-left: 30px;
}
.ant-input-affix-wrapper .ant-input:not(:last-child) {
padding-right: 30px;
}
.ant-input-affix-wrapper .ant-input {
min-height: 100%;
}
.ant-input-password-icon {
cursor: pointer;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-input-password-icon:hover {
color: #333;
}
.ant-input-search-icon {
color: rgba(0, 0, 0, 0.45);
cursor: pointer;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-input-search-icon:hover {
color: rgba(0, 0, 0, 0.8);
}
.ant-input-search-enter-button input {
border-right: 0;
}
.ant-input-search-enter-button + .ant-input-group-addon,
.ant-input-search-enter-button input + .ant-input-group-addon {
padding: 0;
border: 0;
}
.ant-input-search-enter-button + .ant-input-group-addon .ant-input-search-button,
.ant-input-search-enter-button input + .ant-input-group-addon .ant-input-search-button {
width: 100%;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ant-radio-group {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
display: inline-block;
line-height: unset;
}
.ant-radio-wrapper {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
margin-right: 8px;
white-space: nowrap;
cursor: pointer;
}
.ant-radio {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: inline-block;
line-height: 1;
white-space: nowrap;
vertical-align: sub;
outline: none;
cursor: pointer;
}
.ant-radio-wrapper:hover .ant-radio,
.ant-radio:hover .ant-radio-inner,
.ant-radio-input:focus + .ant-radio-inner {
border-color: #1890ff;
}
.ant-radio-input:focus + .ant-radio-inner {
-webkit-box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);
box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);
}
.ant-radio-checked::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid #1890ff;
border-radius: 50%;
visibility: hidden;
-webkit-animation: antRadioEffect 0.36s ease-in-out;
animation: antRadioEffect 0.36s ease-in-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
content: '';
}
.ant-radio:hover::after,
.ant-radio-wrapper:hover .ant-radio::after {
visibility: visible;
}
.ant-radio-inner {
position: relative;
top: 0;
left: 0;
display: block;
width: 16px;
height: 16px;
background-color: #fff;
border-width: 1px;
border-style: solid;
border-color: #d9d9d9;
border-radius: 100px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-radio-inner::after {
position: absolute;
top: 3px;
left: 3px;
display: table;
width: 8px;
height: 8px;
background-color: #1890ff;
border-top: 0;
border-left: 0;
border-radius: 8px;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
opacity: 0;
-webkit-transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
content: ' ';
}
.ant-radio-input {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
cursor: pointer;
opacity: 0;
}
.ant-radio-checked .ant-radio-inner {
border-color: #1890ff;
}
.ant-radio-checked .ant-radio-inner::after {
-webkit-transform: scale(0.875);
-ms-transform: scale(0.875);
transform: scale(0.875);
opacity: 1;
-webkit-transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-radio-disabled .ant-radio-inner {
background-color: #f5f5f5;
border-color: #d9d9d9 !important;
cursor: not-allowed;
}
.ant-radio-disabled .ant-radio-inner::after {
background-color: rgba(0, 0, 0, 0.2);
}
.ant-radio-disabled .ant-radio-input {
cursor: not-allowed;
}
.ant-radio-disabled + span {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
span.ant-radio + * {
padding-right: 8px;
padding-left: 8px;
}
.ant-radio-button-wrapper {
position: relative;
display: inline-block;
height: 32px;
margin: 0;
padding: 0 15px;
color: rgba(0, 0, 0, 0.65);
line-height: 30px;
background: #fff;
border: 1px solid #d9d9d9;
border-top-width: 1.02px;
border-left: 0;
cursor: pointer;
-webkit-transition: color 0.3s, background 0.3s, border-color 0.3s;
transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.ant-radio-button-wrapper a {
color: rgba(0, 0, 0, 0.65);
}
.ant-radio-button-wrapper > .ant-radio-button {
display: block;
width: 0;
height: 0;
margin-left: 0;
}
.ant-radio-group-large .ant-radio-button-wrapper {
height: 40px;
font-size: 16px;
line-height: 38px;
}
.ant-radio-group-small .ant-radio-button-wrapper {
height: 24px;
padding: 0 7px;
line-height: 22px;
}
.ant-radio-button-wrapper:not(:first-child)::before {
position: absolute;
top: 0;
left: -1px;
display: block;
width: 1px;
height: 100%;
background-color: #d9d9d9;
content: '';
}
.ant-radio-button-wrapper:first-child {
border-left: 1px solid #d9d9d9;
border-radius: 4px 0 0 4px;
}
.ant-radio-button-wrapper:last-child {
border-radius: 0 4px 4px 0;
}
.ant-radio-button-wrapper:first-child:last-child {
border-radius: 4px;
}
.ant-radio-button-wrapper:hover {
position: relative;
color: #1890ff;
}
.ant-radio-button-wrapper:focus-within {
outline: 3px solid rgba(24, 144, 255, 0.06);
}
.ant-radio-button-wrapper .ant-radio-inner,
.ant-radio-button-wrapper input[type='checkbox'],
.ant-radio-button-wrapper input[type='radio'] {
width: 0;
height: 0;
opacity: 0;
pointer-events: none;
}
.ant-radio-button-wrapper-checked {
z-index: 1;
color: #1890ff;
background: #fff;
border-color: #1890ff;
-webkit-box-shadow: -1px 0 0 0 #1890ff;
box-shadow: -1px 0 0 0 #1890ff;
}
.ant-radio-button-wrapper-checked::before {
background-color: #1890ff !important;
opacity: 0.1;
}
.ant-radio-button-wrapper-checked:first-child {
border-color: #1890ff;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.ant-radio-button-wrapper-checked:hover {
color: #40a9ff;
border-color: #40a9ff;
-webkit-box-shadow: -1px 0 0 0 #40a9ff;
box-shadow: -1px 0 0 0 #40a9ff;
}
.ant-radio-button-wrapper-checked:active {
color: #096dd9;
border-color: #096dd9;
-webkit-box-shadow: -1px 0 0 0 #096dd9;
box-shadow: -1px 0 0 0 #096dd9;
}
.ant-radio-button-wrapper-checked:focus-within {
outline: 3px solid rgba(24, 144, 255, 0.06);
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
color: #fff;
background: #1890ff;
border-color: #1890ff;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
color: #fff;
background: #40a9ff;
border-color: #40a9ff;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
color: #fff;
background: #096dd9;
border-color: #096dd9;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
outline: 3px solid rgba(24, 144, 255, 0.06);
}
.ant-radio-button-wrapper-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
cursor: not-allowed;
}
.ant-radio-button-wrapper-disabled:first-child,
.ant-radio-button-wrapper-disabled:hover {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
}
.ant-radio-button-wrapper-disabled:first-child {
border-left-color: #d9d9d9;
}
.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
color: #fff;
background-color: #e6e6e6;
border-color: #d9d9d9;
-webkit-box-shadow: none;
box-shadow: none;
}
@-webkit-keyframes antRadioEffect {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.5;
}
100% {
-webkit-transform: scale(1.6);
transform: scale(1.6);
opacity: 0;
}
}
@keyframes antRadioEffect {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0.5;
}
100% {
-webkit-transform: scale(1.6);
transform: scale(1.6);
opacity: 0;
}
}
@supports (-moz-appearance: meterbar) and (background-blend-mode: difference, normal) {
.ant-radio {
vertical-align: text-bottom;
}
}
.ant-input-number {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-variant: tabular-nums;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
width: 100%;
height: 32px;
padding: 4px 11px;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
line-height: 1.5;
background-color: #fff;
background-image: none;
-webkit-transition: all 0.3s;
transition: all 0.3s;
display: inline-block;
width: 90px;
margin: 0;
padding: 0;
border: 1px solid #d9d9d9;
border-radius: 4px;
}
.ant-input-number::-moz-placeholder {
color: #bfbfbf;
opacity: 1;
}
.ant-input-number:-ms-input-placeholder {
color: #bfbfbf;
}
.ant-input-number::-webkit-input-placeholder {
color: #bfbfbf;
}
.ant-input-number:hover {
border-color: #40a9ff;
border-right-width: 1px !important;
}
.ant-input-number:focus {
border-color: #40a9ff;
border-right-width: 1px !important;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.ant-input-number-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
cursor: not-allowed;
opacity: 1;
}
.ant-input-number-disabled:hover {
border-color: #e6d8d8;
border-right-width: 1px !important;
}
.ant-input-number[disabled] {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
cursor: not-allowed;
opacity: 1;
}
.ant-input-number[disabled]:hover {
border-color: #e6d8d8;
border-right-width: 1px !important;
}
textarea.ant-input-number {
max-width: 100%;
height: auto;
min-height: 32px;
vertical-align: bottom;
-webkit-transition: all 0.3s, height 0s;
transition: all 0.3s, height 0s;
}
.ant-input-number-lg {
height: 40px;
padding: 6px 11px;
font-size: 16px;
}
.ant-input-number-sm {
height: 24px;
padding: 1px 7px;
}
.ant-input-number-handler {
position: relative;
display: block;
width: 100%;
height: 50%;
overflow: hidden;
color: rgba(0, 0, 0, 0.45);
font-weight: bold;
line-height: 0;
text-align: center;
-webkit-transition: all 0.1s linear;
transition: all 0.1s linear;
}
.ant-input-number-handler:active {
background: #f4f4f4;
}
.ant-input-number-handler:hover .ant-input-number-handler-up-inner,
.ant-input-number-handler:hover .ant-input-number-handler-down-inner {
color: #40a9ff;
}
.ant-input-number-handler-up-inner,
.ant-input-number-handler-down-inner {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
right: 4px;
width: 12px;
height: 12px;
color: rgba(0, 0, 0, 0.45);
line-height: 12px;
-webkit-transition: all 0.1s linear;
transition: all 0.1s linear;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-input-number-handler-up-inner > *,
.ant-input-number-handler-down-inner > * {
line-height: 1;
}
.ant-input-number-handler-up-inner svg,