weui-rails 1.1.2.1 → 1.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1b3fdb01fd7bb713ac687c2c30f6d0bc4475742f
4
- data.tar.gz: ab19046e141bb3d9a417b48ffa09988118e979cc
2
+ SHA256:
3
+ metadata.gz: 01d5dc63efe5effbb930234dd3b92e5e5a8f18fb5f0338b1250f8b10c2fb8e31
4
+ data.tar.gz: 76584c63dfba2883cdf0bd32730afba29ae4ba6af59228f5dd4003c49262b488
5
5
  SHA512:
6
- metadata.gz: 0e91d5da383b31496b685688c534018eebc1f1e77ce01a90541a6b95416f62a988f07f301228dbc9b1a92af90daccc0cabb98fc2cf786a14b68ae6e944a5ba01
7
- data.tar.gz: 6f1f58a42ed6d3855a1a8ecc467b74edcd059fd0a3cfedd4b2e4dc12d90d449cc153efdb0b4c2d9c40adfb033f39924002fc4ed6e68980e964810913bfabec60
6
+ metadata.gz: da7b78aa9cec259712ad8edef466d43b4be1859509c9ccdf862729421c95dfaee1e4bebc4a44a8a5c6f157f1998a7c39e88a77948467c6b48913ea08eaca28bf
7
+ data.tar.gz: c0a2b4001e2ea19b1f43bd22a5065e6a50171d9ab3cdeea190643ac14c57dfb1562432c20c8a0d3fe07ebc23c41c113f0df871b002b0918e51c53e8ddee2436c
@@ -1,5 +1,5 @@
1
1
  module Weui
2
2
  module Rails
3
- VERSION = '1.1.2.1'
3
+ VERSION = '1.1.3'
4
4
  end
5
5
  end
@@ -9,6 +9,9 @@
9
9
  .#{$weui_ns}check {
10
10
  // radio
11
11
  .#{$weui_ns}cells_radio & {
12
+ & + .weui-icon-checked {
13
+ min-width:16px;
14
+ }
12
15
  &:checked {
13
16
  & + .weui-icon-checked {
14
17
  &:before {
@@ -20,4 +23,4 @@
20
23
  }
21
24
  }
22
25
  }
23
- }
26
+ }
@@ -6,13 +6,13 @@
6
6
  display: inline-block;
7
7
  vertical-align: middle;
8
8
  animation: weuiLoading 1s steps(12, end) infinite;
9
- background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQ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0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;
10
10
  background-size: 100%;
11
11
  &.weui-loading_transparent,
12
12
  .weui-btn_loading.weui-btn_primary &,
13
13
  .weui-btn_loading.weui-btn_warn &
14
14
  {
15
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E");
15
+ background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E");
16
16
  }
17
17
  }
18
18
 
@@ -19,10 +19,14 @@
19
19
  margin-bottom: $weuiMsgTitleGap;
20
20
  font-weight: 400;
21
21
  font-size: 20px;
22
+ word-wrap:break-word;
23
+ word-break:break-all;
22
24
  }
23
25
  .#{$weui_ns}msg__desc {
24
26
  font-size: 14px;
25
27
  color: $weuiTextColorGray;
28
+ word-wrap:break-word;
29
+ word-break:break-all;
26
30
  }
27
31
  .#{$weui_ns}msg__opr-area {
28
32
  margin-bottom: $weuiMsgOprGap;
@@ -42,4 +46,9 @@
42
46
  width: 100%;
43
47
  text-align: center;
44
48
  }
45
- }
49
+ }
50
+ @media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3){ // iPhoneX
51
+ .weui-msg__extra-area {
52
+ margin-bottom: $weuiMsgExtraAreaGap + 34;
53
+ }
54
+ }
@@ -5,6 +5,8 @@
5
5
  display: flex;
6
6
  box-sizing: border-box;
7
7
  background-color: #EFEFF4;
8
+ -webkit-text-size-adjust: 100%;
9
+ align-items: center;
8
10
  &:before {
9
11
  @include setTopLine(#D7D6DC);
10
12
  }
@@ -111,4 +113,4 @@ input[type="search"]::-webkit-search-cancel-button,
111
113
  input[type="search"]::-webkit-search-results-button,
112
114
  input[type="search"]::-webkit-search-results-decoration {
113
115
  display: none;
114
- }
116
+ }
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.homepage = 'https://github.com/Eric-Guo/weui-rails'
10
10
  gem.license = 'MIT'
11
11
 
12
- gem.files = `git ls-files`.split($\)
12
+ gem.files = `git ls-files`.split($\) - %w[weui-rails.sublime-project Gemfile Rakefile]
13
13
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = 'weui-rails'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Guo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-16 00:00:00.000000000 Z
11
+ date: 2019-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -46,10 +46,8 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - Gemfile
50
49
  - LICENSE
51
50
  - README.md
52
- - Rakefile
53
51
  - app/views/weui/_message_box.html.erb
54
52
  - app/views/weui/message_box.html.erb
55
53
  - lib/weui-rails.rb
@@ -119,7 +117,6 @@ files:
119
117
  - vendor/assets/stylesheets/widget/weui-tips/_weui-mask.scss
120
118
  - vendor/assets/stylesheets/widget/weui-tips/_weui-toast.scss
121
119
  - weui-rails.gemspec
122
- - weui-rails.sublime-project
123
120
  homepage: https://github.com/Eric-Guo/weui-rails
124
121
  licenses:
125
122
  - MIT
@@ -139,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
136
  - !ruby/object:Gem::Version
140
137
  version: '0'
141
138
  requirements: []
142
- rubyforge_project:
143
- rubygems_version: 2.6.12
139
+ rubygems_version: 3.0.2
144
140
  signing_key:
145
141
  specification_version: 4
146
142
  summary: An UI library for WeChat
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
@@ -1,16 +0,0 @@
1
- {
2
- "folders":
3
- [
4
- {
5
- "path": ".",
6
- "folder_exclude_patterns": [".bundle",".idea","tmp","log","pkg"],
7
- "file_exclude_patterns": ["*.sublime-workspace","*.sqlite3","spec/examples.txt"]
8
- }
9
- ],
10
- "settings":
11
- {
12
- "translate_tabs_to_spaces": true,
13
- "trim_trailing_white_space_on_save": true,
14
- "tab_size": 2
15
- }
16
- }