blacklight-spotlight 0.20.1 → 0.20.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67c958d969ca32275b0a601a62193550a72ff895
|
4
|
+
data.tar.gz: 11af2709ad72c89efaec127a523d81adf5514a4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6925061b77a27a85c903bbe2d28752c69f0aea0d89c120fc4ca8a5e97bbd5c37faed52105dc92248110660887227ccdeebb604de186eb70d1365cbd4f10b9471
|
7
|
+
data.tar.gz: cc014078433c7f278038fc9607f78ff1cc9f10160eef8c605acfcf72d30912f5114e0226803fd312eb6ee27858191c1969f5d8e40bd7dc936eb04be618a1e0b2
|
@@ -116,7 +116,13 @@
|
|
116
116
|
}
|
117
117
|
|
118
118
|
.item-grid-block {
|
119
|
-
h3 {margin-top: 0;}
|
119
|
+
h3 { margin-top: 0; }
|
120
|
+
|
121
|
+
.text-col {
|
122
|
+
float: none;
|
123
|
+
width: auto;
|
124
|
+
}
|
125
|
+
|
120
126
|
.items-col {
|
121
127
|
margin-bottom: 1em;
|
122
128
|
z-index: 1;
|
@@ -125,68 +131,71 @@
|
|
125
131
|
justify-content: space-between;
|
126
132
|
align-content: stretch;
|
127
133
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
flex: 1 0 25%;
|
133
|
-
|
134
|
-
.thumbnail {
|
135
|
-
border: 1px solid $gray-lighter;
|
136
|
-
padding: 0;
|
137
|
-
margin: 0;
|
138
|
-
border-radius: 0;
|
139
|
-
|
140
|
-
a {
|
141
|
-
& > img {
|
142
|
-
border: 1px solid $gray-light;
|
143
|
-
width: 100%;
|
144
|
-
height: 100%;
|
145
|
-
object-fit: cover;
|
146
|
-
overflow: hidden;
|
147
|
-
}
|
148
|
-
}
|
134
|
+
@media (max-width: $screen-sm-max) {
|
135
|
+
margin-bottom: $line-height-computed;
|
136
|
+
}
|
137
|
+
}
|
149
138
|
|
150
|
-
|
139
|
+
.box {
|
140
|
+
align-self: auto;
|
141
|
+
flex: 1 0 25%;
|
142
|
+
margin: auto;
|
143
|
+
min-width: 25%;
|
144
|
+
order: 1;
|
145
|
+
padding: 5px;
|
146
|
+
|
147
|
+
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
148
|
+
min-width: 128px;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.thumbnail {
|
153
|
+
border: 1px solid $gray-lighter;
|
154
|
+
border-radius: 0;
|
155
|
+
margin: 0;
|
156
|
+
padding: 0;
|
157
|
+
|
158
|
+
img {
|
159
|
+
border: 1px solid $gray-light;
|
160
|
+
width: 100%;
|
161
|
+
height: 110px;
|
162
|
+
object-fit: cover;
|
163
|
+
overflow: hidden;
|
151
164
|
|
152
|
-
min-width: 25%;
|
153
|
-
height: 120px;
|
154
165
|
@media (min-width: $screen-lg-min) {
|
155
|
-
height:
|
166
|
+
height: 160px; // default: no sidebar, no text column
|
156
167
|
// reduce height if on a page with a sidebar or text column, because will be less wide
|
157
168
|
.col-md-9 & {
|
158
|
-
height:
|
169
|
+
height: 125px;
|
159
170
|
}
|
160
171
|
}
|
161
|
-
padding: 5px;
|
162
172
|
}
|
173
|
+
}
|
163
174
|
|
164
|
-
|
165
|
-
|
166
|
-
|
175
|
+
.item-0 {
|
176
|
+
flex: 3 1 41%;
|
177
|
+
}
|
167
178
|
|
168
|
-
|
169
|
-
|
170
|
-
|
179
|
+
.item-2 {
|
180
|
+
flex: 2 1 33%;
|
181
|
+
}
|
182
|
+
|
183
|
+
.item-0,
|
184
|
+
.item-1,
|
185
|
+
.item-2 {
|
186
|
+
order: 0;
|
171
187
|
|
172
|
-
.
|
173
|
-
height:
|
174
|
-
order: 0;
|
188
|
+
.thumbnail img {
|
189
|
+
height: 210px;
|
175
190
|
@media (min-width: $screen-lg-min) {
|
176
|
-
height:
|
191
|
+
height: 270px; // default: no sidebar, no text column
|
177
192
|
// reduce height if on a page with a sidebar or text column, because will be less wide
|
178
193
|
.col-md-9 & {
|
179
|
-
height:
|
194
|
+
height: 230px;
|
180
195
|
}
|
181
196
|
}
|
182
197
|
}
|
183
198
|
}
|
184
|
-
@media (max-width: $screen-sm-max) {
|
185
|
-
&.items-block .items-col {margin-bottom: $line-height-computed;}
|
186
|
-
}
|
187
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
188
|
-
&.items-block .items-col .box {min-width: 128px;}
|
189
|
-
}
|
190
199
|
}
|
191
200
|
|
192
201
|
.preview-btn, .preview-exit-btn {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% solr_documents_grid_block.with_solr_helper(self) %>
|
2
|
-
<div class="content-block
|
2
|
+
<div class="content-block item-grid-block row">
|
3
3
|
<div class="items-col <%= solr_documents_grid_block.text? ? 'col-md-9' : 'col-md-12' %> pull-<%= solr_documents_grid_block.content_align %>">
|
4
4
|
<% if solr_documents_grid_block.documents? %>
|
5
5
|
<% solr_documents_grid_block.each_document.each_with_index do |(block_options, document), index| %>
|
data/lib/spotlight/version.rb
CHANGED
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: 0.20.
|
4
|
+
version: 0.20.2
|
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: 2016-07-
|
14
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -1385,7 +1385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1385
1385
|
version: '0'
|
1386
1386
|
requirements: []
|
1387
1387
|
rubyforge_project:
|
1388
|
-
rubygems_version: 2.
|
1388
|
+
rubygems_version: 2.6.4
|
1389
1389
|
signing_key:
|
1390
1390
|
specification_version: 4
|
1391
1391
|
summary: Enable librarians, curators, and others who are responsible for digital collections
|