btxui 1.0.2 → 1.0.3
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/demo.html +1 -0
- package/index.common.js +93 -0
- package/index.common.js.map +1 -0
- package/index.umd.js +104 -0
- package/index.umd.js.map +1 -0
- package/index.umd.min.js +2 -0
- package/index.umd.min.js.map +1 -0
- package/package.json +12 -23
- package/README.md +0 -42
- package/app.vue +0 -162
- package/assets/css/_main.js +0 -73
- package/assets/css/btx.min.css +0 -1
- package/assets/css/btx.mob.min.css +0 -1
- package/assets/css/btx.pad.min.css +0 -1
- package/assets/css/btx.webapp.min.css +0 -1
- package/assets/css/custom_fonts/iconfont.css +0 -37
- package/assets/css/custom_fonts/iconfont.eot +0 -0
- package/assets/css/custom_fonts/iconfont.svg +0 -47
- package/assets/css/custom_fonts/iconfont.ttf +0 -0
- package/assets/css/custom_fonts/iconfont.woff +0 -0
- package/assets/css/custom_fonts/iconfont.woff2 +0 -0
- package/assets/css/res-l.css +0 -47
- package/assets/css/res-m.css +0 -47
- package/assets/css/res-s.css +0 -61
- package/assets/custom_fonts/iconfont.css +0 -37
- package/assets/custom_fonts/iconfont.eot +0 -0
- package/assets/custom_fonts/iconfont.svg +0 -47
- package/assets/custom_fonts/iconfont.ttf +0 -0
- package/assets/custom_fonts/iconfont.woff +0 -0
- package/assets/custom_fonts/iconfont.woff2 +0 -0
- package/assets/js/Btx.js +0 -196
- package/assets/js/Utils.js +0 -421
- package/assets/js/fastclick.js +0 -802
- package/assets/js/lazy.min.js +0 -2
- package/assets/js/touchwipe.js +0 -111
- package/assets/server.js +0 -8
- package/assets/start_site_code_str.js +0 -119
- package/cdn/css/btx.min.css +0 -1
- package/cdn/css/btx.min.css.map +0 -1
- package/cdn/fonts/iconfont.ttf +0 -0
- package/cdn/fonts/iconfont.woff +0 -0
- package/cdn/fonts/iconfont.woff2 +0 -0
- package/components/BTXUI/app/app-wid.vue +0 -182
- package/components/BTXUI/btn/btn-wid.vue +0 -128
- package/components/BTXUI/carousel/carousel-wid.vue +0 -138
- package/components/BTXUI/checkbox/checkbox-wid.vue +0 -72
- package/components/BTXUI/confirm/confirm-wid.vue +0 -279
- package/components/BTXUI/content/content-checkbox-wid.vue +0 -44
- package/components/BTXUI/content/content-node-wid.vue +0 -114
- package/components/BTXUI/content/content-tag-wid.vue +0 -25
- package/components/BTXUI/content/content-wid.vue +0 -254
- package/components/BTXUI/core/anis/ani-fail.vue +0 -46
- package/components/BTXUI/core/anis/ani-loading.vue +0 -32
- package/components/BTXUI/core/anis/ani-notic.vue +0 -47
- package/components/BTXUI/core/anis/ani-success.vue +0 -48
- package/components/BTXUI/core/b-drag.vue +0 -258
- package/components/BTXUI/core/b-grid.vue +0 -84
- package/components/BTXUI/core/b-hot.vue +0 -171
- package/components/BTXUI/core/b-icon.vue +0 -76
- package/components/BTXUI/core/b-img.vue +0 -84
- package/components/BTXUI/core/b-input.vue +0 -198
- package/components/BTXUI/core/b-list.vue +0 -276
- package/components/BTXUI/core/b-text/doc.ts +0 -9
- package/components/BTXUI/core/b-text/index.vue +0 -16
- package/components/BTXUI/core/b-textarea.vue +0 -58
- package/components/BTXUI/core/b-video.vue +0 -35
- package/components/BTXUI/core/b-view/doc.ts +0 -10
- package/components/BTXUI/core/b-view/index.vue +0 -20
- package/components/BTXUI/core/b-webview.vue +0 -20
- package/components/BTXUI/core/lib/ChapterLink.js +0 -49
- package/components/BTXUI/core/lib/Search.vue +0 -60
- package/components/BTXUI/core/styles/doc.ts +0 -55
- package/components/BTXUI/core/styles/index.vue +0 -98
- package/components/BTXUI/core/styles/prestyles.ts +0 -471
- package/components/BTXUI/core/styles/theme.ts +0 -29
- package/components/BTXUI/drawer/drawer-wid.vue +0 -165
- package/components/BTXUI/drawer/title-tag-wid.vue +0 -114
- package/components/BTXUI/form/form-select-wid.vue +0 -57
- package/components/BTXUI/form/form-wid.vue +0 -324
- package/components/BTXUI/formPannel/form-pannel-wid.vue +0 -133
- package/components/BTXUI/imgsUpload/imgs-upload-wid.vue +0 -149
- package/components/BTXUI/index.js +0 -83
- package/components/BTXUI/pageFlip/page-flip-wid.vue +0 -206
- package/components/BTXUI/pannel/pannel-wid.vue +0 -167
- package/components/BTXUI/range/range-wid.vue +0 -134
- package/components/BTXUI/search/search-wid.vue +0 -80
- package/components/BTXUI/select/select-wid.vue +0 -186
- package/components/BTXUI/slider/slider-wid.vue +0 -444
- package/components/BTXUI/tab/tab-wid.vue +0 -109
- package/components/BTXUI/table/table-wid.vue +0 -324
- package/components/BTXUI/tag/tag-wid.vue +0 -183
- package/components/BTXUI/tags/tags-wid.vue +0 -121
- package/components/BTXUI/tooltip/tooltip-wid.vue +0 -146
- package/components/BTXUI/upload/upload-wid.vue +0 -215
- package/components/BTXUI/waterfall/waterfall-wid.vue +0 -166
- package/components/header-info.vue +0 -167
- package/composables/@types.ts +0 -4
- package/composables/api.ts +0 -18
- package/env.d.ts +0 -5
- package/main.js +0 -16
- package/nuxt.config.ts +0 -51
- package/pages/article.vue +0 -16
- package/pages/download.vue +0 -50
- package/pages/example/app_wid/app/data_demo.vue +0 -9
- package/pages/example/app_wid/app/download_demo.vue +0 -9
- package/pages/example/app_wid/app/list_demo.vue +0 -11
- package/pages/example/app_wid/app/system_demo.vue +0 -9
- package/pages/example/app_wid/app_wid_demo.vue +0 -198
- package/pages/example/app_wid/btn_wid_demo.vue +0 -179
- package/pages/example/app_wid/carousel_wid_demo.vue +0 -152
- package/pages/example/app_wid/checkbox_wid_demo.vue +0 -65
- package/pages/example/app_wid/confirm_wid_demo.vue +0 -197
- package/pages/example/app_wid/content_wid_demo.vue +0 -369
- package/pages/example/app_wid/drawer_wid_demo.vue +0 -155
- package/pages/example/app_wid/form_pannel_wid_demo.vue +0 -338
- package/pages/example/app_wid/form_wid_demo.vue +0 -550
- package/pages/example/app_wid/imgs_upload_wid_demo.vue +0 -159
- package/pages/example/app_wid/index.js +0 -158
- package/pages/example/app_wid/page_flip_wid_demo.vue +0 -99
- package/pages/example/app_wid/pannel_wid_demo.vue +0 -177
- package/pages/example/app_wid/range_wid_demo.vue +0 -101
- package/pages/example/app_wid/search_wid_demo.vue +0 -75
- package/pages/example/app_wid/select_wid_demo.vue +0 -217
- package/pages/example/app_wid/slider_wid_demo.vue +0 -143
- package/pages/example/app_wid/tab_wid_demo.vue +0 -170
- package/pages/example/app_wid/table_wid_demo.vue +0 -377
- package/pages/example/app_wid/tag_wid_demo.vue +0 -133
- package/pages/example/app_wid/tags_wid_demo.vue +0 -143
- package/pages/example/app_wid/tooltip_wid_demo.vue +0 -117
- package/pages/example/app_wid/upload_wid_demo.vue +0 -123
- package/pages/example/base_wid/b_drag_demo.vue +0 -159
- package/pages/example/base_wid/b_grid_demo.vue +0 -225
- package/pages/example/base_wid/b_hot_demo.vue +0 -135
- package/pages/example/base_wid/b_icon_demo.vue +0 -80
- package/pages/example/base_wid/b_img_demo.vue +0 -95
- package/pages/example/base_wid/b_input_demo.vue +0 -171
- package/pages/example/base_wid/b_list_demo.vue +0 -241
- package/pages/example/base_wid/b_style_demo.vue +0 -928
- package/pages/example/base_wid/b_text_demo.vue +0 -36
- package/pages/example/base_wid/b_textarea_demo.vue +0 -64
- package/pages/example/base_wid/b_video_demo.vue +0 -42
- package/pages/example/base_wid/b_view_demo.vue +0 -36
- package/pages/example/base_wid/index.js +0 -76
- package/pages/example/content.js +0 -49
- package/pages/example/global_style/animation.vue +0 -197
- package/pages/example/global_style/color.vue +0 -134
- package/pages/example/global_style/decoration.vue +0 -546
- package/pages/example/global_style/icon.vue +0 -345
- package/pages/example/global_style/index.js +0 -52
- package/pages/example/global_style/layout.vue +0 -846
- package/pages/example/global_style/special.vue +0 -37
- package/pages/example/global_style/table.vue +0 -298
- package/pages/example/global_style/text.vue +0 -159
- package/pages/index.vue +0 -43
- package/pages/level_widget.vue +0 -11
- package/pages/start.vue +0 -200
- package/plugins/index.ts +0 -2
- package/public/favicon.gif +0 -0
- package/public/fonts/iconfont.ttf +0 -0
- package/public/fonts/iconfont.woff +0 -0
- package/public/fonts/iconfont.woff2 +0 -0
- package/public/img/banner.jpg +0 -0
- package/public/img/banner2.jpg +0 -0
- package/public/img/bg_pattern.png +0 -0
- package/public/img/btx.jpg +0 -0
- package/public/img/btx_ui.jpg +0 -0
- package/public/img/dir.png +0 -0
- package/public/img/f.png +0 -0
- package/public/img/head.jpg +0 -0
- package/public/img/head2.jpg +0 -0
- package/public/img/home_ico.png +0 -0
- package/public/img/icons.svg +0 -164
- package/public/img/mechanism/b-style.png +0 -0
- package/public/img/mechanism/slider-wid.png +0 -0
- package/public/img/mechanism/upload-wid.png +0 -0
- package/public/img/transform_origin.png +0 -0
- package/sass/animation.scss +0 -400
- package/sass/btx.mob.scss +0 -10
- package/sass/btx.pad.scss +0 -3
- package/sass/btx.scss +0 -22
- package/sass/btx.webapp.scss +0 -22
- package/sass/colors.scss +0 -65
- package/sass/decoration.scss +0 -220
- package/sass/flex.scss +0 -29
- package/sass/icons.scss +0 -100
- package/sass/layout.scss +0 -88
- package/sass/reset.scss +0 -111
- package/sass/response/flex_mixin.scss +0 -91
- package/sass/response/layout_mixin.scss +0 -227
- package/sass/response/main.scss +0 -59
- package/sass/response/text_mixin.scss +0 -65
- package/sass/scroll.scss +0 -100
- package/sass/special.scss +0 -13
- package/sass/table.scss +0 -103
- package/sass/text.scss +0 -86
- package/sass/webpack.config.js +0 -31
- package/tsconfig.json +0 -4
package/sass/animation.scss
DELETED
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
$duration: .7s;
|
|
2
|
-
$fast_duration: .4s;
|
|
3
|
-
$slow_duration: 1.4s;
|
|
4
|
-
|
|
5
|
-
%duration {
|
|
6
|
-
animation-duration: $duration;
|
|
7
|
-
}
|
|
8
|
-
%reverse {
|
|
9
|
-
animation-direction: reverse;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.trans { //中速过度动画
|
|
14
|
-
transition: all $duration;
|
|
15
|
-
}
|
|
16
|
-
.trans-fast { //快速过度动画
|
|
17
|
-
transition: all $fast_duration;
|
|
18
|
-
}
|
|
19
|
-
.trans-slow { //慢速过度动画
|
|
20
|
-
transition: all $slow_duration;
|
|
21
|
-
}
|
|
22
|
-
.trans-no { //无过度动画
|
|
23
|
-
transition: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//过渡动画延迟
|
|
28
|
-
@for $i from 1 to 10{
|
|
29
|
-
.trans-delay-d#{$i} {
|
|
30
|
-
transition-delay: #{calc($i / 10)}s;
|
|
31
|
-
}
|
|
32
|
-
@if $i < 6 {
|
|
33
|
-
.trans-delay-#{$i} {
|
|
34
|
-
transition-delay: #{$i}s;
|
|
35
|
-
}
|
|
36
|
-
.trans-delay-#{$i}d5 {
|
|
37
|
-
transition-delay: #{$i + .5}s;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
//animation 动画 ---------------------------------------------------------------
|
|
44
|
-
|
|
45
|
-
.ani { //中速动画
|
|
46
|
-
animation-duration: $duration;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ani-fast { //快速动画
|
|
50
|
-
animation-duration: $fast_duration;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ani-slow { //慢速动画
|
|
54
|
-
animation-duration: $slow_duration;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ani-mode-forwards {
|
|
58
|
-
animation-fill-mode: forwards;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ani-mode-backwards {
|
|
62
|
-
animation-fill-mode: backwards;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ani-mode-both {
|
|
66
|
-
animation-fill-mode: both;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
//animation 动画延迟
|
|
70
|
-
@for $i from 1 to 11{
|
|
71
|
-
@if $i < 10 {
|
|
72
|
-
.ani-delay-d#{$i} {
|
|
73
|
-
animation-delay: #{calc($i / 10)}s !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
.ani-delay-#{$i} {
|
|
77
|
-
animation-delay: #{$i}s !important;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
//animation 动画迭代
|
|
83
|
-
@for $i from 1 to 7{
|
|
84
|
-
.ani-loop-#{$i} {
|
|
85
|
-
animation-iteration-count: $i;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.ani-loop {
|
|
89
|
-
animation-iteration-count: infinite;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.ani-fade-in,
|
|
94
|
-
.ani-fade-out{ //淡入动画
|
|
95
|
-
animation-name: fadeIn;
|
|
96
|
-
@extend %duration;
|
|
97
|
-
}
|
|
98
|
-
.ani-fade-out{ //淡出动画
|
|
99
|
-
@extend %reverse;
|
|
100
|
-
}
|
|
101
|
-
@-webkit-keyframes fadeIn {
|
|
102
|
-
from {
|
|
103
|
-
opacity: 0;
|
|
104
|
-
visibility: hidden;
|
|
105
|
-
}
|
|
106
|
-
to{
|
|
107
|
-
opacity: 1;
|
|
108
|
-
visibility: visible;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
@keyframes fadeIn {
|
|
112
|
-
from {
|
|
113
|
-
opacity: 0;
|
|
114
|
-
visibility: hidden;
|
|
115
|
-
}
|
|
116
|
-
to{
|
|
117
|
-
opacity: 1;
|
|
118
|
-
visibility: visible;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
.ani-scale-fade-in,
|
|
124
|
-
.ani-scale-fade-out{ //缩放式淡入动画
|
|
125
|
-
animation-name: scaleFadeIn;
|
|
126
|
-
@extend %duration;
|
|
127
|
-
}
|
|
128
|
-
.ani-scale-fade-out{ //放缩式淡出动画
|
|
129
|
-
@extend %reverse;
|
|
130
|
-
}
|
|
131
|
-
@-webkit-keyframes scaleFadeIn {
|
|
132
|
-
from {
|
|
133
|
-
opacity: 0;
|
|
134
|
-
-webkit-transform: scale(0);
|
|
135
|
-
}
|
|
136
|
-
to{
|
|
137
|
-
opacity: 1;
|
|
138
|
-
-webkit-transform: scale(1);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
@keyframes scaleFadeIn {
|
|
142
|
-
from {
|
|
143
|
-
opacity: 0;
|
|
144
|
-
transform: scale(0);
|
|
145
|
-
}
|
|
146
|
-
to{
|
|
147
|
-
opacity: 1;
|
|
148
|
-
transform: scale(1);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
.ani-v-stretch-h-in { //先垂直后水平伸展式动画
|
|
154
|
-
animation-name: stretchV2HIn;
|
|
155
|
-
animation-timing-function: ease-out;
|
|
156
|
-
@extend %duration;
|
|
157
|
-
}
|
|
158
|
-
@-webkit-keyframes stretchV2HIn {
|
|
159
|
-
0% {
|
|
160
|
-
opacity: 0;
|
|
161
|
-
-webkit-transform: scale(0, 0);
|
|
162
|
-
}
|
|
163
|
-
70% {
|
|
164
|
-
opacity: 1;
|
|
165
|
-
-webkit-transform: scale(.2, 1);
|
|
166
|
-
}
|
|
167
|
-
100%{
|
|
168
|
-
-webkit-transform: scale(1, 1);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
@keyframes stretchV2HIn {
|
|
172
|
-
0% {
|
|
173
|
-
opacity: 0;
|
|
174
|
-
transform: scale(0, 0);
|
|
175
|
-
}
|
|
176
|
-
70% {
|
|
177
|
-
opacity: 1;
|
|
178
|
-
transform: scale(.2, 1);
|
|
179
|
-
}
|
|
180
|
-
100%{
|
|
181
|
-
transform: scale(1, 1);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
.ani-h-stretch-v-in { //先水平后垂直伸展式动画
|
|
187
|
-
animation-name: stretchH2VIn;
|
|
188
|
-
animation-timing-function: ease-out;
|
|
189
|
-
@extend %duration;
|
|
190
|
-
}
|
|
191
|
-
@-webkit-keyframes stretchH2VIn {
|
|
192
|
-
0% {
|
|
193
|
-
opacity: 0;
|
|
194
|
-
-webkit-transform: scale(0, 0);
|
|
195
|
-
}
|
|
196
|
-
70% {
|
|
197
|
-
opacity: 1;
|
|
198
|
-
-webkit-transform: scale(1, .2);
|
|
199
|
-
}
|
|
200
|
-
100%{
|
|
201
|
-
-webkit-transform: scale(1, 1);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
@keyframes stretchH2VIn {
|
|
205
|
-
0% {
|
|
206
|
-
opacity: 0;
|
|
207
|
-
transform: scale(0, 0);
|
|
208
|
-
}
|
|
209
|
-
70% {
|
|
210
|
-
opacity: 1;
|
|
211
|
-
transform: scale(1, .2);
|
|
212
|
-
}
|
|
213
|
-
100%{
|
|
214
|
-
transform: scale(1, 1);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
//由左向右滑动动画
|
|
220
|
-
.ani-left-to-right{
|
|
221
|
-
animation-name: aniLeftSliderToRight;
|
|
222
|
-
@extend %duration;
|
|
223
|
-
}
|
|
224
|
-
@-webkit-keyframes aniLeftSliderToRight {
|
|
225
|
-
from {
|
|
226
|
-
-webkit-transform: translateX(-150%);
|
|
227
|
-
}
|
|
228
|
-
to{
|
|
229
|
-
-webkit-transform: translateX(0%);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
@keyframes aniLeftSliderToRight {
|
|
233
|
-
from {
|
|
234
|
-
transform: translateX(-150%);
|
|
235
|
-
}
|
|
236
|
-
to{
|
|
237
|
-
transform: translateX(0%);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
//由右向左滑动动画
|
|
243
|
-
.ani-right-to-left{
|
|
244
|
-
animation-name: aniRightSliderToLeft;
|
|
245
|
-
@extend %duration;
|
|
246
|
-
}
|
|
247
|
-
@-webkit-keyframes aniRightSliderToLeft {
|
|
248
|
-
from {
|
|
249
|
-
-webkit-transform: translateX(150%);
|
|
250
|
-
}
|
|
251
|
-
to{
|
|
252
|
-
-webkit-transform: translateX(0%);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
@keyframes aniRightSliderToLeft {
|
|
256
|
-
from {
|
|
257
|
-
transform: translateX(150%);
|
|
258
|
-
}
|
|
259
|
-
to{
|
|
260
|
-
transform: translateX(0%);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
//由上向下滑动动画
|
|
266
|
-
.ani-top-to-bottom{
|
|
267
|
-
animation-name: aniTopSliderToBottom;
|
|
268
|
-
@extend %duration;
|
|
269
|
-
}
|
|
270
|
-
@-webkit-keyframes aniTopSliderToBottom {
|
|
271
|
-
from {
|
|
272
|
-
-webkit-transform: translateY(-150%);
|
|
273
|
-
}
|
|
274
|
-
to{
|
|
275
|
-
-webkit-transform: translateY(0%);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
@keyframes aniTopSliderToBottom {
|
|
279
|
-
from {
|
|
280
|
-
transform: translateY(-150%);
|
|
281
|
-
}
|
|
282
|
-
to{
|
|
283
|
-
transform: translateY(0%);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
//由下向上滑动动画
|
|
289
|
-
.ani-bottom-to-top{
|
|
290
|
-
animation-name: aniBottomSliderToTop;
|
|
291
|
-
@extend %duration;
|
|
292
|
-
}
|
|
293
|
-
@-webkit-keyframes aniBottomSliderToTop {
|
|
294
|
-
from {
|
|
295
|
-
-webkit-transform: translateY(150%);
|
|
296
|
-
}
|
|
297
|
-
to{
|
|
298
|
-
-webkit-transform: translateY(0%);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
@keyframes aniBottomSliderToTop {
|
|
302
|
-
from {
|
|
303
|
-
transform: translateY(150%);
|
|
304
|
-
}
|
|
305
|
-
to{
|
|
306
|
-
transform: translateY(0%);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
//旋转 360 度动画
|
|
312
|
-
.ani-rotate {
|
|
313
|
-
animation-name: aniRotate;
|
|
314
|
-
@extend %duration;
|
|
315
|
-
}
|
|
316
|
-
@-webkit-keyframes aniRotate {
|
|
317
|
-
0%{
|
|
318
|
-
-webkit-transform: rotate(0deg);
|
|
319
|
-
}
|
|
320
|
-
100%{
|
|
321
|
-
-webkit-transform: rotate(360deg);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
@keyframes aniRotate {
|
|
325
|
-
0%{
|
|
326
|
-
transform: rotate(0deg);
|
|
327
|
-
}
|
|
328
|
-
100%{
|
|
329
|
-
transform: rotate(360deg);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
//旋转 180 度动画
|
|
335
|
-
.ani-rotate-half {
|
|
336
|
-
animation-name: aniRotateHalf;
|
|
337
|
-
@extend %duration;
|
|
338
|
-
}
|
|
339
|
-
@-webkit-keyframes aniRotateHalf {
|
|
340
|
-
0%{
|
|
341
|
-
-webkit-transform: rotate(0deg);
|
|
342
|
-
}
|
|
343
|
-
100%{
|
|
344
|
-
-webkit-transform: rotate(180deg);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
@keyframes aniRotateHalf {
|
|
348
|
-
0%{
|
|
349
|
-
transform: rotate(0deg);
|
|
350
|
-
}
|
|
351
|
-
100%{
|
|
352
|
-
transform: rotate(180deg);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
//旋转 90 度动画
|
|
358
|
-
.ani-rotate-90 {
|
|
359
|
-
animation-name: aniRotate90;
|
|
360
|
-
@extend %duration;
|
|
361
|
-
}
|
|
362
|
-
@-webkit-keyframes aniRotate90 {
|
|
363
|
-
0%{
|
|
364
|
-
-webkit-transform: rotate(0deg);
|
|
365
|
-
}
|
|
366
|
-
100%{
|
|
367
|
-
-webkit-transform: rotate(90deg);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
@keyframes aniRotate90 {
|
|
371
|
-
0%{
|
|
372
|
-
transform: rotate(0deg);
|
|
373
|
-
}
|
|
374
|
-
100%{
|
|
375
|
-
transform: rotate(90deg);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
//旋转 45 度动画
|
|
381
|
-
.ani-rotate-45 {
|
|
382
|
-
animation-name: aniRotate45;
|
|
383
|
-
@extend %duration;
|
|
384
|
-
}
|
|
385
|
-
@-webkit-keyframes aniRotate45 {
|
|
386
|
-
0%{
|
|
387
|
-
-webkit-transform: rotate(0deg);
|
|
388
|
-
}
|
|
389
|
-
100%{
|
|
390
|
-
-webkit-transform: rotate(45deg);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
@keyframes aniRotate45 {
|
|
394
|
-
0%{
|
|
395
|
-
transform: rotate(0deg);
|
|
396
|
-
}
|
|
397
|
-
100%{
|
|
398
|
-
transform: rotate(45deg);
|
|
399
|
-
}
|
|
400
|
-
}
|
package/sass/btx.mob.scss
DELETED
package/sass/btx.pad.scss
DELETED
package/sass/btx.scss
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@import "./colors.scss";
|
|
2
|
-
|
|
3
|
-
@import "./reset.scss";
|
|
4
|
-
|
|
5
|
-
@import "./text.scss";
|
|
6
|
-
|
|
7
|
-
@import "./layout.scss";
|
|
8
|
-
|
|
9
|
-
@import "./table.scss";
|
|
10
|
-
|
|
11
|
-
@import "./decoration.scss";
|
|
12
|
-
|
|
13
|
-
@import "./animation.scss";
|
|
14
|
-
|
|
15
|
-
@import "./icons.scss";
|
|
16
|
-
|
|
17
|
-
@import "./special.scss";
|
|
18
|
-
|
|
19
|
-
@import "./response/main.scss";
|
|
20
|
-
|
|
21
|
-
@include auto_gen_response_class();
|
|
22
|
-
|
package/sass/btx.webapp.scss
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@import "./reset.scss";
|
|
2
|
-
|
|
3
|
-
@import "./scroll.scss";
|
|
4
|
-
|
|
5
|
-
@import "./icons.scss";
|
|
6
|
-
|
|
7
|
-
@import "./response/flex_mixin.scss";
|
|
8
|
-
|
|
9
|
-
//栅格系统
|
|
10
|
-
|
|
11
|
-
//全局样式
|
|
12
|
-
@include auto_gen_grid_class("");
|
|
13
|
-
|
|
14
|
-
//平板端
|
|
15
|
-
@media only screen and (max-width: 1367px){
|
|
16
|
-
@include auto_gen_grid_class(-m);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//移动端
|
|
20
|
-
@media only screen and (max-width: 740px){
|
|
21
|
-
@include auto_gen_grid_class(-s);
|
|
22
|
-
}
|
package/sass/colors.scss
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
$none: transparent; //全透明色
|
|
2
|
-
|
|
3
|
-
$main: #051c24; //主题色-遂蓝
|
|
4
|
-
|
|
5
|
-
$sub: #b4967a; //辅助色-锡金
|
|
6
|
-
|
|
7
|
-
$light: #fff; //纯白
|
|
8
|
-
|
|
9
|
-
$dark: #111; //纯黑
|
|
10
|
-
|
|
11
|
-
$dgray: #373737; //深灰
|
|
12
|
-
|
|
13
|
-
$mgray: #a7a7a7; //中灰
|
|
14
|
-
|
|
15
|
-
$lgray: #eee; //浅灰
|
|
16
|
-
|
|
17
|
-
$blue: #4085f3; //湛蓝
|
|
18
|
-
|
|
19
|
-
$red: #ec4334; //玫红
|
|
20
|
-
|
|
21
|
-
$green: #02b9a1; //青绿
|
|
22
|
-
|
|
23
|
-
$yellow: #fdba00; //橙黄
|
|
24
|
-
|
|
25
|
-
$neutral: rgba(130,130,130,.15); //中性色
|
|
26
|
-
|
|
27
|
-
//生成色彩(文字、填充、描边)类
|
|
28
|
-
@mixin auto_gen_color_class {
|
|
29
|
-
$colors: (none $none), (sub $sub), (main $main), (light $light), (dark $dark), (dgray $dgray), (mgray $mgray), (lgray $lgray), (blue $blue), (green $green), (yellow $yellow), (red $red), (neutral, $neutral);
|
|
30
|
-
@each $color in $colors{
|
|
31
|
-
.color-#{"" + nth($color, 1)}{
|
|
32
|
-
color: nth($color, 2);
|
|
33
|
-
}
|
|
34
|
-
.bg-color-#{"" + nth($color, 1)}{
|
|
35
|
-
background-color: nth($color, 2);
|
|
36
|
-
}
|
|
37
|
-
.line-#{"" + nth($color, 1)}{
|
|
38
|
-
border-color: nth($color, 2) !important;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
@include auto_gen_color_class();
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
//生成不透明度阶梯类
|
|
46
|
-
%visibility {
|
|
47
|
-
visibility: visible;
|
|
48
|
-
};
|
|
49
|
-
@mixin auto_gen_opacity_class {
|
|
50
|
-
.alpha-0 {
|
|
51
|
-
opacity: 0;
|
|
52
|
-
visibility: hidden;
|
|
53
|
-
}
|
|
54
|
-
@for $i from 1 to 10{
|
|
55
|
-
.alpha-d#{$i} {
|
|
56
|
-
opacity: calc($i / 10);
|
|
57
|
-
@extend %visibility;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.alpha-1 {
|
|
61
|
-
opacity: 1;
|
|
62
|
-
@extend %visibility;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
@include auto_gen_opacity_class();
|