weui-rails 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +28 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +89 -0
- data/Rakefile +2 -0
- data/assets/stylesheets/_weui.scss +32 -0
- data/assets/stylesheets/base/fn.scss +13 -0
- data/assets/stylesheets/base/mixin/_mobile.scss +20 -0
- data/assets/stylesheets/base/mixin/_setArrow.scss +97 -0
- data/assets/stylesheets/base/mixin/_setChecked.scss +21 -0
- data/assets/stylesheets/base/mixin/_setOnepx.scss +47 -0
- data/assets/stylesheets/base/mixin/_text.scss +15 -0
- data/assets/stylesheets/base/reset.scss +24 -0
- data/assets/stylesheets/base/variable/_global.scss +32 -0
- data/assets/stylesheets/base/variable/_monokai.scss +11 -0
- data/assets/stylesheets/base/variable/_weui_button.scss +21 -0
- data/assets/stylesheets/base/variable/_weui_cell.scss +12 -0
- data/assets/stylesheets/base/variable/_weui_msg.scss +7 -0
- data/assets/stylesheets/base/variable/weui_progress.scss +5 -0
- data/assets/stylesheets/icon/weui_font.scss +62 -0
- data/assets/stylesheets/icon/weui_icon_font.scss +73 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_default.scss +13 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_disabled.scss +9 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_global.scss +36 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_plain.scss +30 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_primary.scss +12 -0
- data/assets/stylesheets/widget/weui_button/weui_btn_warn.scss +12 -0
- data/assets/stylesheets/widget/weui_button/weui_button.scss +58 -0
- data/assets/stylesheets/widget/weui_cell/weui_access.scss +22 -0
- data/assets/stylesheets/widget/weui_cell/weui_cell_global.scss +68 -0
- data/assets/stylesheets/widget/weui_cell/weui_check.scss +4 -0
- data/assets/stylesheets/widget/weui_cell/weui_check/weui_check_common.scss +10 -0
- data/assets/stylesheets/widget/weui_cell/weui_check/weui_checkbox.scss +35 -0
- data/assets/stylesheets/widget/weui_cell/weui_check/weui_radio.scss +27 -0
- data/assets/stylesheets/widget/weui_cell/weui_form.scss +6 -0
- data/assets/stylesheets/widget/weui_cell/weui_form/weui_form_common.scss +64 -0
- data/assets/stylesheets/widget/weui_cell/weui_form/weui_select.scss +38 -0
- data/assets/stylesheets/widget/weui_cell/weui_form/weui_select_after.scss +6 -0
- data/assets/stylesheets/widget/weui_cell/weui_form/weui_select_before.scss +30 -0
- data/assets/stylesheets/widget/weui_cell/weui_form/weui_vcode.scss +14 -0
- data/assets/stylesheets/widget/weui_cell/weui_switch.scss +51 -0
- data/assets/stylesheets/widget/weui_page/weui_article.scss +23 -0
- data/assets/stylesheets/widget/weui_page/weui_msg.scss +48 -0
- data/assets/stylesheets/widget/weui_progress/weui_progress.scss +23 -0
- data/assets/stylesheets/widget/weui_tips/weui_actionsheet.scss +43 -0
- data/assets/stylesheets/widget/weui_tips/weui_dialog.scss +93 -0
- data/assets/stylesheets/widget/weui_tips/weui_mask.scss +35 -0
- data/assets/stylesheets/widget/weui_tips/weui_toast.scss +349 -0
- data/lib/weui-rails.rb +13 -0
- data/lib/weui-rails/version.rb +5 -0
- data/weui-rails.gemspec +18 -0
- data/weui-rails.sublime-project +16 -0
- metadata +96 -0
data/lib/weui-rails.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'weui-rails/version'
|
2
|
+
|
3
|
+
module Weui
|
4
|
+
module Rails
|
5
|
+
class Engine < ::Rails::Engine
|
6
|
+
initializer 'weui-rails.assets.precompile' do |app|
|
7
|
+
%w(stylesheets).each do |sub|
|
8
|
+
app.config.assets.paths << root.join('assets', sub).to_s
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/weui-rails.gemspec
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/weui-rails/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ['Eric Guo']
|
6
|
+
gem.email = ['eric.guocz@gmail.com']
|
7
|
+
gem.description = 'An UI library for WeChat, includes widgets/modules in mobile web app.'
|
8
|
+
gem.summary = 'An UI library for WeChat'
|
9
|
+
gem.homepage = 'https://github.com/Eric-Guo/weui-rails'
|
10
|
+
gem.license = 'MIT'
|
11
|
+
|
12
|
+
gem.files = `git ls-files`.split($\)
|
13
|
+
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
14
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
15
|
+
gem.name = 'weui-rails'
|
16
|
+
gem.require_paths = ['lib']
|
17
|
+
gem.version = Weui::Rails::VERSION
|
18
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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
|
+
}
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: weui-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Guo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-12-12 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: An UI library for WeChat, includes widgets/modules in mobile web app.
|
14
|
+
email:
|
15
|
+
- eric.guocz@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".gitignore"
|
21
|
+
- Gemfile
|
22
|
+
- LICENSE
|
23
|
+
- README.md
|
24
|
+
- Rakefile
|
25
|
+
- assets/stylesheets/_weui.scss
|
26
|
+
- assets/stylesheets/base/fn.scss
|
27
|
+
- assets/stylesheets/base/mixin/_mobile.scss
|
28
|
+
- assets/stylesheets/base/mixin/_setArrow.scss
|
29
|
+
- assets/stylesheets/base/mixin/_setChecked.scss
|
30
|
+
- assets/stylesheets/base/mixin/_setOnepx.scss
|
31
|
+
- assets/stylesheets/base/mixin/_text.scss
|
32
|
+
- assets/stylesheets/base/reset.scss
|
33
|
+
- assets/stylesheets/base/variable/_global.scss
|
34
|
+
- assets/stylesheets/base/variable/_monokai.scss
|
35
|
+
- assets/stylesheets/base/variable/_weui_button.scss
|
36
|
+
- assets/stylesheets/base/variable/_weui_cell.scss
|
37
|
+
- assets/stylesheets/base/variable/_weui_msg.scss
|
38
|
+
- assets/stylesheets/base/variable/weui_progress.scss
|
39
|
+
- assets/stylesheets/icon/weui_font.scss
|
40
|
+
- assets/stylesheets/icon/weui_icon_font.scss
|
41
|
+
- assets/stylesheets/widget/weui_button/weui_btn_default.scss
|
42
|
+
- assets/stylesheets/widget/weui_button/weui_btn_disabled.scss
|
43
|
+
- assets/stylesheets/widget/weui_button/weui_btn_global.scss
|
44
|
+
- assets/stylesheets/widget/weui_button/weui_btn_plain.scss
|
45
|
+
- assets/stylesheets/widget/weui_button/weui_btn_primary.scss
|
46
|
+
- assets/stylesheets/widget/weui_button/weui_btn_warn.scss
|
47
|
+
- assets/stylesheets/widget/weui_button/weui_button.scss
|
48
|
+
- assets/stylesheets/widget/weui_cell/weui_access.scss
|
49
|
+
- assets/stylesheets/widget/weui_cell/weui_cell_global.scss
|
50
|
+
- assets/stylesheets/widget/weui_cell/weui_check.scss
|
51
|
+
- assets/stylesheets/widget/weui_cell/weui_check/weui_check_common.scss
|
52
|
+
- assets/stylesheets/widget/weui_cell/weui_check/weui_checkbox.scss
|
53
|
+
- assets/stylesheets/widget/weui_cell/weui_check/weui_radio.scss
|
54
|
+
- assets/stylesheets/widget/weui_cell/weui_form.scss
|
55
|
+
- assets/stylesheets/widget/weui_cell/weui_form/weui_form_common.scss
|
56
|
+
- assets/stylesheets/widget/weui_cell/weui_form/weui_select.scss
|
57
|
+
- assets/stylesheets/widget/weui_cell/weui_form/weui_select_after.scss
|
58
|
+
- assets/stylesheets/widget/weui_cell/weui_form/weui_select_before.scss
|
59
|
+
- assets/stylesheets/widget/weui_cell/weui_form/weui_vcode.scss
|
60
|
+
- assets/stylesheets/widget/weui_cell/weui_switch.scss
|
61
|
+
- assets/stylesheets/widget/weui_page/weui_article.scss
|
62
|
+
- assets/stylesheets/widget/weui_page/weui_msg.scss
|
63
|
+
- assets/stylesheets/widget/weui_progress/weui_progress.scss
|
64
|
+
- assets/stylesheets/widget/weui_tips/weui_actionsheet.scss
|
65
|
+
- assets/stylesheets/widget/weui_tips/weui_dialog.scss
|
66
|
+
- assets/stylesheets/widget/weui_tips/weui_mask.scss
|
67
|
+
- assets/stylesheets/widget/weui_tips/weui_toast.scss
|
68
|
+
- lib/weui-rails.rb
|
69
|
+
- lib/weui-rails/version.rb
|
70
|
+
- weui-rails.gemspec
|
71
|
+
- weui-rails.sublime-project
|
72
|
+
homepage: https://github.com/Eric-Guo/weui-rails
|
73
|
+
licenses:
|
74
|
+
- MIT
|
75
|
+
metadata: {}
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubyforge_project:
|
92
|
+
rubygems_version: 2.4.8
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: An UI library for WeChat
|
96
|
+
test_files: []
|