mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
00c891ac05
* feat: add tooltipProps * feat: doc * feat: props * feat: props * feat: props * feat: docs * feat: review * feat: add tooltipProps * feat: doc * feat: props * feat: props * feat: props * feat: docs * feat: review
39 lines
924 B
Plaintext
39 lines
924 B
Plaintext
@import '../../input/style/mixin';
|
|
|
|
@picker-prefix-cls: ~'@{ant-prefix}-picker';
|
|
|
|
.picker-status-color(
|
|
@text-color: @input-color;
|
|
@border-color: @input-border-color;
|
|
@background-color: @input-bg;
|
|
@hoverBorderColor: @primary-color-hover;
|
|
@outlineColor: @primary-color-outline;
|
|
) {
|
|
&.@{picker-prefix-cls} {
|
|
&,
|
|
&:not([disabled]):hover {
|
|
background-color: @background-color;
|
|
border-color: @border-color;
|
|
}
|
|
|
|
&-focused,
|
|
&:focus {
|
|
.active(@text-color, @hoverBorderColor, @outlineColor);
|
|
}
|
|
|
|
.@{picker-prefix-cls}-active-bar {
|
|
background: @hoverBorderColor;
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{picker-prefix-cls} {
|
|
&-status-error {
|
|
.picker-status-color(@error-color, @error-color, @input-bg, @error-color-hover, @error-color-outline);
|
|
}
|
|
|
|
&-status-warning {
|
|
.picker-status-color(@warning-color, @warning-color, @input-bg, @warning-color-hover, @warning-color-outline);
|
|
}
|
|
}
|