@nutui/nutui 3.1.11 → 3.1.12-beta.0
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/nutui.es.js +439 -339
- package/dist/nutui.umd.js +439 -339
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +2 -2
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/Menu.js +83 -167
- package/dist/packages/_es/MenuItem.js +154 -15
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +52 -13
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +3 -31
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +2 -2
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +30 -22
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +31 -8
- package/dist/packages/_es/index3.js +13 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +4 -3
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/menu/index.scss +32 -60
- package/dist/packages/menuitem/index.scss +36 -99
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +35 -35
- package/dist/styles/variables.scss +13 -0
- package/package.json +1 -1
- package/dist/packages/_es/style.css +0 -160
|
@@ -19,11 +19,11 @@ var __publicField = (obj, key, value) => {
|
|
|
19
19
|
return value;
|
|
20
20
|
};
|
|
21
21
|
/*!
|
|
22
|
-
* @nutui/nutui v3.1.
|
|
22
|
+
* @nutui/nutui v3.1.12-beta.0 Mon Nov 22 2021 20:58:07 GMT+0800 (中国标准时间)
|
|
23
23
|
* (c) 2021 @jdf2e.
|
|
24
24
|
* Released under the MIT License.
|
|
25
25
|
*/
|
|
26
|
-
import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList,
|
|
26
|
+
import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList, createElementVNode, toDisplayString, createVNode, createBlock, createTextVNode } from "vue";
|
|
27
27
|
import { c as createComponent } from "./component.js";
|
|
28
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
29
29
|
class UploadOptions {
|
|
@@ -258,6 +258,7 @@ const _sfc_main = create({
|
|
|
258
258
|
fileItem.status = "ready";
|
|
259
259
|
fileItem.type = file.type;
|
|
260
260
|
fileItem.formData = formData;
|
|
261
|
+
fileItem.message = "\u7B49\u5F85\u4E0A\u4F20";
|
|
261
262
|
executeUpload(fileItem, index2);
|
|
262
263
|
if (props.isPreview && file.type.includes("image")) {
|
|
263
264
|
const reader = new FileReader();
|
|
@@ -352,20 +353,25 @@ const _hoisted_5 = {
|
|
|
352
353
|
class: "nut-uploader__preview__progress"
|
|
353
354
|
};
|
|
354
355
|
const _hoisted_6 = { class: "nut-uploader__preview__progress__msg" };
|
|
355
|
-
const _hoisted_7 =
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
const _hoisted_7 = {
|
|
357
|
+
key: 1,
|
|
358
|
+
class: "nut-uploader__preview__progress"
|
|
359
|
+
};
|
|
360
|
+
const _hoisted_8 = { class: "nut-uploader__preview__progress__msg" };
|
|
361
|
+
const _hoisted_9 = ["onClick", "src"];
|
|
362
|
+
const _hoisted_10 = {
|
|
363
|
+
key: 4,
|
|
358
364
|
class: "nut-uploader__preview-img__file"
|
|
359
365
|
};
|
|
360
|
-
const
|
|
361
|
-
const
|
|
362
|
-
const
|
|
366
|
+
const _hoisted_11 = ["onClick"];
|
|
367
|
+
const _hoisted_12 = { class: "tips" };
|
|
368
|
+
const _hoisted_13 = {
|
|
363
369
|
key: 1,
|
|
364
370
|
class: "nut-uploader__preview-list"
|
|
365
371
|
};
|
|
366
|
-
const
|
|
367
|
-
const
|
|
368
|
-
const
|
|
372
|
+
const _hoisted_14 = ["onClick"];
|
|
373
|
+
const _hoisted_15 = ["accept", "multiple", "name", "disabled"];
|
|
374
|
+
const _hoisted_16 = ["accept", "multiple", "name", "disabled"];
|
|
369
375
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
370
376
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
371
377
|
const _component_nut_progress = resolveComponent("nut-progress");
|
|
@@ -403,26 +409,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
403
409
|
key: item.uid
|
|
404
410
|
}, [
|
|
405
411
|
_ctx.listType == "picture" && !_ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_4, [
|
|
406
|
-
item.status
|
|
412
|
+
item.status == "ready" ? (openBlock(), createElementBlock("view", _hoisted_5, [
|
|
413
|
+
createElementVNode("view", _hoisted_6, toDisplayString(item.message), 1)
|
|
414
|
+
])) : item.status != "success" ? (openBlock(), createElementBlock("view", _hoisted_7, [
|
|
407
415
|
createVNode(_component_nut_icon, {
|
|
408
416
|
color: "#fff",
|
|
409
417
|
name: item.status == "error" ? "failure" : "loading"
|
|
410
418
|
}, null, 8, ["name"]),
|
|
411
|
-
createElementVNode("view",
|
|
419
|
+
createElementVNode("view", _hoisted_8, toDisplayString(item.message), 1)
|
|
412
420
|
])) : createCommentVNode("", true),
|
|
413
421
|
_ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, {
|
|
414
|
-
key:
|
|
422
|
+
key: 2,
|
|
415
423
|
color: "rgba(0,0,0,0.6)",
|
|
416
424
|
onClick: ($event) => _ctx.onDelete(item, index2),
|
|
417
425
|
class: "close",
|
|
418
426
|
name: "failure"
|
|
419
427
|
}, null, 8, ["onClick"])) : createCommentVNode("", true),
|
|
420
428
|
item.type.includes("image") && item.url ? (openBlock(), createElementBlock("img", {
|
|
421
|
-
key:
|
|
429
|
+
key: 3,
|
|
422
430
|
class: "nut-uploader__preview-img__c",
|
|
423
431
|
onClick: ($event) => _ctx.fileItemClick(item),
|
|
424
432
|
src: item.url
|
|
425
|
-
}, null, 8,
|
|
433
|
+
}, null, 8, _hoisted_9)) : (openBlock(), createElementBlock("view", _hoisted_10, [
|
|
426
434
|
createElementVNode("view", {
|
|
427
435
|
onClick: ($event) => _ctx.fileItemClick(item),
|
|
428
436
|
class: "nut-uploader__preview-img__file__name"
|
|
@@ -432,17 +440,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
432
440
|
name: "link"
|
|
433
441
|
}),
|
|
434
442
|
createTextVNode("\xA0" + toDisplayString(item.name), 1)
|
|
435
|
-
], 8,
|
|
443
|
+
], 8, _hoisted_11)
|
|
436
444
|
])),
|
|
437
|
-
createElementVNode("view",
|
|
438
|
-
])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view",
|
|
445
|
+
createElementVNode("view", _hoisted_12, toDisplayString(item.name), 1)
|
|
446
|
+
])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view", _hoisted_13, [
|
|
439
447
|
createElementVNode("view", {
|
|
440
448
|
onClick: ($event) => _ctx.fileItemClick(item),
|
|
441
449
|
class: normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
|
|
442
450
|
}, [
|
|
443
451
|
createVNode(_component_nut_icon, { name: "link" }),
|
|
444
452
|
createTextVNode("\xA0" + toDisplayString(item.name), 1)
|
|
445
|
-
], 10,
|
|
453
|
+
], 10, _hoisted_14),
|
|
446
454
|
createVNode(_component_nut_icon, {
|
|
447
455
|
class: "nut-uploader__preview-img__file__del",
|
|
448
456
|
onClick: ($event) => _ctx.onDelete(item, index2),
|
|
@@ -478,7 +486,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
478
486
|
name: _ctx.name,
|
|
479
487
|
disabled: _ctx.disabled,
|
|
480
488
|
onChange: _cache[2] || (_cache[2] = (...args) => _ctx.onChange && _ctx.onChange(...args))
|
|
481
|
-
}, null, 40,
|
|
489
|
+
}, null, 40, _hoisted_15)) : (openBlock(), createElementBlock("input", {
|
|
482
490
|
key: 1,
|
|
483
491
|
class: "nut-uploader__input",
|
|
484
492
|
type: "file",
|
|
@@ -487,7 +495,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
487
495
|
name: _ctx.name,
|
|
488
496
|
disabled: _ctx.disabled,
|
|
489
497
|
onChange: _cache[3] || (_cache[3] = (...args) => _ctx.onChange && _ctx.onChange(...args))
|
|
490
|
-
}, null, 40,
|
|
498
|
+
}, null, 40, _hoisted_16))
|
|
491
499
|
], 2)) : createCommentVNode("", true)
|
|
492
500
|
], 2);
|
|
493
501
|
}
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.12-beta.0 Mon Nov 22 2021 20:58:07 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2021 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -1,13 +1,36 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.12-beta.0 Mon Nov 22 2021 20:58:07 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2021 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
if (instance) {
|
|
10
|
-
Object.assign(instance.proxy, apis);
|
|
11
|
-
}
|
|
6
|
+
import { unref } from "vue";
|
|
7
|
+
function isWindow(val) {
|
|
8
|
+
return val === window;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
const useRect = (elementRef) => {
|
|
11
|
+
const element = unref(elementRef);
|
|
12
|
+
if (isWindow(element)) {
|
|
13
|
+
const width = element.innerWidth;
|
|
14
|
+
const height = element.innerHeight;
|
|
15
|
+
return {
|
|
16
|
+
top: 0,
|
|
17
|
+
left: 0,
|
|
18
|
+
right: width,
|
|
19
|
+
bottom: height,
|
|
20
|
+
width,
|
|
21
|
+
height
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
if (element && element.getBoundingClientRect) {
|
|
25
|
+
return element.getBoundingClientRect();
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
top: 0,
|
|
29
|
+
left: 0,
|
|
30
|
+
right: 0,
|
|
31
|
+
bottom: 0,
|
|
32
|
+
width: 0,
|
|
33
|
+
height: 0
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export { useRect as u };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @nutui/nutui v3.1.12-beta.0 Mon Nov 22 2021 20:58:07 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2021 @jdf2e.
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
import { getCurrentInstance } from "vue";
|
|
7
|
+
function useExpose(apis) {
|
|
8
|
+
const instance = getCurrentInstance();
|
|
9
|
+
if (instance) {
|
|
10
|
+
Object.assign(instance.proxy, apis);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export { useExpose as u };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.12-beta.0 Mon Nov 22 2021 20:58:07 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2021 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
var _export_sfc = (sfc, props) => {
|
|
7
|
+
const target = sfc.__vccOpts || sfc;
|
|
7
8
|
for (const [key, val] of props) {
|
|
8
|
-
|
|
9
|
+
target[key] = val;
|
|
9
10
|
}
|
|
10
|
-
return
|
|
11
|
+
return target;
|
|
11
12
|
};
|
|
12
13
|
export { _export_sfc as _ };
|
package/dist/packages/_es/raf.js
CHANGED
|
@@ -1,73 +1,45 @@
|
|
|
1
|
-
.nut-
|
|
1
|
+
.nut-menu__bar {
|
|
2
2
|
position: relative;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
display: flex;
|
|
4
|
+
line-height: $nut-menu-bar-line-height;
|
|
5
|
+
background-color: $white;
|
|
6
|
+
border-bottom: 1px solid $nut-menu-bar-border-bottom-color;
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
line-height: 46px;
|
|
9
|
-
align-items: center;
|
|
10
|
-
background-color: #fff;
|
|
11
|
-
border-bottom: 1px solid #eaf0fb;
|
|
12
|
-
|
|
13
|
-
.title {
|
|
14
|
-
flex: 1;
|
|
15
|
-
text-align: center;
|
|
16
|
-
|
|
17
|
-
&.is-active {
|
|
18
|
-
font-weight: 600;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.disabled {
|
|
22
|
-
color: #999;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[class*='nut-icon-arrow'] {
|
|
26
|
-
vertical-align: middle;
|
|
27
|
-
margin-right: 2px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
8
|
+
&.opened {
|
|
9
|
+
z-index: $nut-menu-bar-opened-z-index;
|
|
30
10
|
}
|
|
31
11
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
border-radius: 0 0 12px 12px;
|
|
39
|
-
background-color: #fff;
|
|
40
|
-
}
|
|
12
|
+
.nut-menu__item {
|
|
13
|
+
flex: 1;
|
|
14
|
+
text-align: center;
|
|
15
|
+
font-size: $font-size-2;
|
|
16
|
+
color: $title-color;
|
|
17
|
+
min-width: 0;
|
|
41
18
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
overflow-y: auto;
|
|
19
|
+
&.disabled {
|
|
20
|
+
color: $nut-menu-item-disabled-color;
|
|
21
|
+
}
|
|
46
22
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
flex-wrap: wrap;
|
|
50
|
-
list-style: none;
|
|
51
|
-
margin: 0;
|
|
52
|
-
padding: 0;
|
|
23
|
+
.nut-menu__title-icon {
|
|
24
|
+
transition: all 0.2s linear;
|
|
53
25
|
}
|
|
54
26
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
27
|
+
.nut-menu__title {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
max-width: 100%;
|
|
32
|
+
|
|
33
|
+
.nut-menu__title-text {
|
|
34
|
+
@include text-ellipsis;
|
|
35
|
+
display: block;
|
|
36
|
+
padding-left: $nut-menu-title-text-padding-left;
|
|
37
|
+
padding-right: $nut-menu-title-text-padding-right;
|
|
38
|
+
}
|
|
59
39
|
|
|
60
|
-
.nut-icon
|
|
61
|
-
|
|
62
|
-
margin-right: 6px;
|
|
40
|
+
&.active .nut-menu__title-icon {
|
|
41
|
+
transform: rotate(180deg);
|
|
63
42
|
}
|
|
64
43
|
}
|
|
65
44
|
}
|
|
66
|
-
|
|
67
|
-
.customer-item {
|
|
68
|
-
@extend %itemCommon;
|
|
69
|
-
padding-left: 24px;
|
|
70
|
-
padding-right: 24px;
|
|
71
|
-
box-sizing: border-box;
|
|
72
|
-
}
|
|
73
45
|
}
|
|
@@ -1,109 +1,46 @@
|
|
|
1
1
|
.nut-menu-item {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
padding: 0 5px;
|
|
8
|
-
&.disabled {
|
|
9
|
-
color: #999;
|
|
10
|
-
}
|
|
11
|
-
&.nut-menu-item-active {
|
|
12
|
-
.nut-menu-title {
|
|
13
|
-
font-weight: bold;
|
|
14
|
-
.icon {
|
|
15
|
-
color: #1a1a1a;
|
|
16
|
-
transition: all ease 0.3s;
|
|
17
|
-
transform: rotate(-180deg);
|
|
18
|
-
background: url('https://img14.360buyimg.com/imagetools/jfs/t1/144044/16/20214/521/5fe5bb14Ebf213fe3/40f271b982f31898.png')
|
|
19
|
-
no-repeat;
|
|
20
|
-
background-size: contain;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.nut-menu-panel {
|
|
24
|
-
display: block;
|
|
25
|
-
}
|
|
2
|
+
.active {
|
|
3
|
+
font-weight: 500;
|
|
26
4
|
}
|
|
27
5
|
}
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
|
|
7
|
+
.nut-menu-item__content {
|
|
8
|
+
padding: $nut-menu-item-content-padding;
|
|
9
|
+
max-height: $nut-menu-item-content-max-height;
|
|
10
|
+
overflow-y: auto;
|
|
30
11
|
display: flex;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
background-size: contain;
|
|
45
|
-
color: #909ca4;
|
|
46
|
-
transform: rotate(0deg);
|
|
47
|
-
transition: all ease 0.3s;
|
|
48
|
-
margin: 0 2px;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
|
|
14
|
+
.nut-menu-item__option {
|
|
15
|
+
color: $title-color;
|
|
16
|
+
font-size: $font-size-2;
|
|
17
|
+
padding-top: $nut-menu-item-option-padding-top;
|
|
18
|
+
padding-bottom: $nut-menu-item-option-padding-bottom;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
|
|
22
|
+
i {
|
|
23
|
+
margin-right: $nut-menu-item-option-i-margin-right;
|
|
24
|
+
}
|
|
49
25
|
}
|
|
50
26
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
width: 100%;
|
|
27
|
+
|
|
28
|
+
.nut-menu__overlay {
|
|
54
29
|
position: absolute;
|
|
55
|
-
|
|
56
|
-
top: 46px;
|
|
57
|
-
color: #2d2d2d;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
background-color: #fff;
|
|
60
|
-
-webkit-box-sizing: border-box;
|
|
61
|
-
box-sizing: border-box;
|
|
62
|
-
-webkit-overflow-scrolling: touch;
|
|
63
|
-
z-index: 9998;
|
|
64
|
-
border-top: 1px solid #f7f8fa;
|
|
65
|
-
border-radius: 0 0 15px 15px;
|
|
66
|
-
box-shadow: 0 4px 5px 0px rgba(236, 236, 236, 0.25);
|
|
67
|
-
overflow: auto;
|
|
68
|
-
// &.active{
|
|
69
|
-
// display: block;
|
|
70
|
-
// }
|
|
30
|
+
top: auto !important;
|
|
71
31
|
}
|
|
72
32
|
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
width: 33%;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
.menu-option {
|
|
90
|
-
min-height: 24px;
|
|
91
|
-
line-height: 42px;
|
|
92
|
-
font-size: 14px;
|
|
93
|
-
color: #1a1a1a;
|
|
94
|
-
width: 100%;
|
|
95
|
-
white-space: nowrap;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
text-overflow: ellipsis;
|
|
98
|
-
padding: 0 5px;
|
|
99
|
-
&.checked {
|
|
100
|
-
font-weight: bold;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
.check-icon {
|
|
104
|
-
width: 14px;
|
|
105
|
-
height: 14px;
|
|
106
|
-
margin-right: 5px;
|
|
107
|
-
color: #fa2c19;
|
|
108
|
-
}
|
|
33
|
+
.nut-menu__pop {
|
|
34
|
+
transition: all 0 ease 0;
|
|
35
|
+
transform: none;
|
|
36
|
+
top: auto !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.placeholder-element {
|
|
40
|
+
position: fixed;
|
|
41
|
+
top: -$nut-menu-bar-line-height;
|
|
42
|
+
left: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
z-index: $nut-menu-bar-opened-z-index;
|
|
45
|
+
background-color: transparent;
|
|
109
46
|
}
|