Commit Graph

413 Commits

Author SHA1 Message Date
afc163
0698c82173 adjust icon svg align 2018-09-14 10:58:03 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +08:00
afc163
5ab199b867 site: fix some icon align styles 2018-09-10 14:51:18 +08:00
afc163
f22247bce0 site: fix demo icon 2018-09-03 12:20:14 +08:00
HeskeyBaozi
4d681c7fd3 optimize icon docs 2018-09-02 20:59:37 +08:00
HeskeyBaozi
af95133c5b icon size: 24px -> 36px 2018-09-02 20:59:37 +08:00
HeskeyBaozi
2a54d80639 new icon display 2018-09-02 20:59:37 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
HeskeyBaozi
678e2aac4f use svg icon in docs footer nav 2018-08-21 17:46:20 +08:00
afc163
d13187ba1e site: tweak script and style tags order 2018-08-20 17:08:07 +08:00
afc163
55d43eb13b site: move script to body bottom 2018-08-17 22:29:36 +08:00
afc163
799c7be17e Fix site error in IE10/11 which don't support conditional comments 2018-08-12 00:04:58 +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
afc163
0587804fb1 Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
jim
306389273a Improve documentation 2018-07-13 22:23:12 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +08:00
afc163
0f73b5d3f7 site: upgrade analytics code 2018-05-21 23:27:26 +08:00
afc163
14beee1fe1 site: add baidu tongji 2018-05-21 22:58:12 +08:00
Zohaib Ijaz
df7ef9a833 site: Repalced generateColorLess script with antd-theme-generator
* Repalced generateColorLess script with antd-theme-generator which allows to dynamically change theme for all color variables

* Updated antd-theme-generator version

