Commit Graph

64 Commits

Author SHA1 Message Date
yoyo837
6b84c079dd fix when size is small and label is vertical the label text not align center 2019-03-07 17:04:31 +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
zombieJ
41470e0c68
clean css (#14797)
* clean css

* move to horizontal
2019-02-12 22:41:41 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
* master: (23 commits)
   fix snapshots
  Add docs for the List rowKey prop
  💄 don't reset font-family in each component
  💄 chore card less variable
  Remove classNames from custom-typing file
  add collapsed faq ref: #13953
  feat: support define card border radius
  Fix dateRender not supported at WeekPicker
  📝 Add links in Home Page
  📝 Fix site responsive interaction, close #13954
  💄 chore Steps[labelPlacement="vertical"] style
   fix warning in test case
  📝 update tech antfin cases
  🐛 site menu open bug
  🐛 fix site defaultOpenKeys
  Correct docs
  💄 chore button code style
  fix spaces in curly brackets
  fix two more code style issues
  Fix method argument name
  ...
2018-12-28 12:11:18 +08:00
afc163
90091fe2d0
💄 chore Steps[labelPlacement="vertical"] style
close #13949
2018-12-27 11:55:53 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
afc163
7d5907500f revert steps description width to fix align issue 2018-08-29 17:40:05 +08:00
afc163
33f5cc4364 Fix long step description overflow, close #11864 2018-08-24 20:25:23 +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
yoyo837
6ae02a9ab7 progress-dot 2018-07-28 02:04:49 +08:00
yoyo837
a0a0d88b78 Fix content without vertical alignment icon when using vertical label mode; And description text-align: center; 2018-07-28 02:04:49 +08:00
afc163
68a110afa3 should use primary color for steps 2018-06-20 20:51:24 +08:00
afc163
5f35a69858 update steps demo 2017-12-04 14:51:51 +08:00
Graeme Yeates
b46cb4b740 Add a variable to control processing colors (#8166) 2017-11-11 14:15:16 +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
296dfc7375 vertical progressDot Steps style 2017-10-31 15:15:51 +08:00
afc163
2a14b4667d Fix progress dot step style 2017-10-31 14:04:07 +08:00
afc163
ca3835bf58 Tweak progress dot step style 2017-10-19 14:52:11 +08:00
afc163
91a64d0567 Tweak styles 2017-10-16 21:12:49 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +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
ca06211494 Fix small steps font size 2017-09-25 11:27:49 +08:00
afc163
306a5699a7 Better responsive Steps 2017-09-25 11:25:57 +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
3195cc182c Fix steps styles 2017-09-07 11:00:36 +08:00
afc163
68ff1b6ff0 fix progressDot Steps style 2017-09-06 13:15:47 +08:00
偏右
a933961aae upgrade rc-steps to 3.0 (#7473)
* upgrade rc-steps to 3.0

* update snapshot
2017-09-05 19:57:59 +08:00
afc163
c28c2f6b1e Merge branch 'master' into antd-3.0 2017-08-18 19:18:26 +08:00
afc163
187e9dd85c tweak step number font 2017-08-17 21:51:25 +08:00
偏右
2dedc5ec7f Upgrade grid break points (#7230)
close #5122
2017-08-16 20:19:41 +08:00
afc163
b0da6adf8c Improve responsive of Steps 2017-08-16 16:07:57 +08:00
afc163
29b5f433f8 Fix step title background 2017-08-07 16:11:43 +08:00
afc163
4962d19462 tweak steps style 2017-08-01 21:50:38 +08:00
afc163
0cf3600e25 refactor step title style again 2017-08-01 18:34:02 +08:00
afc163
0eefa85b04 refactor step title style 2017-08-01 18:08:08 +08:00
afc163
c67d9b2935 Fix nested steps style, close #6754 2017-07-07 11:46:05 +08:00
afc163
c5059e5fb7 Fix steps tail style bug, close #5623 2017-04-05 11:55:16 +08:00
Graeme Yeates
18d0a4d1fb Add @steps-background and @process-icon-text-color variables for customizing step theme 2017-04-04 16:38:25 -04:00
afc163
a10704bc44 Tweak steps animation style 2017-03-18 15:32:29 +08:00
afc163
bbfc131a85 Fix steps fixed width, close #5083 2017-02-28 15:13:23 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +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
720ea3690a expand dot responsive area 2017-01-23 16:18:49 +08:00
ddcat1115
09397187ac Steps support progressDot and labelPlacement (#4659) 2017-01-23 14:37:40 +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
264f02d98f Fix steps icon size and some detail, close #3817 2016-12-04 15:50:54 +08:00