afc163
a5733f5de3
Fix RangePicker text overlap
7 years ago
afc163
47c5de29f3
tweak range picker style
7 years ago
afc163
5a33774238
Fix ~ mis-position bug
7 years ago
Graeme Yeates
9429aedffc
Fix tilde placement on rangepickers
8 years ago
afc163
fe564335bf
Tweak range picker style
8 years ago
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
close #6122 , close #5188
8 years ago
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
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
乐仪
2bba8bee98
fix RangePicker placeholder 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
Benjy Cui
97221a6f63
css: fix style issue, close : #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
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
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
8 years ago
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
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
2875d024f9
fix range picker style
8 years ago
Benjy Cui
247757f63f
css: fix RangePicker's style
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
afc163
903bb1aa82
fix lesshint
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
afc163
c7da69036d
revert mistake of DatePicker time changed
9 years ago
afc163
a2d435aad7
Fix range cell background
9 years ago
afc163
81dad0452f
fix today link style
9 years ago
RaoHai
c65f201d51
DatePicker improvement
close #1701
9 years ago
afc163
0ca6a1c24a
css modularize ( #1448 )
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
9 years ago
afc163
82fff19ab8
Fix some DatePicker style
9 years ago
afc163
94f6f5ab9f
fix time-picker width
9 years ago
afc163
fd51d4f6f2
update RangePicker style
9 years ago
afc163
82bb807932
update RangePicker style
9 years ago
afc163
e51a1016d8
adjust date-picker style as design
9 years ago
afc163
d516b444b1
fix range input width
9 years ago
afc163
cbf7d27664
improve rangepicker and add showTime prop
9 years ago
Benjy Cui
2944236cf6
style: replace hard code with variable
9 years ago
Benjy Cui
afa40dd919
feat: add RangePicker
9 years ago