* Updated Ant styles directory path
2018-05-18 12:01:32 +08:00
afc163
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +08:00
afc163
5e0b8df412 site: fix button align of home page 2018-05-14 00:07:39 +08:00
afc163
35b751da15 site: better responsive 2018-05-12 14:02:34 +08:00
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque (#10299) 2018-04-29 10:42:45 +08:00
afc163
8b02a21d36 site: valid primary color range 2018-04-27 22:09:49 +08:00
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +08:00
jljsj
a7107c6adf fix site icon hover transition 2018-03-27 15:40:31 +08:00
afc163
e400ef6d30 site: fix extra space in page bottom 2018-03-26 16:53:02 +08:00
afc163
1abe1517d8 Add deer tracking code 2018-03-26 15:35:39 +08:00
afc163
99cc5b9607 site: add search input in home page 2018-03-26 15:32:48 +08:00
愚指导
2548a4bcf9 add polyfill for ie (#9444) 2018-03-02 11:49:56 +08:00
afc163
d4a5d2c188 site: fix home button align 2018-02-26 13:54:09 +08:00
afc163
5294a69296 site: fix home page style 2018-02-11 18:10:02 +08:00
afc163
80a4ee7731 site: update home button style 2018-01-31 10:14:25 +08:00
nikogu
1329de5ebd fix home page button text overflow 2018-01-27 22:34:44 +08:00
afc163
70569c6d28 site: improve responsive style 2018-01-27 15:17:43 +08:00
jljsj
7b90be6326 update responsive, add home footer style 2018-01-19 18:17:10 +08:00
afc163
8de2b470b0 site: update resource card style 2018-01-13 14:34:50 +08:00
afc163
19c65cece7 remove santa code 2018-01-13 14:01:23 +08:00
afc163
27a2d68a1b site: update home page font family 2018-01-12 20:47:07 +08:00
afc163
ebac0f7675 site: fix overflow arrow 2018-01-11 21:29:18 +08:00
Wei Zhu
3467ba639d site: update grey color value 2018-01-11 10:25:49 +08:00
afc163
f0dd8191d4 update home style 2018-01-10 13:43:39 +08:00
jljsj
e09c71f22e add bnts will-change 2018-01-10 10:35:34 +08:00
afc163
b2af3e2afc site: tweak home style 2018-01-09 20:42:30 +08:00
afc163
5e4fed48f6 site: clean footer style code 2018-01-09 15:38:06 +08:00
Wei Zhu
d7fb63f8c3 site: large github button 2018-01-09 14:28:29 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +08:00
Wei Zhu
4e743ea051 site: tweak github button position 2018-01-08 12:42:45 +08:00
Wei Zhu
9048b042fc site: tweak home page 2018-01-08 12:18:13 +08:00
Wei Zhu
b8608deaed Tweak bottom bar padding 2018-01-06 12:36:54 +08:00
afc163
ccaaf8d027 update home style 2018-01-06 10:32:42 +08:00
afc163
97edf48f52 update font family 2018-01-05 23:07:45 +08:00
竹尔
0125ae075f
Update home.less 2018-01-05 15:38:48 +08:00
jljsj
a0814e29c6 add new version video 2018-01-05 15:17:22 +08:00
jljsj
3c74a26758 add en 2018-01-05 15:17:13 +08:00
jljsj
94e05ff3bc add link 2018-01-05 15:17:06 +08:00
jljsj
44a7837784 re alt 2018-01-05 15:16:58 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
Wei Zhu
c8ffe92a9a Update 2018-01-05 11:14:55 +08:00
Wei Zhu
5b6304997f Fix margin 2018-01-05 10:33:59 +08:00
Wei Zhu
fdcc2ca1c3 Update style 2018-01-05 10:33:59 +08:00
Wei Zhu
958433a8d7 Fix preview image box margin 2018-01-05 10:33:59 +08:00
Wei Zhu
2e6e4f2345 Tweak image margin 2018-01-05 10:33:59 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
1190f0b009 Add algolia search 2018-01-05 10:32:49 +08:00
Wei Zhu
bafca69331 Update English version 2018-01-05 10:32:00 +08:00
Wei Zhu
35c36fc77e More docs 2018-01-05 10:32:00 +08:00
Wei Zhu
600c8c69f0 Tweak color palette 2018-01-05 10:32:00 +08:00
Wei Zhu
0fbd1b4080 Add new design guide 2018-01-05 10:32:00 +08:00
Wei Zhu
f9a3d419cd Smaller image box 2018-01-05 10:32:00 +08:00
Wei Zhu
642f8b20ec Add open in CodeSandbox (#8747) 2017-12-29 17:02:45 +08:00
afc163
8fb285fce9 Move maxHeight code into anchor, close #8606 2017-12-28 13:20:12 +08:00
afc163
f3df363ec7 update site style 2017-12-25 14:09:53 +08:00
afc163
0cf841db94 Fix santa in chrome 2017-12-25 14:05:59 +08:00
afc163
021b49f7d5 🎅 🎅 🎅 2017-12-25 13:53:16 +08:00
afc163
692265f5f1 site: fix style 2017-12-22 17:21:10 +08:00
afc163
dd364e3358 site: fix details 2017-12-21 14:57:56 +08:00
jiang
4eb51bcb5c
Update home.less 2017-12-21 10:26:40 +08:00
afc163
3f3fbfbe67 Add promote link for seeconf 2017-12-18 17:58:45 +08:00
afc163
028dcea5ec site: fix repsonsive style 2017-12-16 18:22:15 +08:00
afc163
336c3613e8 site: fix navigator.language undefined 2017-12-13 20:04:09 +08:00
afc163
accf92336d Fix color palette generator, close #8512 2017-12-08 14:44:24 +08:00
afc163
3162dd3b51 site: improve changelog style 2017-12-04 23:43:44 +08:00
afc163
b02aa7bddc site: tweak logo text 2017-12-04 23:18:53 +08:00
afc163
6836487e18 Fix changelog style 2017-12-04 21:48:42 +08:00
afc163
ebcf7b43e8 site: update ant design logo 2017-12-04 11:47:03 +08:00
afc163
4dc310c331 site: fix logo wrap in IE11 2017-12-04 09:59:22 +08:00
afc163
85416ce577 site: highlight anchor of article 2017-12-03 16:13:04 +08:00
afc163
5e48badbb7 Improve home page style 2017-12-01 20:27:44 +08:00
ddcat1115
0b31c256e3 tweak home style 2017-12-01 14:43:56 +08:00
ddcat1115
5458c6a40c fix style and favicon 2017-12-01 11:25:13 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +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
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
2aedc275d4 improve footer style 2017-11-29 00:08:48 +08:00
ddcat1115
0710f826f3 fix menu text color 2017-11-28 17:59:28 +08:00
ddcat1115
49a49adae3 change lang-button pos & improve footer responsive 2017-11-28 17:01:41 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
ddcat1115
04a00e6e14 update logo 2017-11-28 11:18:18 +08:00
afc163
58e742d987 Fix less path warning, close #8388 2017-11-28 10:49:04 +08:00
ddcat1115
ea338eb637 Merge branch 'antd-3.0' of https://github.com/ant-design/ant-design into antd-3.0 2017-11-27 17:09:09 +08:00
ddcat1115
095acc4839 tweak style 2017-11-27 17:08:45 +08:00
afc163
b2810f2fa9 site: fix menu z-index 2017-11-27 16:51:59 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00
afc163
084b444252 Fix home page style 2017-11-21 19:10:01 +08:00
afc163
a8e5690805 Merge branch 'master' into antd-3.0 2017-11-21 15:59:48 +08:00
afc163
1e1baf01f6 remove react extenals 2017-11-21 15:49:17 +08:00
jiang
8260e32d1d fix mobile menu (#8252) 2017-11-21 11:18:31 +08:00
afc163
6db2630e90 site: fix code demo box style in IE11 2017-11-21 11:12:20 +08:00
jiang
a5bf187271 update menu responsive, ref #4682 (#8226)
* update menu responsive, ref #4682

* update popover menu style
2017-11-17 19:17:37 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
1117de7c6f site: fix version select width 2017-11-15 13:32:13 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
f02cd9cd52 use development react in dev 2017-11-07 10:43:49 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
afc163
32b2c21145 site: fix header button style 2017-11-03 15:29:25 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
ace590273a Add pro link 2017-10-31 16:32:09 +08:00
Benjy Cui
53906a2f0b deps: upgrade deps 2017-10-26 17:25:33 +08:00
afc163
856ae3e291 update gray color 2017-10-19 17:09:33 +08:00
afc163
e4e54a66d6 upgrade color palettes style 2017-10-13 20:27:22 +08:00
afc163
6e78ffd0a6 Fix react externals 2017-10-12 20:29:12 +08:00
afc163
802bd98f16 update color doc 2017-10-09 19:15:30 +08:00
afc163
154773e5ce update color doc 2017-10-09 19:08:11 +08:00
afc163
934c4c0de1 finish whole color pallate 2017-10-09 18:24:12 +08:00
afc163
af5c8e8b1a updat colors page style 2017-10-09 16:45:12 +08:00
afc163
a1c17f3006 update colors 2017-10-09 16:17:30 +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
偏右
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
偏右
0ffccf8b0f Provide a debug way of preact compatibility (#7670)
* try preact

* Add start:preact to scripts

* fix webpack.config.js
2017-09-20 14:57:48 +08:00
Wei Zhu
ed2303a5da Change primary color in browser (#7516) 2017-09-18 17:31:48 +08:00
afc163
5f938a6818 update template.html 2017-09-15 21:40:13 +08:00
afc163
e77108c775 site: update page background 2017-09-08 13:44:52 +08:00
afc163
fb8fec6d3a site: remove font smoothing style 2017-09-08 13:36:10 +08:00
paranoidjk
a73d0504ca site: dev use uncompressed bundle. close #7383 (#7472) 2017-09-06 09:19:35 +08:00
afc163
24e2af63f2 site: update footer style 2017-09-04 11:55:45 +08:00
Manweill
dc1d0af64e 官网首页的搜索框,当按下键盘s的时候,会获取焦点 (#7267)
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点

* use AutoComplete

* 移除 this.state.focused

* bugfix
2017-08-31 11:47:53 +08:00
afc163
33f37debd7 tweak site style 2017-08-16 10:49:54 +08:00
afc163
5443e79329 improve code expand style 2017-08-15 21:00:31 +08:00
afc163
48f7d22929 site: improve code collapse icon design 2017-08-15 17:20:47 +08:00
Benjy Cui
87c8c7ad67 site: fix toc background color, close: #7199 2017-08-15 09:56:43 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
032d3bea12 Support open demo in riddle 2017-07-10 22:17:52 +08:00
afc163
66a731b4c2 site: open demo in codepen with prefill code, close #5140 2017-07-07 16:09:02 +08:00
afc163
a65ff1c2df fix site style 2017-06-26 13:33:59 +08:00