@nutui/nutui 3.1.23-beta.3 → 3.1.23-beta.4
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/README.md +7 -0
- package/dist/nutui.es.js +51 -24
- package/dist/nutui.umd.js +51 -24
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +2 -2
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.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/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +2 -2
- 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 +1 -1
- 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/Comment.js +1 -1
- package/dist/packages/_es/ConfigProvider.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/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/Ellipsis.js +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Indicator.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/List.js +1 -1
- package/dist/packages/_es/Menu.js +2 -2
- package/dist/packages/_es/MenuItem.js +1 -1
- 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/OldPicker.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 +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.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 +1 -1
- 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/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.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/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- 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 +3 -3
- package/dist/packages/_es/TabbarItem.js +33 -13
- package/dist/packages/_es/Table.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 +10 -3
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/WaterMark.js +1 -1
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +5 -5
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +1 -1
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/cascader/index.scss +13 -0
- package/dist/packages/cell/index.scss +2 -1
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/table/index.scss +33 -0
- package/dist/packages/timedetail/index.scss +16 -0
- package/dist/packages/timepannel/index.scss +10 -0
- package/dist/packages/timeselect/index.scss +19 -1
- package/dist/packages/uploader/index.scss +10 -0
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +48 -48
- package/dist/styles/themes/jdb.scss +48 -48
- package/dist/styles/themes/jdt.scss +48 -48
- package/dist/styles/variables-jdb.scss +3 -3
- package/dist/styles/variables-jdt.scss +3 -3
- package/dist/styles/variables.scss +3 -3
- package/dist/types/__VUE/avatar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +4 -4
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +7 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +4 -4
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
- package/dist/types/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -45,10 +45,10 @@ const _sfc_main = create({
|
|
|
45
45
|
val: props.visible,
|
|
46
46
|
children: []
|
|
47
47
|
});
|
|
48
|
-
function changeIndex(active) {
|
|
48
|
+
function changeIndex(index2, active) {
|
|
49
49
|
emit("update:visible", active);
|
|
50
50
|
parentData.modelValue = active;
|
|
51
|
-
emit("tab-switch", parentData.children[
|
|
51
|
+
emit("tab-switch", parentData.children[index2], active);
|
|
52
52
|
}
|
|
53
53
|
let parentData = reactive({
|
|
54
54
|
children: mdValue.children,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -15,6 +15,9 @@ const _sfc_main = create({
|
|
|
15
15
|
type: String,
|
|
16
16
|
default: ""
|
|
17
17
|
},
|
|
18
|
+
name: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
18
21
|
icon: {
|
|
19
22
|
type: String,
|
|
20
23
|
default: ""
|
|
@@ -60,15 +63,25 @@ const _sfc_main = create({
|
|
|
60
63
|
});
|
|
61
64
|
const router = useRouter();
|
|
62
65
|
const relation = (child) => {
|
|
66
|
+
var _a;
|
|
63
67
|
if (child.proxy) {
|
|
64
|
-
let index2 = parent.children.length;
|
|
65
|
-
state.index = index2;
|
|
66
68
|
parent.children.push(child.proxy);
|
|
69
|
+
const index2 = computed(() => parent.children.indexOf(child.proxy));
|
|
70
|
+
state.index = (_a = props.name) != null ? _a : index2.value;
|
|
67
71
|
}
|
|
68
72
|
};
|
|
69
73
|
relation(getCurrentInstance());
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
const active = computed(() => state.index === state.active);
|
|
75
|
+
function change() {
|
|
76
|
+
var _a;
|
|
77
|
+
let key = (_a = props.name) != null ? _a : state.index;
|
|
78
|
+
let index2 = null;
|
|
79
|
+
if (props.name) {
|
|
80
|
+
index2 = parent.children.findIndex((item) => {
|
|
81
|
+
return item.name == key;
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
parent.changeIndex(index2 != null ? index2 : key, state.index);
|
|
72
85
|
}
|
|
73
86
|
const choosed = computed(() => {
|
|
74
87
|
if (parent) {
|
|
@@ -78,13 +91,19 @@ const _sfc_main = create({
|
|
|
78
91
|
});
|
|
79
92
|
watch(choosed, (value, oldValue) => {
|
|
80
93
|
state.active = value;
|
|
94
|
+
let index2 = value;
|
|
95
|
+
if (props.name) {
|
|
96
|
+
index2 = parent.children.findIndex((item) => {
|
|
97
|
+
return item.name == value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
81
100
|
setTimeout(() => {
|
|
82
|
-
if (parent.children[
|
|
83
|
-
window.location.href = parent.children[
|
|
101
|
+
if (parent.children[index2].href) {
|
|
102
|
+
window.location.href = parent.children[index2].href;
|
|
84
103
|
return;
|
|
85
104
|
}
|
|
86
|
-
if (parent.children[
|
|
87
|
-
let to = parent.children[
|
|
105
|
+
if (parent.children[index2].to) {
|
|
106
|
+
let to = parent.children[index2].to;
|
|
88
107
|
if (to && router) {
|
|
89
108
|
router.push(to);
|
|
90
109
|
} else {
|
|
@@ -95,6 +114,7 @@ const _sfc_main = create({
|
|
|
95
114
|
});
|
|
96
115
|
return {
|
|
97
116
|
state,
|
|
117
|
+
active,
|
|
98
118
|
change
|
|
99
119
|
};
|
|
100
120
|
}
|
|
@@ -117,11 +137,11 @@ const _hoisted_6 = { key: 0 };
|
|
|
117
137
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
118
138
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
119
139
|
return openBlock(), createElementBlock("div", {
|
|
120
|
-
class: normalizeClass(["nut-tabbar-item", { "nut-tabbar-item__icon--unactive": _ctx.
|
|
140
|
+
class: normalizeClass(["nut-tabbar-item", { "nut-tabbar-item__icon--unactive": !_ctx.active }]),
|
|
121
141
|
style: normalizeStyle({
|
|
122
|
-
color: _ctx.
|
|
142
|
+
color: _ctx.active ? _ctx.state.activeColor : _ctx.state.unactiveColor
|
|
123
143
|
}),
|
|
124
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.change(
|
|
144
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.change())
|
|
125
145
|
}, [
|
|
126
146
|
createElementVNode("view", _hoisted_1, [
|
|
127
147
|
!_ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -141,7 +161,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
141
161
|
key: 3,
|
|
142
162
|
class: "nut-tabbar-item_icon-box_icon",
|
|
143
163
|
style: normalizeStyle({
|
|
144
|
-
backgroundImage: `url(${_ctx.
|
|
164
|
+
backgroundImage: `url(${_ctx.active ? _ctx.activeImg : _ctx.img})`,
|
|
145
165
|
width: _ctx.state.size,
|
|
146
166
|
height: _ctx.state.size
|
|
147
167
|
})
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -49,7 +49,11 @@ class Uploader {
|
|
|
49
49
|
xhr.setRequestHeader(key, value);
|
|
50
50
|
}
|
|
51
51
|
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
52
|
-
|
|
52
|
+
if (options.method.toLowerCase() == "put") {
|
|
53
|
+
xhr.send(options.sourceFile);
|
|
54
|
+
} else {
|
|
55
|
+
xhr.send(options.formData);
|
|
56
|
+
}
|
|
53
57
|
} else {
|
|
54
58
|
console.warn("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 XMLHttpRequest");
|
|
55
59
|
}
|
|
@@ -173,6 +177,10 @@ const _sfc_main = create({
|
|
|
173
177
|
uploadOption.xhrState = props.xhrState;
|
|
174
178
|
uploadOption.headers = props.headers;
|
|
175
179
|
uploadOption.withCredentials = props.withCredentials;
|
|
180
|
+
try {
|
|
181
|
+
uploadOption.sourceFile = fileItem.formData.get(props.name);
|
|
182
|
+
} catch (error) {
|
|
183
|
+
}
|
|
176
184
|
uploadOption.onStart = (option) => {
|
|
177
185
|
fileItem.status = "ready";
|
|
178
186
|
fileItem.message = translate("readyUpload");
|
|
@@ -399,7 +407,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
399
407
|
])) : createCommentVNode("", true),
|
|
400
408
|
_ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, {
|
|
401
409
|
key: 2,
|
|
402
|
-
color: "rgba(0,0,0,0.6)",
|
|
403
410
|
onClick: ($event) => _ctx.onDelete(item, index2),
|
|
404
411
|
class: "close",
|
|
405
412
|
name: "failure"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { shallowReactive, getCurrentInstance, provide, markRaw, isVNode, computed, h } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { p as pxCheck } from "./pxCheck.js";
|
|
9
9
|
function flattenVNodes(children, childName) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.23-beta.
|
|
2
|
+
* @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { defineComponent } from "vue";
|
|
7
7
|
import locale from "../locale/lang";
|
|
8
8
|
const TypeOfFun = (value) => {
|
|
9
|
-
if (
|
|
9
|
+
if (null === value) {
|
|
10
10
|
return "null";
|
|
11
11
|
}
|
|
12
12
|
const type = typeof value;
|
|
13
|
-
if (
|
|
13
|
+
if ("undefined" === type || "string" === type) {
|
|
14
14
|
return type;
|
|
15
15
|
}
|
|
16
16
|
const typeString = toString.call(value);
|
|
@@ -28,8 +28,8 @@ const TypeOfFun = (value) => {
|
|
|
28
28
|
case "[object RegExp]":
|
|
29
29
|
return "regexp";
|
|
30
30
|
case "[object Object]":
|
|
31
|
-
if (value.nodeType
|
|
32
|
-
if (value.nodeType
|
|
31
|
+
if (void 0 !== value.nodeType) {
|
|
32
|
+
if (3 == value.nodeType) {
|
|
33
33
|
return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
|
|
34
34
|
} else {
|
|
35
35
|
return "element";
|
package/dist/packages/_es/raf.js
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-cascader__bar {
|
|
3
|
+
background: $dark-background2;
|
|
4
|
+
color: $dark-color;
|
|
5
|
+
}
|
|
6
|
+
.nut-tabs__titles {
|
|
7
|
+
background: $dark-background3 !important;
|
|
8
|
+
}
|
|
9
|
+
.nut-cascader-item {
|
|
10
|
+
color: $dark-color-gray;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
1
14
|
.nut-cascader {
|
|
2
15
|
width: 100%;
|
|
3
16
|
font-size: $cascader-font-size;
|
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-table {
|
|
3
|
+
&__main {
|
|
4
|
+
color: $dark-color;
|
|
5
|
+
background-color: $dark-background2;
|
|
6
|
+
&--striped {
|
|
7
|
+
.nut-table__main__head {
|
|
8
|
+
&__tr {
|
|
9
|
+
background-color: $dark-background3;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.nut-table__main__body {
|
|
13
|
+
&__tr:nth-child(odd) {
|
|
14
|
+
background-color: $dark-color-gray;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.nut-table__main__body {
|
|
18
|
+
&__tr:nth-child(even) {
|
|
19
|
+
background-color: $dark-background3;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&__summary {
|
|
25
|
+
color: $dark-color;
|
|
26
|
+
background-color: $dark-background;
|
|
27
|
+
}
|
|
28
|
+
&__nodata {
|
|
29
|
+
color: $dark-color;
|
|
30
|
+
background-color: $dark-background;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
1
34
|
.nut-table {
|
|
2
35
|
display: flex;
|
|
3
36
|
width: 100%;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-timedetail {
|
|
3
|
+
background-color: $dark-background2;
|
|
4
|
+
&__detail {
|
|
5
|
+
&__list {
|
|
6
|
+
&__item {
|
|
7
|
+
background-color: $dark-background;
|
|
8
|
+
color: $dark-color;
|
|
9
|
+
&--curr {
|
|
10
|
+
color: $timeselect-timedetail-item-cur-text-color;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
1
17
|
.nut-timedetail {
|
|
2
18
|
display: flex;
|
|
3
19
|
width: 100%;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-timepannel {
|
|
3
|
+
background-color: $dark-background3;
|
|
4
|
+
color: $dark-color-gray;
|
|
5
|
+
&--curr {
|
|
6
|
+
background-color: $dark-background2;
|
|
7
|
+
color: $dark-color;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
1
11
|
.nut-timepannel {
|
|
2
12
|
display: flex;
|
|
3
13
|
width: $timeselect-timepannel-width;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-timeselect {
|
|
3
|
+
background-color: $dark-background2;
|
|
4
|
+
&__title {
|
|
5
|
+
background-color: $dark-background2;
|
|
6
|
+
color: $dark-color;
|
|
7
|
+
}
|
|
8
|
+
&__content {
|
|
9
|
+
&__pannel {
|
|
10
|
+
background-color: $dark-background3;
|
|
11
|
+
color: $dark-color;
|
|
12
|
+
}
|
|
13
|
+
&__detail {
|
|
14
|
+
background-color: $dark-background2;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
1
19
|
.nut-timeselect {
|
|
2
20
|
width: 100%;
|
|
3
21
|
height: 100%;
|
|
@@ -8,7 +26,7 @@
|
|
|
8
26
|
width: $timeselect-title-width;
|
|
9
27
|
height: $timeselect-title-height;
|
|
10
28
|
line-height: $timeselect-title-line-height;
|
|
11
|
-
|
|
29
|
+
padding-bottom: 10px;
|
|
12
30
|
font-size: $timeselect-title-font-size;
|
|
13
31
|
color: $timeselect-title-color;
|
|
14
32
|
text-align: center;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
.nut-theme-dark {
|
|
2
|
+
.nut-uploader__preview-list {
|
|
3
|
+
background: $dark-background2;
|
|
4
|
+
color: $dark-color;
|
|
5
|
+
}
|
|
6
|
+
.close {
|
|
7
|
+
color: $dark-color !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
1
10
|
.nut-uploader {
|
|
2
11
|
position: relative;
|
|
3
12
|
display: flex;
|
|
@@ -101,6 +110,7 @@
|
|
|
101
110
|
position: absolute;
|
|
102
111
|
right: 0;
|
|
103
112
|
top: 0;
|
|
113
|
+
color: rgba(0, 0, 0, 0.6);
|
|
104
114
|
transform: translate(50%, -50%);
|
|
105
115
|
}
|
|
106
116
|
.tips {
|