bootstrap_bux 0.2.8 → 0.3.4
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 +4 -4
- data/README.md +9 -0
- data/app/assets/config/bootstrap_bux_manifest.js +2 -0
- data/app/assets/images/bootstrap_bux/development.ico +0 -0
- data/app/assets/images/bootstrap_bux/favicon.ico +0 -0
- data/app/assets/images/bootstrap_bux/staging.ico +0 -0
- data/app/assets/stylesheets/bootstrap_bux/application.css +23 -6
- data/app/views/bootstrap_bux/_favicon.html.erb +5 -0
- data/lib/bootstrap_bux/engine.rb +8 -3
- data/lib/bootstrap_bux/version.rb +1 -1
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c174327770ffcf89ac2d48b739680f6c236067c67eddc52a31bbc3c6c581b74
|
4
|
+
data.tar.gz: fd348f372176e1ca4af90b9f42eee53aecc8be9efe95939137d829f405f4f3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5fffccf1407896534aa0152d9fecea53dd24e76ea4b38a5cca6850aba087b1f9f82817166eaec2ab64dea48bb8feaf248fd5756c2122b07cc2f2e40949ee9b6
|
7
|
+
data.tar.gz: 542ae58ff5265ebd7a2d38c632a110758a25050ed55b09d0ab435b806cf89a43d50c8945a1a1b2958badbdd98902d99370eb1636027298e8b7b30b90ee70b1cc
|
data/README.md
CHANGED
@@ -69,6 +69,15 @@ If you wish to include a login link in your footer, be sure to include link info
|
|
69
69
|
|
70
70
|
= render 'bootstrap_bux/osu_footer_white', signed_in?: user_signed_in?
|
71
71
|
|
72
|
+
### Favicons
|
73
|
+
|
74
|
+
To use the Bootstrap Bux favicons, in the header section of your application layout, replace any existing favicon tag with the following:
|
75
|
+
|
76
|
+
= render 'bootstrap_bux/favicon'
|
77
|
+
|
78
|
+
This will cause your application to render different favicons for development, staging, and production, allowing you to see quickly which of your browser tabs is using which environment. Note that, in order for the icon files to load, you may need to update your staging and production environments with the line
|
79
|
+
|
80
|
+
config.assets.compile = true
|
72
81
|
|
73
82
|
## Supported BUX CSS classes
|
74
83
|
|
Binary file
|
Binary file
|
Binary file
|
@@ -726,12 +726,29 @@ a.bux-button {
|
|
726
726
|
margin-bottom: 1rem;
|
727
727
|
}
|
728
728
|
|
729
|
-
.bux-footer--dark .bux-footer__logo .st0{
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
.bux-footer--
|
734
|
-
|
729
|
+
.bux-footer--dark .bux-footer__logo .st0 {
|
730
|
+
fill: #FFFFFF
|
731
|
+
}
|
732
|
+
|
733
|
+
.bux-footer--dark .bux-footer__logo .st1 {
|
734
|
+
fill: #BA0C2F
|
735
|
+
}
|
736
|
+
|
737
|
+
.bux-footer--light .bux-footer__logo .st0 {
|
738
|
+
fill: #666666
|
739
|
+
}
|
740
|
+
|
741
|
+
.bux-footer--light .bux-footer__logo .st1 {
|
742
|
+
fill: #BA0C2F
|
743
|
+
}
|
744
|
+
|
745
|
+
.bux-footer--white .bux-footer__logo .st0 {
|
746
|
+
fill: #666666
|
747
|
+
}
|
748
|
+
|
749
|
+
.bux-footer--white .bux-footer__logo .st1 {
|
750
|
+
fill: #BA0C2F
|
751
|
+
}
|
735
752
|
|
736
753
|
.bux-footer .bux-footer__contact p {
|
737
754
|
/* font-family: BuckeyeSans, HelveticaNeue, Helvetica, Arial, sans-serif; */
|
data/lib/bootstrap_bux/engine.rb
CHANGED
@@ -4,8 +4,13 @@ module BootstrapBux
|
|
4
4
|
# make css assets available to any app using the gem
|
5
5
|
class Engine < ::Rails::Engine
|
6
6
|
isolate_namespace BootstrapBux
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
initializer 'bootstrap_bux.assets' do |app|
|
8
|
+
app.config.assets.paths << root.join('app', 'assets', 'config').to_s
|
9
|
+
app.config.assets.paths << root.join('app', 'assets', 'images', 'bootstrap_bux').to_s
|
10
|
+
app.config.assets.paths << root.join('app', 'assets', 'stylesheets', 'bootstrap_bux').to_s
|
11
|
+
end
|
12
|
+
initializer 'bootstrap_bux.assets.precompile' do |app|
|
13
|
+
app.config.assets.precompile += %w( config/bootstrap_bux_manifest.js )
|
14
|
+
end
|
10
15
|
end
|
11
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_bux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alison Furlong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 7.0.0
|
20
|
-
- - "
|
20
|
+
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 8.2.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 7.0.0
|
30
|
-
- - "
|
30
|
+
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 8.2.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sprockets-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,12 @@ extra_rdoc_files: []
|
|
108
108
|
files:
|
109
109
|
- README.md
|
110
110
|
- Rakefile
|
111
|
+
- app/assets/config/bootstrap_bux_manifest.js
|
112
|
+
- app/assets/images/bootstrap_bux/development.ico
|
113
|
+
- app/assets/images/bootstrap_bux/favicon.ico
|
114
|
+
- app/assets/images/bootstrap_bux/staging.ico
|
111
115
|
- app/assets/stylesheets/bootstrap_bux/application.css
|
116
|
+
- app/views/bootstrap_bux/_favicon.html.erb
|
112
117
|
- app/views/bootstrap_bux/_footer_logo.html.erb
|
113
118
|
- app/views/bootstrap_bux/_header_logo.html.erb
|
114
119
|
- app/views/bootstrap_bux/_osu_footer.html.erb
|