包子熊
67024893ce
Hotfix/icon issue ( #12016 )
* fix progress icon
* remove IconDisplay fields.js
* update progress test snapshot
* fix form item circle filled
* update form-item test snapshot
* fix close icon in upload item list
* fix alert icon theme
* update alert test snapshot
* fix time picker clear icon
* fix test snapshot
* fix rotate icon in the header
* update test snapshot
* update new tree test snapshot
* fix icon position
* fix old icon and new icon both display
* fix card actions icon position
6 years ago
HeskeyBaozi
049ce5c307
use time-picker with svg icon
6 years ago
afc163
80f82674fb
Fix TimePicker unexpected long width
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
afc163
a5aba1fc51
Tweak style
7 years ago
偏右
ffffd0f4c5
Fix styles ( #7924 )
* update demo
* Fix styles
* fix snap
* Fix back-top ci
7 years ago
afc163
b80d705a2d
Add @timepicker-item-height
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
94283b730f
Fix validateStatus styles of some Form Controls, close #7498
7 years ago
afc163
6748221ed3
tweak time-picker style
7 years ago
afc163
e51a3a6da4
Fix TimePicker disabled style, close #6918
7 years ago
afc163
85567da0e8
tweak style
8 years ago
Graeme Yeates
98ba816bfb
Add @time-picker-selected-bg to control the selected state of time-picker
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
afc163
c6efc4db27
Adjust dropdown item padding, close #5088
8 years ago
afc163
ebd66d0082
fix missing less variable
8 years ago
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
8 years ago
偏右
9a0b9adc1e
feat: 12 hours time picker ( #5434 )
* TimePicker support 12 hours format, close #4063
* Add new demo snapshot
8 years ago
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
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
29324ca59d
Add less variables for TimePicker panel width, close #4194
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
Benjy Cui
d8d065af33
css: width should be set on TimePicker wrapper
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
afc163
d6288e5994
Fix TimePicker panel style ( #3793 )
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
af2cec65c5
improve TimePicker addon style
8 years ago
afc163
63a15f0d92
fix time-picker style
8 years ago
afc163
d92a24d477
Improve overlay border design
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
afc163
ca57794ae7
better implement for a2804cb
8 years ago
afc163
a2804cbff5
Make clear icon more clear
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
yiminghe
9a0d751f94
refactor to typescript
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