Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
afc163
54f443a266
tweak clear icon position
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
8 years ago
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
8 years ago
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
8 years ago
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
8 years ago
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
8 years ago
leadream
193b2b7684
not aligned after customizing the size of input
For some reasons I customized the size of <Input/>. Now the default height of <Input> is 40px. But there's a problem in <RangePicker/> after doing that: the texts and icon inside it are not aligned vertically at center.
When I look into the code I found the height of `ant-calendar-range-picker-input` is 18px. I modified it to 100% and it aligned. I'm not sure if it can affect the other code.
----------------------------------------
因为某些原因我自定义了 <Input/> 的尺寸,现在它的默认高度是40px。但是当我使用 <RangePicker/> 组件时,我发现了一个问题:输入框里面的文字和图标在垂直方向不能居中对齐。我看了一下 css 代码,发现里面的 `ant-calendar-range-picker-input` 高度是固定的18px,我把它改成100%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
8 years ago
Benjy Cui
d8e465d579
css: fix height of MonthPicker
8 years ago
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
8 years ago
乐仪
2bba8bee98
fix RangePicker placeholder color
8 years ago
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
8 years ago
afc163
b3a325dc29
Fix disabled DatePicker hover border color
8 years ago
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
8 years ago
afc163
7181e3c9e8
revert d9ec4bf and ef0b708, close #4997
8 years ago
Benjy Cui
d9ec4bf732
fix: RangePicker style
8 years ago
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
8 years ago
afc163
784915e55b
Fix DatePicker time scroll issue, close #4412
8 years ago
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
8 years ago
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
8 years ago
偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
8 years ago
afc163
f9bad27469
Fix DatePicker input style
8 years ago
Benjy Cui
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
8 years ago
Benjy Cui
38fd7f6feb
chore: improve detail
8 years ago
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
8 years ago
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
8 years ago
afc163
1850e4b7cf
fix disabled today style
8 years ago
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
8 years ago
afc163
e4974ac72a
use @font-size-base ( #1752 )
8 years ago
afc163
0a48c62dcb
use @text-color
8 years ago
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
8 years ago
afc163
a0c96783c0
fix DatePicker align
8 years ago
Benjy Cui
39cf0899f5
fix: DatePicker should be vertical-align: middle, close : #3481
8 years ago
afc163
d92a24d477
Improve overlay border design
8 years ago
afc163
c4665a78e2
remove strange margin-right of DatePicker confirm button in safari
8 years ago
afc163
1566011720
continue to fix #3312 & #3307
8 years ago
afc163
f1d0223b66
Fix conflict less var, fix #3312
8 years ago
afc163
2875d024f9
fix range picker style
8 years ago
Benjy Cui
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
8 years ago
Benjy Cui
247757f63f
css: fix RangePicker's style
8 years ago
afc163
483b9e4888
Fix hover bounce style in DatePicker time panel
8 years ago
偏右
354759cb17
Redesigned icons ( #3041 )
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
Benjy Cui
2a57a4af27
fix: css of DatePicker
8 years ago
Benjy Cui
4026221d45
deps: hello moment ( #2887 )
* deps: upgrade TimePicker
* deps: upgrade DatePicker
* deps: upgrade Calendar
* fix: moment should work with LocaleProvider
* feat: update API of TimePicker
* feat: update Calendar's APIs
* feat: update DatePicker's APIs
* doc: update demo
* revert: add dateString and timeString and so on
* feat: add Calendar[defaultValue]
* feat: add defaultPickerValue
* docs: update docs about date picker
* feat: set moment locale to zh-cn automatically
8 years ago
afc163
903bb1aa82
fix lesshint
8 years ago