material-sass 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.gitignore +22 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +59 -0
  5. data/Rakefile +2 -0
  6. data/app/assets/fonts/FontAwesome.otf +0 -0
  7. data/app/assets/fonts/MaterialDesignIcon.eot +0 -0
  8. data/app/assets/fonts/MaterialDesignIcon.svg +767 -0
  9. data/app/assets/fonts/MaterialDesignIcon.ttf +0 -0
  10. data/app/assets/fonts/MaterialDesignIcon.woff +0 -0
  11. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  12. data/app/assets/fonts/fontawesome-webfont.svg +565 -0
  13. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  14. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  15. data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
  16. data/app/assets/javascripts/material-sprockets.js +1 -0
  17. data/app/assets/javascripts/material.js +403 -0
  18. data/app/assets/javascripts/material/_.js +11 -0
  19. data/app/assets/javascripts/material/btn.js +11 -0
  20. data/app/assets/javascripts/material/content.js +45 -0
  21. data/app/assets/javascripts/material/datepicker.js +21 -0
  22. data/app/assets/javascripts/material/dropdown.js +15 -0
  23. data/app/assets/javascripts/material/esc.js +10 -0
  24. data/app/assets/javascripts/material/footer.js +4 -0
  25. data/app/assets/javascripts/material/form-adv.js +65 -0
  26. data/app/assets/javascripts/material/header.js +17 -0
  27. data/app/assets/javascripts/material/menu.js +39 -0
  28. data/app/assets/javascripts/material/sortable.js +10 -0
  29. data/app/assets/javascripts/material/tab.js +31 -0
  30. data/app/assets/javascripts/material/tile.js +43 -0
  31. data/app/assets/javascripts/material/toast.js +68 -0
  32. data/app/assets/javascripts/material/winresize.js +13 -0
  33. data/app/assets/stylesheets/material.scss +3 -0
  34. data/app/assets/stylesheets/material/_addon.scss +2 -0
  35. data/app/assets/stylesheets/material/_code.scss +54 -0
  36. data/app/assets/stylesheets/material/_element.scss +15 -0
  37. data/app/assets/stylesheets/material/_grid.scss +83 -0
  38. data/app/assets/stylesheets/material/_mixin.scss +4 -0
  39. data/app/assets/stylesheets/material/_reset.scss +403 -0
  40. data/app/assets/stylesheets/material/_theme.scss +4 -0
  41. data/app/assets/stylesheets/material/_utilitise.scss +252 -0
  42. data/app/assets/stylesheets/material/_variable-color.scss +6 -0
  43. data/app/assets/stylesheets/material/_variable.scss +116 -0
  44. data/app/assets/stylesheets/material/addon/_font-awesome.scss +18 -0
  45. data/app/assets/stylesheets/material/addon/_material-design-icon.scss +3053 -0
  46. data/app/assets/stylesheets/material/addon/font-awesome/_animated.scss +33 -0
  47. data/app/assets/stylesheets/material/addon/font-awesome/_bordered-pulled.scss +11 -0
  48. data/app/assets/stylesheets/material/addon/font-awesome/_core.scss +10 -0
  49. data/app/assets/stylesheets/material/addon/font-awesome/_fixed-width.scss +5 -0
  50. data/app/assets/stylesheets/material/addon/font-awesome/_flipped-rotated.scss +29 -0
  51. data/app/assets/stylesheets/material/addon/font-awesome/_icon.scss +593 -0
  52. data/app/assets/stylesheets/material/addon/font-awesome/_icons.scss +593 -0
  53. data/app/assets/stylesheets/material/addon/font-awesome/_larger.scss +22 -0
  54. data/app/assets/stylesheets/material/addon/font-awesome/_list.scss +21 -0
  55. data/app/assets/stylesheets/material/addon/font-awesome/_mixins.scss +25 -0
  56. data/app/assets/stylesheets/material/addon/font-awesome/_path.scss +12 -0
  57. data/app/assets/stylesheets/material/addon/font-awesome/_stacked.scss +29 -0
  58. data/app/assets/stylesheets/material/addon/font-awesome/_variable.scss +601 -0
  59. data/app/assets/stylesheets/material/addon/font-awesome/_variables.scss +602 -0
  60. data/app/assets/stylesheets/material/base.scss +16 -0
  61. data/app/assets/stylesheets/material/element/_avatar.scss +63 -0
  62. data/app/assets/stylesheets/material/element/_button-float.scss +145 -0
  63. data/app/assets/stylesheets/material/element/_button.scss +131 -0
  64. data/app/assets/stylesheets/material/element/_card.scss +203 -0
  65. data/app/assets/stylesheets/material/element/_dropdown.scss +116 -0
  66. data/app/assets/stylesheets/material/element/_form-adv-datepicker.scss +265 -0
  67. data/app/assets/stylesheets/material/element/_form-adv.scss +277 -0
  68. data/app/assets/stylesheets/material/element/_form.scss +226 -0
  69. data/app/assets/stylesheets/material/element/_modal.scss +121 -0
  70. data/app/assets/stylesheets/material/element/_nav.scss +40 -0
  71. data/app/assets/stylesheets/material/element/_sortable.scss +8 -0
  72. data/app/assets/stylesheets/material/element/_tab.scss +71 -0
  73. data/app/assets/stylesheets/material/element/_table.scss +77 -0
  74. data/app/assets/stylesheets/material/element/_tile.scss +154 -0
  75. data/app/assets/stylesheets/material/element/_toast.scss +61 -0
  76. data/app/assets/stylesheets/material/mixin/_css3.scss +52 -0
  77. data/app/assets/stylesheets/material/mixin/_grid.scss +82 -0
  78. data/app/assets/stylesheets/material/mixin/_responsive.scss +32 -0
  79. data/app/assets/stylesheets/material/mixin/_utilitise.scss +35 -0
  80. data/app/assets/stylesheets/material/project.scss +2 -0
  81. data/app/assets/stylesheets/material/theme/_content.scss +79 -0
  82. data/app/assets/stylesheets/material/theme/_footer.scss +23 -0
  83. data/app/assets/stylesheets/material/theme/_header.scss +103 -0
  84. data/app/assets/stylesheets/material/theme/_menu.scss +221 -0
  85. data/lib/material-sass.rb +26 -0
  86. data/lib/material-sass/engine.rb +12 -0
  87. data/lib/material-sass/version.rb +5 -0
  88. data/material-sass.gemspec +23 -0
  89. metadata +166 -0
