zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
...
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
2020-04-28 11:16:01 +08:00
xrkffgg
0d927a18f1
docs: optimize site of sources ( #23648 )
2020-04-27 13:17:53 +08:00
xrkffgg
22b5f65830
docs: optimize site of docs ( #23642 )
...
* docs: optimize site of docs
* fix: gitee link
* fix lint
2020-04-27 11:36:04 +08:00
xrkffgg
2cb635e921
docs: optimize site of spec ( #23628 )
...
* docs: optimize site of spec
* fix: lint
2020-04-26 22:13:15 +08:00
xrkffgg
43bc7196ea
docs: fix site subtitle in rtl ( #23403 )
2020-04-20 17:25:11 +08:00
偏右
8fa2252903
chore: 🔧 fix codesandbox React.Fragment support ( #22315 )
...
* site: fix codesandbox React.Fragment support
* 💄 prettier site code
2020-03-17 21:17:49 +08:00
偏右
3c6faa6cb4
🎬 Improve Grid demo style ( #21625 )
2020-02-26 21:00:43 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
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