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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -1
  3. data/app/views/weui/_message_box.html.erb +8 -8
  4. data/app/views/weui/message_box.html.erb +1 -1
  5. data/lib/weui-rails/helpers/weui_message_box.rb +1 -1
  6. data/lib/weui-rails/version.rb +1 -1
  7. data/vendor/assets/stylesheets/_weui.scss +43 -23
  8. data/vendor/assets/stylesheets/base/fn.scss +9 -6
  9. data/vendor/assets/stylesheets/base/mixin/_mobile.scss +1 -18
  10. data/vendor/assets/stylesheets/base/mixin/_setArrow.scss +11 -82
  11. data/vendor/assets/stylesheets/base/mixin/_setOnepx.scss +4 -4
  12. data/vendor/assets/stylesheets/base/mixin/_text.scss +5 -0
  13. data/vendor/assets/stylesheets/base/reset.scss +4 -3
  14. data/vendor/assets/stylesheets/base/variable/_color.scss +20 -0
  15. data/vendor/assets/stylesheets/base/variable/_global.scss +6 -32
  16. data/vendor/assets/stylesheets/base/variable/_weui-button.scss +37 -0
  17. data/vendor/assets/stylesheets/base/variable/{_weui_cell.scss → _weui-cell.scss} +11 -3
  18. data/vendor/assets/stylesheets/base/variable/_weui-dialog.scss +5 -0
  19. data/vendor/assets/stylesheets/base/variable/{_weui_grid.scss → _weui-grid.scss} +0 -0
  20. data/vendor/assets/stylesheets/base/variable/{_weui_msg.scss → _weui-msg.scss} +0 -0
  21. data/vendor/assets/stylesheets/base/variable/{_weui_progress.scss → _weui-progress.scss} +0 -0
  22. data/vendor/assets/stylesheets/icon/weui-font.scss +56 -0
  23. data/vendor/assets/stylesheets/icon/weui-icon_font.scss +94 -0
  24. data/vendor/assets/stylesheets/widget/weui-agree/weui-agree.scss +59 -0
  25. data/vendor/assets/stylesheets/widget/weui-animate/weui-animate.scss +54 -0
  26. data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_default.scss → weui-button/weui-btn_default.scss} +1 -1
  27. data/vendor/assets/stylesheets/widget/weui-button/weui-btn_disabled.scss +15 -0
  28. data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_global.scss → weui-button/weui-btn_global.scss} +4 -5
  29. data/vendor/assets/stylesheets/widget/weui-button/weui-btn_plain.scss +29 -0
  30. data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_primary.scss → weui-button/weui-btn_primary.scss} +0 -0
  31. data/vendor/assets/stylesheets/widget/{weui_button/weui_btn_warn.scss → weui-button/weui-btn_warn.scss} +0 -0
  32. data/vendor/assets/stylesheets/widget/weui-button/weui-button.scss +60 -0
  33. data/vendor/assets/stylesheets/widget/weui-cell/weui-access.scss +32 -0
  34. data/vendor/assets/stylesheets/widget/{weui_cell/weui_cell_global.scss → weui-cell/weui-cell_global.scss} +25 -29
  35. data/vendor/assets/stylesheets/widget/weui-cell/weui-check.scss +4 -0
  36. data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_check_common.scss → weui-cell/weui-check/weui-check_common.scss} +0 -0
  37. data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_checkbox.scss → weui-cell/weui-check/weui-checkbox.scss} +3 -3
  38. data/vendor/assets/stylesheets/widget/{weui_cell/weui_check/weui_radio.scss → weui-cell/weui-check/weui-radio.scss} +2 -2
  39. data/vendor/assets/stylesheets/widget/weui-cell/weui-form.scss +5 -0
  40. data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-form-preview.scss +89 -0
  41. data/vendor/assets/stylesheets/widget/{weui_cell/weui_form/weui_form_common.scss → weui-cell/weui-form/weui-form_common.scss} +26 -26
  42. data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-select.scss +69 -0
  43. data/vendor/assets/stylesheets/widget/weui-cell/weui-form/weui-vcode.scss +27 -0
  44. data/vendor/assets/stylesheets/widget/weui-cell/weui-gallery.scss +35 -0
  45. data/vendor/assets/stylesheets/widget/weui-cell/weui-switch.scss +52 -0
  46. data/vendor/assets/stylesheets/widget/{weui_cell/weui_uploader.scss → weui-cell/weui-uploader.scss} +36 -36
  47. data/vendor/assets/stylesheets/widget/weui-flex/weui-flex.scss +8 -0
  48. data/vendor/assets/stylesheets/widget/weui-footer/weui-footer.scss +41 -0
  49. data/vendor/assets/stylesheets/widget/weui-grid/weui-grid.scss +55 -0
  50. data/vendor/assets/stylesheets/widget/weui-loading/weui-loading.scss +32 -0
  51. data/vendor/assets/stylesheets/widget/weui-media-box/weui-media-box.scss +87 -0
  52. data/vendor/assets/stylesheets/widget/{weui_page/weui_article.scss → weui-page/weui-article.scss} +5 -4
  53. data/vendor/assets/stylesheets/widget/weui-page/weui-msg.scss +45 -0
  54. data/vendor/assets/stylesheets/widget/weui-panel/weui-panel.scss +34 -0
  55. data/vendor/assets/stylesheets/widget/weui-picker/weui-picker.scss +98 -0
  56. data/vendor/assets/stylesheets/widget/weui-progress/weui-progress.scss +24 -0
  57. data/vendor/assets/stylesheets/widget/{weui_searchbar/weui_searchbar.scss → weui-searchbar/weui-searchbar.scss} +17 -17
  58. data/vendor/assets/stylesheets/widget/{weui_tab → weui-tab}/navbar.scss +7 -7
  59. data/vendor/assets/stylesheets/widget/weui-tab/tabbar.scss +57 -0
  60. data/vendor/assets/stylesheets/widget/{weui_tab/weui_tab.scss → weui-tab/weui-tab.scss} +2 -6
  61. data/vendor/assets/stylesheets/widget/weui-tips/weui-actionsheet.scss +84 -0
  62. data/vendor/assets/stylesheets/widget/weui-tips/weui-dialog.scss +133 -0
  63. data/vendor/assets/stylesheets/widget/weui-tips/weui-loadmore.scss +41 -0
  64. data/vendor/assets/stylesheets/widget/weui-tips/weui-mask.scss +20 -0
  65. data/vendor/assets/stylesheets/widget/weui-tips/weui-toast.scss +35 -0
  66. metadata +54 -47
  67. data/vendor/assets/stylesheets/base/mixin/_setChecked.scss +0 -21
  68. data/vendor/assets/stylesheets/base/variable/_monokai.scss +0 -11
  69. data/vendor/assets/stylesheets/base/variable/_weui_button.scss +0 -21
  70. data/vendor/assets/stylesheets/icon/weui_font.scss +0 -63
  71. data/vendor/assets/stylesheets/icon/weui_icon_font.scss +0 -83
  72. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_disabled.scss +0 -9
  73. data/vendor/assets/stylesheets/widget/weui_button/weui_btn_plain.scss +0 -30
  74. data/vendor/assets/stylesheets/widget/weui_button/weui_button.scss +0 -58
  75. data/vendor/assets/stylesheets/widget/weui_cell/weui_access.scss +0 -23
  76. data/vendor/assets/stylesheets/widget/weui_cell/weui_check.scss +0 -4
  77. data/vendor/assets/stylesheets/widget/weui_cell/weui_form.scss +0 -6
  78. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select.scss +0 -39
  79. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_after.scss +0 -9
  80. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_select_before.scss +0 -31
  81. data/vendor/assets/stylesheets/widget/weui_cell/weui_form/weui_vcode.scss +0 -14
  82. data/vendor/assets/stylesheets/widget/weui_cell/weui_switch.scss +0 -56
  83. data/vendor/assets/stylesheets/widget/weui_grid/weui_grid.scss +0 -73
  84. data/vendor/assets/stylesheets/widget/weui_media_box/weui_media_box.scss +0 -93
  85. data/vendor/assets/stylesheets/widget/weui_page/weui_msg.scss +0 -48
  86. data/vendor/assets/stylesheets/widget/weui_panel/weui_panel.scss +0 -64
  87. data/vendor/assets/stylesheets/widget/weui_progress/weui_progress.scss +0 -23
  88. data/vendor/assets/stylesheets/widget/weui_tab/tabbar.scss +0 -49
  89. data/vendor/assets/stylesheets/widget/weui_tips/weui_actionsheet.scss +0 -43
  90. data/vendor/assets/stylesheets/widget/weui_tips/weui_dialog.scss +0 -94
  91. data/vendor/assets/stylesheets/widget/weui_tips/weui_mask.scss +0 -35
  92. data/vendor/assets/stylesheets/widget/weui_tips/weui_toast.scss +0 -349
