bootstrap_bux 0.2.0 → 0.2.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
2
  SHA256:
3
- metadata.gz: 53d4cbefeb491e94a4f2230c4f2775c2c301eefaf649f087e7d18b2d7a2f5278
4
- data.tar.gz: ce4a8869c5e489523385b311484766d67fcbcd308136341fb3f54700904141b8
3
+ metadata.gz: 1194c6665a240f80bb740f7ab6937e03c2626517ef462866f67ef1ff9d104019
4
+ data.tar.gz: 657df8b8e948921183862beebe2751e8cbd004cd1c2d4922a093359e52f224a0
5
5
  SHA512:
6
- metadata.gz: 93f2b72928f59d86567170234cfb20e38418fd08f086f4fa5c125a2cb86153d1467f270fdcd53db3927d01793f25c2dc6551bd93f056744c11c546ad72fe1111
7
- data.tar.gz: 586478b94df03d9d58b956f7dad47f8ef64e01d68921dbb88bbfe1e69567362c428d2911db6445db843462c5c78702a83bf9e42660de1274e6138dcfdb3a2806
6
+ metadata.gz: 9a785e371246244bfc0e2f8d3be2e174f3fe4ee119b5611a4544d588c523d80f05669756bc4f689f77e78b37112d685435647042164544564207de2627a8ebd8
7
+ data.tar.gz: 9eb5f03ba6e6330187654df311255209cebefb8588033b8fe5dbac5cdef382db1a926b6570f55f3c80363c2ba935f49385d8accc3f70e26947a4c09a3684f295
@@ -938,4 +938,12 @@ ol.bux-breadcrumb__list {
938
938
 
939
939
  .bux-accordion .accordion-button:not(.collapsed)::before {
940
940
  content: "\f007";
941
+ }
942
+
943
+ /* workaround for login link */
944
+ .bux-link.btn.btn-link {
945
+ border: none;
946
+ padding-right: 0;
947
+ font-size: small;
948
+ text-decoration: underline;
941
949
  }
@@ -13,15 +13,23 @@
13
13
  <p class="bux_footer__address">Columbus, OH 43210</p>
14
14
  </div>
15
15
 
16
- <div class="bux-footer__contact bux-footer__contact--email-phone">
17
- <hr />
18
- <p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
19
- <p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
20
- <p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
16
+ <% unless BootstrapBux.configuration.email.blank? && BootstrapBux.configuration.phone.blank? && BootstrapBux.configuration.fax.blank? %>
17
+ <div class="bux-footer__contact bux-footer__contact--email-phone">
18
+ <hr />
19
+ <% unless BootstrapBux.configuration.email.blank? %>
20
+ <p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
21
+ <% end %>
22
+ <% unless BootstrapBux.configuration.phone.blank? %>
23
+ <p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
24
+ <% end %>
25
+ <% unless BootstrapBux.configuration.fax.blank? %>
26
+ <p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
27
+ <% end %>
28
+ <% end %>
21
29
  </div>
22
30
  </div>
23
31
  <div class="col text-end">
24
- <% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin = nil.blank? && BootstrapBux.configuration.youtube = nil.blank? && BootstrapBux.configuration.tiktok = nil %>
32
+ <% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin.blank? && BootstrapBux.configuration.youtube.blank? && BootstrapBux.configuration.tiktok.blank? %>
25
33
  <div class="bux-footer__social">
26
34
  <ul class="bux-social-links">
27
35
  <% unless BootstrapBux.configuration.facebook.blank? %>
@@ -94,9 +102,9 @@
94
102
  <% unless BootstrapBux.configuration.signin_link.blank? || BootstrapBux.configuration.signout_link.blank? %>
95
103
  <p class="bux_footer__link">
96
104
  <% if signed_in? %>
97
- <%= link_to('Log Out', BootstrapBux.configuration.signout_link, method: :delete, class: 'bux-link') %>
105
+ <%= link_to('Log Out', BootstrapBux.configuration.signout_link, method: :delete, class: 'bux-link btn btn-link') %>
98
106
  <% else %>
99
- <%= link_to('Log In', BootstrapBux.configuration.signin_link, method: :post, class: 'bux-link') %>
107
+ <%= link_to('Log In', BootstrapBux.configuration.signin_link, method: :post, class: 'bux-link btn btn-link') %>
100
108
  <% end %>
101
109
  </p>
102
110
  <% end %>
@@ -1,4 +1,4 @@
1
- <a href="#main-content" class="visually-hidden focusable skip-link">
1
+ <a href="#main-content" class="visually-hidden-focusable skip-link">
2
2
  Skip to main content
3
3
  </a>
4
4
 
@@ -5,11 +5,11 @@ BootstrapBux.configure do |config|
5
5
  config.department_name = "My Office"
6
6
  config.building_room = "100 Building Name"
7
7
  config.address = "1 Oval Mall"
8
- config.email = "email@osu.edu"
9
- config.phone = "614-292-OHIO"
10
- config.fax = "614-555-5555"
11
8
 
12
9
  # only add urls for these if your application/lab/department actually has a presence on the platform
10
+ config.email = nil
11
+ config.phone = nil
12
+ config.fax = nil
13
13
  config.facebook = nil
14
14
  config.twitter = nil
15
15
  config.instagram = nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BootstrapBux
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_bux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alison Furlong
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '7.0'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: 7.0.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '7.0'
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 7.0.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sprockets-rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -128,7 +128,7 @@ metadata:
128
128
  homepage_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
129
129
  source_code_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
130
130
  changelog_uri: https://code.osu.edu/asctech/bootstrap_bux_gem/CHANGELOG.md
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options: []
133
133
  require_paths:
134
134
  - lib
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.5.3
149
- signing_key:
148
+ rubygems_version: 3.0.3.1
149
+ signing_key:
150
150
  specification_version: 4
151
151
  summary: Bootstrap + mini-Bux + Rails
152
152
  test_files: []