dtable-ui-component 6.0.24-beta.5 → 6.0.24-beta1
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/lib/BodyPortal/index.js +29 -0
- package/lib/DateEditor/mb-date-editor-popover/index.js +3 -3
- package/lib/index.js +5 -96
- package/lib/utils/utils.js +3 -2
- package/package.json +3 -11
- package/lib/ActionSheet/index.js +0 -194
- package/lib/ActionSheet/style/index.css +0 -365
- package/lib/ActivityIndicator/index.css +0 -108
- package/lib/ActivityIndicator/index.js +0 -76
- package/lib/Badge/index.css +0 -96
- package/lib/Badge/index.js +0 -65
- package/lib/DatePicker/index.js +0 -120
- package/lib/DatePicker/locale/en_US.js +0 -14
- package/lib/DatePicker/locale/ru_RU.js +0 -14
- package/lib/DatePicker/locale/sv_SE.js +0 -14
- package/lib/DatePicker/locale/zh_CN.js +0 -14
- package/lib/DatePicker/style/index.css +0 -290
- package/lib/DatePicker/utils.js +0 -36
- package/lib/Drawer/index.css +0 -142
- package/lib/Drawer/index.js +0 -21
- package/lib/Icon/index.css +0 -50
- package/lib/Icon/index.js +0 -34
- package/lib/Icon/load-sprite.js +0 -56
- package/lib/InputItem/custom-input.js +0 -321
- package/lib/InputItem/custom-keyboard.js +0 -162
- package/lib/InputItem/index.js +0 -388
- package/lib/InputItem/input.js +0 -45
- package/lib/InputItem/locale/en_US.js +0 -12
- package/lib/InputItem/locale/ru_RU.js +0 -12
- package/lib/InputItem/locale/sv_SE.js +0 -12
- package/lib/InputItem/locale/zh_CN.js +0 -12
- package/lib/InputItem/portal.js +0 -23
- package/lib/InputItem/style/index.css +0 -512
- package/lib/List/index.css +0 -381
- package/lib/List/index.js +0 -41
- package/lib/List/list-item.js +0 -169
- package/lib/Modal/alert.js +0 -82
- package/lib/Modal/index.js +0 -15
- package/lib/Modal/modal.js +0 -118
- package/lib/Modal/operation.js +0 -77
- package/lib/Modal/prompt.js +0 -207
- package/lib/Picker/AbstractPicker.js +0 -190
- package/lib/Picker/index.js +0 -28
- package/lib/Picker/locale/en_US.js +0 -12
- package/lib/Picker/locale/ru_RU.js +0 -12
- package/lib/Picker/locale/sv_SE.js +0 -12
- package/lib/Picker/locale/zh_CN.js +0 -12
- package/lib/Picker/popupProps.js +0 -12
- package/lib/Picker/style/index.css +0 -141
- package/lib/Popover/index.js +0 -62
- package/lib/Popover/item.js +0 -55
- package/lib/Popover/style/index.css +0 -229
- package/lib/Progress/index.css +0 -22
- package/lib/Progress/index.js +0 -65
- package/lib/TabBar/Tab.js +0 -76
- package/lib/TabBar/index.css +0 -138
- package/lib/TabBar/index.js +0 -128
- package/lib/Tabs/index.css +0 -443
- package/lib/Tabs/index.js +0 -38
- package/lib/TextareaItem/index.css +0 -231
- package/lib/TextareaItem/index.js +0 -231
- package/lib/Toast/index.css +0 -65
- package/lib/Toast/index.js +0 -131
- package/lib/_util/class.js +0 -34
- package/lib/_util/closest.js +0 -17
- package/lib/_util/exenv.js +0 -8
- package/lib/_util/getDataAttr.js +0 -15
- package/lib/_util/getLocale.js +0 -42
package/lib/TabBar/index.css
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
.am-tab-bar {
|
|
2
|
-
height: 100%;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.am-tab-bar-bar {
|
|
7
|
-
position: relative;
|
|
8
|
-
-webkit-box-sizing: border-box;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
height: 50px;
|
|
11
|
-
border-top: 1PX solid #ddd;
|
|
12
|
-
width: 100%;
|
|
13
|
-
display: -webkit-box;
|
|
14
|
-
display: -webkit-flex;
|
|
15
|
-
display: -ms-flexbox;
|
|
16
|
-
display: flex;
|
|
17
|
-
-webkit-transition-duration: .2s;
|
|
18
|
-
transition-duration: .2s;
|
|
19
|
-
-webkit-transition-property: height bottom;
|
|
20
|
-
transition-property: height bottom;
|
|
21
|
-
z-index: 100;
|
|
22
|
-
-webkit-justify-content: space-around;
|
|
23
|
-
-ms-flex-pack: distribute;
|
|
24
|
-
justify-content: space-around;
|
|
25
|
-
-webkit-box-align: center;
|
|
26
|
-
-webkit-align-items: center;
|
|
27
|
-
-ms-flex-align: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
33
|
-
html:not([data-scale]) .am-tab-bar-bar {
|
|
34
|
-
border-top: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
38
|
-
content: '';
|
|
39
|
-
position: absolute;
|
|
40
|
-
background-color: #ddd;
|
|
41
|
-
display: block;
|
|
42
|
-
z-index: 1;
|
|
43
|
-
top: 0;
|
|
44
|
-
right: auto;
|
|
45
|
-
bottom: auto;
|
|
46
|
-
left: 0;
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 1PX;
|
|
49
|
-
-webkit-transform-origin: 50% 50%;
|
|
50
|
-
-ms-transform-origin: 50% 50%;
|
|
51
|
-
transform-origin: 50% 50%;
|
|
52
|
-
-webkit-transform: scaleY(0.5);
|
|
53
|
-
-ms-transform: scaleY(0.5);
|
|
54
|
-
transform: scaleY(0.5);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
59
|
-
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
60
|
-
-webkit-transform: scaleY(0.33);
|
|
61
|
-
-ms-transform: scaleY(0.33);
|
|
62
|
-
transform: scaleY(0.33);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.am-tab-bar-bar-hidden-top {
|
|
67
|
-
bottom: 50px;
|
|
68
|
-
height: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.am-tab-bar-bar-hidden-bottom {
|
|
72
|
-
bottom: -50px;
|
|
73
|
-
height: 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.am-tab-bar-bar .am-tab-bar-tab {
|
|
77
|
-
-webkit-box-flex: 1;
|
|
78
|
-
-webkit-flex: 1;
|
|
79
|
-
-ms-flex: 1;
|
|
80
|
-
flex: 1;
|
|
81
|
-
display: -webkit-box;
|
|
82
|
-
display: -webkit-flex;
|
|
83
|
-
display: -ms-flexbox;
|
|
84
|
-
display: flex;
|
|
85
|
-
-webkit-box-pack: center;
|
|
86
|
-
-webkit-justify-content: center;
|
|
87
|
-
-ms-flex-pack: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
-webkit-box-align: center;
|
|
90
|
-
-webkit-align-items: center;
|
|
91
|
-
-ms-flex-align: center;
|
|
92
|
-
align-items: center;
|
|
93
|
-
-webkit-box-orient: vertical;
|
|
94
|
-
-webkit-box-direction: normal;
|
|
95
|
-
-webkit-flex-direction: column;
|
|
96
|
-
-ms-flex-direction: column;
|
|
97
|
-
flex-direction: column;
|
|
98
|
-
text-align: center;
|
|
99
|
-
width: 100%;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.am-tab-bar-bar .am-tab-bar-tab-image {
|
|
103
|
-
width: 22px;
|
|
104
|
-
height: 22px;
|
|
105
|
-
vertical-align: middle;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.am-tab-bar-bar .am-tab-bar-tab-title {
|
|
109
|
-
font-size: 10px;
|
|
110
|
-
margin: 3px 0 0 0;
|
|
111
|
-
line-height: 1;
|
|
112
|
-
text-align: center;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon {
|
|
116
|
-
display: -webkit-box;
|
|
117
|
-
display: -webkit-flex;
|
|
118
|
-
display: -ms-flexbox;
|
|
119
|
-
display: flex;
|
|
120
|
-
-webkit-box-pack: center;
|
|
121
|
-
-webkit-justify-content: center;
|
|
122
|
-
-ms-flex-pack: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-badge :last-child {
|
|
127
|
-
margin-top: 4px;
|
|
128
|
-
left: 22px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-dot :last-child {
|
|
132
|
-
margin-top: 4px;
|
|
133
|
-
left: 22px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.am-tab-bar-item {
|
|
137
|
-
height: 100%;
|
|
138
|
-
}
|
package/lib/TabBar/index.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.Item = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _getDataAttr = _interopRequireDefault(require("../_util/getDataAttr"));
|
|
11
|
-
var _Tabs = _interopRequireDefault(require("../Tabs"));
|
|
12
|
-
var _Tab = _interopRequireDefault(require("./Tab"));
|
|
13
|
-
class Item extends React.Component {
|
|
14
|
-
render() {
|
|
15
|
-
const {
|
|
16
|
-
prefixCls,
|
|
17
|
-
style
|
|
18
|
-
} = this.props;
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: prefixCls,
|
|
21
|
-
style: style
|
|
22
|
-
}, this.props.children);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.Item = Item;
|
|
26
|
-
Item.defaultProps = {
|
|
27
|
-
prefixCls: 'am-tab-bar-item',
|
|
28
|
-
title: ''
|
|
29
|
-
};
|
|
30
|
-
class AntTabBar extends React.Component {
|
|
31
|
-
constructor() {
|
|
32
|
-
super(...arguments);
|
|
33
|
-
this.getTabs = () => {
|
|
34
|
-
const tabs = [];
|
|
35
|
-
React.Children.forEach(this.props.children, c => {
|
|
36
|
-
if (c) {
|
|
37
|
-
tabs.push({
|
|
38
|
-
...c.props
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
return tabs;
|
|
43
|
-
};
|
|
44
|
-
this.renderTabBar = () => {
|
|
45
|
-
const {
|
|
46
|
-
barTintColor,
|
|
47
|
-
prefixCls,
|
|
48
|
-
tintColor,
|
|
49
|
-
unselectedTintColor,
|
|
50
|
-
hidden,
|
|
51
|
-
tabBarPosition
|
|
52
|
-
} = this.props;
|
|
53
|
-
const tabsData = this.getTabs();
|
|
54
|
-
const content = Array.isArray(tabsData) ? tabsData.map((cProps, index) => {
|
|
55
|
-
return /*#__PURE__*/React.createElement(_Tab.default, {
|
|
56
|
-
key: index,
|
|
57
|
-
prefixCls: "".concat(this.props.prefixCls, "-tab"),
|
|
58
|
-
badge: cProps.badge,
|
|
59
|
-
dot: cProps.dot,
|
|
60
|
-
selected: cProps.selected,
|
|
61
|
-
icon: cProps.icon,
|
|
62
|
-
selectedIcon: cProps.selectedIcon,
|
|
63
|
-
title: cProps.title,
|
|
64
|
-
tintColor: tintColor,
|
|
65
|
-
unselectedTintColor: unselectedTintColor,
|
|
66
|
-
dataAttrs: (0, _getDataAttr.default)(cProps),
|
|
67
|
-
onClick: () => cProps.onPress && cProps.onPress()
|
|
68
|
-
});
|
|
69
|
-
}) : null;
|
|
70
|
-
let cls = "".concat(prefixCls, "-bar");
|
|
71
|
-
if (hidden) {
|
|
72
|
-
cls += " ".concat(prefixCls, "-bar-hidden-").concat(tabBarPosition);
|
|
73
|
-
}
|
|
74
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
75
|
-
className: cls,
|
|
76
|
-
style: {
|
|
77
|
-
backgroundColor: barTintColor
|
|
78
|
-
}
|
|
79
|
-
}, content);
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const {
|
|
84
|
-
prefixCls,
|
|
85
|
-
children,
|
|
86
|
-
animated,
|
|
87
|
-
swipeable,
|
|
88
|
-
noRenderContent,
|
|
89
|
-
prerenderingSiblingsNumber,
|
|
90
|
-
tabBarPosition
|
|
91
|
-
} = this.props;
|
|
92
|
-
const tabs = this.getTabs();
|
|
93
|
-
let activeIndex = 0;
|
|
94
|
-
if (Array.isArray(tabs)) {
|
|
95
|
-
tabs.forEach((tab, index) => {
|
|
96
|
-
if (tab.selected) {
|
|
97
|
-
activeIndex = index;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
102
|
-
className: prefixCls
|
|
103
|
-
}, /*#__PURE__*/React.createElement(_Tabs.default, {
|
|
104
|
-
tabs: tabs,
|
|
105
|
-
renderTabBar: this.renderTabBar,
|
|
106
|
-
tabBarPosition: tabBarPosition,
|
|
107
|
-
page: activeIndex < 0 ? undefined : activeIndex,
|
|
108
|
-
animated: animated,
|
|
109
|
-
swipeable: swipeable,
|
|
110
|
-
noRenderContent: noRenderContent,
|
|
111
|
-
prerenderingSiblingsNumber: prerenderingSiblingsNumber
|
|
112
|
-
}, children));
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
AntTabBar.defaultProps = {
|
|
116
|
-
prefixCls: 'am-tab-bar',
|
|
117
|
-
barTintColor: 'white',
|
|
118
|
-
tintColor: '#108ee9',
|
|
119
|
-
hidden: false,
|
|
120
|
-
unselectedTintColor: '#888',
|
|
121
|
-
placeholder: '正在加载',
|
|
122
|
-
animated: false,
|
|
123
|
-
swipeable: false,
|
|
124
|
-
prerenderingSiblingsNumber: 1,
|
|
125
|
-
tabBarPosition: 'bottom'
|
|
126
|
-
};
|
|
127
|
-
AntTabBar.Item = Item;
|
|
128
|
-
var _default = exports.default = AntTabBar;
|
package/lib/Tabs/index.css
DELETED
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
.am-tabs {
|
|
2
|
-
-webkit-box-sizing: border-box;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
display: -webkit-box;
|
|
5
|
-
display: -webkit-flex;
|
|
6
|
-
display: -ms-flexbox;
|
|
7
|
-
display: flex;
|
|
8
|
-
-webkit-box-flex: 1;
|
|
9
|
-
-webkit-flex: 1;
|
|
10
|
-
-ms-flex: 1;
|
|
11
|
-
flex: 1;
|
|
12
|
-
position: relative;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
height: 100%;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.am-tabs * {
|
|
19
|
-
-webkit-box-sizing: border-box;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.am-tabs-content-wrap {
|
|
24
|
-
display: -webkit-box;
|
|
25
|
-
display: -webkit-flex;
|
|
26
|
-
display: -ms-flexbox;
|
|
27
|
-
display: flex;
|
|
28
|
-
-webkit-box-flex: 1;
|
|
29
|
-
-webkit-flex: 1;
|
|
30
|
-
-ms-flex: 1;
|
|
31
|
-
flex: 1;
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
min-height: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.am-tabs-content-wrap-animated {
|
|
38
|
-
-webkit-transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
39
|
-
transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
40
|
-
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
41
|
-
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
42
|
-
will-change: transform, left, top;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.am-tabs-pane-wrap {
|
|
46
|
-
width: 100%;
|
|
47
|
-
-webkit-flex-shrink: 0;
|
|
48
|
-
-ms-flex-negative: 0;
|
|
49
|
-
flex-shrink: 0;
|
|
50
|
-
overflow-y: auto;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.am-tabs-tab-bar-wrap {
|
|
54
|
-
-webkit-flex-shrink: 0;
|
|
55
|
-
-ms-flex-negative: 0;
|
|
56
|
-
flex-shrink: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.am-tabs-horizontal .am-tabs-pane-wrap-active {
|
|
60
|
-
height: auto;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.am-tabs-horizontal .am-tabs-pane-wrap-inactive {
|
|
64
|
-
height: 0;
|
|
65
|
-
overflow: visible;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.am-tabs-vertical .am-tabs-content-wrap {
|
|
69
|
-
-webkit-box-orient: vertical;
|
|
70
|
-
-webkit-box-direction: normal;
|
|
71
|
-
-webkit-flex-direction: column;
|
|
72
|
-
-ms-flex-direction: column;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.am-tabs-vertical .am-tabs-tab-bar-wrap {
|
|
77
|
-
height: 100%;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.am-tabs-vertical .am-tabs-pane-wrap {
|
|
81
|
-
height: 100%;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.am-tabs-vertical .am-tabs-pane-wrap-active {
|
|
85
|
-
overflow: auto;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.am-tabs-vertical .am-tabs-pane-wrap-inactive {
|
|
89
|
-
overflow: hidden;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.am-tabs-top,
|
|
93
|
-
.am-tabs-bottom {
|
|
94
|
-
-webkit-box-orient: vertical;
|
|
95
|
-
-webkit-box-direction: normal;
|
|
96
|
-
-webkit-flex-direction: column;
|
|
97
|
-
-ms-flex-direction: column;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.am-tabs-left,
|
|
102
|
-
.am-tabs-right {
|
|
103
|
-
-webkit-box-orient: horizontal;
|
|
104
|
-
-webkit-box-direction: normal;
|
|
105
|
-
-webkit-flex-direction: row;
|
|
106
|
-
-ms-flex-direction: row;
|
|
107
|
-
flex-direction: row;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.am-tabs-default-bar {
|
|
111
|
-
position: relative;
|
|
112
|
-
display: -webkit-box;
|
|
113
|
-
display: -webkit-flex;
|
|
114
|
-
display: -ms-flexbox;
|
|
115
|
-
display: flex;
|
|
116
|
-
-webkit-flex-shrink: 0;
|
|
117
|
-
-ms-flex-negative: 0;
|
|
118
|
-
flex-shrink: 0;
|
|
119
|
-
-webkit-box-orient: horizontal;
|
|
120
|
-
-webkit-box-direction: normal;
|
|
121
|
-
-webkit-flex-direction: row;
|
|
122
|
-
-ms-flex-direction: row;
|
|
123
|
-
flex-direction: row;
|
|
124
|
-
width: 100%;
|
|
125
|
-
height: 100%;
|
|
126
|
-
overflow: visible;
|
|
127
|
-
z-index: 1;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.am-tabs-default-bar-tab {
|
|
131
|
-
position: relative;
|
|
132
|
-
display: -webkit-box;
|
|
133
|
-
display: -webkit-flex;
|
|
134
|
-
display: -ms-flexbox;
|
|
135
|
-
display: flex;
|
|
136
|
-
-webkit-flex-shrink: 0;
|
|
137
|
-
-ms-flex-negative: 0;
|
|
138
|
-
flex-shrink: 0;
|
|
139
|
-
-webkit-box-pack: center;
|
|
140
|
-
-webkit-justify-content: center;
|
|
141
|
-
-ms-flex-pack: center;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
-webkit-box-align: center;
|
|
144
|
-
-webkit-align-items: center;
|
|
145
|
-
-ms-flex-align: center;
|
|
146
|
-
align-items: center;
|
|
147
|
-
font-size: 15px;
|
|
148
|
-
height: 43.5px;
|
|
149
|
-
line-height: 43.5px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.am-tabs-default-bar-tab .am-badge .am-badge-text {
|
|
153
|
-
top: -13px;
|
|
154
|
-
-webkit-transform: translateX(-5px);
|
|
155
|
-
-ms-transform: translateX(-5px);
|
|
156
|
-
transform: translateX(-5px);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.am-tabs-default-bar-tab .am-badge .am-badge-dot {
|
|
160
|
-
top: -6px;
|
|
161
|
-
-webkit-transform: translateX(0);
|
|
162
|
-
-ms-transform: translateX(0);
|
|
163
|
-
transform: translateX(0);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.am-tabs-default-bar-tab-active {
|
|
167
|
-
color: #108ee9;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.am-tabs-default-bar-underline {
|
|
171
|
-
position: absolute;
|
|
172
|
-
border: 1px #108ee9 solid;
|
|
173
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
174
|
-
transform: translate3d(0, 0, 0);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.am-tabs-default-bar-animated .am-tabs-default-bar-content {
|
|
178
|
-
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
179
|
-
transition: -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
180
|
-
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
181
|
-
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
182
|
-
will-change: transform;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.am-tabs-default-bar-animated .am-tabs-default-bar-underline {
|
|
186
|
-
-webkit-transition: top 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), color 0.3s cubic-bezier(0.35, 0, 0.25, 1), width 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
187
|
-
transition: top 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), color 0.3s cubic-bezier(0.35, 0, 0.25, 1), width 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
188
|
-
will-change: top, left, width, color;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.am-tabs-default-bar-top,
|
|
192
|
-
.am-tabs-default-bar-bottom {
|
|
193
|
-
-webkit-box-orient: horizontal;
|
|
194
|
-
-webkit-box-direction: normal;
|
|
195
|
-
-webkit-flex-direction: row;
|
|
196
|
-
-ms-flex-direction: row;
|
|
197
|
-
flex-direction: row;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-content,
|
|
201
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-content {
|
|
202
|
-
display: -webkit-box;
|
|
203
|
-
display: -webkit-flex;
|
|
204
|
-
display: -ms-flexbox;
|
|
205
|
-
display: flex;
|
|
206
|
-
width: 100%;
|
|
207
|
-
-webkit-box-orient: horizontal;
|
|
208
|
-
-webkit-box-direction: normal;
|
|
209
|
-
-webkit-flex-direction: row;
|
|
210
|
-
-ms-flex-direction: row;
|
|
211
|
-
flex-direction: row;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-prevpage,
|
|
215
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-prevpage {
|
|
216
|
-
pointer-events: none;
|
|
217
|
-
position: absolute;
|
|
218
|
-
top: 0;
|
|
219
|
-
display: block;
|
|
220
|
-
width: 59px;
|
|
221
|
-
height: 100%;
|
|
222
|
-
content: ' ';
|
|
223
|
-
z-index: 999;
|
|
224
|
-
left: 0;
|
|
225
|
-
background: -webkit-gradient(linear, left top, right top, from(#ffffff), to(rgba(255, 255, 255, 0)));
|
|
226
|
-
background: -webkit-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0));
|
|
227
|
-
background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-nextpage,
|
|
231
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-nextpage {
|
|
232
|
-
pointer-events: none;
|
|
233
|
-
position: absolute;
|
|
234
|
-
top: 0;
|
|
235
|
-
display: block;
|
|
236
|
-
width: 59px;
|
|
237
|
-
height: 100%;
|
|
238
|
-
content: ' ';
|
|
239
|
-
z-index: 999;
|
|
240
|
-
right: 0;
|
|
241
|
-
background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(#ffffff));
|
|
242
|
-
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
|
|
243
|
-
background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-tab,
|
|
247
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
248
|
-
padding: 8px 0;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-underline,
|
|
252
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-underline {
|
|
253
|
-
bottom: 0;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.am-tabs-default-bar-top .am-tabs-default-bar-tab {
|
|
257
|
-
border-bottom: 1PX solid #ddd;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
261
|
-
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab {
|
|
262
|
-
border-bottom: none;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
|
|
266
|
-
content: '';
|
|
267
|
-
position: absolute;
|
|
268
|
-
background-color: #ddd;
|
|
269
|
-
display: block;
|
|
270
|
-
z-index: 1;
|
|
271
|
-
top: auto;
|
|
272
|
-
right: auto;
|
|
273
|
-
bottom: 0;
|
|
274
|
-
left: 0;
|
|
275
|
-
width: 100%;
|
|
276
|
-
height: 1PX;
|
|
277
|
-
-webkit-transform-origin: 50% 100%;
|
|
278
|
-
-ms-transform-origin: 50% 100%;
|
|
279
|
-
transform-origin: 50% 100%;
|
|
280
|
-
-webkit-transform: scaleY(0.5);
|
|
281
|
-
-ms-transform: scaleY(0.5);
|
|
282
|
-
transform: scaleY(0.5);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
287
|
-
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
|
|
288
|
-
-webkit-transform: scaleY(0.33);
|
|
289
|
-
-ms-transform: scaleY(0.33);
|
|
290
|
-
transform: scaleY(0.33);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
295
|
-
border-top: 1PX solid #ddd;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
299
|
-
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
300
|
-
border-top: none;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab::before {
|
|
304
|
-
content: '';
|
|
305
|
-
position: absolute;
|
|
306
|
-
background-color: #ddd;
|
|
307
|
-
display: block;
|
|
308
|
-
z-index: 1;
|
|
309
|
-
top: 0;
|
|
310
|
-
right: auto;
|
|
311
|
-
bottom: auto;
|
|
312
|
-
left: 0;
|
|
313
|
-
width: 100%;
|
|
314
|
-
height: 1PX;
|
|
315
|
-
-webkit-transform-origin: 50% 50%;
|
|
316
|
-
-ms-transform-origin: 50% 50%;
|
|
317
|
-
transform-origin: 50% 50%;
|
|
318
|
-
-webkit-transform: scaleY(0.5);
|
|
319
|
-
-ms-transform: scaleY(0.5);
|
|
320
|
-
transform: scaleY(0.5);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
325
|
-
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab::before {
|
|
326
|
-
-webkit-transform: scaleY(0.33);
|
|
327
|
-
-ms-transform: scaleY(0.33);
|
|
328
|
-
transform: scaleY(0.33);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.am-tabs-default-bar-left,
|
|
333
|
-
.am-tabs-default-bar-right {
|
|
334
|
-
-webkit-box-orient: vertical;
|
|
335
|
-
-webkit-box-direction: normal;
|
|
336
|
-
-webkit-flex-direction: column;
|
|
337
|
-
-ms-flex-direction: column;
|
|
338
|
-
flex-direction: column;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.am-tabs-default-bar-left .am-tabs-default-bar-content,
|
|
342
|
-
.am-tabs-default-bar-right .am-tabs-default-bar-content {
|
|
343
|
-
display: -webkit-box;
|
|
344
|
-
display: -webkit-flex;
|
|
345
|
-
display: -ms-flexbox;
|
|
346
|
-
display: flex;
|
|
347
|
-
height: 100%;
|
|
348
|
-
-webkit-box-orient: vertical;
|
|
349
|
-
-webkit-box-direction: normal;
|
|
350
|
-
-webkit-flex-direction: column;
|
|
351
|
-
-ms-flex-direction: column;
|
|
352
|
-
flex-direction: column;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.am-tabs-default-bar-left .am-tabs-default-bar-tab,
|
|
356
|
-
.am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
357
|
-
padding: 0 8px;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.am-tabs-default-bar-left .am-tabs-default-bar-underline {
|
|
361
|
-
right: 0;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.am-tabs-default-bar-left .am-tabs-default-bar-tab {
|
|
365
|
-
border-right: 1PX solid #ddd;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
369
|
-
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab {
|
|
370
|
-
border-right: none;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab::after {
|
|
374
|
-
content: '';
|
|
375
|
-
position: absolute;
|
|
376
|
-
background-color: #ddd;
|
|
377
|
-
display: block;
|
|
378
|
-
z-index: 1;
|
|
379
|
-
top: 0;
|
|
380
|
-
right: 0;
|
|
381
|
-
bottom: auto;
|
|
382
|
-
left: auto;
|
|
383
|
-
width: 1PX;
|
|
384
|
-
height: 100%;
|
|
385
|
-
background: #ddd;
|
|
386
|
-
-webkit-transform-origin: 100% 50%;
|
|
387
|
-
-ms-transform-origin: 100% 50%;
|
|
388
|
-
transform-origin: 100% 50%;
|
|
389
|
-
-webkit-transform: scaleX(0.5);
|
|
390
|
-
-ms-transform: scaleX(0.5);
|
|
391
|
-
transform: scaleX(0.5);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
396
|
-
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab::after {
|
|
397
|
-
-webkit-transform: scaleX(0.33);
|
|
398
|
-
-ms-transform: scaleX(0.33);
|
|
399
|
-
transform: scaleX(0.33);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.am-tabs-default-bar-right .am-tabs-default-bar-underline {
|
|
404
|
-
left: 0;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
408
|
-
border-left: 1PX solid #ddd;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
412
|
-
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
413
|
-
border-left: none;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab::before {
|
|
417
|
-
content: '';
|
|
418
|
-
position: absolute;
|
|
419
|
-
background-color: #ddd;
|
|
420
|
-
display: block;
|
|
421
|
-
z-index: 1;
|
|
422
|
-
top: 0;
|
|
423
|
-
right: auto;
|
|
424
|
-
bottom: auto;
|
|
425
|
-
left: 0;
|
|
426
|
-
width: 1PX;
|
|
427
|
-
height: 100%;
|
|
428
|
-
-webkit-transform-origin: 100% 50%;
|
|
429
|
-
-ms-transform-origin: 100% 50%;
|
|
430
|
-
transform-origin: 100% 50%;
|
|
431
|
-
-webkit-transform: scaleX(0.5);
|
|
432
|
-
-ms-transform: scaleX(0.5);
|
|
433
|
-
transform: scaleX(0.5);
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
438
|
-
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab::before {
|
|
439
|
-
-webkit-transform: scaleX(0.33);
|
|
440
|
-
-ms-transform: scaleX(0.33);
|
|
441
|
-
transform: scaleX(0.33);
|
|
442
|
-
}
|
|
443
|
-
}
|