From ac571ce6d8c8b8fd2643ca8ca7166ac3286ae98c Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Thu, 18 May 2017 12:28:45 +0800 Subject: [PATCH] doc: add the missing styles for english docs --- examples/docs/en-US/alert.md | 9 +++ examples/docs/en-US/button.md | 45 ++++++++++++++ examples/docs/en-US/carousel.md | 65 ++++++++++++++++--- examples/docs/en-US/cascader.md | 31 ++++++++++ examples/docs/en-US/collapse.md | 10 +++ examples/docs/en-US/color-picker.md | 20 ++++++ examples/docs/en-US/color.md | 86 ++++++++++++++++++++++++++ examples/docs/en-US/date-picker.md | 24 +++++++ examples/docs/en-US/datetime-picker.md | 24 +++++++ examples/docs/en-US/dialog.md | 23 +++++++ examples/docs/en-US/dropdown.md | 40 ++++++++++++ examples/docs/en-US/icon.md | 58 ++++++++++++++++- examples/docs/en-US/input-number.md | 8 +++ examples/docs/en-US/layout.md | 31 ++++++++++ examples/docs/en-US/loading.md | 6 ++ examples/docs/en-US/menu.md | 30 +++++++++ examples/docs/en-US/pagination.md | 50 +++++++++++++++ examples/docs/en-US/popover.md | 14 +++++ examples/docs/en-US/rate.md | 21 +++++++ examples/docs/en-US/select.md | 10 ++- examples/docs/en-US/switch.md | 8 +++ examples/docs/en-US/table.md | 28 ++++++++- examples/docs/en-US/tag.md | 23 +++++++ examples/docs/en-US/time-picker.md | 8 +++ examples/docs/en-US/transfer.md | 9 +++ examples/docs/en-US/transition.md | 15 +++++ examples/docs/en-US/tree.md | 24 ++++++- examples/docs/en-US/typography.md | 74 ++++++++++++++++++++++ examples/docs/en-US/upload.md | 41 ++++++++++++ 29 files changed, 822 insertions(+), 13 deletions(-) diff --git a/examples/docs/en-US/alert.md b/examples/docs/en-US/alert.md index 230e2955..7369a72b 100644 --- a/examples/docs/en-US/alert.md +++ b/examples/docs/en-US/alert.md @@ -7,6 +7,15 @@ } } + ## Alert diff --git a/examples/docs/en-US/button.md b/examples/docs/en-US/button.md index e88ee7d3..b6e36794 100644 --- a/examples/docs/en-US/button.md +++ b/examples/docs/en-US/button.md @@ -22,6 +22,51 @@ } } + ## Button diff --git a/examples/docs/en-US/carousel.md b/examples/docs/en-US/carousel.md index cfea588d..a63e75c7 100644 --- a/examples/docs/en-US/carousel.md +++ b/examples/docs/en-US/carousel.md @@ -10,6 +10,55 @@ } } + ## Carousel Loop a series of images or texts in a limited space @@ -45,11 +94,11 @@ Loop a series of images or texts in a limited space line-height: 150px; margin: 0; } - + .el-carousel__item:nth-child(2n) { background-color: #99a9bf; } - + .el-carousel__item:nth-child(2n+1) { background-color: #d3dce6; } @@ -79,11 +128,11 @@ Indicators can be displayed outside the carousel line-height: 300px; margin: 0; } - + .el-carousel__item:nth-child(2n) { background-color: #99a9bf; } - + .el-carousel__item:nth-child(2n+1) { background-color: #d3dce6; } @@ -113,11 +162,11 @@ You can define when arrows are displayed line-height: 300px; margin: 0; } - + .el-carousel__item:nth-child(2n) { background-color: #99a9bf; } - + .el-carousel__item:nth-child(2n+1) { background-color: #d3dce6; } @@ -147,11 +196,11 @@ When a page is wide enough but has limited height, you can activate card mode fo line-height: 200px; margin: 0; } - + .el-carousel__item:nth-child(2n) { background-color: #99a9bf; } - + .el-carousel__item:nth-child(2n+1) { background-color: #d3dce6; } diff --git a/examples/docs/en-US/cascader.md b/examples/docs/en-US/cascader.md index 0b16c6c3..0ccb0719 100644 --- a/examples/docs/en-US/cascader.md +++ b/examples/docs/en-US/cascader.md @@ -247,6 +247,37 @@ }; + + ## Cascader If the options have a clear hierarchical structure, Cascader can be used to view and select them. diff --git a/examples/docs/en-US/collapse.md b/examples/docs/en-US/collapse.md index a4d70cf6..c09bd491 100644 --- a/examples/docs/en-US/collapse.md +++ b/examples/docs/en-US/collapse.md @@ -14,6 +14,16 @@ } + + ## Collapse Use Collapse to store contents. diff --git a/examples/docs/en-US/color-picker.md b/examples/docs/en-US/color-picker.md index 0de276cd..dd5672ba 100644 --- a/examples/docs/en-US/color-picker.md +++ b/examples/docs/en-US/color-picker.md @@ -16,6 +16,26 @@ } + + ## ColorPicker ColorPicker is a color selector supporting multiple color formats. diff --git a/examples/docs/en-US/color.md b/examples/docs/en-US/color.md index ccfa83c0..bb7717b0 100644 --- a/examples/docs/en-US/color.md +++ b/examples/docs/en-US/color.md @@ -1,3 +1,89 @@ + + ## Color Element uses a specific set of palettes to specify colors to provide a consistent look and feel for the products you build. diff --git a/examples/docs/en-US/date-picker.md b/examples/docs/en-US/date-picker.md index 36ab0cb0..532e1a5b 100644 --- a/examples/docs/en-US/date-picker.md +++ b/examples/docs/en-US/date-picker.md @@ -63,6 +63,30 @@ }; + + ## DatePicker Use Date Picker for date input. diff --git a/examples/docs/en-US/datetime-picker.md b/examples/docs/en-US/datetime-picker.md index 63a984b0..d9291931 100644 --- a/examples/docs/en-US/datetime-picker.md +++ b/examples/docs/en-US/datetime-picker.md @@ -72,6 +72,30 @@ }; + + ## DateTimePicker Select date and time in one picker. diff --git a/examples/docs/en-US/dialog.md b/examples/docs/en-US/dialog.md index 8ed07c91..27e4e6a1 100644 --- a/examples/docs/en-US/dialog.md +++ b/examples/docs/en-US/dialog.md @@ -47,6 +47,29 @@ }; + + ## Dialog Informs users while preserving the current page state. diff --git a/examples/docs/en-US/dropdown.md b/examples/docs/en-US/dropdown.md index 7cd32d5b..0db59d88 100644 --- a/examples/docs/en-US/dropdown.md +++ b/examples/docs/en-US/dropdown.md @@ -1,3 +1,43 @@ + + -## Icon + + +## Icon Element provides a set of common icons. diff --git a/examples/docs/en-US/input-number.md b/examples/docs/en-US/input-number.md index e43b8826..69bc688b 100644 --- a/examples/docs/en-US/input-number.md +++ b/examples/docs/en-US/input-number.md @@ -18,6 +18,14 @@ }; + + ## InputNumber Input numerical values with a customizable range. diff --git a/examples/docs/en-US/layout.md b/examples/docs/en-US/layout.md index 5deffeb4..ca2970fa 100644 --- a/examples/docs/en-US/layout.md +++ b/examples/docs/en-US/layout.md @@ -1,3 +1,34 @@ + + ## Layout Quickly and easily create layouts with the basic 24-column. diff --git a/examples/docs/en-US/loading.md b/examples/docs/en-US/loading.md index e340a0b9..5b3826ca 100644 --- a/examples/docs/en-US/loading.md +++ b/examples/docs/en-US/loading.md @@ -1,3 +1,9 @@ + + + + ## Select When there are plenty of options, use a drop-down menu to display and select desired ones. @@ -236,7 +242,7 @@ Disable the whole component. - + + + ## Table Display multiple data with similar format. You can sort, filter, compare your data in a table. @@ -1563,7 +1589,7 @@ For table of numbers, you can add an extra row at the table footer displaying ea label="Amount 3"> - + + + ## Tag Used for marking and selection. diff --git a/examples/docs/en-US/time-picker.md b/examples/docs/en-US/time-picker.md index 555218d1..6873514b 100644 --- a/examples/docs/en-US/time-picker.md +++ b/examples/docs/en-US/time-picker.md @@ -1,3 +1,11 @@ + + ## TimePicker Use Time Picker for time input. diff --git a/examples/docs/en-US/transfer.md b/examples/docs/en-US/transfer.md index 5bb9fa0a..0b030633 100644 --- a/examples/docs/en-US/transfer.md +++ b/examples/docs/en-US/transfer.md @@ -1,3 +1,12 @@ + +