@@ -1,21 +0,0 @@
1
- @mixin setChecked($c:#FFFFFF) {
2
- display: inline-block;
3
- content: '';
4
- width: 4px;
5
- height: 8px;
6
- border-bottom: 2px solid $c;
7
- border-right: 2px solid $c;
8
- transform: translate(0, 0) rotate(45deg);
9
- }
10
-
11
- @mixin setCheckedAbs($c:#FFFFFF) {
12
- position: absolute;
13
- top: 50%;
14
- left: 50%;
15
- content: '';
16
- width: 4px;
17
- height: 8px;
18
- border-bottom: 2px solid $c;
19
- border-right: 2px solid $c;
20
- transform: translate(-50%, -65%) rotate(45deg);
21
- }
@@ -1,11 +0,0 @@
1
- $monokaiCaret:#F8F8F0 !default;
2
- $monokaiGreen:#A6E22E !default;
3
- $monokaiOrange:#FD971F !default;
4
- $monokaiBlue:#66D9EF !default;
5
- $monokaiRed:#F92672 !default;
6
- $monokaiPurple:#AE81FF !default;
7
- $monokaiBrown:#E6DB74 !default;
8
- $monokaiFindHighlight:#FFE792 !default;
9
- $monokaiLineHighlight:#3E3D32 !default;
10
- $monokaiSelection:#49483E !default;
11
- $monokaiBg:#272822 !default;
@@ -1,21 +0,0 @@
1
- $weuiBtnDefaultGap:15px !default;
2
- $weuiBtnHeight:42px !default;
3
- $weuiBtnMiniHeight:1.9 !default;
4
- $weuiBtnFontSize:18px !default;
5
- $weuiBtnFontColor:#FFFFFF !default;
6
- $weuiBtnDisabledFontColor:rgba(255,255,255,.6) !default;
7
- $weuiBtnActiveFontColor:rgba(255,255,255,.4) !default;
8
- $weuiBtnMiniFontSize:14px !default;
9
- $weuiBtnBorderRadius:5px !default;
10
-
11
- $weuiBtnDefaultBg:#F7F7F7 !default;
12
- $weuiBtnDefaultActiveBg:#DEDEDE !default;
13
- $weuiBtnDefaultFontColor:#454545 !default;
14
- $weuiBtnDefaultDisabledFontColor:#C9C9C9 !default;
15
- $weuiBtnDefaultActiveFontColor:#A1A1A1 !default;
16
-
17
- $weuiBtnPrimaryBg:#04be02 !default;
18
- $weuiBtnPrimaryActiveBg:#039702 !default;
19
-
20
- $weuiBtnWarnBg:#ef4f4f !default;
21
- $weuiBtnWarnActiveBg:#c13e3e !default;
@@ -1,63 +0,0 @@
1
- @font-face {
2
- font-weight: normal;
3
- font-style: normal;
4
- font-family: "weui";
5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vLmNvbQB3AGUAdQBpAFIAZQBnAHUAbABhAHIAdwBlAHUAaQB3AGUAdQBpAFYAZQByAHMAaQBvAG4AIAAxAC4AMAB3AGUAdQBpAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzc19jaXJjbGURc3VjY2Vzc19ub19jaXJjbGUHd2FpdGluZw53YWl0aW5nX2NpcmNsZQR3YXJuC2luZm9fY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xvc2UAAAAA') format('truetype');
6
- }
7
- /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
8
- /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
9
- /*
10
- @media screen and (-webkit-min-device-pixel-ratio:0) {
11
- @font-face {
12
- font-family: 'weui';
13
- src: url('../font/weui.svg?87776072#weui') format('svg');
14
- }
15
- }
16
- */
17
-
18
- [class^="weui_icon_"]:before, [class*=" weui_icon_"]:before {
19
- font-family: "weui";
20
- font-style: normal;
21
- font-weight: normal;
22
- speak: none;
23
-
24
- display: inline-block;
25
- vertical-align:middle;
26
- text-decoration: inherit;
27
- width: 1em;
28
- margin-right: .2em;
29
- text-align: center;
30
- /* opacity: .8; */
31
-
32
- /* For safety - reset parent styles, that can break glyph codes*/
33
- font-variant: normal;
34
- text-transform: none;
35
-
36
- /* fix buttons height, for twitter bootstrap */
37
- line-height: 1em;
38
-
39
- /* Animation center compensation - margins should be symmetric */
40
- /* remove if not needed */
41
- margin-left: .2em;
42
-
43
- /* you can be more comfortable with increased icons size */
44
- /* font-size: 120%; */
45
-
46
- /* Uncomment for 3D effect */
47
- /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
48
- }
49
- .weui_icon_circle:before { content: "\EA01" } /* '' */
50
- .weui_icon_download:before { content: "\EA02" } /* '' */
51
- .weui_icon_info:before { content: "\EA03" } /* '' */
52
- .weui_icon_safe_success:before { content: "\EA04" } /* '' */
53
- .weui_icon_safe_warn:before { content: "\EA05" } /* '' */
54
- .weui_icon_success:before { content: "\EA06" } /* '' */
55
- .weui_icon_success_circle:before { content: "\EA07" } /* '' */
56
- .weui_icon_success_no_circle:before { content: "\EA08" } /* '' */
57
- .weui_icon_waiting:before { content: "\EA09" } /* '' */
58
- .weui_icon_waiting_circle:before { content: "\EA0A" } /* '' */
59
- .weui_icon_warn:before { content: "\EA0B" } /* '' */
60
- .weui_icon_info_circle:before { content: "\EA0C" } /* '' */
61
- .weui_icon_cancel:before { content: "\EA0D" } /* '' */
62
- .weui_icon_search:before { content: "\EA0E" } /* '' */
63
- .weui_icon_clear:before { content: "\EA0F" } /* '' */
@@ -1,83 +0,0 @@
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
-
12
- .weui_icon_waiting:before {
13
- font-size: 23px;
14
- color: #10AEFF;
15
- }
16
- .weui_icon_warn:before {
17
- font-size: 23px;
18
- color: #F43530;
19
- }
20
- .weui_icon_info:before {
21
- font-size: 23px;
22
- color: #10AEFF;
23
- }
24
-
25
- .weui_icon_success_circle:before {
26
- font-size: 23px;
27
- color: #09BB07;
28
- }
29
- .weui_icon_success_no_circle:before {
30
- font-size: 23px;
31
- color: #09BB07;
32
- }
33
- .weui_icon_waiting_circle:before {
34
- font-size: 23px;
35
- color: #10AEFF;
36
- }
37
- .weui_icon_circle:before {
38
- font-size: 23px;
39
- color: #C9C9C9;
40
- }
41
- .weui_icon_download:before {
42
- font-size: 23px;
43
- color: #09BB07;
44
- }
45
-
46
- .weui_icon_info_circle:before {
47
- font-size: 23px;
48
- color: #09BB07;
49
- }
50
-
51
- .weui_icon_safe_success:before {
52
- color: #09BB07;
53
- }
54
-
55
- .weui_icon_safe_warn:before {
56
- color: #FFBE00;
57
- }
58
-
59
- .weui_icon_cancel:before {
60
- font-size: 22px;
61
- color: #F43530;
62
- }
63
-
64
- .weui_icon_search:before {
65
- font-size: 14px;
66
- color: #B2B2B2;
67
- }
68
-
69
- .weui_icon_clear:before {
70
- font-size: 14px;
71
- color: #B2B2B2;
72
- }
73
-
74
- .weui_icon_msg:before {
75
- font-size: 104px;
76
- .weui_icon_warn & {
77
- color: #F76260;
78
- }
79
- }
80
-
81
- .weui_icon_safe:before {
82
- font-size: 104px;
83
- }
@@ -1,9 +0,0 @@
1
- @import "../../base/fn";
2
-
3
- .#{$weui_ns}btn_disabled {
4
- color: $weuiBtnDisabledFontColor;
5
-
6
- &.#{$weui_ns}btn_default {
7
- color: $weuiBtnDefaultDisabledFontColor;
8
- }
9
- }
@@ -1,30 +0,0 @@
1
- @import "../../base/fn";
2
-
3
- .#{$weui_ns}btn_plain_primary {
4
- color: $weuiBtnPrimaryBg;
5
- border: 1px solid $weuiBtnPrimaryBg;
6
- &:active {
7
- border-color: $weuiBtnPrimaryActiveBg;
8
- }
9
- &:after {
10
- border-width: 0;
11
- }
12
- }
13
-
14
- button.#{$weui_ns}btn_plain_primary, input.#{$weui_ns}btn_plain_primary {
15
- border-width: 1px;
16
- background-color: transparent;
17
- }
18
-
19
- .#{$weui_ns}btn_plain_default {
20
- color: #5A5A5A;
21
- border: 1px solid #5A5A5A;
22
- &:after {
23
- border-width: 0;
24
- }
25
- }
26
-
27
- button.#{$weui_ns}btn_plain_default, input.#{$weui_ns}btn_plain_default {
28
- border-width: 1px;
29
- background-color: transparent;
30
- }
@@ -1,58 +0,0 @@
1
- @import "../../base/fn";
2
-
3
- .#{$weui_ns}btn {
4
- &.#{$weui_ns}btn_mini {
5
- line-height: $weuiBtnMiniHeight;
6
- font-size: $weuiBtnMiniFontSize;
7
- padding: 0 .75em;
8
- display: inline-block;
9
- }
10
- }
11
-
12
- button, input {
13
- &.#{$weui_ns}btn {
14
- width: 100%;
15
- border-width: 0;
16
- outline: 0;
17
- -webkit-appearance: none;
18
- &:focus {
19
- outline: 0;
20
- }
21
- }
22
- &.#{$weui_ns}btn_inline,&.#{$weui_ns}btn_mini {
23
- width: auto;
24
- }
25
- }
26
-
27
- /*gap between btn*/
28
- .#{$weui_ns}btn + .#{$weui_ns}btn {
29
- margin-top: $weuiBtnDefaultGap;
30
- }
31
-
32
- .#{$weui_ns}btn.#{$weui_ns}btn_inline + .#{$weui_ns}btn.#{$weui_ns}btn_inline {
33
- margin-top: auto;
34
- margin-left: $weuiBtnDefaultGap;
35
- }
36
-
37
- .#{$weui_ns}btn_area {
38
- margin: $weuiCellsMarginTop $weuiBtnDefaultGap .3em;
39
- &.#{$weui_ns}btn_area_inline {
40
- display: flex;
41
- .#{$weui_ns}btn {
42
- margin-top: auto;
43
- margin-right: $weuiBtnDefaultGap;
44
- width: 100%;
45
- flex: 1;
46
- &:last-child {
47
- margin-right: 0;
48
- }
49
- }
50
- }
51
- }
52
-
53
- @import "weui_btn_global";
54
- @import "weui_btn_default";
55
- @import "weui_btn_primary";
56
- @import "weui_btn_warn";
57
- @import "weui_btn_disabled";
58
- @import "weui_btn_plain";
@@ -1,23 +0,0 @@
1
- @import "../../base/fn";
2
-
3
- .#{$weui_ns}cells_access {
4
- .#{$weui_ns}cell:not(.no_access) {
5
- // 在cell_access和其它类型的cell混着用的场景下,其它cell要加no_access,避免有点击态
6
- @include setTapColor();
7
- &:active {
8
- background-color: #ECECEC;
9
- }
10
- }
11
- a.#{$weui_ns}cell {
12
- color: inherit;
13
- }
14
- .#{$weui_ns}cell_ft {
15
- &:after {
16
- content: " ";
17
- @include setArrow_Wap(right, 6px, #C8C8CD, 2px);
18
- top: -1px;
19
- margin-left:.3em;
20
- }
21
- }
22
- }
23
-
@@ -1,4 +0,0 @@
1
- @import "../../base/fn";
2
- @import "./weui_check/weui_check_common";
3
- @import "./weui_check/weui_radio";
4
- @import "./weui_check/weui_checkbox";
@@ -1,6 +0,0 @@
1
- @import "../../base/fn";
2
- @import "./weui_form/weui_form_common";
3
- @import "./weui_form/weui_select";
4
- @import "./weui_form/weui_select_before";
5
- @import "./weui_form/weui_select_after";
6
- @import "./weui_form/weui_vcode";
@@ -1,39 +0,0 @@
1
- @import "../../../base/fn";
2
-
3
- .#{$weui_ns}cell_select {
4
- padding: 0;
5
- .#{$weui_ns}select {
6
- padding-right: 30px;
7
- }
8
- .#{$weui_ns}access_icon {
9
- // position: absolute;
10
- // top: 50%;
11
- // right: $weuiCellGapH;
12
- // margin-top: -12px;
13
- }
14
- .#{$weui_ns}cell_bd{
15
- &:after{
16
- content: " ";
17
- @include setArrow_Wap(right, 6px, #C8C8CD, 2px);
18
-
19
- position: absolute;
20
- top: 50%;
21
- right: $weuiCellGapH;
22
- margin-top: -3px;
23
- }
24
- }
25
- }
26
-
27
- .#{$weui_ns}select {
28
- -webkit-appearance: none;
29
- border: 0;
30
- outline: 0;
31
- background-color: transparent;
32
- width: 100%;
33
- font-size: inherit;
34
- height: 43px;
35
- line-height: $weuiCellHeight;
36
- position: relative;
37
- z-index: 1;
38
- padding-left: $weuiCellGapH;
39
- }
@@ -1,9 +0,0 @@
1
- @import "../../../base/fn";
2
- @import "weui_select";
3
-
4
- .#{$weui_ns}select_after {
5
- padding-left:$weuiCellGapH;
6
- .#{$weui_ns}select {
7
- padding-left:0;
8
- }
9
- }
@@ -1,31 +0,0 @@
1
- @import "../../../base/fn";
2
- @import "weui_select";
3
-
4
- .#{$weui_ns}select_before {
5
- padding-right: $weuiCellGapH;
6
- .#{$weui_ns}select {
7
- width:$weuiCellLabelWidth;
8
- box-sizing: border-box;
9
- }
10
- .#{$weui_ns}cell_hd {
11
- position: relative;
12
- &:after {
13
- @include setRightLine($weuiCellBorderColor);
14
- }
15
- &:before{
16
- content: " ";
17
- @include setArrow_Wap(right, 6px, #C8C8CD, 2px);
18
-
19
- position: absolute;
20
- top: 50%;
21
- right: $weuiCellGapH;
22
- margin-top: -3px;
23
- }
24
- }
25
- .#{$weui_ns}cell_bd {
26
- padding-left: $weuiCellGapH;
27
- &:after{
28
- display:none;
29
- }
30
- }
31
- }
@@ -1,14 +0,0 @@
1
- @import "../../../base/fn";
2
-
3
- .#{$weui_ns}vcode {
4
- padding-top: 0;
5
- padding-right: 0;
6
- padding-bottom: 0;
7
- .#{$weui_ns}cell_ft {
8
- img {
9
- margin-left: 5px;
10
- height: $weuiCellHeight;
11
- vertical-align: middle;
12
- }
13
- }
14
- }
@@ -1,56 +0,0 @@
1
- @import "../../base/fn";
2
- $weuiSwitchHeight: 32px;
3
- .#{$weui_ns}cell_switch{
4
- padding-top: ($weuiCellHeight - $weuiSwitchHeight) / 2;
5
- padding-bottom: ($weuiCellHeight - $weuiSwitchHeight) / 2;
6
- }
7
- .#{$weui_ns}switch{
8
- appearance: none;
9
- position: relative;
10
- width: 52px;
11
- height: $weuiSwitchHeight;
12
- border: 1px solid #DFDFDF;
13
- outline: 0;
14
- border-radius: 16px;
15
- box-sizing: border-box;
16
- background: #DFDFDF;
17
- background-color: #DFDFDF;
18
- transition: background-color .1s, border .1s;
19
- &:before{
20
- content: " ";
21
- position: absolute;
22
- top: 0;
23
- left: 0;
24
- width: 50px;
25
- height: $weuiSwitchHeight - 2;
26
- border-radius: 15px;
27
- background-color: #FDFDFD;
28
- transition:transform .3s;
29
- transition:transform .35s cubic-bezier(0.45, 1, 0.4, 1);
30
- }
31
- &:after{
32
- content: " ";
33
- position: absolute;
34
- top: 0;
35
- left: 0;
36
- width: $weuiSwitchHeight - 2;
37
- height: $weuiSwitchHeight - 2;
38
- border-radius: 15px;
39
- background-color: #FFFFFF;
40
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
41
- transition:transform .3s;
42
- box-shadow: 0 1px 3px rgba(0,0,0,0.4);
43
- transition:transform .35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
44
- }
45
-
46
- &:checked{
47
- border-color: #04BE02;
48
- background-color: #04BE02;
49
- &:before{
50
- transform: scale(0);
51
- }
52
- &:after{
53
- transform: translateX(20px);
54
- }
55
- }
56
- }