Commit Graph

323 Commits

Author SHA1 Message Date
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
afc163
5a971b24ad Merge from master 2017-08-27 19:32:02 +08:00
afc163
3d322a7c04 Tweak tooltip background and fix basic demo 2017-08-25 10:11:22 +08:00
ddcat1115
b10f7726c3 Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-23 23:12:38 +08:00
ddcat1115
0d4baf302d 调整卡片样式 (#7286)
* 调整卡片样式

* improve
2017-08-23 19:02:27 +08:00
afc163
8bdad3d418 update less code style 2017-08-23 13:57:01 +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
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
afc163
b84b17d981 Merge branch 'master' into antd-3.0 2017-08-17 18:03:28 +08:00
lvren
a93cb09e15 将sider收起时的宽度变量放到themes中控制 (#7238) 2017-08-17 16:09:04 +08:00
偏右
2dedc5ec7f Upgrade grid break points (#7230)
close #5122
2017-08-16 20:19:41 +08:00
afc163
af1e862aef Merge branch 'master' into antd-3.0 2017-08-10 21:45:49 +08:00
afc163
d98d7a451c Add @tag-font-size 2017-08-10 21:45:19 +08:00
ddcat1115
2b1bed42c9 Card new feat (#7120)
* inner style Card

* support `cover` `actions` `avatar` `description` and `extraContent`

* improve

* refactor
2017-08-09 14:34:10 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +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
Benjy Cui
ad92793a47 fix: events shuould work when element appear, close: #6949 2017-07-25 16:56:49 +08:00
Bryan Berger
91400d54fa add less variables for layout-trigger background, color 2017-07-21 14:21:31 -04:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
afc163
efcc28ed51 header font weight 2017-07-15 14:43:12 +08:00
afc163
39207efa4d Add @badge-font-size and @tabs-title-font-size 2017-07-12 17:32:31 +08:00
afc163
ab4e676b2a update input placeholder color 2017-07-11 16:51:54 +08:00
afc163
516ce2d821 Fix inline menu collapse animation 2017-07-08 15:57:53 +08:00
偏右
0ce61df3da Merge pull request #6599 from megawac/table-sort-select-bg
Use background-color-active for table sort and selected backgrounds
2017-06-30 12:00:16 +08:00
afc163
5964e42a9b tweak form label style 2017-06-26 11:51:41 +08:00
Graeme Yeates
5d8a3f6f66 Use background-color-active for table sort and selected backgrounds 2017-06-23 12:43:40 -04:00
afc163
0e18c52b96 heading default text color 2017-06-21 16:08:57 +08:00
乐仪
c30d1b191f add Avatar 2017-06-09 12:02:24 +08:00
afc163
45dee9e504 animating node should not be accessible, close #6314 2017-06-01 12:11:23 +08:00
偏右
516317e78a Merge pull request #6005 from megawac/multiselect-tag-bg
Use @tag-default-bg for multiselect tags
2017-05-22 16:35:03 +08:00
Graeme Yeates
adfca8ae78 Use @tag-default-bg for multiselect tags 2017-05-19 11:52:31 -04:00
afc163
a4fb175672 move duplicated css code, close #6156 2017-05-17 20:31:48 +08:00
afc163
6d38fcf4e4 Add @popover-distance and adjuest popover default distance, close #6105 2017-05-13 15:07:01 +08:00
afc163
811ecfddf6 Add fork icon 2017-05-11 13:30:38 +08:00
Graeme Yeates
8d1b2c9f32 Add variable for controlling backtop colors (#6038) 2017-05-09 17:15:54 +08:00
Graeme Yeates
e65dd692d2 Add a variable to control input addon's background (#6040) 2017-05-08 13:55:34 +08:00
afc163
fa0cd33be3 upgrade normalize.css to 7.0.0 2017-05-06 18:21:46 +08:00
偏右
1a775b1d3b Merge pull request #5964 from megawac/active-item-bg
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
偏右
131a35bcc9 Merge pull request #6008 from megawac/popover-text-color
Add missing @popover-color variable
2017-05-04 11:59:40 +08:00
Graeme Yeates
eafb41d129 Add missing @popover-text-color variable 2017-05-03 13:36:22 -04:00
Graeme Yeates
98ba816bfb Add @time-picker-selected-bg to control the selected state of time-picker 2017-05-03 11:06:07 -04:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
Graeme Yeates
0bc8284c46 [#5964] add @background-color-active rule 2017-05-02 11:06:01 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
liekkas
7ee1e79841 extract new variable @tabs-card-head-background from tabs's card-style.less 2017-05-01 21:58:37 +08:00
偏右
5fde1e7550 Merge branch 'master' into background-color-base 2017-05-01 13:51:11 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
10aab49686 Add some basic documentation for some of the confusing less variables 2017-04-28 15:24:45 -04:00
绯一
80de0127f4 feat: add table padding parameters for customizing (#5795) 2017-04-26 10:16:26 +08:00
leadream
d783c26263 css: add background color variable for modal mask. (#5890) 2017-04-25 16:43:42 +08:00
Graeme Yeates
1790642e98 Allow styling of radio button backgrounds (#5791) 2017-04-22 14:09:25 +08:00
偏右
aa0c29dfc0 Merge pull request #5855 from megawac/optional-form-colon
Add a less variable to opt out of form item colons
2017-04-22 13:30:14 +08:00
ddcat1115
75e9e44a2f new style of danger button (#5815)
* new style for danger button

* improve
2017-04-22 10:44:17 +08:00
Graeme Yeates
297412b57c Add a less variable to opt out of form item colons 2017-04-21 14:34:56 -04:00
afc163
6b1cec2bf6 Use height over padding for button size, close #5256 2017-04-16 19:01:46 +08:00
afc163
92b8e8534e change variable names #5711 2017-04-11 17:56:38 +08:00
Sanjay Kumar
692ccf85e7 Adding less variables for table head background color and table row hover 2017-04-11 17:08:09 +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
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
afc163
ef27e6d200 Merge branch 'master' into feature-2.9 2017-03-30 14:26:15 +08:00
afc163
de8e598ef1 upgrade normalize.css to 6.0.0 manually, close #5561 2017-03-30 10:29:05 +08:00
afc163
0fd88acc93 Improve tree showLine styles 2017-03-28 17:51:45 +08:00
afc163
901a1e6769 use @info-color over @primary-color, close #5442 2017-03-27 10:09:06 +08:00
afc163
6b2f6af85d use @info-color over @primary-color, close #5442 2017-03-23 13:57:30 +08:00
ddcat1115
27b099e58e feat: Tree with line & Tree customize icon demo (#5261)
* Tree with line & Tree customize icon demo

* improve
2017-03-21 09:41:02 +08:00
Benjy Cui
c097d5a9f5 Merge branch 'master' into feature-2.9 2017-03-20 11:29:36 +08:00
afc163
46b344eabe tweak icons 2017-03-17 19:11:36 +08:00
kossel
621f44e79c added card header style mixins (#5354)
* added card header style mixins

* fix color variable naming
2017-03-17 11:46:50 +08:00
Jesper We
8fe13f9113 Make <Rate> colors available in theme. (#5238)
* Make <Rate> colors available in theme.

* Add <Rate> color values
2017-03-10 14:58:01 +08:00
afc163
941782f7ec Add iconfont shake and android-o 2017-03-09 14:33:58 +08:00
afc163
a274f44a5a darken heading-color 2017-03-07 14:00:15 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
ddcat1115
29fa65fcc9 Layout.Sider support responsive display (#4931)
* save

* Layout.Sider support responsive display

* improve

* fix wrong spelling
2017-03-05 21:10:34 +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
f1a252768e Menu dark background should be same as layout header 2017-02-27 23:46:09 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
偏右
4650d20abf Update colorPalette.less 2017-02-26 00:35:02 +08:00
afc163
38c8360d1f Improve Menu[inline] and Collapse animation, ref #4898 2017-02-20 15:34:16 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +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
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
HJin.me
c670ff2448 feat: enhance Responsive Grid when resolution greater than 1600px (#4796) 2017-02-13 15:44:58 +08:00
Benjy Cui
34edd91207 chore: remove useless code 2017-02-10 09:43:33 +08:00
偏右
75a4b06e44 Unified border radius, close #4772 (#4773) 2017-02-08 14:21:29 +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
偏右
f786f607cf Fix misplace Badge when browser zoom above 100% (#4749)
close #4747 #4290 #4176
2017-02-03 14:20:42 +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
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
afc163
1ce6f7fc35 remove unused varable @layout-content-margin, close #4714 2017-01-25 21:18:06 +08:00
偏右
f850993fda More types of Button (#4679)
* Add Button[ghost] property, close #4625

* Add danger button

close #1308

* update API doc about ghost and danger property
2017-01-23 22:24:36 +08:00
afc163
efd1d1e89d Improve carousel default style 2017-01-15 22:48:57 +08:00
afc163
4654db312f Fix some lesshint problems 2017-01-11 21:45:09 +08:00
afc163
29324ca59d Add less variables for TimePicker panel width, close #4194 2017-01-10 22:10:37 +08:00
afc163
31d6aca303 move spin variables to default.less 2017-01-07 22:04:52 +08:00
afc163
0d38fefb00 Fix Menu[theme=dark] selected and disabled style, #4440 2017-01-06 11:36:54 +08:00
afc163
4443db4de6 css code style 2017-01-04 14:28:56 +08:00
afc163
2c6881a24a Fix error colorPalette is not defined in some situations
close ant-design/ant-motion#44
2017-01-04 14:27:45 +08:00
afc163
d0df37ed42 Fix Menu[theme="dark"] text color, close #4440 2017-01-03 00:12:23 +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
偏右
0062867274 Feature 2.6 (#4429)
* new Layout Component (#4087)

* change Anchor type

* new Layout

* Component update && add snap

* Revert "new Layout Component" (#4131)

* add Layout (#4169)

* add Layout

* update

* fix snapshot

* Improve layout component

1. update demo code
2. drop `position` of Sider
3. improve demo style
2016-12-30 21:41:28 +08:00
afc163
1f9e61ee69 update default font family 2016-12-15 15:31:28 +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
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +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
2c9339039c change @primary-color and default border-radius 2016-11-18 14:24:50 +08:00
afc163
de64779546 speed up loading icon 2016-11-13 18:19:23 +08:00
afc163
5d2a2cc39b Add @highlight-color less variables 2016-11-09 21:30:02 +08:00
afc163
c04707d3e3 fix demo z-index 2016-11-09 14:45:50 +08:00
afc163
0d013be7fa fix iconfont-size-under-12px mixin 2016-11-08 21:25:57 +08:00
afc163
0ec4276eab @font-size-lg (#1752) 2016-11-08 21:07:01 +08:00
afc163
4844d92709 remove unused variable 2016-11-08 20:59:25 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
RaoHai
0a0e14d610 Anchor Component
+ close #3557
2016-11-03 19:20:49 +08:00
afc163
44f61ac987 smaller Icon[loading] 2016-10-31 17:41:45 +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
afc163
e520998166 Fix popover card arrow border 2016-10-14 21:43:59 +08:00
kayw
b2734eda66 fix: direct use "dist/antd" cause server rendering error (#3436) 2016-10-14 20:21:46 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +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
afc163
d940bd9567 Move Popover less variables to theme/default.less 2016-10-07 14:56:11 +08:00
afc163
8dcb9b6a22 Adjust Tooltip less variables 2016-10-07 14:50:53 +08:00
afc163
41266f6374 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-19 17:43:01 +08:00
afc163
4a756405d4 Add two less variables 2016-09-19 17:42:47 +08:00
Benjy Cui
b08a17d986 fix: add .clearfix 2016-09-19 16:57:00 +08:00
Benjy Cui
672ebecf47 deps: upgrade dependencies (#3017)
* deps: upgrade dependencies

* fix: backward compatibility

* fix: replace cross with close
2016-09-18 10:12:21 +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
2f308b0f99 update font-family 2016-09-10 11:10:47 +08:00
afc163
b798a228e6 Add less variables about outline 2016-08-31 17:04:24 +08:00
afc163
f76a6bf107 Improve Alert and notification style 2016-08-28 17:16:43 +08:00
Benjy Cui
ff19dcc1fc feat: add Badge[status, text], close: #2715 (#2780)
* feat: add Badge[status, text], close: #2715

* feat: optimize Badge[status, text]
2016-08-20 17:43:46 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
e11b1ef694 remove duplicated normalize.css 2016-07-06 11:41:43 +08:00
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
b5f49a5aad improve modal zoom animation 2016-06-27 16:40:11 +08:00
afc163
2ffa087aa1 Merge branch '1.x-stable' 2016-06-24 14:33:37 +08:00
ddcat1115
5a17df4902 add BackTop (#2160) 2016-06-23 23:12:18 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
df4de5fe45 Make icon display clearly 2016-06-21 20:04:08 +08:00
afc163
dd68678e01 Fix multiple Modal mask, close #2009 2016-06-15 11:24:26 +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
115bf66185 Fix chrome OTS parsing error when load iconfont, close #1615 2016-05-11 00:06:14 +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