weui-rails 0.4.4 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -1
- data/app/views/weui/_message_box.html.erb +8 -8
- data/app/views/weui/message_box.html.erb +1 -1
- data/lib/weui-rails/helpers/weui_message_box.rb +1 -1
- data/lib/weui-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/_weui.scss +43 -23
- data/vendor/assets/stylesheets/base/fn.scss +9 -6
- data/vendor/assets/stylesheets/base/mixin/_mobile.scss +1 -18
- data/vendor/assets/stylesheets/base/mixin/_setArrow.scss +11 -82
- data/vendor/assets/stylesheets/base/mixin/_setOnepx.scss +4 -4
- data/vendor/assets/stylesheets/base/mixin/_text.scss +5 -0
- data/vendor/assets/stylesheets/base/reset.scss +4 -3
- data/vendor/assets/stylesheets/base/variable/_color.scss +20 -0
- data/vendor/assets/stylesheets/base/variable/_global.scss +6 -32
- data/vendor/assets/stylesheets/base/variable/_weui-button.scss +37 -0
- data/vendor/assets/stylesheets/base/variable/{_weui_cell.scss → _weui-cell.scss} +11 -3
- data/vendor/assets/stylesheets/base/variable/_weui-dialog.scss +5 -0
- data/vendor/assets/stylesheets/base/variable/{_weui_grid.scss → _weui-grid.scss} +0 -0
- data/vendor/assets/stylesheets/base/variable/{_weui_msg.scss → _weui-msg.scss} +0 -0
- data/vendor/assets/stylesheets/base/variable/{_weui_progress.scss → _weui-progress.scss} +0 -0
- data/vendor/assets/stylesheets/icon/weui-font.scss +56 -0
- data/vendor/assets/stylesheets/icon/weui-icon_font.scss +94 -0
- data/vendor/assets/stylesheets/widget/weui-agree/weui-agree.scss +59 -0
- data/vendor/assets/stylesheets/widget/weui-animate/weui-animate.scss +54 -0
- data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_default.scss → weui-button/weui-btn_default.scss} +1 -1
- data/vendor/assets/stylesheets/widget/weui-button/weui-btn_disabled.scss +15 -0
- data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_global.scss → weui-button/weui-btn_global.scss} +4 -5
- data/vendor/assets/stylesheets/widget/weui-button/weui-btn_plain.scss +29 -0
- data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_primary.scss → weui-button/weui-btn_primary.scss} +0 -0
- data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_warn.scss → weui-button/weui-btn_warn.scss} +0 -0
- data/vendor/assets/stylesheets/widget/weui-button/weui-button.scss +60 -0
- data/vendor/assets/stylesheets/widget/weui-cell/weui-access.scss +32 -0
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_cell_global.scss → weui-cell/weui-cell_global.scss} +25 -29
- data/vendor/assets/stylesheets/widget/weui-cell/weui-check.scss +4 -0
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_check_common.scss → weui-cell/weui-check/weui-check_common.scss} +0 -0
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_checkbox.scss → weui-cell/weui-check/weui-checkbox.scss} +3 -3
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_radio.scss → weui-cell/weui-check/weui-radio.scss} +2 -2
- data/vendor/assets/stylesheets/widget/weui-cell/weui-form.scss +5 -0
- data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-form-preview.scss +89 -0
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_form/weui_form_common.scss → weui-cell/weui-form/weui-form_common.scss} +26 -26
- data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-select.scss +69 -0
- data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-vcode.scss +27 -0
- data/vendor/assets/stylesheets/widget/weui-cell/weui-gallery.scss +35 -0
- data/vendor/assets/stylesheets/widget/weui-cell/weui-switch.scss +52 -0
- data/vendor/assets/stylesheets/widget/{weui_cell/weui_uploader.scss → weui-cell/weui-uploader.scss} +36 -36
- data/vendor/assets/stylesheets/widget/weui-flex/weui-flex.scss +8 -0
- data/vendor/assets/stylesheets/widget/weui-footer/weui-footer.scss +41 -0
- data/vendor/assets/stylesheets/widget/weui-grid/weui-grid.scss +55 -0
- data/vendor/assets/stylesheets/widget/weui-loading/weui-loading.scss +32 -0
- data/vendor/assets/stylesheets/widget/weui-media-box/weui-media-box.scss +87 -0
- data/vendor/assets/stylesheets/widget/{weui_page/weui_article.scss → weui-page/weui-article.scss} +5 -4
- data/vendor/assets/stylesheets/widget/weui-page/weui-msg.scss +45 -0
- data/vendor/assets/stylesheets/widget/weui-panel/weui-panel.scss +34 -0
- data/vendor/assets/stylesheets/widget/weui-picker/weui-picker.scss +98 -0
- data/vendor/assets/stylesheets/widget/weui-progress/weui-progress.scss +24 -0
- data/vendor/assets/stylesheets/widget/{weui_searchbar/weui_searchbar.scss → weui-searchbar/weui-searchbar.scss} +17 -17
- data/vendor/assets/stylesheets/widget/{weui_tab → weui-tab}/navbar.scss +7 -7
- data/vendor/assets/stylesheets/widget/weui-tab/tabbar.scss +57 -0
- data/vendor/assets/stylesheets/widget/{weui_tab/weui_tab.scss → weui-tab/weui-tab.scss} +2 -6
- data/vendor/assets/stylesheets/widget/weui-tips/weui-actionsheet.scss +84 -0
- data/vendor/assets/stylesheets/widget/weui-tips/weui-dialog.scss +133 -0
- data/vendor/assets/stylesheets/widget/weui-tips/weui-loadmore.scss +41 -0
- data/vendor/assets/stylesheets/widget/weui-tips/weui-mask.scss +20 -0
- data/vendor/assets/stylesheets/widget/weui-tips/weui-toast.scss +35 -0
- metadata +54 -47
- data/vendor/assets/stylesheets/base/mixin/_setChecked.scss +0 -21
- data/vendor/assets/stylesheets/base/variable/_monokai.scss +0 -11
- data/vendor/assets/stylesheets/base/variable/_weui_button.scss +0 -21
- data/vendor/assets/stylesheets/icon/weui_font.scss +0 -63
- data/vendor/assets/stylesheets/icon/weui_icon_font.scss +0 -83
- data/vendor/assets/stylesheets/widget/weui_button/weui_btn_disabled.scss +0 -9
- data/vendor/assets/stylesheets/widget/weui_button/weui_btn_plain.scss +0 -30
- data/vendor/assets/stylesheets/widget/weui_button/weui_button.scss +0 -58
- data/vendor/assets/stylesheets/widget/weui_cell/weui_access.scss +0 -23
- data/vendor/assets/stylesheets/widget/weui_cell/weui_check.scss +0 -4
- data/vendor/assets/stylesheets/widget/weui_cell/weui_form.scss +0 -6
- data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select.scss +0 -39
- data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_after.scss +0 -9
- data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_before.scss +0 -31
- data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_vcode.scss +0 -14
- data/vendor/assets/stylesheets/widget/weui_cell/weui_switch.scss +0 -56
- data/vendor/assets/stylesheets/widget/weui_grid/weui_grid.scss +0 -73
- data/vendor/assets/stylesheets/widget/weui_media_box/weui_media_box.scss +0 -93
- data/vendor/assets/stylesheets/widget/weui_page/weui_msg.scss +0 -48
- data/vendor/assets/stylesheets/widget/weui_panel/weui_panel.scss +0 -64
- data/vendor/assets/stylesheets/widget/weui_progress/weui_progress.scss +0 -23
- data/vendor/assets/stylesheets/widget/weui_tab/tabbar.scss +0 -49
- data/vendor/assets/stylesheets/widget/weui_tips/weui_actionsheet.scss +0 -43
- data/vendor/assets/stylesheets/widget/weui_tips/weui_dialog.scss +0 -94
- data/vendor/assets/stylesheets/widget/weui_tips/weui_mask.scss +0 -35
- data/vendor/assets/stylesheets/widget/weui_tips/weui_toast.scss +0 -349
@@ -0,0 +1,37 @@
|
|
1
|
+
$weuiBtnHeight:46px !default;
|
2
|
+
$weuiBtnFontSize:18px !default;
|
3
|
+
$weuiBtnFontColor:#FFFFFF !default;
|
4
|
+
$weuiBtnActiveFontColor:rgba(255,255,255,.6) !default;
|
5
|
+
$weuiBtnDisabledFontColor:rgba(255,255,255,.6) !default;
|
6
|
+
$weuiBtnBorderRadius:5px !default;
|
7
|
+
$weuiBtnDefaultGap:15px !default;
|
8
|
+
|
9
|
+
$weuiBtnMiniFontSize:13px !default;
|
10
|
+
$weuiBtnMiniHeight:2.3 !default;
|
11
|
+
|
12
|
+
$weuiBtnDefaultFontColor:#000000 !default;
|
13
|
+
$weuiBtnDefaultActiveFontColor:rgba(0,0,0,.6) !default;
|
14
|
+
$weuiBtnDefaultDisabledFontColor:rgba(0,0,0,.3) !default;
|
15
|
+
|
16
|
+
$weuiBtnDefaultBg:#F8F8F8 !default;
|
17
|
+
$weuiBtnDefaultActiveBg:#DEDEDE !default;
|
18
|
+
$weuiBtnDefaultDisabledBg:#F7F7F7 !default;
|
19
|
+
|
20
|
+
$weuiBtnPrimaryBg:#1AAD19 !default;
|
21
|
+
$weuiBtnPrimaryActiveBg:#179B16 !default;
|
22
|
+
$weuiBtnPrimaryDisabledBg:#9ED99D !default;
|
23
|
+
|
24
|
+
$weuiBtnWarnBg:#E64340 !default;
|
25
|
+
$weuiBtnWarnActiveBg:#CE3C39 !default;
|
26
|
+
$weuiBtnwarnDisabledBg:#EC8B89 !default;
|
27
|
+
|
28
|
+
|
29
|
+
$weuiBtnPlainPrimaryColor:rgba(26,173,25,1) !default;
|
30
|
+
$weuiBtnPlainPrimaryBorderColor:rgba(26,173,25,1) !default;
|
31
|
+
$weuiBtnPlainPrimaryActiveColor:rgba(26,173,25,.6) !default;
|
32
|
+
$weuiBtnPlainPrimaryActiveBorderColor:rgba(26,173,25,.6) !default;
|
33
|
+
|
34
|
+
$weuiBtnPlainDefaultColor:rgba(53,53,53,1) !default;
|
35
|
+
$weuiBtnPlainDefaultBorderColor:rgba(53,53,53,1) !default;
|
36
|
+
$weuiBtnPlainDefaultActiveColor:rgba(53,53,53,.6) !default;
|
37
|
+
$weuiBtnPlainDefaultActiveBorderColor:rgba(53,53,53,.6) !default;
|
@@ -3,12 +3,20 @@ $weuiCellBorderColor:#D9D9D9 !default;
|
|
3
3
|
$weuiCellGapV:10px !default;
|
4
4
|
$weuiCellGapH:15px !default;
|
5
5
|
$weuiCellInnerGapH:.35em !default;
|
6
|
-
$weuiCellLabelWidth:105px !default;
|
7
|
-
|
8
|
-
|
9
6
|
$weuiCellHeight: 44px !default;
|
10
7
|
$weuiCellFontSize:17px !default;
|
11
8
|
$weuiCellTipsFontSize:14px !default;
|
9
|
+
$weuiCellLabelWidth:105px !default;
|
12
10
|
|
13
11
|
$weuiCellLineHeight: ($weuiCellHeight - 2 * $weuiCellGapV) / $weuiCellFontSize !default; // 高度为44px,减去上下padding的行高
|
14
12
|
$weuiCellsMarginTop: 20 / ($weuiCellFontSize / ($weuiCellFontSize * 0 + 1)) + em !default;
|
13
|
+
|
14
|
+
// weui switch
|
15
|
+
$weuiSwitchHeight: 32px !default;
|
16
|
+
|
17
|
+
// weui uploader
|
18
|
+
$weuiUploaderBorderColor:#D9D9D9 !default;
|
19
|
+
$weuiUploaderActiveBorderColor:#999999 !default;
|
20
|
+
$weuiUploaderFileSpacing: 9px !default;
|
21
|
+
$weuiUploaderSize: 79px !default;
|
22
|
+
$weuiUploaderBorderWidth: 1px !default;
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,56 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-weight: normal;
|
3
|
+
font-style: normal;
|
4
|
+
font-family: "weui";
|
5
|
+
src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQLKIN9AAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW6AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACkCj3dfDzz1AAsD6AAAAADUER9XAAAAANQRH1f//wAAA+kD6gAAAAgAAgAAAAAAAAABAAAAEgBJAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaW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gAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA') format('truetype');
|
6
|
+
}
|
7
|
+
|
8
|
+
[class^="weui-icon-"]:before, [class*=" weui-icon-"]:before {
|
9
|
+
font-family: "weui";
|
10
|
+
font-style: normal;
|
11
|
+
font-weight: normal;
|
12
|
+
speak: none;
|
13
|
+
|
14
|
+
display: inline-block;
|
15
|
+
vertical-align:middle;
|
16
|
+
text-decoration: inherit;
|
17
|
+
width: 1em;
|
18
|
+
margin-right: .2em;
|
19
|
+
text-align: center;
|
20
|
+
/* opacity: .8; */
|
21
|
+
|
22
|
+
/* For safety - reset parent styles, that can break glyph codes*/
|
23
|
+
font-variant: normal;
|
24
|
+
text-transform: none;
|
25
|
+
|
26
|
+
/* fix buttons height, for twitter bootstrap */
|
27
|
+
line-height: 1em;
|
28
|
+
|
29
|
+
/* Animation center compensation - margins should be symmetric */
|
30
|
+
/* remove if not needed */
|
31
|
+
margin-left: .2em;
|
32
|
+
|
33
|
+
/* you can be more comfortable with increased icons size */
|
34
|
+
/* font-size: 120%; */
|
35
|
+
|
36
|
+
/* Uncomment for 3D effect */
|
37
|
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
38
|
+
}
|
39
|
+
|
40
|
+
.weui-icon-circle:before { content: "\EA01" } /* '' */
|
41
|
+
.weui-icon-download:before { content: "\EA02" } /* '' */
|
42
|
+
.weui-icon-info:before { content: "\EA03" } /* '' */
|
43
|
+
.weui-icon-safe_success:before { content: "\EA04" } /* '' */
|
44
|
+
.weui-icon-safe_warn:before { content: "\EA05" } /* '' */
|
45
|
+
.weui-icon-success:before { content: "\EA06" } /* '' */
|
46
|
+
.weui-icon-success-circle:before { content: "\EA07" } /* '' */
|
47
|
+
.weui-icon-success-no-circle:before { content: "\EA08" } /* '' */
|
48
|
+
.weui-icon-waiting:before { content: "\EA09" } /* '' */
|
49
|
+
.weui-icon-waiting-circle:before { content: "\EA0A" } /* '' */
|
50
|
+
.weui-icon-warn:before { content: "\EA0B" } /* '' */
|
51
|
+
.weui-icon-info-circle:before { content: "\EA0C" } /* '' */
|
52
|
+
.weui-icon-cancel:before { content: "\EA0D" } /* '' */
|
53
|
+
.weui-icon-search:before { content: "\EA0E" } /* '' */
|
54
|
+
.weui-icon-clear:before { content: "\EA0F" } /* '' */
|
55
|
+
.weui-icon-back:before { content: "\EA10" } /* '' */
|
56
|
+
.weui-icon-delete:before { content: "\EA11" } /* '' */
|
@@ -0,0 +1,94 @@
|
|
1
|
+
@import "weui-font";
|
2
|
+
|
3
|
+
[class^="weui-icon_"]:before, [class*=" weui-icon_"]:before {
|
4
|
+
margin: 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
.weui-icon-success:before {
|
8
|
+
font-size: 23px;
|
9
|
+
color: #09BB07;
|
10
|
+
}
|
11
|
+
.weui-icon-waiting:before {
|
12
|
+
font-size: 23px;
|
13
|
+
color: #10AEFF;
|
14
|
+
}
|
15
|
+
.weui-icon-warn:before {
|
16
|
+
font-size: 23px;
|
17
|
+
color: #F43530;
|
18
|
+
}
|
19
|
+
.weui-icon-info:before {
|
20
|
+
font-size: 23px;
|
21
|
+
color: #10AEFF;
|
22
|
+
}
|
23
|
+
|
24
|
+
.weui-icon-success-circle:before {
|
25
|
+
font-size: 23px;
|
26
|
+
color: #09BB07;
|
27
|
+
}
|
28
|
+
.weui-icon-success-no-circle:before {
|
29
|
+
font-size: 23px;
|
30
|
+
color: #09BB07;
|
31
|
+
}
|
32
|
+
.weui-icon-waiting-circle:before {
|
33
|
+
font-size: 23px;
|
34
|
+
color: #10AEFF;
|
35
|
+
}
|
36
|
+
.weui-icon-circle:before {
|
37
|
+
font-size: 23px;
|
38
|
+
color: #C9C9C9;
|
39
|
+
}
|
40
|
+
.weui-icon-download:before {
|
41
|
+
font-size: 23px;
|
42
|
+
color: #09BB07;
|
43
|
+
}
|
44
|
+
|
45
|
+
.weui-icon-info-circle:before {
|
46
|
+
font-size: 23px;
|
47
|
+
color: #09BB07;
|
48
|
+
}
|
49
|
+
|
50
|
+
.weui-icon-safe-success:before {
|
51
|
+
color: #09BB07;
|
52
|
+
}
|
53
|
+
.weui-icon-safe-warn:before {
|
54
|
+
color: #FFBE00;
|
55
|
+
}
|
56
|
+
|
57
|
+
.weui-icon-cancel:before {
|
58
|
+
color: #F43530;
|
59
|
+
font-size: 22px;
|
60
|
+
}
|
61
|
+
|
62
|
+
.weui-icon-search:before {
|
63
|
+
color: #B2B2B2;
|
64
|
+
font-size: 14px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.weui-icon-clear:before {
|
68
|
+
color: #B2B2B2;
|
69
|
+
font-size: 14px;
|
70
|
+
}
|
71
|
+
|
72
|
+
.weui-icon-delete:before {
|
73
|
+
.weui-icon_gallery-delete & {
|
74
|
+
color:#FFFFFF;
|
75
|
+
font-size:22px;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.weui-icon_msg:before {
|
80
|
+
font-size: 93px;
|
81
|
+
.weui-icon-warn & {
|
82
|
+
color: #F76260;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.weui-icon_msg-primary:before {
|
86
|
+
font-size: 93px;
|
87
|
+
.weui-icon-warn & {
|
88
|
+
color: #C9C9C9;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.weui-icon_safe:before {
|
93
|
+
font-size: 95px;
|
94
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
@import "../../base/fn";
|
2
|
+
|
3
|
+
.#{$weui_ns}agree{
|
4
|
+
display: block;
|
5
|
+
padding: .5em 15px;
|
6
|
+
font-size :13px;
|
7
|
+
|
8
|
+
a{
|
9
|
+
color: $weuiLinkColorDefault;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
.#{$weui_ns}agree__text{
|
13
|
+
color: $weuiTextColorGray;
|
14
|
+
}
|
15
|
+
.#{$weui_ns}agree__checkbox{
|
16
|
+
appearance: none;
|
17
|
+
outline: 0;
|
18
|
+
font-size: 0;
|
19
|
+
|
20
|
+
border: 1px solid #D1D1D1;
|
21
|
+
background-color: #FFFFFF;
|
22
|
+
border-radius: 3px;
|
23
|
+
width: 13px;
|
24
|
+
height: 13px;
|
25
|
+
position: relative;
|
26
|
+
|
27
|
+
vertical-align: 0;
|
28
|
+
top: 2px;
|
29
|
+
|
30
|
+
&:checked{
|
31
|
+
&:before{
|
32
|
+
font-family: "weui";
|
33
|
+
font-style: normal;
|
34
|
+
font-weight: normal;
|
35
|
+
font-variant: normal;
|
36
|
+
text-transform: none;
|
37
|
+
text-align: center;
|
38
|
+
speak: none;
|
39
|
+
display: inline-block;
|
40
|
+
vertical-align: middle;
|
41
|
+
text-decoration: inherit;
|
42
|
+
content: "\EA08";
|
43
|
+
color: #09BB07;
|
44
|
+
font-size: 13px;
|
45
|
+
|
46
|
+
position: absolute;
|
47
|
+
top: 50%;
|
48
|
+
left: 50%;
|
49
|
+
transform: translate(-50%,-48%) scale(.73);
|
50
|
+
-webkit-transform: translate(-50%,-48%) scale(.73);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&:disabled{
|
54
|
+
background-color:#E1E1E1;
|
55
|
+
&:before{
|
56
|
+
color:#ADADAD;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
@import "../../base/fn";
|
2
|
+
|
3
|
+
@keyframes slideUp {
|
4
|
+
from {
|
5
|
+
transform: translate3d(0, 100%, 0);
|
6
|
+
}
|
7
|
+
to {
|
8
|
+
transform: translate3d(0, 0, 0);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.#{$weui_ns}animate-slide-up {
|
13
|
+
animation: slideUp .3s forwards;
|
14
|
+
}
|
15
|
+
|
16
|
+
@keyframes slideDown {
|
17
|
+
from {
|
18
|
+
transform: translate3d(0, 0, 0);
|
19
|
+
}
|
20
|
+
|
21
|
+
to {
|
22
|
+
transform: translate3d(0, 100%, 0);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.#{$weui_ns}animate-slide-down {
|
27
|
+
animation: slideDown .3s forwards;
|
28
|
+
}
|
29
|
+
|
30
|
+
@keyframes fadeIn {
|
31
|
+
from {
|
32
|
+
opacity: 0;
|
33
|
+
}
|
34
|
+
to {
|
35
|
+
opacity: 1;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.#{$weui_ns}animate-fade-in {
|
40
|
+
animation: fadeIn .3s forwards;
|
41
|
+
}
|
42
|
+
|
43
|
+
@keyframes fadeOut {
|
44
|
+
from {
|
45
|
+
opacity: 1;
|
46
|
+
}
|
47
|
+
to {
|
48
|
+
opacity: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.#{$weui_ns}animate-fade-out {
|
53
|
+
animation: fadeOut .3s forwards;
|
54
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@import "../../base/fn";
|
2
|
+
|
3
|
+
.#{$weui_ns}btn_disabled {
|
4
|
+
color: $weuiBtnDisabledFontColor;
|
5
|
+
&.#{$weui_ns}btn_default {
|
6
|
+
color: $weuiBtnDefaultDisabledFontColor;
|
7
|
+
background-color: $weuiBtnDefaultDisabledBg;
|
8
|
+
}
|
9
|
+
&.#{$weui_ns}btn_primary {
|
10
|
+
background-color: $weuiBtnPrimaryDisabledBg;
|
11
|
+
}
|
12
|
+
&.#{$weui_ns}btn_warn {
|
13
|
+
background-color: $weuiBtnwarnDisabledBg;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@import "../../base/fn";
|
2
|
+
|
3
|
+
.#{$weui_ns}btn_plain-primary {
|
4
|
+
color: $weuiBtnPlainPrimaryColor;
|
5
|
+
border: 1px solid $weuiBtnPlainPrimaryBorderColor;
|
6
|
+
&:not(.#{$weui_ns}btn_plain-disabled):active {
|
7
|
+
color:$weuiBtnPlainPrimaryActiveColor;
|
8
|
+
border-color: $weuiBtnPlainPrimaryActiveBorderColor;
|
9
|
+
}
|
10
|
+
&:after {
|
11
|
+
border-width: 0;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.#{$weui_ns}btn_plain-default {
|
16
|
+
color: $weuiBtnPlainDefaultColor;
|
17
|
+
border: 1px solid $weuiBtnPlainDefaultBorderColor;
|
18
|
+
&:not(.#{$weui_ns}btn_plain-disabled):active {
|
19
|
+
color:$weuiBtnPlainDefaultActiveColor;
|
20
|
+
border-color: $weuiBtnPlainDefaultActiveBorderColor;
|
21
|
+
}
|
22
|
+
&:after {
|
23
|
+
border-width: 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
.#{$weui_ns}btn_plain-disabled{
|
27
|
+
color:rgba(0,0,0,.2);
|
28
|
+
border-color:rgba(0,0,0,.2);
|
29
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,60 @@
|
|
1
|
+
@import "../../base/fn";
|
2
|
+
@import "weui-btn_global";
|
3
|
+
@import "weui-btn_default";
|
4
|
+
@import "weui-btn_primary";
|
5
|
+
@import "weui-btn_warn";
|
6
|
+
@import "weui-btn_disabled";
|
7
|
+
@import "weui-btn_plain";
|
8
|
+
|
9
|
+
button, input {
|
10
|
+
&.#{$weui_ns}btn {
|
11
|
+
width: 100%;
|
12
|
+
border-width: 0;
|
13
|
+
outline: 0;
|
14
|
+
-webkit-appearance: none;
|
15
|
+
&:focus {
|
16
|
+
outline: 0;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
&.#{$weui_ns}btn_inline,&.#{$weui_ns}btn_mini {
|
20
|
+
width: auto;
|
21
|
+
}
|
22
|
+
&.#{$weui_ns}btn_plain-primary,&.#{$weui_ns}btn_plain-default{
|
23
|
+
border-width: 1px;
|
24
|
+
background-color: transparent;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.#{$weui_ns}btn_mini {
|
29
|
+
display: inline-block;
|
30
|
+
padding: 0 1.32em;
|
31
|
+
line-height: $weuiBtnMiniHeight;
|
32
|
+
font-size: $weuiBtnMiniFontSize;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
/*gap between btn*/
|
37
|
+
.#{$weui_ns}btn + .#{$weui_ns}btn {
|
38
|
+
margin-top: $weuiBtnDefaultGap;
|
39
|
+
}
|
40
|
+
|
41
|
+
.#{$weui_ns}btn.#{$weui_ns}btn_inline + .#{$weui_ns}btn.#{$weui_ns}btn_inline {
|
42
|
+
margin-top: auto;
|
43
|
+
margin-left: $weuiBtnDefaultGap;
|
44
|
+
}
|
45
|
+
|
46
|
+
.#{$weui_ns}btn-area {
|
47
|
+
margin: $weuiCellsMarginTop $weuiBtnDefaultGap .3em;
|
48
|
+
}
|
49
|
+
.#{$weui_ns}btn-area_inline {
|
50
|
+
display: flex;
|
51
|
+
.#{$weui_ns}btn {
|
52
|
+
margin-top: auto;
|
53
|
+
margin-right: $weuiBtnDefaultGap;
|
54
|
+
width: 100%;
|
55
|
+
flex: 1;
|
56
|
+
&:last-child {
|
57
|
+
margin-right: 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|