mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
2bced36f0c
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
95 lines
2.2 KiB
Plaintext
95 lines
2.2 KiB
Plaintext
.@{calendar-prefix-cls}-picker-container {
|
|
.reset-component;
|
|
position: absolute;
|
|
z-index: @zindex-picker;
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-topLeft,
|
|
&.slide-up-enter.slide-up-enter-active&-placement-topRight,
|
|
&.slide-up-appear.slide-up-appear-active&-placement-topLeft,
|
|
&.slide-up-appear.slide-up-appear-active&-placement-topRight {
|
|
animation-name: antSlideDownIn;
|
|
}
|
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-bottomLeft,
|
|
&.slide-up-enter.slide-up-enter-active&-placement-bottomRight,
|
|
&.slide-up-appear.slide-up-appear-active&-placement-bottomLeft,
|
|
&.slide-up-appear.slide-up-appear-active&-placement-bottomRight {
|
|
animation-name: antSlideUpIn;
|
|
}
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-topLeft,
|
|
&.slide-up-leave.slide-up-leave-active&-placement-topRight {
|
|
animation-name: antSlideDownOut;
|
|
}
|
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-bottomLeft,
|
|
&.slide-up-leave.slide-up-leave-active&-placement-bottomRight {
|
|
animation-name: antSlideUpOut;
|
|
}
|
|
}
|
|
|
|
.@{calendar-prefix-cls}-picker {
|
|
.reset-component;
|
|
position: relative;
|
|
display: inline-block;
|
|
outline: none;
|
|
transition: opacity 0.3s;
|
|
|
|
&-input {
|
|
outline: none;
|
|
display: block;
|
|
}
|
|
|
|
&:hover &-input:not(.@{ant-prefix}-input-disabled) {
|
|
border-color: @primary-color;
|
|
}
|
|
|
|
&-clear,
|
|
&-icon {
|
|
position: absolute;
|
|
width: 14px;
|
|
height: 14px;
|
|
right: @control-padding-horizontal;
|
|
top: 50%;
|
|
margin-top: -7px;
|
|
line-height: 14px;
|
|
font-size: @font-size-sm;
|
|
transition: all .3s;
|
|
user-select: none;
|
|
}
|
|
|
|
&-clear {
|
|
opacity: 0;
|
|
z-index: 1;
|
|
color: @disabled-color;
|
|
background: @input-bg;
|
|
pointer-events: none;
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: @text-color-secondary;
|
|
}
|
|
}
|
|
|
|
&:hover &-clear {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
&-icon {
|
|
color: @text-color-secondary;
|
|
&:after {
|
|
content: "\e6bb";
|
|
font-family: "anticon";
|
|
font-size: @font-size-base;
|
|
color: @text-color-secondary;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
|
|
&-small &-clear,
|
|
&-small &-icon {
|
|
right: @control-padding-horizontal-sm;
|
|
}
|
|
}
|