├── src ├── component │ ├── page2 │ │ ├── page2.html │ │ └── page2.ts │ ├── header │ │ ├── header.ts │ │ └── header.html │ ├── aggregates │ │ ├── aggregstes.ts │ │ └── aggregates.html │ └── page1 │ │ ├── page1.ts │ │ └── page1.html ├── routes.ts ├── app.html └── app.ts ├── .gitignore ├── warning.png ├── theme ├── fonts │ ├── element-icons.eot │ ├── element-icons.ttf │ └── element-icons.woff ├── form-item.css ├── menu-item.css ├── radio-group.css ├── submenu.css ├── tab-pane.css ├── breadcrumb-item.css ├── button-group.css ├── checkbox-group.css ├── collapse-item.css ├── dropdown-item.css ├── dropdown-menu.css ├── menu-item-group.css ├── radio-button.css ├── element-variables.css ├── steps.css ├── option-group.css ├── card.css ├── icon.css ├── spinner.css ├── badge.css ├── rate.css ├── carousel-item.css ├── option.css ├── row.css ├── collapse.css ├── breadcrumb.css ├── scrollbar.css ├── select-dropdown.css ├── loading.css ├── alert.css ├── notification.css ├── message.css ├── form.css ├── tree.css ├── progress.css ├── carousel.css ├── tag.css ├── dialog.css ├── popover.css └── switch.css ├── tsconfig.json ├── index.html ├── main.ts ├── package.json ├── static └── css │ └── reset.css ├── webpack.config.js ├── 2.0.0 └── README.md /src/component/page2/page2.html: -------------------------------------------------------------------------------- 1 |
179 |
180 | 这样一来,你会看到各种花式错误,例如`vue-router 2`找到了`vue 1`的`d.ts`, 这还能好好地玩耍吗?关于这个问题,我已经提交`PR`。
181 |
182 | 因此,在 `vue-resource` 官方仍未升级`d.ts`的时候,请不要使用它。
183 |
184 | 你可以用其他的库(和`vue`没有关系的库均可)来代替它,如`fetch`、`axios`。
185 |
186 |
187 | [1]: https://github.com/vuejs/vue
188 | [2]: https://github.com/Microsoft/TypeScript
189 | [3]: https://github.com/ElemeFE/element
190 | [4]: https://github.com/stefanpenner/es6-promise
191 | [5]: https://github.com/toxichl/vue-typescript-template
192 | [6]: http://element.eleme.io/#/en-US/component/custom-theme
193 | [7]: http://static.zybuluo.com/a472590061/jg8g8a6392ppmohabnoh7qii/image_1b92frkkv1g7h7fo1pd41kp31k55m.png
194 | [8]: http://static.zybuluo.com/a472590061/6oweqbrqjvfm221l3b64ny81/image_1b92fv4b81jr56i5o5l4o0h4r1g.png
195 | [9]: http://static.zybuluo.com/a472590061/64vc46bkcp3yaayxf6oimqtw/image_1b92fs857n5d9k2car8did0g13.png
196 | [10]: https://github.com/DefinitelyTyped/DefinitelyTyped
197 | [11]: https://github.com/typings/typings
198 | [12]: http://static.zybuluo.com/a472590061/crvbo8k38quhhywmn1j8pcz9/image_1b92hf66j18vo1ic71tcbcp1iac1t.png
199 | [13]: https://www.tslang.cn/docs/handbook/triple-slash-directives.html
200 | [14]: https://www.tslang.cn/docs/handbook/module-resolution.html
201 | [15]: https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
--------------------------------------------------------------------------------
/theme/option-group.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-select-group{
92 | margin: 0;
93 | padding: 0
94 | }
95 |
96 | .el-select-group .el-select-dropdown__item{
97 | padding-left: 20px
98 | }
99 |
100 | .el-select-group__wrap{
101 | list-style: none;
102 | margin: 0;
103 | padding: 0
104 | }
105 |
106 | .el-select-group__title{
107 | padding-left: 10px;
108 | font-size: 12px;
109 | color: #999;
110 | height: 30px;
111 | line-height: 30px
112 | }
113 | :root{
114 | /* Transition
115 | -------------------------- */
116 | /* Colors
117 | -------------------------- */
118 | /* Link
119 | -------------------------- */
120 | /* Border
121 | -------------------------- */
122 | /* Box-shadow
123 | -------------------------- */
124 | /* Fill
125 | -------------------------- */
126 | /* Font
127 | -------------------------- */
128 | /* Size
129 | -------------------------- */
130 | /* z-index
131 | -------------------------- */
132 | /* Disable base
133 | -------------------------- */
134 | /* Icon
135 | -------------------------- */
136 | /* Checkbox
137 | -------------------------- */
138 | /* Radio
139 | -------------------------- */
140 | /* Select
141 | -------------------------- */
142 | /* Alert
143 | -------------------------- */
144 | /* Message Box
145 | -------------------------- */
146 | /* Message
147 | -------------------------- */
148 | /* Notification
149 | -------------------------- */
150 | /* Input
151 | -------------------------- */
152 | /* Cascader
153 | -------------------------- */
154 | /* Group
155 | -------------------------- */
156 | /* Tab
157 | -------------------------- */
158 | /* Button
159 | -------------------------- */
160 | /* cascader
161 | -------------------------- */
162 | /* Switch
163 | -------------------------- */
164 | /* Dialog
165 | -------------------------- */
166 | /* Table
167 | -------------------------- */
168 | /* Pagination
169 | -------------------------- */
170 | /* Popover
171 | -------------------------- */
172 | /* Tooltip
173 | -------------------------- */
174 | /* Tag
175 | -------------------------- */
176 | /* Dropdown
177 | -------------------------- */
178 | /* Badge
179 | -------------------------- */
180 | /* Card
181 | --------------------------*/
182 | /* Slider
183 | --------------------------*/
184 | /* Steps
185 | --------------------------*/
186 | /* Menu
187 | --------------------------*/
188 | /* Rate
189 | --------------------------*/
190 | /* DatePicker
191 | --------------------------*/
192 | /* Loading
193 | --------------------------*/
194 | /* Scrollbar
195 | --------------------------*/
196 | /* Carousel
197 | --------------------------*/
198 | /* Collapse
199 | --------------------------*/
200 | }
--------------------------------------------------------------------------------
/theme/card.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-card{
92 | border: 1px solid rgb(209, 219, 229);
93 | border-radius: 4px;
94 | background-color: #fff;
95 | overflow: hidden;
96 | box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, .12),
97 | 0px 0px 6px 0px rgba(0, 0, 0, .04)
98 | }
99 |
100 | .el-card__header{
101 | padding: 18px 20px;
102 | border-bottom: 1px solid rgb(209, 219, 229);
103 | box-sizing: border-box
104 | }
105 |
106 | .el-card__body{
107 | padding: 20px
108 | }
109 | :root{
110 | /* Transition
111 | -------------------------- */
112 | /* Colors
113 | -------------------------- */
114 | /* Link
115 | -------------------------- */
116 | /* Border
117 | -------------------------- */
118 | /* Box-shadow
119 | -------------------------- */
120 | /* Fill
121 | -------------------------- */
122 | /* Font
123 | -------------------------- */
124 | /* Size
125 | -------------------------- */
126 | /* z-index
127 | -------------------------- */
128 | /* Disable base
129 | -------------------------- */
130 | /* Icon
131 | -------------------------- */
132 | /* Checkbox
133 | -------------------------- */
134 | /* Radio
135 | -------------------------- */
136 | /* Select
137 | -------------------------- */
138 | /* Alert
139 | -------------------------- */
140 | /* Message Box
141 | -------------------------- */
142 | /* Message
143 | -------------------------- */
144 | /* Notification
145 | -------------------------- */
146 | /* Input
147 | -------------------------- */
148 | /* Cascader
149 | -------------------------- */
150 | /* Group
151 | -------------------------- */
152 | /* Tab
153 | -------------------------- */
154 | /* Button
155 | -------------------------- */
156 | /* cascader
157 | -------------------------- */
158 | /* Switch
159 | -------------------------- */
160 | /* Dialog
161 | -------------------------- */
162 | /* Table
163 | -------------------------- */
164 | /* Pagination
165 | -------------------------- */
166 | /* Popover
167 | -------------------------- */
168 | /* Tooltip
169 | -------------------------- */
170 | /* Tag
171 | -------------------------- */
172 | /* Dropdown
173 | -------------------------- */
174 | /* Badge
175 | -------------------------- */
176 | /* Card
177 | --------------------------*/
178 | /* Slider
179 | --------------------------*/
180 | /* Steps
181 | --------------------------*/
182 | /* Menu
183 | --------------------------*/
184 | /* Rate
185 | --------------------------*/
186 | /* DatePicker
187 | --------------------------*/
188 | /* Loading
189 | --------------------------*/
190 | /* Scrollbar
191 | --------------------------*/
192 | /* Carousel
193 | --------------------------*/
194 | /* Collapse
195 | --------------------------*/
196 | }
--------------------------------------------------------------------------------
/theme/icon.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'element-icons';
3 | src: url('fonts/element-icons.eot?t=1472440741'); /* IE9*/
4 | src: url('fonts/element-icons.woff?t=1472440741') format('woff'), /* chrome, firefox */
5 | url('fonts/element-icons.ttf?t=1472440741') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
6 | url('fonts/element-icons.svg?t=1472440741#el-icon') format('svg'); /* iOS 4.1- */
7 | font-weight: 400;
8 | font-style: normal;
9 | }
10 |
11 | [class^="el-icon-"], [class*=" el-icon-"] {
12 | /* use !important to prevent issues with browser extensions that change fonts */
13 | font-family: 'element-icons' !important;
14 | speak: none;
15 | font-style: normal;
16 | font-weight: 400;
17 | font-variant: normal;
18 | text-transform: none;
19 | line-height: 1;
20 | vertical-align: baseline;
21 | display: inline-block;
22 |
23 | /* Better Font Rendering =========== */
24 | -webkit-font-smoothing: antialiased;
25 | -moz-osx-font-smoothing: grayscale;
26 | }
27 |
28 | .el-icon-arrow-down:before { content: "\e600"; }
29 | .el-icon-arrow-left:before { content: "\e601"; }
30 | .el-icon-arrow-right:before { content: "\e602"; }
31 | .el-icon-arrow-up:before { content: "\e603"; }
32 | .el-icon-caret-bottom:before { content: "\e604"; }
33 | .el-icon-caret-left:before { content: "\e605"; }
34 | .el-icon-caret-right:before { content: "\e606"; }
35 | .el-icon-caret-top:before { content: "\e607"; }
36 | .el-icon-check:before { content: "\e608"; }
37 | .el-icon-circle-check:before { content: "\e609"; }
38 | .el-icon-circle-close:before { content: "\e60a"; }
39 | .el-icon-circle-cross:before { content: "\e60b"; }
40 | .el-icon-close:before { content: "\e60c"; }
41 | .el-icon-upload:before { content: "\e60d"; }
42 | .el-icon-d-arrow-left:before { content: "\e60e"; }
43 | .el-icon-d-arrow-right:before { content: "\e60f"; }
44 | .el-icon-d-caret:before { content: "\e610"; }
45 | .el-icon-date:before { content: "\e611"; }
46 | .el-icon-delete:before { content: "\e612"; }
47 | .el-icon-document:before { content: "\e613"; }
48 | .el-icon-edit:before { content: "\e614"; }
49 | .el-icon-information:before { content: "\e615"; }
50 | .el-icon-loading:before { content: "\e616"; }
51 | .el-icon-menu:before { content: "\e617"; }
52 | .el-icon-message:before { content: "\e618"; }
53 | .el-icon-minus:before { content: "\e619"; }
54 | .el-icon-more:before { content: "\e61a"; }
55 | .el-icon-picture:before { content: "\e61b"; }
56 | .el-icon-plus:before { content: "\e61c"; }
57 | .el-icon-search:before { content: "\e61d"; }
58 | .el-icon-setting:before { content: "\e61e"; }
59 | .el-icon-share:before { content: "\e61f"; }
60 | .el-icon-star-off:before { content: "\e620"; }
61 | .el-icon-star-on:before { content: "\e621"; }
62 | .el-icon-time:before { content: "\e622"; }
63 | .el-icon-warning:before { content: "\e623"; }
64 | .el-icon-delete2:before { content: "\e624"; }
65 | .el-icon-upload2:before { content: "\e627"; }
66 | .el-icon-view:before { content: "\e626"; }
67 |
68 | .el-icon-loading {
69 | animation: rotating 1s linear infinite;
70 | }
71 |
72 | .el-icon--right {
73 | margin-left: 5px;
74 | }
75 | .el-icon--left {
76 | margin-right: 5px;
77 | }
78 |
79 | @keyframes rotating {
80 | 0% {
81 | transform: rotateZ(0deg);
82 | }
83 | 100% {
84 | transform: rotateZ(360deg);
85 | }
86 | }
87 | :root { /* Transition
88 | -------------------------- */ /* Colors
89 | -------------------------- */ /* Link
90 | -------------------------- */ /* Border
91 | -------------------------- */ /* Box-shadow
92 | -------------------------- */ /* Fill
93 | -------------------------- */ /* Font
94 | -------------------------- */ /* Size
95 | -------------------------- */ /* z-index
96 | -------------------------- */ /* Disable base
97 | -------------------------- */ /* Icon
98 | -------------------------- */ /* Checkbox
99 | -------------------------- */ /* Radio
100 | -------------------------- */ /* Select
101 | -------------------------- */ /* Alert
102 | -------------------------- */ /* Message Box
103 | -------------------------- */ /* Message
104 | -------------------------- */ /* Notification
105 | -------------------------- */ /* Input
106 | -------------------------- */ /* Cascader
107 | -------------------------- */ /* Group
108 | -------------------------- */ /* Tab
109 | -------------------------- */ /* Button
110 | -------------------------- */ /* cascader
111 | -------------------------- */ /* Switch
112 | -------------------------- */ /* Dialog
113 | -------------------------- */ /* Table
114 | -------------------------- */ /* Pagination
115 | -------------------------- */ /* Popover
116 | -------------------------- */ /* Tooltip
117 | -------------------------- */ /* Tag
118 | -------------------------- */ /* Dropdown
119 | -------------------------- */ /* Badge
120 | -------------------------- */ /* Card
121 | --------------------------*/ /* Slider
122 | --------------------------*/ /* Steps
123 | --------------------------*/ /* Menu
124 | --------------------------*/ /* Rate
125 | --------------------------*/ /* DatePicker
126 | --------------------------*/ /* Loading
127 | --------------------------*/ /* Scrollbar
128 | --------------------------*/ /* Carousel
129 | --------------------------*/ /* Collapse
130 | --------------------------*/
131 | }
--------------------------------------------------------------------------------
/theme/spinner.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-time-spinner{
92 | width: 100%;
93 | white-space: nowrap;
94 | }
95 |
96 | .el-spinner{
97 | display: inline-block;
98 | vertical-align: middle;
99 | }
100 |
101 | .el-spinner-inner{
102 | animation: rotate 2s linear infinite;
103 | width: 50px;
104 | height: 50px;
105 | }
106 |
107 | .el-spinner-inner .path{
108 | stroke: #ececec;
109 | stroke-linecap: round;
110 | animation: dash 1.5s ease-in-out infinite;
111 | }
112 | @keyframes rotate {
113 | 100% {
114 | transform: rotate(360deg);
115 | }
116 | }
117 |
118 | @keyframes dash {
119 | 0% {
120 | stroke-dasharray: 1, 150;
121 | stroke-dashoffset: 0;
122 | }
123 | 50% {
124 | stroke-dasharray: 90, 150;
125 | stroke-dashoffset: -35;
126 | }
127 | 100% {
128 | stroke-dasharray: 90, 150;
129 | stroke-dashoffset: -124;
130 | }
131 | }
132 | :root{
133 | /* Transition
134 | -------------------------- */
135 | /* Colors
136 | -------------------------- */
137 | /* Link
138 | -------------------------- */
139 | /* Border
140 | -------------------------- */
141 | /* Box-shadow
142 | -------------------------- */
143 | /* Fill
144 | -------------------------- */
145 | /* Font
146 | -------------------------- */
147 | /* Size
148 | -------------------------- */
149 | /* z-index
150 | -------------------------- */
151 | /* Disable base
152 | -------------------------- */
153 | /* Icon
154 | -------------------------- */
155 | /* Checkbox
156 | -------------------------- */
157 | /* Radio
158 | -------------------------- */
159 | /* Select
160 | -------------------------- */
161 | /* Alert
162 | -------------------------- */
163 | /* Message Box
164 | -------------------------- */
165 | /* Message
166 | -------------------------- */
167 | /* Notification
168 | -------------------------- */
169 | /* Input
170 | -------------------------- */
171 | /* Cascader
172 | -------------------------- */
173 | /* Group
174 | -------------------------- */
175 | /* Tab
176 | -------------------------- */
177 | /* Button
178 | -------------------------- */
179 | /* cascader
180 | -------------------------- */
181 | /* Switch
182 | -------------------------- */
183 | /* Dialog
184 | -------------------------- */
185 | /* Table
186 | -------------------------- */
187 | /* Pagination
188 | -------------------------- */
189 | /* Popover
190 | -------------------------- */
191 | /* Tooltip
192 | -------------------------- */
193 | /* Tag
194 | -------------------------- */
195 | /* Dropdown
196 | -------------------------- */
197 | /* Badge
198 | -------------------------- */
199 | /* Card
200 | --------------------------*/
201 | /* Slider
202 | --------------------------*/
203 | /* Steps
204 | --------------------------*/
205 | /* Menu
206 | --------------------------*/
207 | /* Rate
208 | --------------------------*/
209 | /* DatePicker
210 | --------------------------*/
211 | /* Loading
212 | --------------------------*/
213 | /* Scrollbar
214 | --------------------------*/
215 | /* Carousel
216 | --------------------------*/
217 | /* Collapse
218 | --------------------------*/
219 | }
--------------------------------------------------------------------------------
/theme/badge.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-badge{
92 | position: relative;
93 | vertical-align: middle;
94 | display: inline-block
95 | }
96 |
97 | .el-badge__content{
98 | background-color: #ff4949;
99 | border-radius: 10px;
100 | color: #fff;
101 | display: inline-block;
102 | font-size: 12px;
103 | height: 18px;
104 | line-height: 18px;
105 | padding: 0 6px;
106 | text-align: center;
107 | white-space: nowrap;
108 | border: 1px solid #fff
109 | }
110 |
111 | .el-badge__content.is-dot{
112 | width: 8px;
113 | height: 8px;
114 | padding: 0;
115 | right: 0;
116 | border-radius: 50%
117 | }
118 |
119 | .el-badge__content.is-fixed{
120 | top: 0;
121 | right: 10px;
122 | position: absolute;
123 | transform: translateY(-50%) translateX(100%)
124 | }
125 |
126 | .el-badge__content.is-fixed.is-dot{
127 | right: 5px
128 | }
129 | :root{
130 | /* Transition
131 | -------------------------- */
132 | /* Colors
133 | -------------------------- */
134 | /* Link
135 | -------------------------- */
136 | /* Border
137 | -------------------------- */
138 | /* Box-shadow
139 | -------------------------- */
140 | /* Fill
141 | -------------------------- */
142 | /* Font
143 | -------------------------- */
144 | /* Size
145 | -------------------------- */
146 | /* z-index
147 | -------------------------- */
148 | /* Disable base
149 | -------------------------- */
150 | /* Icon
151 | -------------------------- */
152 | /* Checkbox
153 | -------------------------- */
154 | /* Radio
155 | -------------------------- */
156 | /* Select
157 | -------------------------- */
158 | /* Alert
159 | -------------------------- */
160 | /* Message Box
161 | -------------------------- */
162 | /* Message
163 | -------------------------- */
164 | /* Notification
165 | -------------------------- */
166 | /* Input
167 | -------------------------- */
168 | /* Cascader
169 | -------------------------- */
170 | /* Group
171 | -------------------------- */
172 | /* Tab
173 | -------------------------- */
174 | /* Button
175 | -------------------------- */
176 | /* cascader
177 | -------------------------- */
178 | /* Switch
179 | -------------------------- */
180 | /* Dialog
181 | -------------------------- */
182 | /* Table
183 | -------------------------- */
184 | /* Pagination
185 | -------------------------- */
186 | /* Popover
187 | -------------------------- */
188 | /* Tooltip
189 | -------------------------- */
190 | /* Tag
191 | -------------------------- */
192 | /* Dropdown
193 | -------------------------- */
194 | /* Badge
195 | -------------------------- */
196 | /* Card
197 | --------------------------*/
198 | /* Slider
199 | --------------------------*/
200 | /* Steps
201 | --------------------------*/
202 | /* Menu
203 | --------------------------*/
204 | /* Rate
205 | --------------------------*/
206 | /* DatePicker
207 | --------------------------*/
208 | /* Loading
209 | --------------------------*/
210 | /* Scrollbar
211 | --------------------------*/
212 | /* Carousel
213 | --------------------------*/
214 | /* Collapse
215 | --------------------------*/
216 | }
--------------------------------------------------------------------------------
/theme/rate.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-rate{
92 | height: 20px;
93 | line-height: 1;
94 | }
95 |
96 | .el-rate__item{
97 | display: inline-block;
98 | position: relative;
99 | font-size: 0;
100 | vertical-align: middle;
101 | }
102 |
103 | .el-rate__icon{
104 | position: relative;
105 | display: inline-block;
106 | font-size: 18px;
107 | margin-right: 6px;
108 | color: rgb(191, 203, 217);
109 | transition: .3s;
110 | }
111 |
112 | .el-rate__icon .path2 {
113 | position: absolute;
114 | left: 0;
115 | top: 0;
116 | }
117 |
118 | .el-rate__icon.hover{
119 | transform: scale(1.15);
120 | }
121 |
122 | .el-rate__decimal{
123 | position: absolute;
124 | top: 0;
125 | left: 0;
126 | display: inline-block;
127 | overflow: hidden;
128 | }
129 |
130 | .el-rate__text{
131 | font-size: 14px;
132 | vertical-align: middle;
133 | }
134 | :root{
135 | /* Transition
136 | -------------------------- */
137 | /* Colors
138 | -------------------------- */
139 | /* Link
140 | -------------------------- */
141 | /* Border
142 | -------------------------- */
143 | /* Box-shadow
144 | -------------------------- */
145 | /* Fill
146 | -------------------------- */
147 | /* Font
148 | -------------------------- */
149 | /* Size
150 | -------------------------- */
151 | /* z-index
152 | -------------------------- */
153 | /* Disable base
154 | -------------------------- */
155 | /* Icon
156 | -------------------------- */
157 | /* Checkbox
158 | -------------------------- */
159 | /* Radio
160 | -------------------------- */
161 | /* Select
162 | -------------------------- */
163 | /* Alert
164 | -------------------------- */
165 | /* Message Box
166 | -------------------------- */
167 | /* Message
168 | -------------------------- */
169 | /* Notification
170 | -------------------------- */
171 | /* Input
172 | -------------------------- */
173 | /* Cascader
174 | -------------------------- */
175 | /* Group
176 | -------------------------- */
177 | /* Tab
178 | -------------------------- */
179 | /* Button
180 | -------------------------- */
181 | /* cascader
182 | -------------------------- */
183 | /* Switch
184 | -------------------------- */
185 | /* Dialog
186 | -------------------------- */
187 | /* Table
188 | -------------------------- */
189 | /* Pagination
190 | -------------------------- */
191 | /* Popover
192 | -------------------------- */
193 | /* Tooltip
194 | -------------------------- */
195 | /* Tag
196 | -------------------------- */
197 | /* Dropdown
198 | -------------------------- */
199 | /* Badge
200 | -------------------------- */
201 | /* Card
202 | --------------------------*/
203 | /* Slider
204 | --------------------------*/
205 | /* Steps
206 | --------------------------*/
207 | /* Menu
208 | --------------------------*/
209 | /* Rate
210 | --------------------------*/
211 | /* DatePicker
212 | --------------------------*/
213 | /* Loading
214 | --------------------------*/
215 | /* Scrollbar
216 | --------------------------*/
217 | /* Carousel
218 | --------------------------*/
219 | /* Collapse
220 | --------------------------*/
221 | }
--------------------------------------------------------------------------------
/theme/carousel-item.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-carousel{}
92 |
93 | .el-carousel__item{
94 | position: absolute;
95 | top: 0;
96 | left: 0;
97 | width: 100%;
98 | height: 100%;
99 | display: inline-block;
100 | transition: .4s ease-in-out;
101 | overflow: hidden
102 | }
103 |
104 | .el-carousel__item--card{
105 | width: 50%;
106 | z-index: 0
107 | }
108 |
109 | .el-carousel__item--card.is-in-stage{
110 | cursor: pointer;
111 | z-index: 1
112 | }
113 |
114 | .el-carousel__item--card.is-in-stage:hover .el-carousel__mask, .el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask{
115 | opacity: 0.12
116 | }
117 |
118 | .el-carousel__item--card.is-active{
119 | z-index: 2
120 | }
121 |
122 | .el-carousel__mask{
123 | position: absolute;
124 | width: 100%;
125 | height: 100%;
126 | top: 0;
127 | left: 0;
128 | background-color: #fff;
129 | opacity: 0.24;
130 | transition: .2s
131 | }:root{
132 | /* Transition
133 | -------------------------- */
134 | /* Colors
135 | -------------------------- */
136 | /* Link
137 | -------------------------- */
138 | /* Border
139 | -------------------------- */
140 | /* Box-shadow
141 | -------------------------- */
142 | /* Fill
143 | -------------------------- */
144 | /* Font
145 | -------------------------- */
146 | /* Size
147 | -------------------------- */
148 | /* z-index
149 | -------------------------- */
150 | /* Disable base
151 | -------------------------- */
152 | /* Icon
153 | -------------------------- */
154 | /* Checkbox
155 | -------------------------- */
156 | /* Radio
157 | -------------------------- */
158 | /* Select
159 | -------------------------- */
160 | /* Alert
161 | -------------------------- */
162 | /* Message Box
163 | -------------------------- */
164 | /* Message
165 | -------------------------- */
166 | /* Notification
167 | -------------------------- */
168 | /* Input
169 | -------------------------- */
170 | /* Cascader
171 | -------------------------- */
172 | /* Group
173 | -------------------------- */
174 | /* Tab
175 | -------------------------- */
176 | /* Button
177 | -------------------------- */
178 | /* cascader
179 | -------------------------- */
180 | /* Switch
181 | -------------------------- */
182 | /* Dialog
183 | -------------------------- */
184 | /* Table
185 | -------------------------- */
186 | /* Pagination
187 | -------------------------- */
188 | /* Popover
189 | -------------------------- */
190 | /* Tooltip
191 | -------------------------- */
192 | /* Tag
193 | -------------------------- */
194 | /* Dropdown
195 | -------------------------- */
196 | /* Badge
197 | -------------------------- */
198 | /* Card
199 | --------------------------*/
200 | /* Slider
201 | --------------------------*/
202 | /* Steps
203 | --------------------------*/
204 | /* Menu
205 | --------------------------*/
206 | /* Rate
207 | --------------------------*/
208 | /* DatePicker
209 | --------------------------*/
210 | /* Loading
211 | --------------------------*/
212 | /* Scrollbar
213 | --------------------------*/
214 | /* Carousel
215 | --------------------------*/
216 | /* Collapse
217 | --------------------------*/
218 | }
--------------------------------------------------------------------------------
/theme/option.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-select-dropdown{}
92 |
93 | .el-select-dropdown__item{
94 | font-size: 14px;
95 | padding: 8px 10px;
96 | position: relative;
97 | white-space: nowrap;
98 | overflow: hidden;
99 | text-overflow: ellipsis;
100 | color: rgb(72, 87, 106);
101 | height: 36px;
102 | line-height: 1.5;
103 | box-sizing: border-box;
104 | cursor: pointer
105 | }
106 |
107 | .el-select-dropdown__item.hover{
108 | background-color: rgb(228, 232, 241)
109 | }
110 |
111 | .el-select-dropdown__item.selected{
112 | color: #fff;
113 | background-color: #20a0ff
114 | }
115 |
116 | .el-select-dropdown__item.selected.hover{
117 | background-color: rgb(28, 141, 224)
118 | }
119 |
120 | .el-select-dropdown__item span{
121 | line-height: 1.5 !important
122 | }
123 |
124 | .el-select-dropdown__item.is-disabled{
125 | color: rgb(191, 203, 217);
126 | cursor: not-allowed
127 | }
128 |
129 | .el-select-dropdown__item.is-disabled:hover{
130 | background-color: #fff
131 | }
132 | :root{
133 | /* Transition
134 | -------------------------- */
135 | /* Colors
136 | -------------------------- */
137 | /* Link
138 | -------------------------- */
139 | /* Border
140 | -------------------------- */
141 | /* Box-shadow
142 | -------------------------- */
143 | /* Fill
144 | -------------------------- */
145 | /* Font
146 | -------------------------- */
147 | /* Size
148 | -------------------------- */
149 | /* z-index
150 | -------------------------- */
151 | /* Disable base
152 | -------------------------- */
153 | /* Icon
154 | -------------------------- */
155 | /* Checkbox
156 | -------------------------- */
157 | /* Radio
158 | -------------------------- */
159 | /* Select
160 | -------------------------- */
161 | /* Alert
162 | -------------------------- */
163 | /* Message Box
164 | -------------------------- */
165 | /* Message
166 | -------------------------- */
167 | /* Notification
168 | -------------------------- */
169 | /* Input
170 | -------------------------- */
171 | /* Cascader
172 | -------------------------- */
173 | /* Group
174 | -------------------------- */
175 | /* Tab
176 | -------------------------- */
177 | /* Button
178 | -------------------------- */
179 | /* cascader
180 | -------------------------- */
181 | /* Switch
182 | -------------------------- */
183 | /* Dialog
184 | -------------------------- */
185 | /* Table
186 | -------------------------- */
187 | /* Pagination
188 | -------------------------- */
189 | /* Popover
190 | -------------------------- */
191 | /* Tooltip
192 | -------------------------- */
193 | /* Tag
194 | -------------------------- */
195 | /* Dropdown
196 | -------------------------- */
197 | /* Badge
198 | -------------------------- */
199 | /* Card
200 | --------------------------*/
201 | /* Slider
202 | --------------------------*/
203 | /* Steps
204 | --------------------------*/
205 | /* Menu
206 | --------------------------*/
207 | /* Rate
208 | --------------------------*/
209 | /* DatePicker
210 | --------------------------*/
211 | /* Loading
212 | --------------------------*/
213 | /* Scrollbar
214 | --------------------------*/
215 | /* Carousel
216 | --------------------------*/
217 | /* Collapse
218 | --------------------------*/
219 | }
--------------------------------------------------------------------------------
/theme/row.css:
--------------------------------------------------------------------------------
1 | .el-row:before, .el-row:after{
2 | display: table;
3 | content: ""
4 | }
5 | .el-row:after{
6 | clear: both
7 | }@charset "UTF-8";
8 | :root{
9 | /* Transition
10 | -------------------------- */
11 | /* Colors
12 | -------------------------- */
13 | /* Link
14 | -------------------------- */
15 | /* Border
16 | -------------------------- */
17 | /* Box-shadow
18 | -------------------------- */
19 | /* Fill
20 | -------------------------- */
21 | /* Font
22 | -------------------------- */
23 | /* Size
24 | -------------------------- */
25 | /* z-index
26 | -------------------------- */
27 | /* Disable base
28 | -------------------------- */
29 | /* Icon
30 | -------------------------- */
31 | /* Checkbox
32 | -------------------------- */
33 | /* Radio
34 | -------------------------- */
35 | /* Select
36 | -------------------------- */
37 | /* Alert
38 | -------------------------- */
39 | /* Message Box
40 | -------------------------- */
41 | /* Message
42 | -------------------------- */
43 | /* Notification
44 | -------------------------- */
45 | /* Input
46 | -------------------------- */
47 | /* Cascader
48 | -------------------------- */
49 | /* Group
50 | -------------------------- */
51 | /* Tab
52 | -------------------------- */
53 | /* Button
54 | -------------------------- */
55 | /* cascader
56 | -------------------------- */
57 | /* Switch
58 | -------------------------- */
59 | /* Dialog
60 | -------------------------- */
61 | /* Table
62 | -------------------------- */
63 | /* Pagination
64 | -------------------------- */
65 | /* Popover
66 | -------------------------- */
67 | /* Tooltip
68 | -------------------------- */
69 | /* Tag
70 | -------------------------- */
71 | /* Dropdown
72 | -------------------------- */
73 | /* Badge
74 | -------------------------- */
75 | /* Card
76 | --------------------------*/
77 | /* Slider
78 | --------------------------*/
79 | /* Steps
80 | --------------------------*/
81 | /* Menu
82 | --------------------------*/
83 | /* Rate
84 | --------------------------*/
85 | /* DatePicker
86 | --------------------------*/
87 | /* Loading
88 | --------------------------*/
89 | /* Scrollbar
90 | --------------------------*/
91 | /* Carousel
92 | --------------------------*/
93 | /* Collapse
94 | --------------------------*/
95 | }
96 |
97 | .el-row{
98 | position: relative;
99 | box-sizing: border-box
100 | }
101 |
102 | .el-row--flex{
103 | display: -ms-flexbox;
104 | display: flex
105 | }
106 |
107 | .el-row--flex:before, .el-row--flex:after{
108 | display: none
109 | }
110 |
111 | .el-row--flex.is-align-bottom{
112 | -ms-flex-align: end;
113 | align-items: flex-end
114 | }
115 |
116 | .el-row--flex.is-align-middle{
117 | -ms-flex-align: center;
118 | align-items: center
119 | }
120 |
121 | .el-row--flex.is-justify-space-around{
122 | -ms-flex-pack: distribute;
123 | justify-content: space-around
124 | }
125 |
126 | .el-row--flex.is-justify-space-between{
127 | -ms-flex-pack: justify;
128 | justify-content: space-between
129 | }
130 |
131 | .el-row--flex.is-justify-end{
132 | -ms-flex-pack: end;
133 | justify-content: flex-end
134 | }
135 |
136 | .el-row--flex.is-justify-center{
137 | -ms-flex-pack: center;
138 | justify-content: center
139 | }
140 | :root{
141 | /* Transition
142 | -------------------------- */
143 | /* Colors
144 | -------------------------- */
145 | /* Link
146 | -------------------------- */
147 | /* Border
148 | -------------------------- */
149 | /* Box-shadow
150 | -------------------------- */
151 | /* Fill
152 | -------------------------- */
153 | /* Font
154 | -------------------------- */
155 | /* Size
156 | -------------------------- */
157 | /* z-index
158 | -------------------------- */
159 | /* Disable base
160 | -------------------------- */
161 | /* Icon
162 | -------------------------- */
163 | /* Checkbox
164 | -------------------------- */
165 | /* Radio
166 | -------------------------- */
167 | /* Select
168 | -------------------------- */
169 | /* Alert
170 | -------------------------- */
171 | /* Message Box
172 | -------------------------- */
173 | /* Message
174 | -------------------------- */
175 | /* Notification
176 | -------------------------- */
177 | /* Input
178 | -------------------------- */
179 | /* Cascader
180 | -------------------------- */
181 | /* Group
182 | -------------------------- */
183 | /* Tab
184 | -------------------------- */
185 | /* Button
186 | -------------------------- */
187 | /* cascader
188 | -------------------------- */
189 | /* Switch
190 | -------------------------- */
191 | /* Dialog
192 | -------------------------- */
193 | /* Table
194 | -------------------------- */
195 | /* Pagination
196 | -------------------------- */
197 | /* Popover
198 | -------------------------- */
199 | /* Tooltip
200 | -------------------------- */
201 | /* Tag
202 | -------------------------- */
203 | /* Dropdown
204 | -------------------------- */
205 | /* Badge
206 | -------------------------- */
207 | /* Card
208 | --------------------------*/
209 | /* Slider
210 | --------------------------*/
211 | /* Steps
212 | --------------------------*/
213 | /* Menu
214 | --------------------------*/
215 | /* Rate
216 | --------------------------*/
217 | /* DatePicker
218 | --------------------------*/
219 | /* Loading
220 | --------------------------*/
221 | /* Scrollbar
222 | --------------------------*/
223 | /* Carousel
224 | --------------------------*/
225 | /* Collapse
226 | --------------------------*/
227 | }
--------------------------------------------------------------------------------
/theme/collapse.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-collapse{
92 | border: 1px solid rgb(223, 230, 236);
93 | border-radius: 0;
94 | }
95 |
96 | .el-collapse-item{}
97 |
98 | .el-collapse-item:last-child{
99 | margin-bottom: -1px;
100 | }
101 |
102 | .el-collapse-item.is-active .el-collapse-item__header__arrow{
103 | transform: rotate(90deg);
104 | }
105 |
106 | .el-collapse-item__header{
107 | height: 43px;
108 | line-height: 43px;
109 | padding-left: 15px;
110 | background-color: #fff;
111 | color: rgb(72, 87, 106);
112 | cursor: pointer;
113 | border-bottom: 1px solid rgb(223, 230, 236);
114 | font-size: 13px;
115 | }
116 |
117 | .el-collapse-item__header__arrow{
118 | margin-right: 8px;
119 | transition: transform .3s;
120 | }
121 |
122 | .el-collapse-item__wrap{
123 | will-change: height;
124 | background-color: rgb(251, 253, 255);
125 | overflow: hidden;
126 | box-sizing: border-box;
127 | border-bottom: 1px solid rgb(223, 230, 236);
128 | }
129 |
130 | .el-collapse-item__content{
131 | padding: 10px 15px;
132 | font-size: 13px;
133 | color: rgb(31, 45, 61);
134 | line-height: 1.769230769230769;
135 | }
136 | :root{
137 | /* Transition
138 | -------------------------- */
139 | /* Colors
140 | -------------------------- */
141 | /* Link
142 | -------------------------- */
143 | /* Border
144 | -------------------------- */
145 | /* Box-shadow
146 | -------------------------- */
147 | /* Fill
148 | -------------------------- */
149 | /* Font
150 | -------------------------- */
151 | /* Size
152 | -------------------------- */
153 | /* z-index
154 | -------------------------- */
155 | /* Disable base
156 | -------------------------- */
157 | /* Icon
158 | -------------------------- */
159 | /* Checkbox
160 | -------------------------- */
161 | /* Radio
162 | -------------------------- */
163 | /* Select
164 | -------------------------- */
165 | /* Alert
166 | -------------------------- */
167 | /* Message Box
168 | -------------------------- */
169 | /* Message
170 | -------------------------- */
171 | /* Notification
172 | -------------------------- */
173 | /* Input
174 | -------------------------- */
175 | /* Cascader
176 | -------------------------- */
177 | /* Group
178 | -------------------------- */
179 | /* Tab
180 | -------------------------- */
181 | /* Button
182 | -------------------------- */
183 | /* cascader
184 | -------------------------- */
185 | /* Switch
186 | -------------------------- */
187 | /* Dialog
188 | -------------------------- */
189 | /* Table
190 | -------------------------- */
191 | /* Pagination
192 | -------------------------- */
193 | /* Popover
194 | -------------------------- */
195 | /* Tooltip
196 | -------------------------- */
197 | /* Tag
198 | -------------------------- */
199 | /* Dropdown
200 | -------------------------- */
201 | /* Badge
202 | -------------------------- */
203 | /* Card
204 | --------------------------*/
205 | /* Slider
206 | --------------------------*/
207 | /* Steps
208 | --------------------------*/
209 | /* Menu
210 | --------------------------*/
211 | /* Rate
212 | --------------------------*/
213 | /* DatePicker
214 | --------------------------*/
215 | /* Loading
216 | --------------------------*/
217 | /* Scrollbar
218 | --------------------------*/
219 | /* Carousel
220 | --------------------------*/
221 | /* Collapse
222 | --------------------------*/
223 | }
--------------------------------------------------------------------------------
/theme/breadcrumb.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-breadcrumb{
92 | font-size: 13px;
93 | line-height: 1
94 | }
95 |
96 | .el-breadcrumb:before, .el-breadcrumb:after{
97 | display: table;
98 | content: ""
99 | }
100 |
101 | .el-breadcrumb:after{
102 | clear: both
103 | }
104 |
105 | .el-breadcrumb__separator{
106 | margin: 0 8px;
107 | color: rgb(191, 203, 217)
108 | }
109 |
110 | .el-breadcrumb__item{
111 | float: left
112 | }
113 |
114 | .el-breadcrumb__item:last-child .el-breadcrumb__item__inner, .el-breadcrumb__item:last-child .el-breadcrumb__item__inner a{}
115 |
116 | .el-breadcrumb__item:last-child .el-breadcrumb__item__inner, .el-breadcrumb__item:last-child .el-breadcrumb__item__inner:hover, .el-breadcrumb__item:last-child .el-breadcrumb__item__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__item__inner a:hover{
117 | color: rgb(151, 168, 190);
118 | cursor: text
119 | }
120 |
121 | .el-breadcrumb__item:last-child .el-breadcrumb__separator{
122 | display: none
123 | }
124 |
125 | .el-breadcrumb__item__inner{}
126 |
127 | .el-breadcrumb__item__inner, .el-breadcrumb__item__inner a{
128 | transition: color .15s linear;
129 | color: rgb(72, 87, 106)
130 | }
131 |
132 | .el-breadcrumb__item__inner:hover, .el-breadcrumb__item__inner a:hover{
133 | color: #20a0ff;
134 | cursor: pointer
135 | }
136 | :root{
137 | /* Transition
138 | -------------------------- */
139 | /* Colors
140 | -------------------------- */
141 | /* Link
142 | -------------------------- */
143 | /* Border
144 | -------------------------- */
145 | /* Box-shadow
146 | -------------------------- */
147 | /* Fill
148 | -------------------------- */
149 | /* Font
150 | -------------------------- */
151 | /* Size
152 | -------------------------- */
153 | /* z-index
154 | -------------------------- */
155 | /* Disable base
156 | -------------------------- */
157 | /* Icon
158 | -------------------------- */
159 | /* Checkbox
160 | -------------------------- */
161 | /* Radio
162 | -------------------------- */
163 | /* Select
164 | -------------------------- */
165 | /* Alert
166 | -------------------------- */
167 | /* Message Box
168 | -------------------------- */
169 | /* Message
170 | -------------------------- */
171 | /* Notification
172 | -------------------------- */
173 | /* Input
174 | -------------------------- */
175 | /* Cascader
176 | -------------------------- */
177 | /* Group
178 | -------------------------- */
179 | /* Tab
180 | -------------------------- */
181 | /* Button
182 | -------------------------- */
183 | /* cascader
184 | -------------------------- */
185 | /* Switch
186 | -------------------------- */
187 | /* Dialog
188 | -------------------------- */
189 | /* Table
190 | -------------------------- */
191 | /* Pagination
192 | -------------------------- */
193 | /* Popover
194 | -------------------------- */
195 | /* Tooltip
196 | -------------------------- */
197 | /* Tag
198 | -------------------------- */
199 | /* Dropdown
200 | -------------------------- */
201 | /* Badge
202 | -------------------------- */
203 | /* Card
204 | --------------------------*/
205 | /* Slider
206 | --------------------------*/
207 | /* Steps
208 | --------------------------*/
209 | /* Menu
210 | --------------------------*/
211 | /* Rate
212 | --------------------------*/
213 | /* DatePicker
214 | --------------------------*/
215 | /* Loading
216 | --------------------------*/
217 | /* Scrollbar
218 | --------------------------*/
219 | /* Carousel
220 | --------------------------*/
221 | /* Collapse
222 | --------------------------*/
223 | }
--------------------------------------------------------------------------------
/theme/scrollbar.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-scrollbar{
92 | overflow: hidden;
93 | position: relative;
94 | }
95 |
96 | .el-scrollbar:hover .el-scrollbar__bar, .el-scrollbar:active .el-scrollbar__bar, .el-scrollbar:focus .el-scrollbar__bar{
97 | opacity: 1;
98 | transition: opacity 340ms ease-out;
99 | }
100 |
101 | .el-scrollbar__wrap{
102 | overflow: scroll;
103 | }
104 |
105 | .el-scrollbar__wrap--hidden-default{}
106 |
107 | .el-scrollbar__wrap--hidden-default::-webkit-scrollbar{
108 | width: 0;
109 | height: 0;
110 | }
111 |
112 | .el-scrollbar__thumb{
113 | position: relative;
114 | display: block;
115 | width: 0;
116 | height: 0;
117 | cursor: pointer;
118 | border-radius: inherit;
119 | background-color: rgba(151, 168, 190, 0.3);
120 | transition: .3s background-color;
121 | }
122 |
123 | .el-scrollbar__thumb:hover{
124 | background-color: rgba(151, 168, 190, 0.5);
125 | }
126 |
127 | .el-scrollbar__bar{
128 | position: absolute;
129 | right: 2px;
130 | bottom: 2px;
131 | z-index: 1;
132 | border-radius: 4px;
133 | opacity: 0;
134 | transition: opacity 120ms ease-out;
135 | }
136 |
137 | .el-scrollbar__bar.is-horizontal{
138 | height: 6px;
139 | left: 2px;
140 | }
141 |
142 | .el-scrollbar__bar.is-horizontal > div{
143 | height: 100%;
144 | }
145 |
146 | .el-scrollbar__bar.is-vertical{
147 | width: 6px;
148 | top: 2px;
149 | }
150 |
151 | .el-scrollbar__bar.is-vertical > div{
152 | width: 100%;
153 | }
154 | :root{
155 | /* Transition
156 | -------------------------- */
157 | /* Colors
158 | -------------------------- */
159 | /* Link
160 | -------------------------- */
161 | /* Border
162 | -------------------------- */
163 | /* Box-shadow
164 | -------------------------- */
165 | /* Fill
166 | -------------------------- */
167 | /* Font
168 | -------------------------- */
169 | /* Size
170 | -------------------------- */
171 | /* z-index
172 | -------------------------- */
173 | /* Disable base
174 | -------------------------- */
175 | /* Icon
176 | -------------------------- */
177 | /* Checkbox
178 | -------------------------- */
179 | /* Radio
180 | -------------------------- */
181 | /* Select
182 | -------------------------- */
183 | /* Alert
184 | -------------------------- */
185 | /* Message Box
186 | -------------------------- */
187 | /* Message
188 | -------------------------- */
189 | /* Notification
190 | -------------------------- */
191 | /* Input
192 | -------------------------- */
193 | /* Cascader
194 | -------------------------- */
195 | /* Group
196 | -------------------------- */
197 | /* Tab
198 | -------------------------- */
199 | /* Button
200 | -------------------------- */
201 | /* cascader
202 | -------------------------- */
203 | /* Switch
204 | -------------------------- */
205 | /* Dialog
206 | -------------------------- */
207 | /* Table
208 | -------------------------- */
209 | /* Pagination
210 | -------------------------- */
211 | /* Popover
212 | -------------------------- */
213 | /* Tooltip
214 | -------------------------- */
215 | /* Tag
216 | -------------------------- */
217 | /* Dropdown
218 | -------------------------- */
219 | /* Badge
220 | -------------------------- */
221 | /* Card
222 | --------------------------*/
223 | /* Slider
224 | --------------------------*/
225 | /* Steps
226 | --------------------------*/
227 | /* Menu
228 | --------------------------*/
229 | /* Rate
230 | --------------------------*/
231 | /* DatePicker
232 | --------------------------*/
233 | /* Loading
234 | --------------------------*/
235 | /* Scrollbar
236 | --------------------------*/
237 | /* Carousel
238 | --------------------------*/
239 | /* Collapse
240 | --------------------------*/
241 | }
--------------------------------------------------------------------------------
/theme/select-dropdown.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-select-dropdown{
92 | position: absolute;
93 | z-index: 1001;
94 | border: solid 1px rgb(209, 219, 229);
95 | border-radius: 2px;
96 | background-color: #fff;
97 | box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
98 | box-sizing: border-box;
99 | margin: 5px 0;
100 | }
101 |
102 | .el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{
103 | padding: 0;
104 | }
105 |
106 | .el-select-dropdown.is-multiple{}
107 |
108 | .el-select-dropdown.is-multiple .el-select-dropdown__item.selected{
109 | color: #20a0ff;
110 | background-color: #fff;
111 | }
112 |
113 | .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{
114 | background-color: rgb(228, 232, 241);
115 | }
116 |
117 | .el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{
118 | position: absolute;
119 | right: 10px;
120 | font-family: 'element-icons';
121 | content: "\E608";
122 | font-size: 11px;
123 | -webkit-font-smoothing: antialiased;
124 | -moz-osx-font-smoothing: grayscale;
125 | }
126 |
127 | .el-select-dropdown__empty{
128 | padding: 10px 0;
129 | margin: 0;
130 | text-align: center;
131 | color: #999;
132 | font-size: 14px;
133 | }
134 |
135 | .el-select-dropdown__wrap{
136 | max-height: 274px;
137 | width: 100%;
138 | }
139 |
140 | .el-select-dropdown__list{
141 | list-style: none;
142 | padding: 6px 0;
143 | margin: 0;
144 | box-sizing: border-box;
145 | }
146 | :root{
147 | /* Transition
148 | -------------------------- */
149 | /* Colors
150 | -------------------------- */
151 | /* Link
152 | -------------------------- */
153 | /* Border
154 | -------------------------- */
155 | /* Box-shadow
156 | -------------------------- */
157 | /* Fill
158 | -------------------------- */
159 | /* Font
160 | -------------------------- */
161 | /* Size
162 | -------------------------- */
163 | /* z-index
164 | -------------------------- */
165 | /* Disable base
166 | -------------------------- */
167 | /* Icon
168 | -------------------------- */
169 | /* Checkbox
170 | -------------------------- */
171 | /* Radio
172 | -------------------------- */
173 | /* Select
174 | -------------------------- */
175 | /* Alert
176 | -------------------------- */
177 | /* Message Box
178 | -------------------------- */
179 | /* Message
180 | -------------------------- */
181 | /* Notification
182 | -------------------------- */
183 | /* Input
184 | -------------------------- */
185 | /* Cascader
186 | -------------------------- */
187 | /* Group
188 | -------------------------- */
189 | /* Tab
190 | -------------------------- */
191 | /* Button
192 | -------------------------- */
193 | /* cascader
194 | -------------------------- */
195 | /* Switch
196 | -------------------------- */
197 | /* Dialog
198 | -------------------------- */
199 | /* Table
200 | -------------------------- */
201 | /* Pagination
202 | -------------------------- */
203 | /* Popover
204 | -------------------------- */
205 | /* Tooltip
206 | -------------------------- */
207 | /* Tag
208 | -------------------------- */
209 | /* Dropdown
210 | -------------------------- */
211 | /* Badge
212 | -------------------------- */
213 | /* Card
214 | --------------------------*/
215 | /* Slider
216 | --------------------------*/
217 | /* Steps
218 | --------------------------*/
219 | /* Menu
220 | --------------------------*/
221 | /* Rate
222 | --------------------------*/
223 | /* DatePicker
224 | --------------------------*/
225 | /* Loading
226 | --------------------------*/
227 | /* Scrollbar
228 | --------------------------*/
229 | /* Carousel
230 | --------------------------*/
231 | /* Collapse
232 | --------------------------*/
233 | }
--------------------------------------------------------------------------------
/theme/loading.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-loading-mask{
92 | position: absolute;
93 | z-index: 10000;
94 | background-color: rgba(255, 255, 255, .9);
95 | margin: 0;
96 | top: 0;
97 | right: 0;
98 | bottom: 0;
99 | left: 0;
100 | transition: opacity 0.3s;
101 | }
102 |
103 | .el-loading-mask.is-fullscreen{
104 | position: fixed;
105 | }
106 |
107 | .el-loading-mask.is-fullscreen .el-loading-spinner{
108 | margin-top: -25px;
109 | }
110 |
111 | .el-loading-mask.is-fullscreen .el-loading-spinner .circular{
112 | width: 50px;
113 | height: 50px;
114 | }
115 |
116 | .el-loading-spinner{
117 | top: 50%;
118 | margin-top: -21px;
119 | width: 100%;
120 | text-align: center;
121 | position: absolute;
122 | }
123 |
124 | .el-loading-spinner .el-loading-text{
125 | color: #20a0ff;
126 | margin: 3px 0;
127 | font-size: 14px;
128 | }
129 |
130 | .el-loading-spinner .circular{
131 | width: 42px;
132 | height: 42px;
133 | animation: loading-rotate 2s linear infinite;
134 | }
135 |
136 | .el-loading-spinner .path{
137 | animation: loading-dash 1.5s ease-in-out infinite;
138 | stroke-dasharray: 90, 150;
139 | stroke-dashoffset: 0;
140 | stroke-width: 2;
141 | stroke: #20a0ff;
142 | stroke-linecap: round;
143 | }
144 |
145 | .el-loading-fade-enter, .el-loading-fade-leave-active {
146 | opacity: 0;
147 | }
148 |
149 | @keyframes loading-rotate {
150 | 100% {
151 | transform: rotate(360deg);
152 | }
153 | }
154 |
155 | @keyframes loading-dash {
156 | 0% {
157 | stroke-dasharray: 1, 200;
158 | stroke-dashoffset: 0;
159 | }
160 | 50% {
161 | stroke-dasharray: 90, 150;
162 | stroke-dashoffset: -40px;
163 | }
164 | 100% {
165 | stroke-dasharray: 90, 150;
166 | stroke-dashoffset: -120px;
167 | }
168 | }
169 | :root{
170 | /* Transition
171 | -------------------------- */
172 | /* Colors
173 | -------------------------- */
174 | /* Link
175 | -------------------------- */
176 | /* Border
177 | -------------------------- */
178 | /* Box-shadow
179 | -------------------------- */
180 | /* Fill
181 | -------------------------- */
182 | /* Font
183 | -------------------------- */
184 | /* Size
185 | -------------------------- */
186 | /* z-index
187 | -------------------------- */
188 | /* Disable base
189 | -------------------------- */
190 | /* Icon
191 | -------------------------- */
192 | /* Checkbox
193 | -------------------------- */
194 | /* Radio
195 | -------------------------- */
196 | /* Select
197 | -------------------------- */
198 | /* Alert
199 | -------------------------- */
200 | /* Message Box
201 | -------------------------- */
202 | /* Message
203 | -------------------------- */
204 | /* Notification
205 | -------------------------- */
206 | /* Input
207 | -------------------------- */
208 | /* Cascader
209 | -------------------------- */
210 | /* Group
211 | -------------------------- */
212 | /* Tab
213 | -------------------------- */
214 | /* Button
215 | -------------------------- */
216 | /* cascader
217 | -------------------------- */
218 | /* Switch
219 | -------------------------- */
220 | /* Dialog
221 | -------------------------- */
222 | /* Table
223 | -------------------------- */
224 | /* Pagination
225 | -------------------------- */
226 | /* Popover
227 | -------------------------- */
228 | /* Tooltip
229 | -------------------------- */
230 | /* Tag
231 | -------------------------- */
232 | /* Dropdown
233 | -------------------------- */
234 | /* Badge
235 | -------------------------- */
236 | /* Card
237 | --------------------------*/
238 | /* Slider
239 | --------------------------*/
240 | /* Steps
241 | --------------------------*/
242 | /* Menu
243 | --------------------------*/
244 | /* Rate
245 | --------------------------*/
246 | /* DatePicker
247 | --------------------------*/
248 | /* Loading
249 | --------------------------*/
250 | /* Scrollbar
251 | --------------------------*/
252 | /* Carousel
253 | --------------------------*/
254 | /* Collapse
255 | --------------------------*/
256 | }
--------------------------------------------------------------------------------
/theme/alert.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-alert{
92 | width: 100%;
93 | padding: 8px 16px;
94 | margin: 0;
95 | box-sizing: border-box;
96 | border-radius: 4px;
97 | position: relative;
98 | background-color: #fff;
99 | overflow: hidden;
100 | color: #fff;
101 | opacity: 1;
102 | display: table;
103 | transition: opacity .2s;
104 | }
105 |
106 | .el-alert .el-alert__description{
107 | color: #fff;
108 | font-size: 12px;
109 | margin: 5px 0 0 0;
110 | }
111 |
112 | .el-alert--success{
113 | background-color: #13ce66;
114 | }
115 |
116 | .el-alert--info{
117 | background-color: #50bfff;
118 | }
119 |
120 | .el-alert--warning{
121 | background-color: #f7ba2a;
122 | }
123 |
124 | .el-alert--error{
125 | background-color: #ff4949;
126 | }
127 |
128 | .el-alert__content{
129 | display: table-cell;
130 | padding: 0 8px;
131 | }
132 |
133 | .el-alert__icon{
134 | font-size: 16px;
135 | width: 16px;
136 | display: table-cell;
137 | color: #fff;
138 | vertical-align: middle;
139 | }
140 |
141 | .el-alert__icon.is-big{
142 | font-size: 28px;
143 | width: 28px;
144 | }
145 |
146 | .el-alert__title{
147 | font-size: 13px;
148 | line-height: 18px;
149 | }
150 |
151 | .el-alert__title.is-bold{
152 | font-weight: 700;
153 | }
154 |
155 | .el-alert__closebtn{
156 | font-size: 12px;
157 | color: #fff;
158 | opacity: 1;
159 | top: 12px;
160 | right: 15px;
161 | position: absolute;
162 | cursor: pointer;
163 | }
164 |
165 | .el-alert__closebtn.is-customed{
166 | font-style: normal;
167 | font-size: 13px;
168 | top: 9px;
169 | }
170 |
171 | .el-alert-fade-enter, .el-alert-fade-leave-active {
172 | opacity: 0;
173 | }
174 | :root{
175 | /* Transition
176 | -------------------------- */
177 | /* Colors
178 | -------------------------- */
179 | /* Link
180 | -------------------------- */
181 | /* Border
182 | -------------------------- */
183 | /* Box-shadow
184 | -------------------------- */
185 | /* Fill
186 | -------------------------- */
187 | /* Font
188 | -------------------------- */
189 | /* Size
190 | -------------------------- */
191 | /* z-index
192 | -------------------------- */
193 | /* Disable base
194 | -------------------------- */
195 | /* Icon
196 | -------------------------- */
197 | /* Checkbox
198 | -------------------------- */
199 | /* Radio
200 | -------------------------- */
201 | /* Select
202 | -------------------------- */
203 | /* Alert
204 | -------------------------- */
205 | /* Message Box
206 | -------------------------- */
207 | /* Message
208 | -------------------------- */
209 | /* Notification
210 | -------------------------- */
211 | /* Input
212 | -------------------------- */
213 | /* Cascader
214 | -------------------------- */
215 | /* Group
216 | -------------------------- */
217 | /* Tab
218 | -------------------------- */
219 | /* Button
220 | -------------------------- */
221 | /* cascader
222 | -------------------------- */
223 | /* Switch
224 | -------------------------- */
225 | /* Dialog
226 | -------------------------- */
227 | /* Table
228 | -------------------------- */
229 | /* Pagination
230 | -------------------------- */
231 | /* Popover
232 | -------------------------- */
233 | /* Tooltip
234 | -------------------------- */
235 | /* Tag
236 | -------------------------- */
237 | /* Dropdown
238 | -------------------------- */
239 | /* Badge
240 | -------------------------- */
241 | /* Card
242 | --------------------------*/
243 | /* Slider
244 | --------------------------*/
245 | /* Steps
246 | --------------------------*/
247 | /* Menu
248 | --------------------------*/
249 | /* Rate
250 | --------------------------*/
251 | /* DatePicker
252 | --------------------------*/
253 | /* Loading
254 | --------------------------*/
255 | /* Scrollbar
256 | --------------------------*/
257 | /* Carousel
258 | --------------------------*/
259 | /* Collapse
260 | --------------------------*/
261 | }
--------------------------------------------------------------------------------
/theme/notification.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-notification{
92 | width: 330px;
93 | padding: 20px;
94 | box-sizing: border-box;
95 | border-radius: 2px;
96 | position: fixed;
97 | right: 16px;
98 | background-color: #fff;
99 | box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
100 | transition: opacity 0.3s, transform .3s, right .3s, top 0.4s;
101 | overflow: hidden;
102 | }
103 |
104 | .el-notification .el-icon-circle-check{
105 | color: #13ce66;
106 | }
107 |
108 | .el-notification .el-icon-circle-cross{
109 | color: #ff4949;
110 | }
111 |
112 | .el-notification .el-icon-information{
113 | color: #50bfff;
114 | }
115 |
116 | .el-notification .el-icon-warning{
117 | color: #f7ba2a;
118 | }
119 |
120 | .el-notification__group{
121 | margin-left: 0;
122 | }
123 |
124 | .el-notification__group.is-with-icon{
125 | margin-left: 55px;
126 | }
127 |
128 | .el-notification__title{
129 | font-weight: 400;
130 | font-size: 16px;
131 | color: rgb(31, 45, 61);
132 | }
133 |
134 | .el-notification__content{
135 | font-size: 14px;
136 | line-height: 21px;
137 | margin: 10px 0 0 0;
138 | color: rgb(131, 145, 165);
139 | text-align: justify;
140 | }
141 |
142 | .el-notification__icon{
143 | width: 40px;
144 | height: 40px;
145 | font-size: 40px;
146 | float: left;
147 | position: relative;
148 | top: 3px;
149 | }
150 |
151 | .el-notification__closeBtn{
152 | top: 20px;
153 | right: 20px;
154 | position: absolute;
155 | cursor: pointer;
156 | color: rgb(191, 203, 217);
157 | font-size: 14px;
158 | }
159 |
160 | .el-notification__closeBtn:hover{
161 | color: rgb(151, 168, 190);
162 | }
163 |
164 | .el-notification-fade-enter {
165 | transform: translateX(100%);
166 | right: 0;
167 | }
168 |
169 | .el-notification-fade-leave-active {
170 | opacity: 0;
171 | }
172 | :root{
173 | /* Transition
174 | -------------------------- */
175 | /* Colors
176 | -------------------------- */
177 | /* Link
178 | -------------------------- */
179 | /* Border
180 | -------------------------- */
181 | /* Box-shadow
182 | -------------------------- */
183 | /* Fill
184 | -------------------------- */
185 | /* Font
186 | -------------------------- */
187 | /* Size
188 | -------------------------- */
189 | /* z-index
190 | -------------------------- */
191 | /* Disable base
192 | -------------------------- */
193 | /* Icon
194 | -------------------------- */
195 | /* Checkbox
196 | -------------------------- */
197 | /* Radio
198 | -------------------------- */
199 | /* Select
200 | -------------------------- */
201 | /* Alert
202 | -------------------------- */
203 | /* Message Box
204 | -------------------------- */
205 | /* Message
206 | -------------------------- */
207 | /* Notification
208 | -------------------------- */
209 | /* Input
210 | -------------------------- */
211 | /* Cascader
212 | -------------------------- */
213 | /* Group
214 | -------------------------- */
215 | /* Tab
216 | -------------------------- */
217 | /* Button
218 | -------------------------- */
219 | /* cascader
220 | -------------------------- */
221 | /* Switch
222 | -------------------------- */
223 | /* Dialog
224 | -------------------------- */
225 | /* Table
226 | -------------------------- */
227 | /* Pagination
228 | -------------------------- */
229 | /* Popover
230 | -------------------------- */
231 | /* Tooltip
232 | -------------------------- */
233 | /* Tag
234 | -------------------------- */
235 | /* Dropdown
236 | -------------------------- */
237 | /* Badge
238 | -------------------------- */
239 | /* Card
240 | --------------------------*/
241 | /* Slider
242 | --------------------------*/
243 | /* Steps
244 | --------------------------*/
245 | /* Menu
246 | --------------------------*/
247 | /* Rate
248 | --------------------------*/
249 | /* DatePicker
250 | --------------------------*/
251 | /* Loading
252 | --------------------------*/
253 | /* Scrollbar
254 | --------------------------*/
255 | /* Carousel
256 | --------------------------*/
257 | /* Collapse
258 | --------------------------*/
259 | }
--------------------------------------------------------------------------------
/theme/message.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-message{
92 | box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
93 | min-width: 300px;
94 | padding: 10px 12px;
95 | box-sizing: border-box;
96 | border-radius: 2px;
97 | position: fixed;
98 | left: 50%;
99 | top: 20px;
100 | transform: translateX(-50%);
101 | background-color: #fff;
102 | transition: opacity 0.3s, transform .4s;
103 | overflow: hidden;
104 | }
105 |
106 | .el-message .el-icon-circle-check{
107 | color: #13ce66;
108 | }
109 |
110 | .el-message .el-icon-circle-cross{
111 | color: #ff4949;
112 | }
113 |
114 | .el-message .el-icon-information{
115 | color: #50bfff;
116 | }
117 |
118 | .el-message .el-icon-warning{
119 | color: #f7ba2a;
120 | }
121 |
122 | .el-message__group{
123 | margin-left: 38px;
124 | position: relative;
125 | height: 20px;
126 | }
127 |
128 | .el-message__group p{
129 | font-size: 14px;
130 | line-height: 20px;
131 | margin: 0 34px 0 0;
132 | white-space: nowrap;
133 | color: rgb(131, 145, 165);
134 | text-align: justify;
135 | display: inline-block;
136 | vertical-align: middle;
137 | }
138 |
139 | .el-message__group.is-with-icon{
140 | margin-left: 0;
141 | }
142 |
143 | .el-message__img{
144 | width: 40px;
145 | height: 40px;
146 | position: absolute;
147 | left: 0;
148 | top: 0;
149 | }
150 |
151 | .el-message__icon{
152 | vertical-align: middle;
153 | margin-right: 8px;
154 | }
155 |
156 | .el-message__closeBtn{
157 | top: 3px;
158 | right: 0;
159 | position: absolute;
160 | cursor: pointer;
161 | color: rgb(191, 203, 217);
162 | font-size: 14px;
163 | }
164 |
165 | .el-message__closeBtn:hover{
166 | color: rgb(151, 168, 190);
167 | }
168 |
169 | .el-message-fade-enter, .el-message-fade-leave-active {
170 | opacity: 0;
171 | transform: translate(-50%, -100%);
172 | }
173 | :root{
174 | /* Transition
175 | -------------------------- */
176 | /* Colors
177 | -------------------------- */
178 | /* Link
179 | -------------------------- */
180 | /* Border
181 | -------------------------- */
182 | /* Box-shadow
183 | -------------------------- */
184 | /* Fill
185 | -------------------------- */
186 | /* Font
187 | -------------------------- */
188 | /* Size
189 | -------------------------- */
190 | /* z-index
191 | -------------------------- */
192 | /* Disable base
193 | -------------------------- */
194 | /* Icon
195 | -------------------------- */
196 | /* Checkbox
197 | -------------------------- */
198 | /* Radio
199 | -------------------------- */
200 | /* Select
201 | -------------------------- */
202 | /* Alert
203 | -------------------------- */
204 | /* Message Box
205 | -------------------------- */
206 | /* Message
207 | -------------------------- */
208 | /* Notification
209 | -------------------------- */
210 | /* Input
211 | -------------------------- */
212 | /* Cascader
213 | -------------------------- */
214 | /* Group
215 | -------------------------- */
216 | /* Tab
217 | -------------------------- */
218 | /* Button
219 | -------------------------- */
220 | /* cascader
221 | -------------------------- */
222 | /* Switch
223 | -------------------------- */
224 | /* Dialog
225 | -------------------------- */
226 | /* Table
227 | -------------------------- */
228 | /* Pagination
229 | -------------------------- */
230 | /* Popover
231 | -------------------------- */
232 | /* Tooltip
233 | -------------------------- */
234 | /* Tag
235 | -------------------------- */
236 | /* Dropdown
237 | -------------------------- */
238 | /* Badge
239 | -------------------------- */
240 | /* Card
241 | --------------------------*/
242 | /* Slider
243 | --------------------------*/
244 | /* Steps
245 | --------------------------*/
246 | /* Menu
247 | --------------------------*/
248 | /* Rate
249 | --------------------------*/
250 | /* DatePicker
251 | --------------------------*/
252 | /* Loading
253 | --------------------------*/
254 | /* Scrollbar
255 | --------------------------*/
256 | /* Carousel
257 | --------------------------*/
258 | /* Collapse
259 | --------------------------*/
260 | }
--------------------------------------------------------------------------------
/theme/form.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-form{}
92 |
93 | .el-form--label-left{}
94 |
95 | .el-form--label-left .el-form-item__label{
96 | text-align: left;
97 | }
98 |
99 | .el-form--label-top{}
100 |
101 | .el-form--label-top .el-form-item__label{
102 | float: none;
103 | display: inline-block;
104 | padding: 0 0 10px 0;
105 | }
106 |
107 | .el-form--inline{}
108 |
109 | .el-form--inline .el-form-item{
110 | display: inline-block;
111 | margin-right: 10px;
112 | vertical-align: top;
113 | }
114 |
115 | .el-form-item{
116 | margin-bottom: 22px;
117 | }
118 |
119 | .el-form-item:before, .el-form-item:after{
120 | display: table;
121 | content: "";
122 | }
123 |
124 | .el-form-item:after{
125 | clear: both;
126 | }
127 |
128 | .el-form-item .el-form-item{
129 | margin-bottom: 0;
130 | }
131 |
132 | .el-form-item .el-form-item .el-form-item__content{
133 | margin-left: 0 !important;
134 | }
135 |
136 | .el-form-item.is-error{}
137 |
138 | .el-form-item.is-error .el-input__inner, .el-form-item.is-error .el-textarea__inner{
139 | border-color: #ff4949;
140 | }
141 |
142 | .el-form-item.is-required .el-form-item__label:before{
143 | content: '*';
144 | color: #ff4949;
145 | margin-right: 4px;
146 | }
147 |
148 | .el-form-item__label{
149 | text-align: right;
150 | vertical-align: middle;
151 | float: left;
152 | font-size: 14px;
153 | color: rgb(72, 87, 106);
154 | line-height: 1;
155 | padding: 11px 12px 11px 0;
156 | box-sizing: border-box;
157 | }
158 |
159 | .el-form-item__content{
160 | line-height: 36px;
161 | position: relative;
162 | font-size: 14px;
163 | }
164 |
165 | .el-form-item__content:before, .el-form-item__content:after{
166 | display: table;
167 | content: "";
168 | }
169 |
170 | .el-form-item__content:after{
171 | clear: both;
172 | }
173 |
174 | .el-form-item__error{
175 | color: #ff4949;
176 | font-size: 12px;
177 | line-height: 1;
178 | padding-top: 4px;
179 | position: absolute;
180 | top: 100%;
181 | left: 0;
182 | }
183 | :root{
184 | /* Transition
185 | -------------------------- */
186 | /* Colors
187 | -------------------------- */
188 | /* Link
189 | -------------------------- */
190 | /* Border
191 | -------------------------- */
192 | /* Box-shadow
193 | -------------------------- */
194 | /* Fill
195 | -------------------------- */
196 | /* Font
197 | -------------------------- */
198 | /* Size
199 | -------------------------- */
200 | /* z-index
201 | -------------------------- */
202 | /* Disable base
203 | -------------------------- */
204 | /* Icon
205 | -------------------------- */
206 | /* Checkbox
207 | -------------------------- */
208 | /* Radio
209 | -------------------------- */
210 | /* Select
211 | -------------------------- */
212 | /* Alert
213 | -------------------------- */
214 | /* Message Box
215 | -------------------------- */
216 | /* Message
217 | -------------------------- */
218 | /* Notification
219 | -------------------------- */
220 | /* Input
221 | -------------------------- */
222 | /* Cascader
223 | -------------------------- */
224 | /* Group
225 | -------------------------- */
226 | /* Tab
227 | -------------------------- */
228 | /* Button
229 | -------------------------- */
230 | /* cascader
231 | -------------------------- */
232 | /* Switch
233 | -------------------------- */
234 | /* Dialog
235 | -------------------------- */
236 | /* Table
237 | -------------------------- */
238 | /* Pagination
239 | -------------------------- */
240 | /* Popover
241 | -------------------------- */
242 | /* Tooltip
243 | -------------------------- */
244 | /* Tag
245 | -------------------------- */
246 | /* Dropdown
247 | -------------------------- */
248 | /* Badge
249 | -------------------------- */
250 | /* Card
251 | --------------------------*/
252 | /* Slider
253 | --------------------------*/
254 | /* Steps
255 | --------------------------*/
256 | /* Menu
257 | --------------------------*/
258 | /* Rate
259 | --------------------------*/
260 | /* DatePicker
261 | --------------------------*/
262 | /* Loading
263 | --------------------------*/
264 | /* Scrollbar
265 | --------------------------*/
266 | /* Carousel
267 | --------------------------*/
268 | /* Collapse
269 | --------------------------*/
270 | }
--------------------------------------------------------------------------------
/theme/tree.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-tree{
92 | cursor: default;
93 | background: #fff;
94 | border: 1px solid rgb(209, 219, 229);
95 | }
96 |
97 | .el-tree__empty-block{
98 | position: relative;
99 | min-height: 60px;
100 | text-align: center;
101 | width: 100%;
102 | height: 100%;
103 | }
104 |
105 | .el-tree__empty-text{
106 | position: absolute;
107 | left: 50%;
108 | top: 50%;
109 | transform: translate(-50%, -50%);
110 | color: rgb(94, 115, 130);
111 | }
112 |
113 | .el-tree-node{
114 | white-space: nowrap;
115 | }
116 |
117 | .el-tree-node > .el-tree-node__children{
118 | overflow: hidden;
119 | background-color: transparent;
120 | }
121 |
122 | .el-tree-node.is-expanded > .el-tree-node__children{
123 | display: block;
124 | }
125 |
126 | .el-tree-node__content{
127 | line-height: 36px;
128 | height: 36px;
129 | cursor: pointer;
130 | }
131 |
132 | .el-tree-node__content > .el-checkbox, .el-tree-node__content > .el-tree-node__expand-icon{
133 | margin-right: 8px;
134 | }
135 |
136 | .el-tree-node__content > .el-checkbox{
137 | vertical-align: middle;
138 | }
139 |
140 | .el-tree-node__content:hover{
141 | background: rgb(228, 232, 241);
142 | }
143 |
144 | .el-tree-node__expand-icon{
145 | display: inline-block;
146 | cursor: pointer;
147 | width: 0;
148 | height: 0;
149 | vertical-align: middle;
150 | margin-left: 10px;
151 | border: 6px solid transparent;
152 | border-right-width: 0;
153 | border-left-color: rgb(151, 168, 190);
154 | border-left-width: 7px;
155 | transform: rotate(0deg);
156 | transition: transform 0.3s ease-in-out;
157 | }
158 |
159 | .el-tree-node__expand-icon:hover{
160 | border-left-color: #999;
161 | }
162 |
163 | .el-tree-node__expand-icon.expanded{
164 | transform: rotate(90deg);
165 | }
166 |
167 | .el-tree-node__expand-icon.is-leaf{
168 | border-color: transparent;
169 | cursor: default;
170 | }
171 |
172 | .el-tree-node__label{
173 | font-size: 14px;
174 | vertical-align: middle;
175 | display: inline-block;
176 | }
177 |
178 | .el-tree-node__loading-icon{
179 | display: inline-block;
180 | vertical-align: middle;
181 | margin-right: 4px;
182 | font-size: 14px;
183 | color: rgb(151, 168, 190);
184 | }
185 |
186 | .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
187 | background-color: rgb(237, 247, 255);
188 | }
189 | :root{
190 | /* Transition
191 | -------------------------- */
192 | /* Colors
193 | -------------------------- */
194 | /* Link
195 | -------------------------- */
196 | /* Border
197 | -------------------------- */
198 | /* Box-shadow
199 | -------------------------- */
200 | /* Fill
201 | -------------------------- */
202 | /* Font
203 | -------------------------- */
204 | /* Size
205 | -------------------------- */
206 | /* z-index
207 | -------------------------- */
208 | /* Disable base
209 | -------------------------- */
210 | /* Icon
211 | -------------------------- */
212 | /* Checkbox
213 | -------------------------- */
214 | /* Radio
215 | -------------------------- */
216 | /* Select
217 | -------------------------- */
218 | /* Alert
219 | -------------------------- */
220 | /* Message Box
221 | -------------------------- */
222 | /* Message
223 | -------------------------- */
224 | /* Notification
225 | -------------------------- */
226 | /* Input
227 | -------------------------- */
228 | /* Cascader
229 | -------------------------- */
230 | /* Group
231 | -------------------------- */
232 | /* Tab
233 | -------------------------- */
234 | /* Button
235 | -------------------------- */
236 | /* cascader
237 | -------------------------- */
238 | /* Switch
239 | -------------------------- */
240 | /* Dialog
241 | -------------------------- */
242 | /* Table
243 | -------------------------- */
244 | /* Pagination
245 | -------------------------- */
246 | /* Popover
247 | -------------------------- */
248 | /* Tooltip
249 | -------------------------- */
250 | /* Tag
251 | -------------------------- */
252 | /* Dropdown
253 | -------------------------- */
254 | /* Badge
255 | -------------------------- */
256 | /* Card
257 | --------------------------*/
258 | /* Slider
259 | --------------------------*/
260 | /* Steps
261 | --------------------------*/
262 | /* Menu
263 | --------------------------*/
264 | /* Rate
265 | --------------------------*/
266 | /* DatePicker
267 | --------------------------*/
268 | /* Loading
269 | --------------------------*/
270 | /* Scrollbar
271 | --------------------------*/
272 | /* Carousel
273 | --------------------------*/
274 | /* Collapse
275 | --------------------------*/
276 | }
--------------------------------------------------------------------------------
/theme/progress.css:
--------------------------------------------------------------------------------
1 | .el-progress-bar__inner:after{
2 | display:inline-block;
3 | content:"";
4 | height:100%;
5 | vertical-align:middle;
6 | }@charset "UTF-8";
7 | :root{
8 | /* Transition
9 | -------------------------- */
10 | /* Colors
11 | -------------------------- */
12 | /* Link
13 | -------------------------- */
14 | /* Border
15 | -------------------------- */
16 | /* Box-shadow
17 | -------------------------- */
18 | /* Fill
19 | -------------------------- */
20 | /* Font
21 | -------------------------- */
22 | /* Size
23 | -------------------------- */
24 | /* z-index
25 | -------------------------- */
26 | /* Disable base
27 | -------------------------- */
28 | /* Icon
29 | -------------------------- */
30 | /* Checkbox
31 | -------------------------- */
32 | /* Radio
33 | -------------------------- */
34 | /* Select
35 | -------------------------- */
36 | /* Alert
37 | -------------------------- */
38 | /* Message Box
39 | -------------------------- */
40 | /* Message
41 | -------------------------- */
42 | /* Notification
43 | -------------------------- */
44 | /* Input
45 | -------------------------- */
46 | /* Cascader
47 | -------------------------- */
48 | /* Group
49 | -------------------------- */
50 | /* Tab
51 | -------------------------- */
52 | /* Button
53 | -------------------------- */
54 | /* cascader
55 | -------------------------- */
56 | /* Switch
57 | -------------------------- */
58 | /* Dialog
59 | -------------------------- */
60 | /* Table
61 | -------------------------- */
62 | /* Pagination
63 | -------------------------- */
64 | /* Popover
65 | -------------------------- */
66 | /* Tooltip
67 | -------------------------- */
68 | /* Tag
69 | -------------------------- */
70 | /* Dropdown
71 | -------------------------- */
72 | /* Badge
73 | -------------------------- */
74 | /* Card
75 | --------------------------*/
76 | /* Slider
77 | --------------------------*/
78 | /* Steps
79 | --------------------------*/
80 | /* Menu
81 | --------------------------*/
82 | /* Rate
83 | --------------------------*/
84 | /* DatePicker
85 | --------------------------*/
86 | /* Loading
87 | --------------------------*/
88 | /* Scrollbar
89 | --------------------------*/
90 | /* Carousel
91 | --------------------------*/
92 | /* Collapse
93 | --------------------------*/
94 | }
95 |
96 | .el-progress{
97 | position:relative;
98 | line-height:1;
99 | }
100 |
101 | .el-progress.is-exception .el-progress-bar__inner{
102 | background-color:#ff4949;
103 | }
104 |
105 | .el-progress.is-exception .el-progress__text{
106 | color:#ff4949;
107 | }
108 |
109 | .el-progress.is-success .el-progress-bar__inner{
110 | background-color:#13ce66;
111 | }
112 |
113 | .el-progress.is-success .el-progress__text{
114 | color:#13ce66;
115 | }
116 |
117 | .el-progress__text{
118 | font-size:14px;
119 | color:rgb(72, 87, 106);
120 | display: inline-block;
121 | vertical-align: middle;
122 | margin-left: 10px;
123 | line-height: 1;
124 | }
125 |
126 | .el-progress__text i {
127 | vertical-align: middle;
128 | display: block;
129 | }
130 |
131 | .el-progress--circle{
132 | display: inline-block;
133 | }
134 |
135 | .el-progress--circle .el-progress__text {
136 | position: absolute;
137 | top: 50%;
138 | left: 0;
139 | width: 100%;
140 | text-align: center;
141 | margin: 0;
142 | transform: translate(0, -50%);
143 | }
144 |
145 | .el-progress--circle .el-progress__text i {
146 | vertical-align: middle;
147 | display: inline-block;
148 | }
149 |
150 | .el-progress--without-text .el-progress__text {
151 | display: none;
152 | }
153 |
154 | .el-progress--without-text .el-progress-bar {
155 | padding-right: 0;
156 | margin-right: 0;
157 | display: block;
158 | }
159 |
160 | .el-progress--text-inside .el-progress-bar {
161 | padding-right: 0;
162 | margin-right: 0;
163 | }
164 |
165 | .el-progress-bar{
166 | padding-right:50px;
167 | display:inline-block;
168 | vertical-align:middle;
169 | width:100%;
170 | margin-right:-55px;
171 | box-sizing:border-box;
172 | }
173 |
174 | .el-progress-bar__outer{
175 | height: 6px;
176 | border-radius: 100px;
177 | background-color:rgb(228, 232, 241);
178 | overflow: hidden;
179 | position: relative;
180 | vertical-align: middle;
181 | }
182 |
183 | .el-progress-bar__inner{
184 | position: absolute;
185 | left: 0;
186 | top: 0;
187 | height: 100%;
188 | border-radius: 2px 0 0 2px;
189 | background-color:#20a0ff;
190 | text-align: right;
191 | border-radius: 100px;
192 | line-height: 1;
193 | }
194 |
195 | .el-progress-bar__innerText{
196 | display: inline-block;
197 | vertical-align: middle;
198 | color:#fff;
199 | font-size: 12px;
200 | margin: 0 5px;
201 | }
202 |
203 | @keyframes progress {
204 | 0% {
205 | background-position: 0 0;
206 | }
207 | 100% {
208 | background-position: 32px 0;
209 | }
210 | }
211 | :root{
212 | /* Transition
213 | -------------------------- */
214 | /* Colors
215 | -------------------------- */
216 | /* Link
217 | -------------------------- */
218 | /* Border
219 | -------------------------- */
220 | /* Box-shadow
221 | -------------------------- */
222 | /* Fill
223 | -------------------------- */
224 | /* Font
225 | -------------------------- */
226 | /* Size
227 | -------------------------- */
228 | /* z-index
229 | -------------------------- */
230 | /* Disable base
231 | -------------------------- */
232 | /* Icon
233 | -------------------------- */
234 | /* Checkbox
235 | -------------------------- */
236 | /* Radio
237 | -------------------------- */
238 | /* Select
239 | -------------------------- */
240 | /* Alert
241 | -------------------------- */
242 | /* Message Box
243 | -------------------------- */
244 | /* Message
245 | -------------------------- */
246 | /* Notification
247 | -------------------------- */
248 | /* Input
249 | -------------------------- */
250 | /* Cascader
251 | -------------------------- */
252 | /* Group
253 | -------------------------- */
254 | /* Tab
255 | -------------------------- */
256 | /* Button
257 | -------------------------- */
258 | /* cascader
259 | -------------------------- */
260 | /* Switch
261 | -------------------------- */
262 | /* Dialog
263 | -------------------------- */
264 | /* Table
265 | -------------------------- */
266 | /* Pagination
267 | -------------------------- */
268 | /* Popover
269 | -------------------------- */
270 | /* Tooltip
271 | -------------------------- */
272 | /* Tag
273 | -------------------------- */
274 | /* Dropdown
275 | -------------------------- */
276 | /* Badge
277 | -------------------------- */
278 | /* Card
279 | --------------------------*/
280 | /* Slider
281 | --------------------------*/
282 | /* Steps
283 | --------------------------*/
284 | /* Menu
285 | --------------------------*/
286 | /* Rate
287 | --------------------------*/
288 | /* DatePicker
289 | --------------------------*/
290 | /* Loading
291 | --------------------------*/
292 | /* Scrollbar
293 | --------------------------*/
294 | /* Carousel
295 | --------------------------*/
296 | /* Collapse
297 | --------------------------*/
298 | }
--------------------------------------------------------------------------------
/theme/carousel.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-carousel{
92 | overflow-x: hidden;
93 | position: relative;
94 | }
95 |
96 | .el-carousel__container{
97 | position: relative;
98 | height: 300px;
99 | }
100 |
101 | .el-carousel__arrow{
102 | border: none;
103 | outline: none;
104 | padding: 0;
105 | margin: 0;
106 | width: 36px;
107 | height: 36px;
108 | cursor: pointer;
109 | transition: .3s;
110 | border-radius: 50%;
111 | background-color: rgba(31, 45, 61, 0.11);
112 | color: #fff;
113 | position: absolute;
114 | top: 50%;
115 | z-index: 10;
116 | transform: translateY(-50%);
117 | text-align: center;
118 | font-size: 12px;
119 | }
120 |
121 | .el-carousel__arrow:hover{
122 | background-color: rgba(31, 45, 61, 0.23);
123 | }
124 |
125 | .el-carousel__arrow i{
126 | cursor: pointer;
127 | }
128 |
129 | .el-carousel__arrow--left{
130 | left: 16px;
131 | }
132 |
133 | .el-carousel__arrow--right{
134 | right: 16px;
135 | }
136 |
137 | .el-carousel__indicators{
138 | position: absolute;
139 | list-style: none;
140 | bottom: 0;
141 | left: 50%;
142 | transform: translateX(-50%);
143 | margin: 0;
144 | padding: 0;
145 | }
146 |
147 | .el-carousel__indicators--outside{
148 | bottom: 26px;
149 | text-align: center;
150 | position: static;
151 | transform: none;
152 | }
153 |
154 | .el-carousel__indicators--outside .el-carousel__indicator:hover button {
155 | opacity: 0.64;
156 | }
157 |
158 | .el-carousel__indicators--outside button {
159 | background-color: rgb(131, 145, 165);
160 | opacity: 0.24;
161 | }
162 |
163 | .el-carousel__indicator{
164 | display: inline-block;
165 | background-color: transparent;
166 | padding: 12px 4px;
167 | cursor: pointer;
168 | }
169 |
170 | .el-carousel__indicator:hover button{
171 | opacity: 0.72;
172 | }
173 |
174 | .el-carousel__indicator.is-active button{
175 | opacity: 1;
176 | }
177 |
178 | .el-carousel__button{
179 | display: block;
180 | opacity: 0.48;
181 | width: 30px;
182 | height: 2px;
183 | background-color: #fff;
184 | border: none;
185 | outline: none;
186 | padding: 0;
187 | margin: 0;
188 | cursor: pointer;
189 | transition: .3s;
190 | }
191 |
192 | .carousel-arrow-left-enter, .carousel-arrow-left-leave-active {
193 | transform: translateY(-50%) translateX(-10px);
194 | opacity: 0;
195 | }
196 |
197 | .carousel-arrow-right-enter, .carousel-arrow-right-leave-active {
198 | transform: translateY(-50%) translateX(10px);
199 | opacity: 0;
200 | }:root{
201 | /* Transition
202 | -------------------------- */
203 | /* Colors
204 | -------------------------- */
205 | /* Link
206 | -------------------------- */
207 | /* Border
208 | -------------------------- */
209 | /* Box-shadow
210 | -------------------------- */
211 | /* Fill
212 | -------------------------- */
213 | /* Font
214 | -------------------------- */
215 | /* Size
216 | -------------------------- */
217 | /* z-index
218 | -------------------------- */
219 | /* Disable base
220 | -------------------------- */
221 | /* Icon
222 | -------------------------- */
223 | /* Checkbox
224 | -------------------------- */
225 | /* Radio
226 | -------------------------- */
227 | /* Select
228 | -------------------------- */
229 | /* Alert
230 | -------------------------- */
231 | /* Message Box
232 | -------------------------- */
233 | /* Message
234 | -------------------------- */
235 | /* Notification
236 | -------------------------- */
237 | /* Input
238 | -------------------------- */
239 | /* Cascader
240 | -------------------------- */
241 | /* Group
242 | -------------------------- */
243 | /* Tab
244 | -------------------------- */
245 | /* Button
246 | -------------------------- */
247 | /* cascader
248 | -------------------------- */
249 | /* Switch
250 | -------------------------- */
251 | /* Dialog
252 | -------------------------- */
253 | /* Table
254 | -------------------------- */
255 | /* Pagination
256 | -------------------------- */
257 | /* Popover
258 | -------------------------- */
259 | /* Tooltip
260 | -------------------------- */
261 | /* Tag
262 | -------------------------- */
263 | /* Dropdown
264 | -------------------------- */
265 | /* Badge
266 | -------------------------- */
267 | /* Card
268 | --------------------------*/
269 | /* Slider
270 | --------------------------*/
271 | /* Steps
272 | --------------------------*/
273 | /* Menu
274 | --------------------------*/
275 | /* Rate
276 | --------------------------*/
277 | /* DatePicker
278 | --------------------------*/
279 | /* Loading
280 | --------------------------*/
281 | /* Scrollbar
282 | --------------------------*/
283 | /* Carousel
284 | --------------------------*/
285 | /* Collapse
286 | --------------------------*/
287 | }
--------------------------------------------------------------------------------
/theme/tag.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-tag{
92 | background-color: rgb(131, 145, 165);
93 | display: inline-block;
94 | padding: 0 5px;
95 | height: 24px;
96 | line-height: 22px;
97 | font-size: 12px;
98 | color: #fff;
99 | border-radius: 4px;
100 | box-sizing: border-box;
101 | border: 1px solid transparent;
102 | white-space: nowrap
103 | }
104 |
105 | .el-tag .el-icon-close{
106 | border-radius: 50%;
107 | text-align: center;
108 | position: relative;
109 | cursor: pointer;
110 | font-size: 12px;
111 | transform: scale(.75, .75);
112 | height: 18px;
113 | width: 18px;
114 | line-height: 18px;
115 | vertical-align: middle;
116 | top: -1px;
117 | right: -2px
118 | }
119 |
120 | .el-tag .el-icon-close:hover{
121 | background-color: #fff;
122 | color: rgb(131, 145, 165)
123 | }
124 |
125 | .el-tag--gray{
126 | background-color: rgb(228, 232, 241);
127 | border-color: rgb(228, 232, 241);
128 | color: rgb(72, 87, 106)
129 | }
130 |
131 | .el-tag--gray .el-tag__close:hover{
132 | background-color: rgb(72, 87, 106);
133 | color: #fff
134 | }
135 |
136 | .el-tag--gray.is-hit{
137 | border-color: rgb(72, 87, 106)
138 | }
139 |
140 | .el-tag--primary{
141 | background-color: rgba(32,159,255,0.10);
142 | border-color: rgba(32,159,255,0.20);
143 | color: #20a0ff
144 | }
145 |
146 | .el-tag--primary .el-tag__close:hover{
147 | background-color: #20a0ff;
148 | color: #fff
149 | }
150 |
151 | .el-tag--primary.is-hit{
152 | border-color: #20a0ff
153 | }
154 |
155 | .el-tag--success{
156 | background-color: rgba(18,206,102,0.10);
157 | border-color: rgba(18,206,102,0.20);
158 | color: #13ce66
159 | }
160 |
161 | .el-tag--success .el-tag__close:hover{
162 | background-color: #13ce66;
163 | color: #fff
164 | }
165 |
166 | .el-tag--success.is-hit{
167 | border-color: #13ce66
168 | }
169 |
170 | .el-tag--warning{
171 | background-color: rgba(247,186,41,0.10);
172 | border-color: rgba(247,186,41,0.20);
173 | color: #f7ba2a
174 | }
175 |
176 | .el-tag--warning .el-tag__close:hover{
177 | background-color: #f7ba2a;
178 | color: #fff
179 | }
180 |
181 | .el-tag--warning.is-hit{
182 | border-color: #f7ba2a
183 | }
184 |
185 | .el-tag--danger{
186 | background-color: rgba(255,73,73,0.10);
187 | border-color: rgba(255,73,73,0.20);
188 | color: #ff4949
189 | }
190 |
191 | .el-tag--danger .el-tag__close:hover{
192 | background-color: #ff4949;
193 | color: #fff
194 | }
195 |
196 | .el-tag--danger.is-hit{
197 | border-color: #ff4949
198 | }
199 | :root{
200 | /* Transition
201 | -------------------------- */
202 | /* Colors
203 | -------------------------- */
204 | /* Link
205 | -------------------------- */
206 | /* Border
207 | -------------------------- */
208 | /* Box-shadow
209 | -------------------------- */
210 | /* Fill
211 | -------------------------- */
212 | /* Font
213 | -------------------------- */
214 | /* Size
215 | -------------------------- */
216 | /* z-index
217 | -------------------------- */
218 | /* Disable base
219 | -------------------------- */
220 | /* Icon
221 | -------------------------- */
222 | /* Checkbox
223 | -------------------------- */
224 | /* Radio
225 | -------------------------- */
226 | /* Select
227 | -------------------------- */
228 | /* Alert
229 | -------------------------- */
230 | /* Message Box
231 | -------------------------- */
232 | /* Message
233 | -------------------------- */
234 | /* Notification
235 | -------------------------- */
236 | /* Input
237 | -------------------------- */
238 | /* Cascader
239 | -------------------------- */
240 | /* Group
241 | -------------------------- */
242 | /* Tab
243 | -------------------------- */
244 | /* Button
245 | -------------------------- */
246 | /* cascader
247 | -------------------------- */
248 | /* Switch
249 | -------------------------- */
250 | /* Dialog
251 | -------------------------- */
252 | /* Table
253 | -------------------------- */
254 | /* Pagination
255 | -------------------------- */
256 | /* Popover
257 | -------------------------- */
258 | /* Tooltip
259 | -------------------------- */
260 | /* Tag
261 | -------------------------- */
262 | /* Dropdown
263 | -------------------------- */
264 | /* Badge
265 | -------------------------- */
266 | /* Card
267 | --------------------------*/
268 | /* Slider
269 | --------------------------*/
270 | /* Steps
271 | --------------------------*/
272 | /* Menu
273 | --------------------------*/
274 | /* Rate
275 | --------------------------*/
276 | /* DatePicker
277 | --------------------------*/
278 | /* Loading
279 | --------------------------*/
280 | /* Scrollbar
281 | --------------------------*/
282 | /* Carousel
283 | --------------------------*/
284 | /* Collapse
285 | --------------------------*/
286 | }
--------------------------------------------------------------------------------
/theme/dialog.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 | .v-modal-enter{
91 | animation: v-modal-in .2s ease;
92 | }
93 | .v-modal-leave{
94 | animation: v-modal-out .2s ease forwards;
95 | }
96 | @keyframes v-modal-in{
97 | 0%{
98 | opacity: 0;
99 | }
100 | 100%{}
101 | }
102 | @keyframes v-modal-out{
103 | 0%{}
104 | 100%{
105 | opacity: 0;
106 | }
107 | }
108 | .v-modal{
109 | position: fixed;
110 | left: 0;
111 | top: 0;
112 | width: 100%;
113 | height: 100%;
114 | opacity: 0.5;
115 | background: #000;
116 | }
117 |
118 | .el-dialog{
119 | position: absolute;
120 | left: 50%;
121 | transform: translateX(-50%);
122 | background: #fff;
123 | border-radius: 2px;
124 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
125 | box-sizing: border-box;
126 | }
127 |
128 | .el-dialog--tiny{
129 | width: 30%;
130 | }
131 |
132 | .el-dialog--small{
133 | width: 50%;
134 | }
135 |
136 | .el-dialog--large{
137 | width: 90%;
138 | }
139 |
140 | .el-dialog--full{
141 | width: 100%;
142 | top: 0;
143 | height: 100%;
144 | overflow: auto;
145 | }
146 |
147 | .el-dialog__wrapper{
148 | top: 0;
149 | right: 0;
150 | bottom: 0;
151 | left: 0;
152 | position: fixed;
153 | overflow: auto;
154 | margin: 0;
155 | }
156 |
157 | .el-dialog__header{
158 | padding: 20px 20px 0;
159 | }
160 |
161 | .el-dialog__close{
162 | cursor: pointer;
163 | color: rgb(191, 203, 217);
164 | }
165 |
166 | .el-dialog__close:hover{
167 | color: #20a0ff;
168 | }
169 |
170 | .el-dialog__title{
171 | line-height: 1;
172 | font-size: 16px;
173 | font-weight: 700;
174 | color: rgb(31, 45, 61);
175 | }
176 |
177 | .el-dialog__body{
178 | padding: 30px 20px;
179 | color: rgb(72, 87, 106);
180 | font-size: 14px;
181 | }
182 |
183 | .el-dialog__headerbtn{
184 | float: right;
185 | }
186 |
187 | .el-dialog__footer{
188 | padding: 10px 20px 15px;
189 | text-align: right;
190 | box-sizing: border-box;
191 | }
192 |
193 | .dialog-fade-enter-active {
194 | animation: dialog-fade-in .3s;
195 | }
196 |
197 | .dialog-fade-leave-active {
198 | animation: dialog-fade-out .3s;
199 | }
200 |
201 | @keyframes dialog-fade-in {
202 | 0% {
203 | transform: translate3d(0, -20px, 0);
204 | opacity: 0;
205 | }
206 | 100% {
207 | transform: translate3d(0, 0, 0);
208 | opacity: 1;
209 | }
210 | }
211 |
212 | @keyframes dialog-fade-out {
213 | 0% {
214 | transform: translate3d(0, 0, 0);
215 | opacity: 1;
216 | }
217 | 100% {
218 | transform: translate3d(0, -20px, 0);
219 | opacity: 0;
220 | }
221 | }
222 | :root{
223 | /* Transition
224 | -------------------------- */
225 | /* Colors
226 | -------------------------- */
227 | /* Link
228 | -------------------------- */
229 | /* Border
230 | -------------------------- */
231 | /* Box-shadow
232 | -------------------------- */
233 | /* Fill
234 | -------------------------- */
235 | /* Font
236 | -------------------------- */
237 | /* Size
238 | -------------------------- */
239 | /* z-index
240 | -------------------------- */
241 | /* Disable base
242 | -------------------------- */
243 | /* Icon
244 | -------------------------- */
245 | /* Checkbox
246 | -------------------------- */
247 | /* Radio
248 | -------------------------- */
249 | /* Select
250 | -------------------------- */
251 | /* Alert
252 | -------------------------- */
253 | /* Message Box
254 | -------------------------- */
255 | /* Message
256 | -------------------------- */
257 | /* Notification
258 | -------------------------- */
259 | /* Input
260 | -------------------------- */
261 | /* Cascader
262 | -------------------------- */
263 | /* Group
264 | -------------------------- */
265 | /* Tab
266 | -------------------------- */
267 | /* Button
268 | -------------------------- */
269 | /* cascader
270 | -------------------------- */
271 | /* Switch
272 | -------------------------- */
273 | /* Dialog
274 | -------------------------- */
275 | /* Table
276 | -------------------------- */
277 | /* Pagination
278 | -------------------------- */
279 | /* Popover
280 | -------------------------- */
281 | /* Tooltip
282 | -------------------------- */
283 | /* Tag
284 | -------------------------- */
285 | /* Dropdown
286 | -------------------------- */
287 | /* Badge
288 | -------------------------- */
289 | /* Card
290 | --------------------------*/
291 | /* Slider
292 | --------------------------*/
293 | /* Steps
294 | --------------------------*/
295 | /* Menu
296 | --------------------------*/
297 | /* Rate
298 | --------------------------*/
299 | /* DatePicker
300 | --------------------------*/
301 | /* Loading
302 | --------------------------*/
303 | /* Scrollbar
304 | --------------------------*/
305 | /* Carousel
306 | --------------------------*/
307 | /* Collapse
308 | --------------------------*/
309 | }
--------------------------------------------------------------------------------
/theme/popover.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-popover{
92 | position: absolute;
93 | background: #fff;
94 | min-width: 150px;
95 | border-radius: 2px;
96 | border: 1px solid rgb(209, 219, 229);
97 | padding: 10px;
98 | z-index: 2000;
99 | font-size: 12px;
100 | box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, .12),
101 | 0px 0px 6px 0px rgba(0, 0, 0, .04);
102 | }
103 |
104 | .el-popover .popper__arrow, .el-popover .popper__arrow::after{
105 | position: absolute;
106 | display: block;
107 | width: 0;
108 | height: 0;
109 | border-color: transparent;
110 | border-style: solid;
111 | }
112 |
113 | .el-popover .popper__arrow{
114 | border-width: 6px;
115 | }
116 |
117 | .el-popover .popper__arrow::after{
118 | content: " ";
119 | border-width: 6px;
120 | }
121 |
122 | .el-popover[x-placement^="top"]{
123 | margin-bottom: 12px;
124 | }
125 |
126 | .el-popover[x-placement^="top"] .popper__arrow{
127 | bottom: -6px;
128 | left: 50%;
129 | margin-right: 3px;
130 | border-top-color: rgb(209, 219, 229);
131 | border-bottom-width: 0;
132 | }
133 |
134 | .el-popover[x-placement^="top"] .popper__arrow::after{
135 | bottom: 1px;
136 | margin-left: -6px;
137 | border-top-color: #fff;
138 | border-bottom-width: 0;
139 | }
140 |
141 | .el-popover[x-placement^="bottom"]{
142 | margin-top: 12px;
143 | }
144 |
145 | .el-popover[x-placement^="bottom"] .popper__arrow{
146 | top: -6px;
147 | left: 50%;
148 | margin-right: 3px;
149 | border-top-width: 0;
150 | border-bottom-color: rgb(209, 219, 229);
151 | }
152 |
153 | .el-popover[x-placement^="bottom"] .popper__arrow::after{
154 | top: 1px;
155 | margin-left: -6px;
156 | border-top-width: 0;
157 | border-bottom-color: #fff;
158 | }
159 |
160 | .el-popover[x-placement^="right"]{
161 | margin-left: 12px;
162 | }
163 |
164 | .el-popover[x-placement^="right"] .popper__arrow{
165 | top: 50%;
166 | left: -6px;
167 | margin-bottom: 3px;
168 | border-right-color: rgb(209, 219, 229);
169 | border-left-width: 0;
170 | }
171 |
172 | .el-popover[x-placement^="right"] .popper__arrow::after{
173 | bottom: -6px;
174 | left: 1px;
175 | border-right-color: #fff;
176 | border-left-width: 0;
177 | }
178 |
179 | .el-popover[x-placement^="left"]{
180 | margin-right: 12px;
181 | }
182 |
183 | .el-popover[x-placement^="left"] .popper__arrow{
184 | top: 50%;
185 | right: -6px;
186 | margin-bottom: 3px;
187 | border-right-width: 0;
188 | border-left-color: rgb(209, 219, 229);
189 | }
190 |
191 | .el-popover[x-placement^="left"] .popper__arrow::after{
192 | right: 1px;
193 | bottom: -6px;
194 | margin-left: -6px;
195 | border-right-width: 0;
196 | border-left-color: #fff;
197 | }
198 |
199 | .el-popover__title{
200 | color: rgb(31, 45, 61);
201 | font-size: 13px;
202 | line-height: 1;
203 | margin-bottom: 9px;
204 | }
205 | :root{
206 | /* Transition
207 | -------------------------- */
208 | /* Colors
209 | -------------------------- */
210 | /* Link
211 | -------------------------- */
212 | /* Border
213 | -------------------------- */
214 | /* Box-shadow
215 | -------------------------- */
216 | /* Fill
217 | -------------------------- */
218 | /* Font
219 | -------------------------- */
220 | /* Size
221 | -------------------------- */
222 | /* z-index
223 | -------------------------- */
224 | /* Disable base
225 | -------------------------- */
226 | /* Icon
227 | -------------------------- */
228 | /* Checkbox
229 | -------------------------- */
230 | /* Radio
231 | -------------------------- */
232 | /* Select
233 | -------------------------- */
234 | /* Alert
235 | -------------------------- */
236 | /* Message Box
237 | -------------------------- */
238 | /* Message
239 | -------------------------- */
240 | /* Notification
241 | -------------------------- */
242 | /* Input
243 | -------------------------- */
244 | /* Cascader
245 | -------------------------- */
246 | /* Group
247 | -------------------------- */
248 | /* Tab
249 | -------------------------- */
250 | /* Button
251 | -------------------------- */
252 | /* cascader
253 | -------------------------- */
254 | /* Switch
255 | -------------------------- */
256 | /* Dialog
257 | -------------------------- */
258 | /* Table
259 | -------------------------- */
260 | /* Pagination
261 | -------------------------- */
262 | /* Popover
263 | -------------------------- */
264 | /* Tooltip
265 | -------------------------- */
266 | /* Tag
267 | -------------------------- */
268 | /* Dropdown
269 | -------------------------- */
270 | /* Badge
271 | -------------------------- */
272 | /* Card
273 | --------------------------*/
274 | /* Slider
275 | --------------------------*/
276 | /* Steps
277 | --------------------------*/
278 | /* Menu
279 | --------------------------*/
280 | /* Rate
281 | --------------------------*/
282 | /* DatePicker
283 | --------------------------*/
284 | /* Loading
285 | --------------------------*/
286 | /* Scrollbar
287 | --------------------------*/
288 | /* Carousel
289 | --------------------------*/
290 | /* Collapse
291 | --------------------------*/
292 | }
--------------------------------------------------------------------------------
/theme/switch.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | :root{
3 | /* Transition
4 | -------------------------- */
5 | /* Colors
6 | -------------------------- */
7 | /* Link
8 | -------------------------- */
9 | /* Border
10 | -------------------------- */
11 | /* Box-shadow
12 | -------------------------- */
13 | /* Fill
14 | -------------------------- */
15 | /* Font
16 | -------------------------- */
17 | /* Size
18 | -------------------------- */
19 | /* z-index
20 | -------------------------- */
21 | /* Disable base
22 | -------------------------- */
23 | /* Icon
24 | -------------------------- */
25 | /* Checkbox
26 | -------------------------- */
27 | /* Radio
28 | -------------------------- */
29 | /* Select
30 | -------------------------- */
31 | /* Alert
32 | -------------------------- */
33 | /* Message Box
34 | -------------------------- */
35 | /* Message
36 | -------------------------- */
37 | /* Notification
38 | -------------------------- */
39 | /* Input
40 | -------------------------- */
41 | /* Cascader
42 | -------------------------- */
43 | /* Group
44 | -------------------------- */
45 | /* Tab
46 | -------------------------- */
47 | /* Button
48 | -------------------------- */
49 | /* cascader
50 | -------------------------- */
51 | /* Switch
52 | -------------------------- */
53 | /* Dialog
54 | -------------------------- */
55 | /* Table
56 | -------------------------- */
57 | /* Pagination
58 | -------------------------- */
59 | /* Popover
60 | -------------------------- */
61 | /* Tooltip
62 | -------------------------- */
63 | /* Tag
64 | -------------------------- */
65 | /* Dropdown
66 | -------------------------- */
67 | /* Badge
68 | -------------------------- */
69 | /* Card
70 | --------------------------*/
71 | /* Slider
72 | --------------------------*/
73 | /* Steps
74 | --------------------------*/
75 | /* Menu
76 | --------------------------*/
77 | /* Rate
78 | --------------------------*/
79 | /* DatePicker
80 | --------------------------*/
81 | /* Loading
82 | --------------------------*/
83 | /* Scrollbar
84 | --------------------------*/
85 | /* Carousel
86 | --------------------------*/
87 | /* Collapse
88 | --------------------------*/
89 | }
90 |
91 | .el-switch{
92 | display: inline-block;
93 | position: relative;
94 | font-size: 14px;
95 | line-height: 22px;
96 | height: 22px;
97 | vertical-align: middle
98 | }
99 |
100 | .el-switch .label-fade-enter, .el-switch .label-fade-leave-active{
101 | opacity: 0
102 | }
103 |
104 | .el-switch.is-disabled .el-switch__core{
105 | border-color: rgb(228, 232, 241) !important;
106 | background: rgb(228, 232, 241) !important
107 | }
108 |
109 | .el-switch.is-disabled .el-switch__core span{
110 | background-color: rgb(251, 253, 255) !important
111 | }
112 |
113 | .el-switch.is-disabled .el-switch__core ~ .el-switch__label *{
114 | color: rgb(251, 253, 255) !important
115 | }
116 |
117 | .el-switch.is-disabled .el-switch__input:checked + .el-switch__core{
118 | border-color: rgb(228, 232, 241);
119 | background-color: rgb(228, 232, 241);
120 | }
121 |
122 | .el-switch.is-disabled{}
123 |
124 | .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
125 | cursor: not-allowed
126 | }
127 |
128 | .el-switch__label{
129 | transition: .2s;
130 | position: absolute;
131 | z-index: 10;
132 | width: 46px;
133 | height: 22px;
134 | left: 0;
135 | top: 0;
136 | display: inline-block;
137 | font-size: 14px;
138 | cursor: pointer;
139 | -webkit-user-select: none;
140 | -moz-user-select: none;
141 | -ms-user-select: none;
142 | user-select: none
143 | }
144 |
145 | .el-switch__label *{
146 | line-height: 1;
147 | top: 4px;
148 | position: absolute;
149 | font-size: 14px;
150 | display: inline-block;
151 | color: #fff
152 | }
153 |
154 | .el-switch__label--left i {
155 | left: 6px;
156 | }
157 |
158 | .el-switch__label--right i {
159 | right: 6px;
160 | }
161 |
162 | .el-switch__input{
163 | display: none
164 | }
165 |
166 | .el-switch__input:checked + .el-switch__core{
167 | border-color: #20a0ff;
168 | background-color: #20a0ff
169 | }
170 |
171 | .el-switch__core{
172 | margin: 0;
173 | display: inline-block;
174 | position: relative;
175 | width: 46px;
176 | height: 22px;
177 | border: 1px solid rgb(191, 203, 217);
178 | outline: none;
179 | border-radius: 12px;
180 | box-sizing: border-box;
181 | background: rgb(191, 203, 217);
182 | cursor: pointer;
183 | transition: border-color .3s, background-color .3s
184 | }
185 |
186 | .el-switch__core .el-switch__button{
187 | top: 0;
188 | left: 0;
189 | position: absolute;
190 | border-radius: 100%;
191 | transition: transform .3s;
192 | width: 16px;
193 | height: 16px;
194 | z-index: 20;
195 | background-color: #fff
196 | }
197 |
198 | .el-switch--wide .el-switch__label {}
199 |
200 | .el-switch--wide .el-switch__label.el-switch__label--left span{
201 | left: 10px
202 | }
203 |
204 | .el-switch--wide .el-switch__label.el-switch__label--right span{
205 | right: 10px
206 | }
207 | :root{
208 | /* Transition
209 | -------------------------- */
210 | /* Colors
211 | -------------------------- */
212 | /* Link
213 | -------------------------- */
214 | /* Border
215 | -------------------------- */
216 | /* Box-shadow
217 | -------------------------- */
218 | /* Fill
219 | -------------------------- */
220 | /* Font
221 | -------------------------- */
222 | /* Size
223 | -------------------------- */
224 | /* z-index
225 | -------------------------- */
226 | /* Disable base
227 | -------------------------- */
228 | /* Icon
229 | -------------------------- */
230 | /* Checkbox
231 | -------------------------- */
232 | /* Radio
233 | -------------------------- */
234 | /* Select
235 | -------------------------- */
236 | /* Alert
237 | -------------------------- */
238 | /* Message Box
239 | -------------------------- */
240 | /* Message
241 | -------------------------- */
242 | /* Notification
243 | -------------------------- */
244 | /* Input
245 | -------------------------- */
246 | /* Cascader
247 | -------------------------- */
248 | /* Group
249 | -------------------------- */
250 | /* Tab
251 | -------------------------- */
252 | /* Button
253 | -------------------------- */
254 | /* cascader
255 | -------------------------- */
256 | /* Switch
257 | -------------------------- */
258 | /* Dialog
259 | -------------------------- */
260 | /* Table
261 | -------------------------- */
262 | /* Pagination
263 | -------------------------- */
264 | /* Popover
265 | -------------------------- */
266 | /* Tooltip
267 | -------------------------- */
268 | /* Tag
269 | -------------------------- */
270 | /* Dropdown
271 | -------------------------- */
272 | /* Badge
273 | -------------------------- */
274 | /* Card
275 | --------------------------*/
276 | /* Slider
277 | --------------------------*/
278 | /* Steps
279 | --------------------------*/
280 | /* Menu
281 | --------------------------*/
282 | /* Rate
283 | --------------------------*/
284 | /* DatePicker
285 | --------------------------*/
286 | /* Loading
287 | --------------------------*/
288 | /* Scrollbar
289 | --------------------------*/
290 | /* Carousel
291 | --------------------------*/
292 | /* Collapse
293 | --------------------------*/
294 | }
--------------------------------------------------------------------------------