Commit Graph

76 Commits

Author SHA1 Message Date
ycjcl868
b4d71beb92 tweak: extract site dark style into dark.less 2019-12-27 18:14:29 +08:00
ycjcl868
e5bc8bab5a fix: style:lint 2019-12-26 15:55:10 +08:00
ycjcl868
050fff7d1e fix: code block color 2019-12-26 15:24:29 +08:00
ycjcl868
8a7beb02bd fix: dropdown menu 2019-12-26 14:48:29 +08:00
ycjcl868
53a22542ba fix: site code block 2019-12-25 22:17:25 +08:00
ycjcl868
c10a6f029c fix: demo style 2019-12-24 20:58:42 +08:00
ycjcl868
27ce7012e7 fix: border-color 2019-12-23 18:08:15 +08:00
ycjcl868
6477b46fa8 fix: data-theme 2019-12-23 17:16:26 +08:00
chenshuai2144
74d035de01 update logo text 2019-12-23 16:30:32 +08:00
ycjcl868
0f445dded5 fix: code style 2019-12-23 14:55:33 +08:00
ycjcl868
5d0aa4a231 fix: grid 2019-12-23 14:49:45 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
afc163
8a715d0991 📝 🎬 improve grid demo and documentaion 2019-10-18 18:50:33 +08:00
信鑫-King
0f3f3dc521
Merge pull request #18852 from ant-design/master
chore: merge master into feature
2019-09-17 02:40:54 -04:00
afc163
08000b217e fix stylelint 2019-09-16 22:19:07 +08:00
afc163
2e5928450d 📝 Improve Table doc about tableLayout 2019-09-05 13:39:06 +08:00
afc163
6fe1e41ae9
📝 Improve API Table design 2019-08-05 16:14:32 +08:00
afc163
d6e14efa56 📝 update changelog 2019-07-19 19:11:51 +08:00
陈帅
bbb1690293
add 3.20.0 changelog (#17365)
* add 3.20.0 changelog

* fix typo

* fix typo

* change image

* change image

* beter img code style

* Add Result changlog
2019-06-30 22:26:54 +08:00
zombieJ
e88589d9ef
feat: Pagination support disabled prop (#16493)
* feat: Pagination support `disable`

* update snapshot

* update style

* update style

* update snapshot

* update font color
2019-05-10 15:38:35 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
xiaohuoni
959987ad23 table reader mobile friendly 2019-03-02 16:36:52 +08:00
米老朱
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
2019-02-15 10:48:07 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
71b8cf7a0c site: tweak style detail 2018-10-28 21:04:11 +08:00
afc163
a669f24afe site: improve hr style 2018-09-16 15:40:05 +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
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
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
0fbd1b4080 Add new design guide 2018-01-05 10:32:00 +08:00
afc163
3162dd3b51 site: improve changelog style 2017-12-04 23:43:44 +08:00
afc163
6836487e18 Fix changelog style 2017-12-04 21:48:42 +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
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +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
偏右
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
deebe4d973 site: tweak style 2017-05-28 15:35:49 +08:00
afc163
927c55bb4a site: fix style 2017-04-17 22:19:43 +08:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
afc163
85df55df72 site: fix markdown list style 2017-02-27 11:46:45 +08:00
afc163
40b30d8ef9 site: fix markdown list style 2017-02-26 22:56:58 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
b245659887 update API table style 2017-01-15 13:15:30 +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
65431a3981 update site api style 2016-12-05 13:09:05 +08:00