afc163
436cbeed7b
fix DatePicker clear behavior bring by 3640754
6 years ago
zombiej
364075421b
fix #12536 . Adjust date-picker icon
6 years ago
HeskeyBaozi
fd81e4575c
fix date-picker clear-icon size
6 years ago
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
6 years ago
afc163
af4ed3988a
chore DatePicker and TimePicker font style
6 years ago
HeskeyBaozi
ca644505be
replace date-picker font icon
6 years ago
afc163
60ebb434c1
Fix form controls align issue in IE11
close #9827
close #11133
6 years ago
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
7 years ago
afc163
91a64d0567
Tweak styles
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* 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 👻
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
afc163
43751c9930
revert eb3c274, close #7162
7 years ago
偏右
eb3c274e01
Fix extra space in RangePicker
https://gw.alipayobjects.com/zos/rmsportal/sTMIijZIrTkBDaGrEXmI.png
7 years ago
afc163
8618a387da
tweak date-picker style
7 years ago
afc163
dc8be3fcfd
Tweak icon position of DatePicker
7 years ago
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
7 years ago
Graeme Yeates
974f544713
Make -clear and -icon styles consistent at different input sizes
8 years ago
afc163
fe564335bf
Tweak range picker style
8 years ago
afc163
48b63734c6
Tweak date picker icon style
8 years ago
Graeme Yeates
aaf2a508be
Fix calendar clear background color
8 years ago
afc163
54f443a266
tweak clear icon position
8 years ago
afc163
b3a325dc29
Fix disabled DatePicker hover border color
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
afc163
e4974ac72a
use @font-size-base ( #1752 )
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
偏右
354759cb17
Redesigned icons ( #3041 )
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
8 years ago
Benjy Cui
a4d91fb99a
fix: should hide close button if not hover, close : #2584
8 years ago
afc163
6dcc1bc915
fix clear icon style, close #2182
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
f36b648fab
remove vendor prefixes dependency
9 years ago
afc163
dafd25dd7c
unifiy z-index
9 years ago
afc163
6d122fa5b1
remove DatePicker auto hidden when open
9 years ago
afc163
411f529242
Add getCalendarContainer prop to DatePicker, close #991
9 years ago
MG12
dbb8eaaa35
timepicker component feature fix
9 years ago
MG12
2d84cd8a47
timepicker component feature fix
9 years ago
MG12
041691097a
update timepicker
9 years ago
MG12
fbc4ad8aad
update timepicker
9 years ago
zinkey
c3681cf9e4
iconfont
9 years ago
zinkey
d14ab49918
iconfont
9 years ago
afc163
2ae25d1e03
hide picker when calendar overlay shown
9 years ago
zinkey
08d9aaf4c8
iconfont
9 years ago
afc163
547db94de3
Add back calendar auto adjust style
9 years ago
yiminghe
8fbd11015c
fix datepicker in modal. Fixes #505 #506
9 years ago
afc163
7c409e54b0
fix datepicker style
9 years ago
afc163
84e71919da
Datepicker upgrade
9 years ago
afc163
56cc2716c1
remove datepicker focus style
9 years ago