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
yoyo837
6ae02a9ab7
progress-dot
6 years ago
yoyo837
a0a0d88b78
Fix content without vertical alignment icon when using vertical label mode; And description text-align: center;
6 years ago
afc163
68a110afa3
should use primary color for steps
7 years ago
afc163
5f35a69858
update steps demo
7 years ago
Graeme Yeates
b46cb4b740
Add a variable to control processing colors ( #8166 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
afc163
296dfc7375
vertical progressDot Steps style
7 years ago
afc163
2a14b4667d
Fix progress dot step style
7 years ago
afc163
ca3835bf58
Tweak progress dot step style
7 years ago
afc163
91a64d0567
Tweak styles
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
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
afc163
ca06211494
Fix small steps font size
7 years ago
afc163
306a5699a7
Better responsive Steps
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
3195cc182c
Fix steps styles
7 years ago
afc163
68ff1b6ff0
fix progressDot Steps style
7 years ago
偏右
a933961aae
upgrade rc-steps to 3.0 ( #7473 )
* upgrade rc-steps to 3.0
* update snapshot
7 years ago
afc163
187e9dd85c
tweak step number font
7 years ago
偏右
2dedc5ec7f
Upgrade grid break points ( #7230 )
close #5122
7 years ago
afc163
b0da6adf8c
Improve responsive of Steps
7 years ago
afc163
29b5f433f8
Fix step title background
7 years ago
afc163
4962d19462
tweak steps style
7 years ago
afc163
0cf3600e25
refactor step title style again
7 years ago
afc163
0eefa85b04
refactor step title style
7 years ago
afc163
c67d9b2935
Fix nested steps style, close #6754
7 years ago
afc163
c5059e5fb7
Fix steps tail style bug, close #5623
8 years ago
Graeme Yeates
18d0a4d1fb
Add @steps-background and @process-icon-text-color variables for customizing step theme
8 years ago
afc163
a10704bc44
Tweak steps animation style
8 years ago
afc163
bbfc131a85
Fix steps fixed width, close #5083
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
720ea3690a
expand dot responsive area
8 years ago
ddcat1115
09397187ac
Steps support progressDot and labelPlacement ( #4659 )
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
264f02d98f
Fix steps icon size and some detail, close #3817
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
0ec4276eab
@font-size-lg ( #1752 )
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
8dd48e0e26
adjust for #3760
8 years ago
afc163
6bf9ac4e04
Fix Steps vertical align style, close #3760
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
9dc47eeedb
Fix steps tail overflow, close #2261
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
d167738ddb
fix steps ( react-component/steps#14 )
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