米老朱
6936599aef
Enhance stylelint rules ( #14803 )
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
6 years ago
Andrew Shearer
163140189f
Fix quote rendering ( #14708 )
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.
fix #13095
6 years ago
zombieJ
3bd784cec6
force opacity of 0 ( #14703 )
6 years ago
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
6 years ago
zombieJ
0e8e2b53e4
add select check to fix edge wave issue ( #14469 )
* add select check to fix edge wave issue
fix #14466
* update style
* add comment
* rm removeAttribute
6 years ago
ztplz
46a7a048dc
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
Nima Dehnashi
54b944e8ee
Allow font-variant to be customized
6 years ago
afc163
1707abb48d
Fix switch click error, close #11891
6 years ago
afc163
98c3d8b1d7
tweak wave style
6 years ago
afc163
60cff5de40
tweak wave effect detail
6 years ago
afc163
041173f059
tweak animation arguments
6 years ago
afc163
5e37710ecb
improve click effect ⭐
6 years ago
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
6 years ago
afc163
45fb83d64c
simplify style code
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
Ooi Yee Wei
c849a73f4e
First commit
6 years ago
HeskeyBaozi
7503a0c827
use antd-icons
6 years ago
方剑成
96d53aefb8
Remove redundant icons ( #10583 )
7 years ago
afc163
20495dd5ba
Fix monospaced number font weight issue
http://codesandbox.io/s/w705jk5wz7
7 years ago
jojoLockLock
7915e58f1f
fix base.less @at-root syntax error ( #9832 )
7 years ago
afc163
c04377e541
Add more icons, #9092
7 years ago
afc163
506f97640e
Fix font family name, close ant-design/ant-design-pro#813
7 years ago
afc163
32023c24e5
Add aliyun icon
7 years ago
afc163
f88a405c32
Fix text font family unexpected change in chrome, close #8636
7 years ago
afc163
a0c189f800
Fix Chinese single quotes font family
7 years ago
EcmaProSrc.P/ka
534b69be21
Update base.less ( #8912 )
Repair spelling mistakes
7 years ago
afc163
7694a52374
Fix input look in iOS
7 years ago
afc163
c6fcc31217
More readable font family for chinese quote
7 years ago
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
* upgrade devDeps and fix lint
* Fix stylelint problems
7 years ago
ddcat1115
da14cba722
add 3 icons
7 years ago
afc163
7cc3e2c1cd
Fix input checkbox or radio disappeared, ref #7974
7 years ago
afc163
7c3a483190
Fix input checkbox or radio disappeared, ref #7974
7 years ago
afc163
7537aa11d0
Fix input shadow in iOS safari, ref #7974
7 years ago
朮厃
8e1cb081db
Remove the inner shadow on iOS inputs. ( #7974 )
7 years ago
afc163
31d0c3a49d
Fix @link-hover-decoration , close #7821 & #7531
7 years ago
ddcat1115
70ff604b81
swap unicode of `menu-fold` and `menu-unfold`
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
Aske Ertmann
27b8e39666
Make iconfont usable standalone ( #7713 )
Similar to motion.less, import all dependencies needed to generate iconfont.less by itself.
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
37c8c4ed30
Fix @link-hover-decoration not working, close #7531
7 years ago
Benjy Cui
070b2696ba
chore: remove hacks for IE8-, close : #7447 ( #7512 )
7 years ago
afc163
68139cdbda
Add some icons
7 years ago
偏右
3b59a03c00
New component divider ( #7261 )
* Add Divider
* use Divider in table demos
* update demo instruction
* upgrade snapshots
7 years ago