blacklight-spotlight 4.6.0 → 4.6.1

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: cf4c6e80e6610969a1f0c37a27cb1c3e67ada96d4e22b63ef92a84a32d1e4946
4
- data.tar.gz: e03d10a0a4db7fcdab708987cf5be0a50966ed831ece6037a9d3eb8b5fddb022
3
+ metadata.gz: c1c1e34d4e9beb99a5032c7361b9fb355f461b4cd7a532f6aea0c25730858753
4
+ data.tar.gz: 5f6879362e353cd851f04653aec67ad93b35d5b799f7a3d48e81f07eb4c53e62
5
5
  SHA512:
6
- metadata.gz: a00ff7e056f1839c65c4656b636c5c29fccf1d293ff8d14ba2fc383d5485d12e08f0bf54c57a35d8100533180e61c68df01cce5e2a4461cf6124e98a47b6f566
7
- data.tar.gz: 192e740e4f9fc8d6d08ff5119ecb174789f2f974f07f520b2077f86d4be4af402167b8a82634372f412e3732f16feb87f9b34716017c4cb0c9e6ae725781f633
6
+ metadata.gz: 909f10a67ab1e3144bb2a43fc2590bbaf9ad7a5e9f0134f178b88bbc8674796acb1f868511f167f1e916985633aee927b274e3f0b5d479cd87ba41fbe15709b7
7
+ data.tar.gz: f5bc2b2ba5addad2ccbc01881e3e5b2bd5240fe96a82fc7fc742f94b5bda6132044f7b400cc132276173c0cc86e798741ba97156d0e5179bcb8e8338e9356ba0
@@ -42,7 +42,7 @@ $image-overlay-max-height: 300px;
42
42
  margin-bottom: $spacer;
43
43
 
44
44
  .nav-link {
45
- margin-bottom: $spacer * .75;
45
+ margin-bottom: $spacer * 0.75;
46
46
  }
47
47
  }
48
48
 
@@ -61,8 +61,13 @@ $image-overlay-max-height: 300px;
61
61
  overflow: hidden;
62
62
  position: relative;
63
63
 
64
- img {
64
+ .img-responsive {
65
+ transition: all 0.5s ease;
65
66
  width: 100%;
67
+
68
+ &:hover {
69
+ filter: brightness(70%);
70
+ }
66
71
  }
67
72
  }
68
73
 
@@ -71,7 +76,11 @@ $image-overlay-max-height: 300px;
71
76
  bottom: 0;
72
77
  left: 0;
73
78
  width: 100%;
74
- background: linear-gradient(0deg, rgba(46, 45, 41, 0.7) 70%, rgba(46, 45, 41, 0) 100%);
79
+ background: linear-gradient(
80
+ 0deg,
81
+ rgba(46, 45, 41, 0.7) 70%,
82
+ rgba(46, 45, 41, 0) 100%
83
+ );
75
84
  color: $white;
76
85
  padding: 50px 20px 20px 20px;
77
86
  text-align: center;
@@ -93,10 +102,6 @@ $image-overlay-max-height: 300px;
93
102
  text-transform: uppercase;
94
103
  }
95
104
  }
96
-
97
- &:hover {
98
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
99
- }
100
105
  }
101
106
 
102
107
  @media screen and (max-width: breakpoint-max("sm")) {
@@ -106,19 +111,29 @@ $image-overlay-max-height: 300px;
106
111
  max-height: $image-overlay-max-height;
107
112
  max-width: 350px;
108
113
  }
109
- .text-overlay .browse-category-title {font-size: $h3-font-size;}
114
+ .text-overlay .browse-category-title {
115
+ font-size: $h3-font-size;
116
+ }
110
117
  }
111
118
  @media screen and (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
112
119
  $image-overlay-max-height: 240px;
113
- .image-overlay {max-height: $image-overlay-max-height;}
120
+ .image-overlay {
121
+ max-height: $image-overlay-max-height;
122
+ }
114
123
  }
115
124
  @media screen and (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
116
125
  $image-overlay-max-height: 250px;
117
- .text-overlay .browse-category-title {font-size: $h4-font-size;}
118
- .image-overlay {max-height: $image-overlay-max-height;}
126
+ .text-overlay .browse-category-title {
127
+ font-size: $h4-font-size;
128
+ }
129
+ .image-overlay {
130
+ max-height: $image-overlay-max-height;
131
+ }
119
132
  }
120
133
  @media screen and (min-width: breakpoint-min("lg")) {
121
- .image-overlay {max-height: $image-overlay-max-height;}
134
+ .image-overlay {
135
+ max-height: $image-overlay-max-height;
136
+ }
122
137
  }
123
138
  }
124
139
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotlight
4
- VERSION = '4.6.0'
4
+ VERSION = '4.6.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2024-12-13 00:00:00.000000000 Z
14
+ date: 2024-12-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activejob-status