evui 2.0.9 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/0b8d1200e71cae8d747dce4e69c4efb6.png +0 -0
- package/dist/1.css +4 -0
- package/dist/1.css.map +1 -0
- package/dist/1.evui.min.js +2 -0
- package/dist/1.evui.min.js.map +1 -0
- package/dist/1ba679c05036b34bf359aa2e6c450faa.ttf +0 -0
- package/dist/2.css +4 -0
- package/dist/2.css.map +1 -0
- package/dist/2.evui.min.js +2 -0
- package/dist/2.evui.min.js.map +1 -0
- package/dist/278156e41e0ad908cf7f841b17130502.woff2 +0 -0
- package/dist/3.evui.min.js +2 -0
- package/dist/3.evui.min.js.map +1 -0
- package/dist/32be89b11725274cd3e801192ba88361.ttf +0 -0
- package/dist/38c6d8bab26db77d8c806813e1497763.woff2 +0 -0
- package/dist/4.evui.min.js +2 -0
- package/dist/4.evui.min.js.map +1 -0
- package/dist/425399f81e4ce7cbd967685402ba0260.woff +0 -0
- package/dist/4730076470a665bbc7b783c56d29a72e.svg +261 -0
- package/dist/52e9a7f6ff3af5ad261e5292d07ebdca.eot +0 -0
- package/dist/5367103510b27b78482794590e1ce3b0.ttf +0 -0
- package/dist/57e963e3d6dd0a9cf05150b40eebf69b.svg +1008 -0
- package/dist/65a2fb6d9aaa164b41a039302093995b.ttf +0 -0
- package/dist/687a4990ea22bb1a49d469a5d9319790.woff2 +0 -0
- package/dist/6c1d906bf5ba48676f65b2d65e935e1a.ttf +0 -0
- package/dist/6dafca5a4f1e31f2bdf11939b24ff422.ttf +0 -0
- package/dist/752905fa5edf21fc52a10a0c1ca9c7a4.eot +0 -0
- package/dist/76c05d80dda67cdc5d03f345b7bd063f.ttf +0 -0
- package/dist/7d62eb50e7bb05eedb2a4656f7fe8f3b.svg +366 -0
- package/dist/a01e3f2d6c83dc3aee175e2482b3f777.eot +0 -0
- package/dist/b30fd8419d7e6d5918856c7531d33482.svg +1518 -0
- package/dist/c57dd55fa982e8940f69ca1d69a8a999.woff +0 -0
- package/dist/c656b8caa454ed19b9a2ef7f4f5b8fea.ttf +0 -0
- package/dist/cac87dc00c87a5d74711d0276713808a.woff +0 -0
- package/dist/d68fa3e67dbb653a13cec44b1bcabcfe.eot +0 -0
- package/dist/ddae9b1ba9b0b42f58809904b0b21349.woff +0 -0
- package/dist/evui.min.js +19 -0
- package/dist/evui.min.js.gz +0 -0
- package/dist/evui.min.js.map +1 -0
- package/dist/main.css +85 -0
- package/dist/main.css.gz +0 -0
- package/dist/main.css.map +1 -0
- package/package.json +56 -76
- package/src/common/emitter.js +20 -0
- package/src/common/utils.debounce.js +223 -0
- package/src/common/utils.js +51 -17
- package/src/common/utils.throttle.js +83 -0
- package/src/common/utils.tree.js +18 -0
- package/src/components/button/button.vue +317 -241
- package/src/components/chart/chart.core.js +378 -85
- package/src/components/chart/chart.vue +133 -115
- package/src/components/chart/element/element.bar.js +219 -25
- package/src/components/chart/element/element.bar.time.js +115 -0
- package/src/components/chart/element/element.line.js +172 -21
- package/src/components/chart/element/element.pie.js +86 -0
- package/src/components/chart/element/element.scatter.js +9 -2
- package/src/components/chart/element/element.tip.js +356 -0
- package/src/components/chart/helpers/helpers.canvas.js +94 -0
- package/src/components/chart/helpers/helpers.constant.js +25 -6
- package/src/components/chart/helpers/helpers.util.js +83 -38
- package/src/components/chart/index.js +0 -1
- package/src/components/chart/model/model.series.js +43 -14
- package/src/components/chart/model/model.store.js +440 -46
- package/src/components/chart/plugins/plugins.interaction.js +324 -0
- package/src/components/chart/plugins/plugins.legend.js +233 -91
- package/src/components/chart/plugins/plugins.pie.js +179 -0
- package/src/components/chart/plugins/plugins.title.js +25 -2
- package/src/components/chart/plugins/plugins.tooltip.js +384 -0
- package/src/components/chart/scale/scale.js +91 -29
- package/src/components/chart/scale/scale.linear.js +12 -0
- package/src/components/chart/scale/scale.logarithmic.js +25 -0
- package/src/components/chart/scale/scale.step.js +89 -52
- package/src/components/chart/scale/scale.time.category.js +204 -0
- package/src/components/chart/scale/scale.time.js +19 -1
- package/src/components/checkbox/checkbox-group.vue +15 -11
- package/src/components/checkbox/checkbox.vue +210 -138
- package/src/components/codeview/code.vue +42 -29
- package/src/components/contextmenu/contextmenu.child.vue +79 -0
- package/src/components/contextmenu/contextmenu.vue +276 -0
- package/src/components/contextmenu/contextmenu.wrap.vue +189 -0
- package/src/components/contextmenu/index.js +3 -0
- package/src/components/datepicker/calendar.core.js +588 -492
- package/src/components/datepicker/calendar.vue +0 -3
- package/src/components/datepicker/datepicker.vue +43 -15
- package/src/components/datepicker/index.js +5 -1
- package/src/components/grid/grid.filter.vue +290 -0
- package/src/components/grid/grid.filter.window.vue +411 -0
- package/src/components/grid/grid.render.vue +45 -0
- package/src/components/grid/grid.vue +1338 -0
- package/src/components/icon/icon.vue +23 -7
- package/src/components/input/input.number.vue +309 -277
- package/src/components/label/label.vue +2 -2
- package/src/components/loadingmask/loadingmask.vue +6 -13
- package/src/components/loginfield/loginfield.vue +46 -37
- package/src/components/markdown/index.js +3 -0
- package/src/components/markdown/markdown.vue +1001 -0
- package/src/components/menu/index.js +1 -3
- package/src/components/menu/menu.nav.item.vue +115 -0
- package/src/components/menu/menu.nav.sub.vue +42 -0
- package/src/components/menu/menu.nav.vue +71 -98
- package/src/components/message/index.js +3 -0
- package/src/components/message/message.js +63 -0
- package/src/components/message/message.vue +191 -0
- package/src/components/message-box/index.js +3 -0
- package/src/components/message-box/message-box.js +31 -0
- package/src/components/message-box/message-box.vue +299 -0
- package/src/components/notification/index.js +3 -0
- package/src/components/notification/notification.js +75 -0
- package/src/components/notification/notification.vue +242 -0
- package/src/components/radio/radio-group.vue +6 -2
- package/src/components/radio/radio.vue +156 -76
- package/src/components/selectbox/dropdown.vue +86 -40
- package/src/components/selectbox/listbox.vue +47 -18
- package/src/components/selectbox/option.vue +1 -1
- package/src/components/selectbox/selectbox.vue +304 -316
- package/src/components/slider/slider-tooltip.vue +7 -7
- package/src/components/slider/slider.vue +20 -25
- package/src/components/splitter/splitter.vue +104 -94
- package/src/components/table/table.black.css +1 -1
- package/src/components/table/table.filter.lite.vue +7 -7
- package/src/components/table/table.filter.vue +1 -1
- package/src/components/table/table.grey.css +5 -6
- package/src/components/table/table.navy.css +1 -1
- package/src/components/table/table.vue +55 -48
- package/src/components/tabs/tab-panel.vue +19 -5
- package/src/components/tabs/tabs.vue +182 -87
- package/src/components/textfield/textfield.vue +110 -87
- package/src/components/timepicker/index.js +2 -2
- package/src/components/timepicker/spinner.vue +15 -17
- package/src/components/timepicker/timepicker.vue +98 -53
- package/src/components/toggle/toggle.vue +148 -109
- package/src/components/tree/index.js +2 -6
- package/src/components/tree/render.js +17 -0
- package/src/components/tree/tree-node.vue +214 -0
- package/src/components/tree/tree.vue +296 -0
- package/src/components/tree-table/index.js +7 -0
- package/src/components/{tree → tree-table}/tree.table.black.css +0 -0
- package/src/components/{tree → tree-table}/tree.table.grey.css +0 -0
- package/src/components/{tree → tree-table}/tree.table.vue +36 -41
- package/src/components/{tree → tree-table}/tree.util.js +0 -0
- package/src/components/window/window.vue +238 -191
- package/src/index.js +25 -12
- package/src/styles/base/base.scss +50 -0
- package/src/styles/base/index.scss +1 -0
- package/src/styles/default.scss +5 -0
- package/src/styles/{codemirror.css → lib/codemirror.css} +0 -0
- package/src/styles/{all.css → lib/fontawesome.css} +1 -1
- package/src/styles/lib/icon.css +792 -0
- package/src/styles/themes/index.scss +2 -0
- package/src/styles/themes/mixin.scss +33 -0
- package/src/styles/themes/variables.scss +206 -0
- package/src/styles/utils/colors.scss +222 -0
- package/src/styles/utils/index.scss +2 -0
- package/src/styles/utils/mixins.scss +34 -0
- package/src/styles/utils/variables.scss +27 -0
- package/src/webfonts/EVUI.eot +0 -0
- package/src/webfonts/EVUI.svg +251 -173
- package/src/webfonts/EVUI.ttf +0 -0
- package/src/webfonts/EVUI.woff +0 -0
- package/src/webfonts/Roboto-Bold.ttf +0 -0
- package/src/webfonts/Roboto-Medium.ttf +0 -0
- package/src/webfonts/Roboto-Regular.ttf +0 -0
- package/src/components/chart/charts/chart.bar.js +0 -334
- package/src/components/chart/charts/chart.base.js +0 -1075
- package/src/components/chart/charts/chart.line.js +0 -262
- package/src/components/chart/charts/chart.pie.js +0 -383
- package/src/components/chart/charts/chart.scatter.js +0 -349
- package/src/components/chart/charts/chart.sunburst.js +0 -193
- package/src/components/chart/core/axis/axis.js +0 -217
- package/src/components/chart/core/axis/axis.scale.auto.js +0 -69
- package/src/components/chart/core/axis/axis.scale.fixed.js +0 -65
- package/src/components/chart/core/axis/axis.scale.steps.js +0 -149
- package/src/components/chart/core/core.constant.js +0 -116
- package/src/components/chart/core/core.legend.js +0 -473
- package/src/components/chart/core/core.util.js +0 -66
- package/src/components/chart/core/data/data.js +0 -412
- package/src/components/chart/core/data/data.pie.js +0 -70
- package/src/components/chart/core/data/data.stack.js +0 -222
- package/src/components/chart/core/data/data.sunburst.js +0 -172
- package/src/components/menu/menu.context.children.vue +0 -201
- package/src/components/menu/menu.context.vue +0 -144
- package/src/components/tabs/jun/tab.vue +0 -123
- package/src/components/tabs/jun/tabs.vue +0 -484
- package/src/styles/evui.css +0 -386
- package/src/styles/icon.css +0 -557
|
@@ -6,24 +6,23 @@
|
|
|
6
6
|
@click="onClick"
|
|
7
7
|
>
|
|
8
8
|
<span :class="`${prefixCls}-span`">
|
|
9
|
-
<slot/>
|
|
9
|
+
<slot />
|
|
10
10
|
</span>
|
|
11
11
|
</button>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const prefixCls = 'evui-btn';
|
|
15
|
+
const prefixCls = 'ev-btn';
|
|
18
16
|
|
|
19
17
|
export default {
|
|
18
|
+
name: 'EvButton',
|
|
20
19
|
props: {
|
|
21
20
|
htmlType: {
|
|
22
21
|
type: String,
|
|
23
22
|
default: 'button',
|
|
24
23
|
validator(value) {
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
const list = ['button', 'submit', 'reset'];
|
|
25
|
+
return list.indexOf(value) > -1;
|
|
27
26
|
},
|
|
28
27
|
},
|
|
29
28
|
type: {
|
|
@@ -61,9 +60,13 @@
|
|
|
61
60
|
data() {
|
|
62
61
|
return {
|
|
63
62
|
prefixCls,
|
|
64
|
-
btnClass: this._getBtnClass(),
|
|
65
63
|
};
|
|
66
64
|
},
|
|
65
|
+
computed: {
|
|
66
|
+
btnClass() {
|
|
67
|
+
return this._getBtnClass();
|
|
68
|
+
},
|
|
69
|
+
},
|
|
67
70
|
methods: {
|
|
68
71
|
onClick(event) {
|
|
69
72
|
this.$emit('click', event);
|
|
@@ -80,239 +83,312 @@
|
|
|
80
83
|
};
|
|
81
84
|
</script>
|
|
82
85
|
|
|
83
|
-
<style>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
border:
|
|
87
|
-
border-radius:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
86
|
+
<style lang="scss">
|
|
87
|
+
@import '~@/styles/default';
|
|
88
|
+
|
|
89
|
+
$border-radius-circle: 50%;
|
|
90
|
+
$border-radius-half: 32px;
|
|
91
|
+
|
|
92
|
+
.ev-btn {
|
|
93
|
+
display: inline-block;
|
|
94
|
+
border: $border-solid transparent;
|
|
95
|
+
border-radius: $border-radius-base;
|
|
96
|
+
background-color: $color-gray60;
|
|
97
|
+
color: $color-white;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
user-select: none;
|
|
100
|
+
transition: color .2s linear,
|
|
101
|
+
background-color .2s linear,
|
|
102
|
+
border .2s linear,
|
|
103
|
+
opacity .2s linear,
|
|
104
|
+
box-shadow .2s linear;
|
|
105
|
+
|
|
106
|
+
&:hover {
|
|
107
|
+
opacity: 0.8;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.active,
|
|
111
|
+
&:active {
|
|
112
|
+
background-color: $color-white;
|
|
113
|
+
|
|
114
|
+
@include evThemify() {
|
|
115
|
+
border-color: evThemed('color-primary');
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.disabled>*,
|
|
120
|
+
&[disabled]>* {
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.disabled,
|
|
125
|
+
&.disabled:active,
|
|
126
|
+
&.disabled:hover,
|
|
127
|
+
&[disabled],
|
|
128
|
+
&[disabled]:active,
|
|
129
|
+
&[disabled]:hover {
|
|
130
|
+
cursor: default;
|
|
131
|
+
|
|
132
|
+
@include evThemify() {
|
|
133
|
+
color: evThemed('button-disabled') !important;
|
|
134
|
+
background-color: evThemed('button-disabled-bg') !important;
|
|
135
|
+
border-color: evThemed('button-disabled-border') !important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&-span {
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** ev-btn > type(primary) **/
|
|
147
|
+
.ev-btn-primary {
|
|
148
|
+
color: $color-white;
|
|
149
|
+
|
|
150
|
+
@include evThemify() {
|
|
151
|
+
background-color: evThemed('color-primary');
|
|
152
|
+
border-color: evThemed('color-primary');
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.active,
|
|
156
|
+
&:active {
|
|
157
|
+
@include evThemify() {
|
|
158
|
+
background-color: darken(evThemed('color-primary'), 10%);
|
|
159
|
+
border-color: darken(evThemed('color-primary'), 10%);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** ev-btn > type(info) **/
|
|
165
|
+
.ev-btn-info {
|
|
166
|
+
color: $color-white;
|
|
167
|
+
|
|
168
|
+
@include evThemify() {
|
|
169
|
+
background-color: evThemed('color-info') !important;
|
|
170
|
+
border-color: evThemed('color-info') !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&.active,
|
|
174
|
+
&:active {
|
|
175
|
+
@include evThemify() {
|
|
176
|
+
background-color: darken(evThemed('color-info'), 10%) !important;
|
|
177
|
+
border-color: darken(evThemed('color-info'), 10%) !important;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** ev-btn > type(warning) **/
|
|
183
|
+
.ev-btn-warning {
|
|
184
|
+
color: $color-white;
|
|
185
|
+
|
|
186
|
+
@include evThemify() {
|
|
187
|
+
background-color: evThemed('color-warning');
|
|
188
|
+
border-color: evThemed('color-warning');
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.active,
|
|
192
|
+
&:active {
|
|
193
|
+
@include evThemify() {
|
|
194
|
+
background-color: darken(evThemed('color-warning'), 10%);
|
|
195
|
+
border-color: darken(evThemed('color-warning'), 10%);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** ev-btn > type(error) **/
|
|
201
|
+
.ev-btn-error {
|
|
202
|
+
color: $color-white !important;
|
|
203
|
+
|
|
204
|
+
@include evThemify() {
|
|
205
|
+
background-color: evThemed('color-error');
|
|
206
|
+
border-color: evThemed('color-error');
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&.active,
|
|
210
|
+
&:active {
|
|
211
|
+
@include evThemify() {
|
|
212
|
+
background-color: darken(evThemed('color-error'), 10%);
|
|
213
|
+
border-color: darken(evThemed('color-error'), 10%);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
/** ev-btn > type(ghost) **/
|
|
220
|
+
.ev-btn-ghost {
|
|
221
|
+
background-color: transparent;
|
|
222
|
+
|
|
223
|
+
@include evThemify() {
|
|
224
|
+
color: evThemed('button-ghost');
|
|
225
|
+
border-color: evThemed('button-ghost-border');
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&.active,
|
|
229
|
+
&:active {
|
|
230
|
+
@include evThemify() {
|
|
231
|
+
color: evThemed('color-primary');
|
|
232
|
+
border-color: evThemed('color-primary');
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** ev-btn > type(dashed) **/
|
|
238
|
+
.ev-btn-dashed {
|
|
239
|
+
background-color: transparent;
|
|
240
|
+
border-style: dashed;
|
|
241
|
+
|
|
242
|
+
@include evThemify() {
|
|
243
|
+
color: evThemed('button-dashed');
|
|
244
|
+
border-color: evThemed('button-dashed-border');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&.active,
|
|
248
|
+
&:active {
|
|
249
|
+
@include evThemify() {
|
|
250
|
+
color: evThemed('color-primary');
|
|
251
|
+
border-color: evThemed('color-primary');
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
fieldset[disabled] .ev-btn-dashed,
|
|
257
|
+
fieldset[disabled] .ev-btn-dashed:active,
|
|
258
|
+
fieldset[disabled] .ev-btn-dashed:focus,
|
|
259
|
+
fieldset[disabled] .ev-btn-dashed:hover {
|
|
260
|
+
@include evThemify() {
|
|
261
|
+
color: evThemed('button-disabled') !important;
|
|
262
|
+
background-color: evThemed('button-disabled-bg') !important;
|
|
263
|
+
border-color: evThemed('button-disabled-border') !important;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/*
|
|
268
|
+
** 스타일 적용 안 되어 주석 처리 **
|
|
269
|
+
.ev-btn-dashed:focus {
|
|
270
|
+
-webkit-box-shadow: 0 0 0 2px rgba(45, 140, 240, .2);
|
|
271
|
+
box-shadow: 0 0 0 2px rgba(45, 140, 240, .2)
|
|
272
|
+
}
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
/** ev-btn > type(text) **/
|
|
276
|
+
.ev-btn-text {
|
|
277
|
+
background-color: transparent;
|
|
278
|
+
border-color: transparent;
|
|
279
|
+
|
|
280
|
+
@include evThemify() {
|
|
281
|
+
color: evThemed('button-text');
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:hover {
|
|
285
|
+
@include evThemify() {
|
|
286
|
+
color: evThemed('color-info');
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&.active,
|
|
291
|
+
&:active {
|
|
292
|
+
@include evThemify() {
|
|
293
|
+
color: evThemed('color-primary');
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
/*
|
|
298
|
+
** 중복으로 주석 처리 **
|
|
299
|
+
.ev-btn-text:hover {
|
|
300
|
+
color: #6d7380;
|
|
301
|
+
background-color: rgba(255,255,255,.2);
|
|
302
|
+
border-color: rgba(255,255,255,.2)
|
|
303
|
+
}
|
|
304
|
+
.ev-btn-text:active {
|
|
305
|
+
color: #454c5b;
|
|
306
|
+
background-color: rgba(0,0,0,.05);
|
|
307
|
+
border-color: rgba(0,0,0,.05)
|
|
308
|
+
}
|
|
309
|
+
*/
|
|
310
|
+
|
|
311
|
+
/** ev-btn > shape > circle **/
|
|
312
|
+
.ev-btn-radius {
|
|
313
|
+
border-radius: 32px;
|
|
314
|
+
}
|
|
315
|
+
.ev-btn-circle {
|
|
316
|
+
border-radius: 50%;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/** size **/
|
|
320
|
+
.ev-btn-size-small {
|
|
321
|
+
padding: 7px 10px;
|
|
322
|
+
font-size: $font-size-base;
|
|
323
|
+
|
|
324
|
+
&.ev-btn-circle {
|
|
325
|
+
padding: 7px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
i {
|
|
329
|
+
font-size: $font-size-base !important;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.ev-btn-size-medium {
|
|
334
|
+
padding: 8px 12px;
|
|
335
|
+
font-size: $font-size-medium;
|
|
336
|
+
|
|
337
|
+
&.ev-btn-circle {
|
|
338
|
+
padding: 8px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
i {
|
|
342
|
+
font-size: $font-size-medium !important;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.ev-btn-size-large {
|
|
347
|
+
padding: 10px 14px;
|
|
348
|
+
font-size: $font-size-large;
|
|
349
|
+
|
|
350
|
+
&.ev-btn-circle {
|
|
351
|
+
padding: 10px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
i {
|
|
355
|
+
font-size: $font-size-large !important;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@-webkit-keyframes spin {
|
|
360
|
+
to {
|
|
361
|
+
-webkit-transform: rotate(360deg);
|
|
362
|
+
transform: rotate(360deg);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
@keyframes spin {
|
|
367
|
+
to {
|
|
368
|
+
-webkit-transform: rotate(360deg);
|
|
369
|
+
transform: rotate(360deg);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
@-webkit-keyframes grdAiguille {
|
|
374
|
+
0% {
|
|
375
|
+
-webkit-transform: rotate(0deg);
|
|
376
|
+
transform: rotate(0deg);
|
|
377
|
+
}
|
|
378
|
+
100% {
|
|
379
|
+
-webkit-transform: rotate(360deg);
|
|
380
|
+
transform: rotate(360deg);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
317
383
|
|
|
384
|
+
@keyframes grdAiguille {
|
|
385
|
+
0% {
|
|
386
|
+
-webkit-transform: rotate(0deg);
|
|
387
|
+
transform: rotate(0deg);
|
|
388
|
+
}
|
|
389
|
+
100% {
|
|
390
|
+
-webkit-transform: rotate(360deg);
|
|
391
|
+
transform: rotate(360deg);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
318
394
|
</style>
|