better_styles 0.0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/MIT-LICENSE +20 -0
- data/README.md +33 -0
- data/Rakefile +34 -0
- data/app/helpers/styles_helper.rb +33 -0
- data/assets/fonts/betterfonts/betterwork-icons.eot +0 -0
- data/assets/fonts/betterfonts/betterwork-icons.svg +368 -0
- data/assets/fonts/betterfonts/betterwork-icons.ttf +0 -0
- data/assets/fonts/betterfonts/betterwork-icons.woff +0 -0
- data/assets/fonts/betterfonts/icomoon.eot +0 -0
- data/assets/fonts/betterfonts/icomoon.svg +461 -0
- data/assets/fonts/betterfonts/icomoon.ttf +0 -0
- data/assets/fonts/betterfonts/icomoon.woff +0 -0
- data/assets/fonts/betterfonts/magicons-regular-webfont.eot +0 -0
- data/assets/fonts/betterfonts/magicons-regular-webfont.svg +461 -0
- data/assets/fonts/betterfonts/magicons-regular-webfont.ttf +0 -0
- data/assets/fonts/betterfonts/magicons-regular-webfont.woff +0 -0
- data/assets/fonts/betterfonts/newmagicons-regular-webfont.eot +0 -0
- data/assets/fonts/betterfonts/newmagicons-regular-webfont.svg +199 -0
- data/assets/fonts/betterfonts/newmagicons-regular-webfont.ttf +0 -0
- data/assets/fonts/betterfonts/newmagicons-regular-webfont.woff +0 -0
- data/assets/fonts/betterfonts/orderlifticons-webfont.eot +0 -0
- data/assets/fonts/betterfonts/orderlifticons-webfont.svg +172 -0
- data/assets/fonts/betterfonts/orderlifticons-webfont.ttf +0 -0
- data/assets/fonts/betterfonts/orderlifticons-webfont.woff +0 -0
- data/assets/images/better/arrows/arrow-round1-a.png +0 -0
- data/assets/images/better/arrows/arrow-round1-b.png +0 -0
- data/assets/images/better/arrows/arrow-round2-a.png +0 -0
- data/assets/images/better/arrows/arrow-round2-b.png +0 -0
- data/assets/images/better/arrows/arrow1-a.png +0 -0
- data/assets/images/better/arrows/arrow1-b.png +0 -0
- data/assets/images/better/arrows/arrow1.png +0 -0
- data/assets/images/better/arrows/arrow2-1.png +0 -0
- data/assets/images/better/arrows/arrow2-2.png +0 -0
- data/assets/images/better/arrows/arrow2-a.png +0 -0
- data/assets/images/better/arrows/arrow2-b.png +0 -0
- data/assets/images/better/arrows/arrow3-a.png +0 -0
- data/assets/images/better/arrows/arrow3-b.png +0 -0
- data/assets/images/better/arrows/arrow4-a.png +0 -0
- data/assets/images/better/arrows/arrow4-b.png +0 -0
- data/assets/images/better/arrows/arrow5-a.png +0 -0
- data/assets/images/better/arrows/arrow5-b.png +0 -0
- data/assets/images/better/arrows/arrow6-a.png +0 -0
- data/assets/images/better/arrows/arrow6-b.png +0 -0
- data/assets/images/better/helper/blank_10.png +0 -0
- data/assets/images/better/helper/crossed.png +0 -0
- data/assets/images/better/helper/white_10.png +0 -0
- data/assets/javascripts/better_styles.js.coffee +4 -0
- data/assets/javascripts/betterjs/forms/check_switch.js.coffee +25 -0
- data/assets/javascripts/betterjs/helper.js.coffee +74 -0
- data/assets/javascripts/betterjs/navigations/aside_link.js.coffee +9 -0
- data/assets/javascripts/betterjs/navigations/nav_list.js.coffee +19 -0
- data/assets/javascripts/betterjs/rails_ext/rails-ujs.js +479 -0
- data/assets/javascripts/betterjs/render_eco.js.coffee +9 -0
- data/assets/javascripts/betterjs/templates/fixed_aside_to_header.js.coffee +6 -0
- data/assets/javascripts/betterjs/templates/icon_aside.js.coffee +12 -0
- data/assets/javascripts/betterjs/templates/scroll_to_fix_aside.js +32 -0
- data/assets/javascripts/betterjs/twbs_ext/affix_2_1_0.js +103 -0
- data/assets/javascripts/betterjs/twbs_ext/affix_3_3_7.js +162 -0
- data/assets/javascripts/betterjs/twbs_ext/affix_ext.js +131 -0
- data/assets/stylesheets/better/content/_box.scss +46 -0
- data/assets/stylesheets/better/content/_buttons.scss +22 -0
- data/assets/stylesheets/better/content/_check_switch.scss +78 -0
- data/assets/stylesheets/better/content/_divider.scss +65 -0
- data/assets/stylesheets/better/content/_helpers.scss +85 -0
- data/assets/stylesheets/better/content/_pix.scss +70 -0
- data/assets/stylesheets/better/content/_typography.scss +44 -0
- data/assets/stylesheets/better/icons/bettericons.scss +419 -0
- data/assets/stylesheets/better/icons/icomoon.scss +1392 -0
- data/assets/stylesheets/better/icons/magicons.scss +705 -0
- data/assets/stylesheets/better/icons/orderlifticons.scss +300 -0
- data/assets/stylesheets/better/layout/_corset.scss +57 -0
- data/assets/stylesheets/better/layout/_fullpage_table.scss +185 -0
- data/assets/stylesheets/better/layout/_positioning.scss +62 -0
- data/assets/stylesheets/better/layout/_section.scss +220 -0
- data/assets/stylesheets/better/lib/_helpers.scss +67 -0
- data/assets/stylesheets/better/lib/_media_querries.scss +43 -0
- data/assets/stylesheets/better/lib/_nav.scss +31 -0
- data/assets/stylesheets/better/lib/_shadows.scss +247 -0
- data/assets/stylesheets/better/lib/_text.scss +66 -0
- data/assets/stylesheets/better/navigations/_aside_lnk.scss +100 -0
- data/assets/stylesheets/better/navigations/_nav_list.scss +177 -0
- data/assets/stylesheets/better/templates/_fixed_aside_to_header.scss +89 -0
- data/assets/stylesheets/better/templates/_icon_aside.scss +404 -0
- data/assets/stylesheets/better/templates/_scroll_to_fix_aside.scss +104 -0
- data/assets/stylesheets/better/variables/_color.scss +87 -0
- data/assets/stylesheets/better/variables/_typography.scss +59 -0
- data/assets/stylesheets/better/variables/_vars.scss +57 -0
- data/assets/stylesheets/better_styles.scss +44 -0
- data/assets/stylesheets/better_styles_min.scss +43 -0
- data/lib/better_styles.rb +64 -0
- data/lib/better_styles/engine.rb +25 -0
- data/lib/better_styles/version.rb +3 -0
- data/lib/tasks/better_styles_tasks.rake +4 -0
- metadata +181 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# require "bootstrap"
|
2
|
+
|
3
|
+
module BetterStyles
|
4
|
+
module Rails
|
5
|
+
class Engine < ::Rails::Engine
|
6
|
+
|
7
|
+
initializer "better_styles.assets.precompile" do |app|
|
8
|
+
|
9
|
+
# compile pictures (this way also from vendor)
|
10
|
+
app.config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
11
|
+
|
12
|
+
# compile fonts (this way also from vendor)
|
13
|
+
app.config.assets.precompile += %w(*.eot *.svg *.ttf *.woff)
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
initializer 'bootstrap.assets' do |app|
|
18
|
+
%w(stylesheets javascripts fonts images).each do |sub|
|
19
|
+
app.config.assets.paths << root.join('assets', sub).to_s
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: better_styles
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.33
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Torsten Wetzel
|
8
|
+
- Marco Sebald
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-11-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '4.1'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ! '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '4.1'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rails-assets-tether
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 1.3.3
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 1.3.3
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: jquery-rails
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.1.0
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 3.1.0
|
56
|
+
description: Lots of styles and helpers we used for several projects.
|
57
|
+
email:
|
58
|
+
- torstenwetzel@berlinmagic.com
|
59
|
+
- marcosebald@berlinmagic.com
|
60
|
+
executables: []
|
61
|
+
extensions: []
|
62
|
+
extra_rdoc_files: []
|
63
|
+
files:
|
64
|
+
- MIT-LICENSE
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- app/helpers/styles_helper.rb
|
68
|
+
- assets/fonts/betterfonts/betterwork-icons.eot
|
69
|
+
- assets/fonts/betterfonts/betterwork-icons.svg
|
70
|
+
- assets/fonts/betterfonts/betterwork-icons.ttf
|
71
|
+
- assets/fonts/betterfonts/betterwork-icons.woff
|
72
|
+
- assets/fonts/betterfonts/icomoon.eot
|
73
|
+
- assets/fonts/betterfonts/icomoon.svg
|
74
|
+
- assets/fonts/betterfonts/icomoon.ttf
|
75
|
+
- assets/fonts/betterfonts/icomoon.woff
|
76
|
+
- assets/fonts/betterfonts/magicons-regular-webfont.eot
|
77
|
+
- assets/fonts/betterfonts/magicons-regular-webfont.svg
|
78
|
+
- assets/fonts/betterfonts/magicons-regular-webfont.ttf
|
79
|
+
- assets/fonts/betterfonts/magicons-regular-webfont.woff
|
80
|
+
- assets/fonts/betterfonts/newmagicons-regular-webfont.eot
|
81
|
+
- assets/fonts/betterfonts/newmagicons-regular-webfont.svg
|
82
|
+
- assets/fonts/betterfonts/newmagicons-regular-webfont.ttf
|
83
|
+
- assets/fonts/betterfonts/newmagicons-regular-webfont.woff
|
84
|
+
- assets/fonts/betterfonts/orderlifticons-webfont.eot
|
85
|
+
- assets/fonts/betterfonts/orderlifticons-webfont.svg
|
86
|
+
- assets/fonts/betterfonts/orderlifticons-webfont.ttf
|
87
|
+
- assets/fonts/betterfonts/orderlifticons-webfont.woff
|
88
|
+
- assets/images/better/arrows/arrow-round1-a.png
|
89
|
+
- assets/images/better/arrows/arrow-round1-b.png
|
90
|
+
- assets/images/better/arrows/arrow-round2-a.png
|
91
|
+
- assets/images/better/arrows/arrow-round2-b.png
|
92
|
+
- assets/images/better/arrows/arrow1-a.png
|
93
|
+
- assets/images/better/arrows/arrow1-b.png
|
94
|
+
- assets/images/better/arrows/arrow1.png
|
95
|
+
- assets/images/better/arrows/arrow2-1.png
|
96
|
+
- assets/images/better/arrows/arrow2-2.png
|
97
|
+
- assets/images/better/arrows/arrow2-a.png
|
98
|
+
- assets/images/better/arrows/arrow2-b.png
|
99
|
+
- assets/images/better/arrows/arrow3-a.png
|
100
|
+
- assets/images/better/arrows/arrow3-b.png
|
101
|
+
- assets/images/better/arrows/arrow4-a.png
|
102
|
+
- assets/images/better/arrows/arrow4-b.png
|
103
|
+
- assets/images/better/arrows/arrow5-a.png
|
104
|
+
- assets/images/better/arrows/arrow5-b.png
|
105
|
+
- assets/images/better/arrows/arrow6-a.png
|
106
|
+
- assets/images/better/arrows/arrow6-b.png
|
107
|
+
- assets/images/better/helper/blank_10.png
|
108
|
+
- assets/images/better/helper/crossed.png
|
109
|
+
- assets/images/better/helper/white_10.png
|
110
|
+
- assets/javascripts/better_styles.js.coffee
|
111
|
+
- assets/javascripts/betterjs/forms/check_switch.js.coffee
|
112
|
+
- assets/javascripts/betterjs/helper.js.coffee
|
113
|
+
- assets/javascripts/betterjs/navigations/aside_link.js.coffee
|
114
|
+
- assets/javascripts/betterjs/navigations/nav_list.js.coffee
|
115
|
+
- assets/javascripts/betterjs/rails_ext/rails-ujs.js
|
116
|
+
- assets/javascripts/betterjs/render_eco.js.coffee
|
117
|
+
- assets/javascripts/betterjs/templates/fixed_aside_to_header.js.coffee
|
118
|
+
- assets/javascripts/betterjs/templates/icon_aside.js.coffee
|
119
|
+
- assets/javascripts/betterjs/templates/scroll_to_fix_aside.js
|
120
|
+
- assets/javascripts/betterjs/twbs_ext/affix_2_1_0.js
|
121
|
+
- assets/javascripts/betterjs/twbs_ext/affix_3_3_7.js
|
122
|
+
- assets/javascripts/betterjs/twbs_ext/affix_ext.js
|
123
|
+
- assets/stylesheets/better/content/_box.scss
|
124
|
+
- assets/stylesheets/better/content/_buttons.scss
|
125
|
+
- assets/stylesheets/better/content/_check_switch.scss
|
126
|
+
- assets/stylesheets/better/content/_divider.scss
|
127
|
+
- assets/stylesheets/better/content/_helpers.scss
|
128
|
+
- assets/stylesheets/better/content/_pix.scss
|
129
|
+
- assets/stylesheets/better/content/_typography.scss
|
130
|
+
- assets/stylesheets/better/icons/bettericons.scss
|
131
|
+
- assets/stylesheets/better/icons/icomoon.scss
|
132
|
+
- assets/stylesheets/better/icons/magicons.scss
|
133
|
+
- assets/stylesheets/better/icons/orderlifticons.scss
|
134
|
+
- assets/stylesheets/better/layout/_corset.scss
|
135
|
+
- assets/stylesheets/better/layout/_fullpage_table.scss
|
136
|
+
- assets/stylesheets/better/layout/_positioning.scss
|
137
|
+
- assets/stylesheets/better/layout/_section.scss
|
138
|
+
- assets/stylesheets/better/lib/_helpers.scss
|
139
|
+
- assets/stylesheets/better/lib/_media_querries.scss
|
140
|
+
- assets/stylesheets/better/lib/_nav.scss
|
141
|
+
- assets/stylesheets/better/lib/_shadows.scss
|
142
|
+
- assets/stylesheets/better/lib/_text.scss
|
143
|
+
- assets/stylesheets/better/navigations/_aside_lnk.scss
|
144
|
+
- assets/stylesheets/better/navigations/_nav_list.scss
|
145
|
+
- assets/stylesheets/better/templates/_fixed_aside_to_header.scss
|
146
|
+
- assets/stylesheets/better/templates/_icon_aside.scss
|
147
|
+
- assets/stylesheets/better/templates/_scroll_to_fix_aside.scss
|
148
|
+
- assets/stylesheets/better/variables/_color.scss
|
149
|
+
- assets/stylesheets/better/variables/_typography.scss
|
150
|
+
- assets/stylesheets/better/variables/_vars.scss
|
151
|
+
- assets/stylesheets/better_styles.scss
|
152
|
+
- assets/stylesheets/better_styles_min.scss
|
153
|
+
- lib/better_styles.rb
|
154
|
+
- lib/better_styles/engine.rb
|
155
|
+
- lib/better_styles/version.rb
|
156
|
+
- lib/tasks/better_styles_tasks.rake
|
157
|
+
homepage: http://berlinmagic.github.io/better_styles/
|
158
|
+
licenses:
|
159
|
+
- MIT
|
160
|
+
metadata: {}
|
161
|
+
post_install_message:
|
162
|
+
rdoc_options: []
|
163
|
+
require_paths:
|
164
|
+
- lib
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ! '>='
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ! '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
requirements: []
|
176
|
+
rubyforge_project:
|
177
|
+
rubygems_version: 2.4.8
|
178
|
+
signing_key:
|
179
|
+
specification_version: 4
|
180
|
+
summary: BetterStyles is our new css pack depending on BootStrap 4.
|
181
|
+
test_files: []
|