Commit Graph

143 Commits

Author SHA1 Message Date
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
afc163
45fb83d64c simplify style code 2018-08-08 16:18:45 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
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/).
2018-08-04 11:28:14 +08:00
HeskeyBaozi
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
Ooi Yee Wei
c849a73f4e First commit 2018-07-30 21:29:26 +08:00
HeskeyBaozi
7503a0c827 use antd-icons 2018-07-18 10:07:10 +08:00
方剑成
96d53aefb8 Remove redundant icons (#10583) 2018-05-20 00:49:48 +08:00
afc163
20495dd5ba Fix monospaced number font weight issue
http://codesandbox.io/s/w705jk5wz7
2018-05-07 21:19:16 +08:00
jojoLockLock
7915e58f1f fix base.less @at-root syntax error (#9832) 2018-03-28 10:41:54 +08:00
afc163
c04377e541 Add more icons, #9092 2018-02-11 17:10:18 +08:00
afc163
506f97640e Fix font family name, close ant-design/ant-design-pro#813 2018-01-26 10:24:41 +08:00
afc163
32023c24e5 Add aliyun icon 2018-01-19 12:04:50 +08:00
afc163
f88a405c32 Fix text font family unexpected change in chrome, close #8636 2018-01-12 21:53:34 +08:00
afc163
a0c189f800 Fix Chinese single quotes font family 2018-01-10 21:27:54 +08:00
EcmaProSrc.P/ka
534b69be21 Update base.less (#8912)
Repair spelling mistakes
2018-01-10 18:45:30 +08:00
afc163
7694a52374 Fix input look in iOS 2018-01-09 14:22:00 +08:00
afc163
c6fcc31217 More readable font family for chinese quote 2018-01-05 10:26:22 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
ddcat1115
da14cba722 add 3 icons 2017-11-22 18:11:24 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
7cc3e2c1cd Fix input checkbox or radio disappeared, ref #7974 2017-10-31 13:57:45 +08:00
afc163
7c3a483190 Fix input checkbox or radio disappeared, ref #7974 2017-10-30 13:19:53 +08:00
afc163
7537aa11d0 Fix input shadow in iOS safari, ref #7974 2017-10-28 15:08:39 +08:00
朮厃
8e1cb081db Remove the inner shadow on iOS inputs. (#7974) 2017-10-23 10:05:53 +08:00
afc163
054444f619 Merge branch 'master' into antd-3.0 2017-10-07 15:34:19 +08:00
afc163
31d0c3a49d Fix @link-hover-decoration, close #7821 & #7531 2017-10-07 15:31:25 +08:00
ddcat1115
70ff604b81 swap unicode of menu-fold and menu-unfold 2017-09-28 15:00:37 +08:00
偏右
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 👻
2017-09-27 22:32:49 +08:00
afc163
c9069dfdf6 Merge branch 'master' into antd-3.0 2017-09-23 16:50:14 +08:00
Aske Ertmann
27b8e39666 Make iconfont usable standalone (#7713)
Similar to motion.less, import all dependencies needed to generate iconfont.less by itself.
2017-09-23 12:01:21 +08:00
偏右
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
2017-09-22 18:33:29 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
afc163
37c8c4ed30 Fix @link-hover-decoration not working, close #7531 2017-09-09 13:58:18 +08:00
Benjy Cui
070b2696ba chore: remove hacks for IE8-, close: #7447 (#7512) 2017-09-08 13:08:46 +08:00
afc163
68139cdbda Add some icons 2017-09-05 17:13:46 +08:00
偏右
3b59a03c00 New component divider (#7261)
* Add Divider

* use Divider in table demos

* update demo instruction

* upgrade snapshots
2017-08-19 12:39:11 +08:00
jiang
24f58c20e1 fix menu-anim (#6955)
* fix menu-anim

* fix menu-anim

* update

* remove space

* fix test

* Improve code style

* submeu-title use color transition

* sync motion-collapse time

* snyc padding
2017-07-27 19:43:45 +08:00
afc163
efcc28ed51 header font weight 2017-07-15 14:43:12 +08:00
afc163
516ce2d821 Fix inline menu collapse animation 2017-07-08 15:57:53 +08:00
afc163
0e18c52b96 heading default text color 2017-06-21 16:08:57 +08:00
afc163
a4fb175672 move duplicated css code, close #6156 2017-05-17 20:31:48 +08:00
afc163
811ecfddf6 Add fork icon 2017-05-11 13:30:38 +08:00
afc163
fa0cd33be3 upgrade normalize.css to 7.0.0 2017-05-06 18:21:46 +08:00
afc163
352e0f7ce4 tweak link text-decoration style 2017-04-05 14:58:41 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
afc163
de8e598ef1 upgrade normalize.css to 6.0.0 manually, close #5561 2017-03-30 10:29:05 +08:00
afc163
46b344eabe tweak icons 2017-03-17 19:11:36 +08:00
afc163
941782f7ec Add iconfont shake and android-o 2017-03-09 14:33:58 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
afc163
7645a77c44 Update iconfont url and docs 2017-03-03 14:42:00 +08:00
afc163
0fd4c92979 speed up collapse motion 2017-03-02 15:51:15 +08:00
偏右
f29ff2f822 Add some new icons, ref #3674 (#5107) 2017-03-01 11:21:00 +08:00
afc163
38c8360d1f Improve Menu[inline] and Collapse animation, ref #4898 2017-02-20 15:34:16 +08:00
afc163
d22ce9cd50 Improve menu and collapse style details 2017-02-16 15:38:24 +08:00
afc163
144393c48a demo: update menu sider demo 2017-02-16 15:38:24 +08:00
Benjy Cui
0408c8c133 style: update code style to fix lint 2017-02-06 15:12:02 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
afc163
2196774b7f update less code style 2017-02-06 10:54:59 +08:00
afc163
a67264d68c Add aliases for icon naming style, close #4758 2017-02-04 18:10:25 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
4654db312f Fix some lesshint problems 2017-01-11 21:45:09 +08:00
偏右
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
2017-01-01 22:20:06 +08:00
afc163
fcdc375f77 update table demo detail style 2016-12-04 17:47:45 +08:00
afc163
4e589af9b6 Revert loading icon to 1/4 circle 2016-12-04 16:53:59 +08:00
afc163
58d5fafa19 Fix Button loading animation transition in Firefox 2016-11-26 23:39:06 +08:00
afc163
dfd15f8a56 Add dingding Icon, close #3961 2016-11-24 18:01:49 +08:00
偏右
fec52a24c5 feat: Add more icons and improve some icons design (#3977) 2016-11-23 17:55:14 +08:00
afc163
de64779546 speed up loading icon 2016-11-13 18:19:23 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
afc163
83ba6d96b4 upgrade normalize to 5.0 manually 2016-10-29 14:30:41 +08:00
afc163
c05df5ffd1 Add some new icons 2016-10-28 17:54:22 +08:00
afc163
55efef3220 Add Icon[type="bulb"] 2016-10-26 14:26:57 +08:00
afc163
3bb4b6ea7c fix icon spin style, close #3536 2016-10-21 20:18:47 +08:00
偏右
795df0ea96 feat: Add icon[spin], close #2363 (#3322) 2016-10-08 15:09:56 +08:00
afc163
dccc4ced95 Export @animation-duration-* to default theme 2016-10-07 18:29:55 +08:00
afc163
fc52934c12 Faster animation for Tooltip 2016-10-07 18:18:23 +08:00
Benjy Cui
b08a17d986 fix: add .clearfix 2016-09-19 16:57:00 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
9042e139b3 Remove some unused code 2016-09-15 01:38:32 +08:00
马斯特
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
2016-09-14 16:18:33 +08:00
afc163
b5f49a5aad improve modal zoom animation 2016-06-27 16:40:11 +08:00
afc163
aa3ffbe025 put normalize.css inside 2016-05-26 20:58:11 +08:00
yiminghe
c02dfb48fc use js import 2016-05-26 20:45:27 +08:00
afc163
ee1ed40a77 use inline import (ant-design/antd-init#52) 2016-05-25 15:09:16 +08:00
afc163
7c2ac50ca7 Add new icons, close #1170
`pushpin` `pushpin-o` `enter` `file-pdf` `file-ppt` `file-excel`
`file-jpg`
2016-05-23 16:41:33 +08:00
afc163
d4c1d230f5 Fix menu animation 2016-05-07 16:23:28 +08:00
afc163
5237d0a87b Fix select input color 2016-05-06 12:17:44 +08:00
RaoHai
f7abfb7963 Put normalize.css under the management of npm (#1583)
+ denpendent on [normalize.css](https://www.npmjs.com/package/normalize.css)
- remove components/style/core/normalize.less
2016-05-05 15:26:19 +08:00
afc163
c66a226004 Fix lesshint problems 2016-04-29 17:03:28 +08:00
afc163
f1646b29dc Add divider 2016-04-29 12:28:24 +08:00
afc163
205e76aa73 Add entry less file and update document (#1534)
* Add entry less file and update document

* fix pre-publish script
2016-04-28 15:54:18 +08:00
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
2016-04-27 20:44:36 +08:00