Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
Graeme Yeates
9429aedffc
Fix tilde placement on rangepickers
2017-06-28 15:23:00 -04:00
Graeme Yeates
974f544713
Make -clear and -icon styles consistent at different input sizes
2017-06-28 15:09:50 -04:00
afc163
fe564335bf
Tweak range picker style
2017-06-26 21:25:47 +08:00
afc163
48b63734c6
Tweak date picker icon style
2017-06-26 21:19:23 +08:00
Graeme Yeates
aaf2a508be
Fix calendar clear background color
2017-06-21 12:41:45 -04:00
Benjy Cui
c61bba1020
chore: make disabled today different from other disabled day
2017-06-19 15:14:53 +08:00
afc163
61d67f4563
Fix DatePicker footer extra border
2017-06-13 15:31:47 +08:00
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
...
close #6122 , close #5188
2017-06-05 17:11:58 +08:00
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
2017-05-13 15:16:25 +08:00
偏右
1a775b1d3b
Merge pull request #5964 from megawac/active-item-bg
...
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
Graeme Yeates
98ba816bfb
Add @time-picker-selected-bg to control the selected state of time-picker
2017-05-03 11:06:07 -04:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
afc163
54f443a266
tweak clear icon position
2017-05-03 15:19:33 +08:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
...
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
2017-05-02 16:24:29 +08:00
偏右
5fde1e7550
Merge branch 'master' into background-color-base
2017-05-01 13:51:11 +08:00
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
2017-04-28 15:43:02 -04:00
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
2017-04-28 13:24:12 -04:00
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
2017-04-16 19:01:46 +08:00
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%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
2017-04-11 18:48:03 +08:00
Benjy Cui
d8e465d579
css: fix height of MonthPicker
2017-04-10 15:30:24 +08:00
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
2017-04-06 18:44:11 +08:00
乐仪
2bba8bee98
fix RangePicker placeholder color
2017-03-31 17:10:40 +08:00
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
2017-03-03 10:46:51 +08:00
afc163
b3a325dc29
Fix disabled DatePicker hover border color
2017-03-01 15:26:12 +08:00
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
2017-02-24 10:42:45 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
Benjy Cui
d9ec4bf732
fix: RangePicker style
2017-02-22 15:33:21 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
784915e55b
Fix DatePicker time scroll issue, close #4412
2017-01-15 14:10:20 +08:00
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
2017-01-12 10:35:17 +08:00
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
2017-01-04 10:48:40 +08:00
偏右
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
2017-01-01 22:20:06 +08:00
afc163
f9bad27469
Fix DatePicker input style
2016-12-05 00:27:03 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
2016-11-21 11:41:33 +08:00
Benjy Cui
38fd7f6feb
chore: improve detail
2016-11-18 10:22:11 +08:00
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
2016-11-18 10:22:11 +08:00
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
2016-11-18 10:22:11 +08:00
afc163
1850e4b7cf
fix disabled today style
2016-11-14 19:00:17 +08:00
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
2016-11-11 17:50:48 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
afc163
a0c96783c0
fix DatePicker align
2016-10-21 11:45:57 +08:00
Benjy Cui
39cf0899f5
fix: DatePicker should be vertical-align: middle, close : #3481
2016-10-19 11:22:10 +08:00