@@ -0,0 +1,26 @@
1
+ require "material-sass/version"
2
+
3
+ module Material
4
+ module Sass
5
+ class << self
6
+ def load!
7
+ if rails?
8
+ register_rails_engine
9
+ end
10
+ end
11
+
12
+ def rails?
13
+ defined?(::Rails)
14
+ end
15
+
16
+ private
17
+
18
+ def register_rails_engine
19
+ require 'material-sass/engine'
20
+ end
21
+
22
+ end
23
+ end
24
+ end
25
+
26
+ Material::Sass.load!
@@ -0,0 +1,12 @@
1
+ module Material
2
+ module Sass
3
+ class Engine < ::Rails::Engine
4
+ initializer 'material-sass.assets.precompile' do |app|
5
+ %w(stylesheets javascripts fonts images).each do |sub|
6
+ app.config.assets.paths << root.join('app/assets', sub).to_s
7
+ end
8
+ #app.config.assets.precompile << %r(\.(?:eot|svg|ttf|woff2?)$)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,5 @@
1
+ module Material
2
+ module Sass
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'material-sass/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "material-sass"
8
+ spec.version = Material::Sass::VERSION
9
+ spec.authors = ["mkhairi"]
10
+ spec.email = ["khairi@labs.my"]
11
+ spec.summary = %q{HTML5 UI design based on Google Material}
12
+ spec.description = %q{HTML5 UI design based on Google Material.}
13
+ spec.homepage = "https://github.com/mkhairi/material-sass"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ end
metadata ADDED
@@ -0,0 +1,166 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: material-sass
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - mkhairi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-03-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.7'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.7'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '10.0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '10.0'
46
+ description: HTML5 UI design based on Google Material.
47
+ email:
48
+ - khairi@labs.my
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - .gitignore
54
+ - Gemfile
55
+ - LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - app/assets/fonts/FontAwesome.otf
59
+ - app/assets/fonts/MaterialDesignIcon.eot
60
+ - app/assets/fonts/MaterialDesignIcon.svg
61
+ - app/assets/fonts/MaterialDesignIcon.ttf
62
+ - app/assets/fonts/MaterialDesignIcon.woff
63
+ - app/assets/fonts/fontawesome-webfont.eot
64
+ - app/assets/fonts/fontawesome-webfont.svg
65
+ - app/assets/fonts/fontawesome-webfont.ttf
66
+ - app/assets/fonts/fontawesome-webfont.woff
67
+ - app/assets/fonts/fontawesome-webfont.woff2
68
+ - app/assets/javascripts/material-sprockets.js
69
+ - app/assets/javascripts/material.js
70
+ - app/assets/javascripts/material/_.js
71
+ - app/assets/javascripts/material/btn.js
72
+ - app/assets/javascripts/material/content.js
73
+ - app/assets/javascripts/material/datepicker.js
74
+ - app/assets/javascripts/material/dropdown.js
75
+ - app/assets/javascripts/material/esc.js
76
+ - app/assets/javascripts/material/footer.js
77
+ - app/assets/javascripts/material/form-adv.js
78
+ - app/assets/javascripts/material/header.js
79
+ - app/assets/javascripts/material/menu.js
80
+ - app/assets/javascripts/material/sortable.js
81
+ - app/assets/javascripts/material/tab.js
82
+ - app/assets/javascripts/material/tile.js
83
+ - app/assets/javascripts/material/toast.js
84
+ - app/assets/javascripts/material/winresize.js
85
+ - app/assets/stylesheets/material.scss
86
+ - app/assets/stylesheets/material/_addon.scss
87
+ - app/assets/stylesheets/material/_code.scss
88
+ - app/assets/stylesheets/material/_element.scss
89
+ - app/assets/stylesheets/material/_grid.scss
90
+ - app/assets/stylesheets/material/_mixin.scss
91
+ - app/assets/stylesheets/material/_reset.scss
92
+ - app/assets/stylesheets/material/_theme.scss
93
+ - app/assets/stylesheets/material/_utilitise.scss
94
+ - app/assets/stylesheets/material/_variable-color.scss
95
+ - app/assets/stylesheets/material/_variable.scss
96
+ - app/assets/stylesheets/material/addon/_font-awesome.scss
97
+ - app/assets/stylesheets/material/addon/_material-design-icon.scss
98
+ - app/assets/stylesheets/material/addon/font-awesome/_animated.scss
99
+ - app/assets/stylesheets/material/addon/font-awesome/_bordered-pulled.scss
100
+ - app/assets/stylesheets/material/addon/font-awesome/_core.scss
101
+ - app/assets/stylesheets/material/addon/font-awesome/_fixed-width.scss
102
+ - app/assets/stylesheets/material/addon/font-awesome/_flipped-rotated.scss
103
+ - app/assets/stylesheets/material/addon/font-awesome/_icon.scss
104
+ - app/assets/stylesheets/material/addon/font-awesome/_icons.scss
105
+ - app/assets/stylesheets/material/addon/font-awesome/_larger.scss
106
+ - app/assets/stylesheets/material/addon/font-awesome/_list.scss
107
+ - app/assets/stylesheets/material/addon/font-awesome/_mixins.scss
108
+ - app/assets/stylesheets/material/addon/font-awesome/_path.scss
109
+ - app/assets/stylesheets/material/addon/font-awesome/_stacked.scss
110
+ - app/assets/stylesheets/material/addon/font-awesome/_variable.scss
111
+ - app/assets/stylesheets/material/addon/font-awesome/_variables.scss
112
+ - app/assets/stylesheets/material/base.scss
113
+ - app/assets/stylesheets/material/element/_avatar.scss
114
+ - app/assets/stylesheets/material/element/_button-float.scss
115
+ - app/assets/stylesheets/material/element/_button.scss
116
+ - app/assets/stylesheets/material/element/_card.scss
117
+ - app/assets/stylesheets/material/element/_dropdown.scss
118
+ - app/assets/stylesheets/material/element/_form-adv-datepicker.scss
119
+ - app/assets/stylesheets/material/element/_form-adv.scss
120
+ - app/assets/stylesheets/material/element/_form.scss
121
+ - app/assets/stylesheets/material/element/_modal.scss
122
+ - app/assets/stylesheets/material/element/_nav.scss
123
+ - app/assets/stylesheets/material/element/_sortable.scss
124
+ - app/assets/stylesheets/material/element/_tab.scss
125
+ - app/assets/stylesheets/material/element/_table.scss
126
+ - app/assets/stylesheets/material/element/_tile.scss
127
+ - app/assets/stylesheets/material/element/_toast.scss
128
+ - app/assets/stylesheets/material/mixin/_css3.scss
129
+ - app/assets/stylesheets/material/mixin/_grid.scss
130
+ - app/assets/stylesheets/material/mixin/_responsive.scss
131
+ - app/assets/stylesheets/material/mixin/_utilitise.scss
132
+ - app/assets/stylesheets/material/project.scss
133
+ - app/assets/stylesheets/material/theme/_content.scss
134
+ - app/assets/stylesheets/material/theme/_footer.scss
135
+ - app/assets/stylesheets/material/theme/_header.scss
136
+ - app/assets/stylesheets/material/theme/_menu.scss
137
+ - lib/material-sass.rb
138
+ - lib/material-sass/engine.rb
139
+ - lib/material-sass/version.rb
140
+ - material-sass.gemspec
141
+ homepage: https://github.com/mkhairi/material-sass
142
+ licenses:
143
+ - MIT
144
+ post_install_message:
145
+ rdoc_options: []
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ requirements: []
161
+ rubyforge_project:
162
+ rubygems_version: 1.8.23
163
+ signing_key:
164
+ specification_version: 3
165
+ summary: HTML5 UI design based on Google Material
166
+ test_files: []