Merge master

This commit is contained in:
afc163 2016-01-14 15:35:21 +08:00
commit d271e92b8e
12 changed files with 29 additions and 17 deletions

View File

@ -41,10 +41,12 @@ import 'antd/lib/index.css'; // or 'antd/style/index.less'
现代浏览器和 IE8 及以上。
> [IE8 issues](https://github.com/xcatliu/react-ie8)
## 链接
- [首页](http://ant.design/)
- [React UI 库](http://ant.design/docs/introduce)
- [React UI 库](http://ant.design/docs/react/introduce)
- [修改记录](CHANGELOG.md)
- [开发脚手架](https://github.com/ant-design/antd-init/)
- [本地调试工具集](https://github.com/dora-js/dora/)

View File

@ -40,11 +40,12 @@ Use components on demand by writing as `import DatePicker from 'antd/lib/date-pi
Normal browsers and Internet Explorer 8+.
> [IE8 issues](https://github.com/xcatliu/react-ie8)
## Links
- [Home page](http://ant.design/)
- [React UI library](http://ant.design/docs/introduce)
- [React UI library](http://ant.design/docs/react/introduce)
- [ChangeLog](CHANGELOG.md)
- [Scaffold tool](https://github.com/ant-design/antd-init/)
- [Debug tools set](https://github.com/dora-js/dora)

View File

@ -21,12 +21,12 @@
属性 | 说明 | 类型 | 默认值
-----|-----|-----|------
type | 设置按钮类型,可选值为 `primary` `ghost` 或者不设 | Enum | undefined
htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 HTML标准 | Enum | `button`
shape | 设置按钮形状,可选值为 `circle` `circle-outline` 或者不设 | Enum | undefined
size | 设置按钮大小,可选值为 `small` `large` 或者不设 | Enum | undefined
loading | 设置按钮载入状态,存在为 `true`,不存在为 `false`,或直接设置值,如:`loading="true"` | Bool | false
onClick | `click` 事件的 handler | Function | `function() {}`
type | 设置按钮类型,可选值为 `primary` `ghost` 或者不设 | string | -
htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 HTML标准 | string | `button`
shape | 设置按钮形状,可选值为 `circle` `circle-outline` 或者不设 | string | 无
size | 设置按钮大小,可选值为 `small` `large` 或者不设 | string | `default`
loading | 设置按钮载入状态 | boolean | false
onClick | `click` 事件的 handler | function | `function() {}`
- `<Button>Hello world!</Button>` 最终会被渲染为 `<button>Hello world!</button>`,并且除了上表中的属性,其它属性都会直接传到 `<button></button>`

View File

@ -107,7 +107,6 @@ AntV 将数据图形小组近几年在探索数据可视化过程中取得的成
};
img.src = url;
setTimeout(function() {
console.log('timeout');
finish('timeout');
}, 1500);
}

View File

@ -57,6 +57,8 @@ import 'antd/lib/index.css'; // or 'antd/style/index.less'
现代浏览器和 IE8 及以上。
> [IE8 issues](https://github.com/xcatliu/react-ie8)
## 链接
- [首页](http://ant.design/)

View File

@ -14,7 +14,7 @@
<span class="resource-card-description">一套强大的 Ant Design 的 Axure 部件库</span>
</span>
</a>
<a target="_blank" href="https://github.com/ant-design/ant-design/releases/download/0.11.2/AntD_Box_v1.2.rp" class="resource-card">
<a target="_blank" href="https://github.com/ant-design/ant-design/releases/download/resource/AntD_Box_v1.2.rp" class="resource-card">
<img src="https://os.alipayobjects.com/rmsportal/UuYRXxndGMKdaiE.png">
<span class="resource-card-content">
<span class="resource-card-title">Axure Box</span>

View File

@ -24,7 +24,7 @@ Ant Design 源自蚂蚁金服体验技术部的后台产品开发,我们的设
我们采用 [React](http://facebook.github.io/react/) 封装了一套 Ant Design 的组件库,也欢迎社区其他框架的实现版本。
- [Ant Design of React](/docs/introduce)(官方实现)
- [Ant Design of React](/docs/react/introduce)(官方实现)
- [vue-antd](https://github.com/okoala/vue-antd)
## 如何贡献

View File

@ -115,7 +115,7 @@ ReactDOM.render(
}
.ant-layout-aside .ant-layout-footer {
height; 64px;
height: 64px;
line-height: 64px;
text-align: center;
font-size: 12px;

View File

@ -99,7 +99,7 @@ ReactDOM.render(
}
.ant-layout-top .ant-layout-footer {
height; 64px;
height: 64px;
line-height: 64px;
text-align: center;
font-size: 12px;

View File

@ -548,7 +548,7 @@ footer ul li > a {
width: 80%;
}
.markdown ul li {
.markdown ul > li {
list-style: circle;
}
@ -563,7 +563,7 @@ footer ul li > a {
margin: 0.6em 0;
}
.markdown ol li {
.markdown ol > li {
list-style: decimal;
}

View File

@ -55,7 +55,7 @@
position: relative;
height: 100%;
width: 100%;
background: url("https://t.alipayobjects.com/images/T1OhFkXfpgXXXXXXXX.png") no-repeat center / cover;
background: url("https://os.alipayobjects.com/rmsportal/GhjqstwSgxBXrZS.png") no-repeat center / cover;
}
.banner-text-wrapper {

View File

@ -35,6 +35,14 @@
transition: all 0.3s ease;
}
&-item > a {
display: block;
color: @text-color;
&:hover {
color: @text-color;
}
}
&-item-active,
&-submenu-title:hover {
background-color: tint(@primary-color, 90%);
@ -58,7 +66,7 @@
&-vertical {
border-right: 1px solid #e9e9e9;
.@{menu-prefix-cls}-item {
border-right: 2px solid transparent;
border-right: 1px solid #e9e9e9;
margin-left: -1px;
left: 1px;
position: relative;