blacklight-spotlight 3.0.0.alpha.3 → 3.0.0.alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/blacklight/highlight_off.svg +1 -0
- data/app/assets/stylesheets/spotlight/_accessibility.scss +8 -0
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +3 -3
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +19 -23
- data/app/assets/stylesheets/spotlight/_browse.scss +22 -13
- data/app/assets/stylesheets/spotlight/_catalog.scss +2 -2
- data/app/assets/stylesheets/spotlight/_curation.scss +8 -19
- data/app/assets/stylesheets/spotlight/_exhibits_index.scss +119 -80
- data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +5 -5
- data/app/assets/stylesheets/spotlight/_header.scss +14 -6
- data/app/assets/stylesheets/spotlight/_multi_image_selector.scss +1 -1
- data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +3 -3
- data/app/assets/stylesheets/spotlight/_nestable.scss +4 -0
- data/app/assets/stylesheets/spotlight/_pages.scss +26 -17
- data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +3 -4
- data/app/assets/stylesheets/spotlight/_slideshow_block.scss +1 -0
- data/app/assets/stylesheets/spotlight/_spotlight.scss +1 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +6 -6
- data/app/assets/stylesheets/spotlight/_utilities.scss +4 -0
- data/app/controllers/concerns/spotlight/base.rb +8 -0
- data/app/controllers/spotlight/admin_users_controller.rb +4 -1
- data/app/controllers/spotlight/catalog_controller.rb +2 -2
- data/app/controllers/spotlight/exhibits_controller.rb +2 -0
- data/app/controllers/spotlight/pages_controller.rb +0 -4
- data/app/controllers/spotlight/sites_controller.rb +8 -2
- data/app/controllers/spotlight/translations_controller.rb +9 -1
- data/app/helpers/spotlight/pages_helper.rb +2 -1
- data/app/helpers/spotlight/title_helper.rb +12 -2
- data/app/models/spotlight/field_metadata.rb +1 -2
- data/app/models/spotlight/page.rb +2 -2
- data/app/views/layouts/spotlight/spotlight.html.erb +1 -1
- data/app/views/shared/_masthead.html.erb +25 -13
- data/app/views/shared/_site_navbar.html.erb +0 -0
- data/app/views/shared/_site_sidebar.html.erb +1 -1
- data/app/views/spotlight/about_pages/_contact.html.erb +15 -17
- data/app/views/spotlight/about_pages/_contact_properties.html.erb +1 -1
- data/app/views/spotlight/admin_users/index.html.erb +78 -72
- data/app/views/spotlight/appearances/edit.html.erb +1 -23
- data/app/views/spotlight/browse/_search_box.html.erb +3 -3
- data/app/views/spotlight/browse/show.html.erb +23 -26
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_index_compact_default.html.erb +2 -2
- data/app/views/spotlight/contacts/_form.html.erb +1 -1
- data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +2 -2
- data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
- data/app/views/spotlight/dashboards/_page.html.erb +4 -4
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +35 -7
- data/app/views/spotlight/exhibits/_exhibits.html.erb +1 -1
- data/app/views/spotlight/exhibits/index.html.erb +4 -4
- data/app/views/spotlight/exhibits/new.html.erb +1 -1
- data/app/views/spotlight/feature_pages/_header.html.erb +2 -2
- data/app/views/spotlight/feature_pages/_sidebar.html.erb +9 -5
- data/app/views/spotlight/metadata_configurations/edit.html.erb +2 -2
- data/app/views/spotlight/pages/_form.html.erb +1 -1
- data/app/views/spotlight/pages/_page.html.erb +19 -35
- data/app/views/spotlight/roles/index.html.erb +2 -2
- data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +0 -5
- data/app/views/spotlight/search_configurations/_facets.html.erb +15 -34
- data/app/views/spotlight/search_configurations/_search_fields.html.erb +6 -17
- data/app/views/spotlight/search_configurations/_sort.html.erb +8 -18
- data/app/views/spotlight/searches/_form.html.erb +2 -2
- data/app/views/spotlight/searches/_search.html.erb +30 -29
- data/app/views/spotlight/shared/_dd3_item.html.erb +56 -0
- data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_quote_block.html.erb +4 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/sites/edit.html.erb +1 -1
- data/app/views/spotlight/sites/edit_exhibits.html.erb +1 -1
- data/app/views/spotlight/translations/_search_fields.html.erb +1 -1
- data/app/views/spotlight/translations/edit.html.erb +1 -1
- data/config/locales/spotlight.en.yml +5 -11
- data/config/locales/spotlight.es.yml +26 -25
- data/lib/generators/spotlight/install_generator.rb +6 -2
- data/lib/generators/spotlight/templates/config/initializers/oembed.rb +4 -0
- data/lib/spotlight/engine.rb +3 -5
- data/lib/spotlight/version.rb +1 -1
- data/spec/controllers/spotlight/translations_controller_spec.rb +8 -0
- data/spec/examples.txt +1386 -1379
- data/spec/features/create_exhibit_spec.rb +1 -2
- data/spec/features/exhibits_index_spec.rb +1 -3
- data/spec/features/javascript/blocks/solr_documents_block_spec.rb +2 -2
- data/spec/features/javascript/search_config_admin_spec.rb +1 -1
- data/spec/helpers/spotlight/pages_helper_spec.rb +6 -0
- data/spec/helpers/spotlight/title_helper_spec.rb +13 -0
- data/spec/models/spotlight/feature_page_spec.rb +0 -5
- data/spec/models/spotlight/field_metadata_spec.rb +0 -7
- data/spec/test_app_templates/Gemfile.extra +0 -1
- data/spec/views/shared/_masthead.html.erb_spec.rb +12 -0
- data/spec/views/spotlight/exhibits/{_exhibit_card_front.html.erb_spec.rb → _exhibit_card.html.erb_spec.rb} +7 -3
- data/spec/views/spotlight/exhibits/index.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb +1 -0
- data/spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb +0 -1
- data/spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb +2 -2
- data/vendor/assets/stylesheets/sir-trevor/_variables.scss +0 -8
- data/vendor/assets/stylesheets/sir-trevor/block-controls.scss +0 -4
- metadata +9 -10
- data/app/assets/images/blacklight/remove_circle_outline.svg +0 -1
- data/app/views/spotlight/browse/_sort_and_per_page.html.erb +0 -5
- data/app/views/spotlight/exhibits/_exhibit_card_back.html.erb +0 -25
- data/app/views/spotlight/exhibits/_exhibit_card_front.html.erb +0 -13
- data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eee784e93eaeb64d3b581a84b8969f67ef1365fcb244845541cce3db8743a44d
|
4
|
+
data.tar.gz: 72cc1075f6bf87b3f0ec675d71484ea0f664181d36fe55978878890627d8f264
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99dd649874596c8b56267f9757fd4c56a05768289c52545b698932dbd8756c498b280f969602b2578afb31e13c5a26856379a573ea4b4fb5dc7d938f18199b19
|
7
|
+
data.tar.gz: 2477bf2480ec591974433df8bb7a48c58c51ca2961ddfbee954fe3ca5a4a82244cfcd9efbd784a046d8c86b90df9c1078ebc77cef04422e1d77eb66c91f4871e
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
@@ -31,8 +31,8 @@
|
|
31
31
|
padding-bottom: 0;
|
32
32
|
|
33
33
|
label {
|
34
|
-
margin-left: $
|
35
|
-
margin-right: $
|
34
|
+
margin-left: $spacer;
|
35
|
+
margin-right: $spacer;
|
36
36
|
padding-left: 0px;
|
37
37
|
padding-bottom: $table-cell-padding;
|
38
38
|
padding-top: 1 + $table-cell-padding;
|
@@ -47,7 +47,7 @@
|
|
47
47
|
}
|
48
48
|
|
49
49
|
.dd-table {
|
50
|
-
margin-top: 2 * $
|
50
|
+
margin-top: 2 * $spacer;
|
51
51
|
|
52
52
|
th {
|
53
53
|
&:first-child {
|
@@ -15,8 +15,8 @@
|
|
15
15
|
|
16
16
|
.navbar-sm {
|
17
17
|
li > a {
|
18
|
-
padding-top:$
|
19
|
-
padding-bottom:$
|
18
|
+
padding-top:$spacer !important;
|
19
|
+
padding-bottom:$spacer !important;
|
20
20
|
}
|
21
21
|
|
22
22
|
margin-top: -10px;
|
@@ -32,14 +32,13 @@
|
|
32
32
|
|
33
33
|
padding-bottom: 0.25rem;
|
34
34
|
margin-bottom: 0.25rem;
|
35
|
-
margin-left: 0.5rem;
|
36
35
|
padding-left: 0;
|
37
36
|
padding-top: 0;
|
38
37
|
}
|
39
38
|
|
40
39
|
.nav-link {
|
41
40
|
padding: 0rem 1rem;
|
42
|
-
padding-left:
|
41
|
+
padding-left: 0px;
|
43
42
|
}
|
44
43
|
|
45
44
|
.nav-link.active {
|
@@ -81,21 +80,22 @@ h1,h2,h3,h4,h5,h6 {
|
|
81
80
|
}
|
82
81
|
}
|
83
82
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
83
|
+
fieldset {
|
84
|
+
margin-bottom: $spacer * 2;
|
85
|
+
margin-top: $spacer * 1;
|
86
|
+
}
|
87
|
+
|
88
|
+
legend {
|
89
|
+
margin-bottom: $spacer;
|
90
|
+
}
|
91
|
+
|
92
|
+
small.form-text {
|
93
|
+
margin-bottom: $spacer;
|
94
|
+
margin-top: $spacer * 0.3125;
|
95
|
+
}
|
96
|
+
|
97
|
+
div.form-check + input[type="file"] {
|
98
|
+
margin-top: $spacer;
|
99
99
|
}
|
100
100
|
|
101
101
|
@media (max-width: breakpoint-max("md")) {
|
@@ -103,7 +103,3 @@ h1,h2,h3,h4,h5,h6 {
|
|
103
103
|
padding-left: 0;
|
104
104
|
}
|
105
105
|
}
|
106
|
-
|
107
|
-
.carousel-block .carousel-indicators li {
|
108
|
-
opacity: 1;
|
109
|
-
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
$image-overlay-max-height: 300px;
|
2
2
|
|
3
3
|
.long-description-text {
|
4
|
-
margin: ($
|
4
|
+
margin: ($spacer * 2) 0;
|
5
5
|
width: 40em;
|
6
6
|
}
|
7
7
|
|
@@ -14,6 +14,18 @@ $image-overlay-max-height: 300px;
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
+
.blacklight-browse {
|
18
|
+
.sort-pagination {
|
19
|
+
.page-links {
|
20
|
+
display: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
.search-widgets {
|
24
|
+
margin-left: auto;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
17
29
|
.browse-landing {
|
18
30
|
text-align: center;
|
19
31
|
// Placeholder for vertically alignment - might already be available from use in another feature
|
@@ -24,7 +36,7 @@ $image-overlay-max-height: 300px;
|
|
24
36
|
}
|
25
37
|
|
26
38
|
.category {
|
27
|
-
margin-bottom: $spacer
|
39
|
+
margin-bottom: $spacer;
|
28
40
|
}
|
29
41
|
|
30
42
|
.image-overlay {
|
@@ -61,7 +73,7 @@ $image-overlay-max-height: 300px;
|
|
61
73
|
small {
|
62
74
|
display: block;
|
63
75
|
color: $white;
|
64
|
-
margin-top: $
|
76
|
+
margin-top: $spacer;
|
65
77
|
text-transform: uppercase;
|
66
78
|
}
|
67
79
|
}
|
@@ -72,19 +84,16 @@ $image-overlay-max-height: 300px;
|
|
72
84
|
}
|
73
85
|
|
74
86
|
@media screen and (max-width: breakpoint-max("sm")) {
|
75
|
-
$image-overlay-max-height:
|
76
|
-
.category {
|
77
|
-
margin: 10px auto;
|
78
|
-
}
|
79
|
-
|
87
|
+
$image-overlay-max-height: 240px;
|
80
88
|
.image-overlay {
|
89
|
+
margin: 10px auto;
|
81
90
|
max-height: $image-overlay-max-height;
|
82
91
|
max-width: 350px;
|
83
92
|
}
|
84
93
|
.text-overlay .browse-category-title {font-size: $h3-font-size;}
|
85
94
|
}
|
86
95
|
@media screen and (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
|
87
|
-
$image-overlay-max-height:
|
96
|
+
$image-overlay-max-height: 240px;
|
88
97
|
.image-overlay {max-height: $image-overlay-max-height;}
|
89
98
|
}
|
90
99
|
@media screen and (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
|
@@ -106,10 +115,6 @@ $image-overlay-max-height: 300px;
|
|
106
115
|
}
|
107
116
|
|
108
117
|
.browse-search-form {
|
109
|
-
.browse-search-expand {
|
110
|
-
text-align: center;
|
111
|
-
}
|
112
|
-
|
113
118
|
.btn-reset {
|
114
119
|
background-color: transparent;
|
115
120
|
display: none;
|
@@ -122,4 +127,8 @@ $image-overlay-max-height: 300px;
|
|
122
127
|
z-index: 30;
|
123
128
|
}
|
124
129
|
}
|
130
|
+
|
131
|
+
.browse-search-expand {
|
132
|
+
text-align: center;
|
133
|
+
}
|
125
134
|
}
|
@@ -61,7 +61,7 @@
|
|
61
61
|
|
62
62
|
.blacklight-catalog-admin {
|
63
63
|
.add-items-nav {
|
64
|
-
margin-bottom: $
|
64
|
+
margin-bottom: $spacer;
|
65
65
|
}
|
66
66
|
|
67
67
|
.sort-pagination {
|
@@ -119,7 +119,7 @@ form.edit_solr_document {
|
|
119
119
|
|
120
120
|
#save-this-search {
|
121
121
|
float:left;
|
122
|
-
margin-right: $
|
122
|
+
margin-right: $spacer * 0.1;
|
123
123
|
}
|
124
124
|
|
125
125
|
#document {
|
@@ -1,6 +1,8 @@
|
|
1
1
|
.page-links a {
|
2
2
|
padding-left: 0;
|
3
3
|
padding-right: 0;
|
4
|
+
line-height: $btn-line-height;
|
5
|
+
@include font-size($btn-font-size);
|
4
6
|
}
|
5
7
|
|
6
8
|
.missing-description {
|
@@ -36,23 +38,10 @@
|
|
36
38
|
display: inline-block;
|
37
39
|
margin-bottom: 0;
|
38
40
|
}
|
39
|
-
.checkbox {
|
40
|
-
width: 3%;
|
41
|
-
vertical-align: top;
|
42
|
-
display: inline-block;
|
43
|
-
padding-top: 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
.publish-control {
|
47
|
-
display: inline;
|
48
41
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
.form-check-inline {
|
54
|
-
vertical-align: middle;
|
55
|
-
}
|
42
|
+
.form-check-inline {
|
43
|
+
margin-top: -3px;
|
44
|
+
vertical-align: middle;
|
56
45
|
}
|
57
46
|
|
58
47
|
.main {
|
@@ -125,13 +114,13 @@
|
|
125
114
|
width: 65%;
|
126
115
|
vertical-align: top;
|
127
116
|
display: inline-block;
|
128
|
-
margin-left: $
|
117
|
+
margin-left: $spacer;
|
129
118
|
}
|
130
119
|
.remove {
|
131
120
|
width: 10%;
|
132
121
|
vertical-align: top;
|
133
122
|
display: inline-block;
|
134
|
-
margin-left: $
|
123
|
+
margin-left: $spacer;
|
135
124
|
}
|
136
125
|
}
|
137
126
|
|
@@ -210,7 +199,7 @@ table#exhibit-specific-fields {
|
|
210
199
|
}
|
211
200
|
|
212
201
|
#nested-navigation {
|
213
|
-
margin-bottom: 2 * $
|
202
|
+
margin-bottom: 2 * $spacer;
|
214
203
|
}
|
215
204
|
|
216
205
|
table.users {
|
@@ -1,108 +1,147 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
margin-bottom: 2rem;
|
5
|
-
// image width + gutter + border (x2)
|
6
|
-
max-width: $exhibit-card-image-size + $exhibit-card-gutter + 2px;
|
7
|
-
padding-right: ($exhibit-card-gutter / 2) !important;
|
8
|
-
perspective: 1000; // for flip animation
|
9
|
-
position: relative;
|
10
|
-
|
11
|
-
.flipper {
|
12
|
-
position: relative;
|
13
|
-
transform-style: preserve-3d;
|
14
|
-
transition: 0.6s;
|
15
|
-
}
|
16
|
-
|
17
|
-
&.hover .flipper,
|
18
|
-
&:hover .flipper {
|
19
|
-
-ms-filter: "FlipH"; // autoprefixer doesn't handle this case.
|
20
|
-
filter: FlipH;
|
21
|
-
transform: rotateY(180deg);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
.card-face {
|
26
|
-
backface-visibility: hidden;
|
27
|
-
background-color: $exhibit-card-bg;
|
28
|
-
border: 1px solid $exhibit-card-border;
|
29
|
-
height: $exhibit-card-height;
|
30
|
-
left: 0;
|
31
|
-
position: absolute;
|
32
|
-
top: 0;
|
33
|
-
transform-style: preserve-3d;
|
34
|
-
transition: 0.6s;
|
35
|
-
width: 100%;
|
36
|
-
}
|
1
|
+
$exhibit-card-overlay-padding: $card-img-overlay-padding / 2 !default;
|
2
|
+
$exhibit-card-overlay-opacity: 0.85 !default;
|
3
|
+
$exhibit-card-bg: $card-bg !default;
|
37
4
|
|
38
|
-
.exhibit-card
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
.card-front {
|
44
|
-
transform: rotateY(0deg);
|
45
|
-
z-index: 2;
|
5
|
+
.exhibit-card {
|
6
|
+
background: $exhibit-card-bg;
|
7
|
+
overflow-y: hidden;
|
8
|
+
padding-bottom: 3rem;
|
46
9
|
|
47
10
|
.unpublished {
|
48
11
|
@extend .mx-auto;
|
49
12
|
display: block;
|
50
|
-
font-size: $font-size-
|
51
|
-
margin-top: -
|
52
|
-
position:
|
13
|
+
font-size: $font-size-sm;
|
14
|
+
margin-top: -1.5rem;
|
15
|
+
position: absolute;
|
16
|
+
left: 0;
|
17
|
+
right: 0;
|
53
18
|
width: 15ch;
|
54
19
|
}
|
55
|
-
}
|
56
|
-
|
57
|
-
.card-back {
|
58
|
-
box-shadow: $exhibit-card-shadow;
|
59
|
-
transform: rotateY(-180deg);
|
60
20
|
|
61
21
|
.card-title {
|
62
|
-
|
63
|
-
|
22
|
+
-webkit-box-orient: vertical;
|
23
|
+
display: -webkit-box;
|
24
|
+
-webkit-line-clamp: 3;
|
25
|
+
overflow: hidden;
|
26
|
+
}
|
27
|
+
|
28
|
+
.card-title .stretched-link {
|
29
|
+
outline: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
.card-img {
|
33
|
+
margin-top: -1px;
|
34
|
+
border-bottom-left-radius: 0;
|
35
|
+
border-bottom-right-radius: 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
.card-img-overlay {
|
39
|
+
background: rgba($exhibit-card-bg, $exhibit-card-overlay-opacity);
|
40
|
+
border-bottom-left-radius: calc(0.25rem - 1px);
|
41
|
+
border-bottom-right-radius: calc(0.25rem - 1px);
|
42
|
+
display: flex;
|
43
|
+
flex-direction: column;
|
44
|
+
padding: $exhibit-card-overlay-padding;
|
45
|
+
top: inherit;
|
46
|
+
max-height: 100%;
|
47
|
+
}
|
48
|
+
|
49
|
+
.exhibit-description {
|
50
|
+
display: flex;
|
51
|
+
flex-direction: column;
|
52
|
+
max-height: 0;
|
53
|
+
outline: none;
|
54
|
+
overflow-y: hidden;
|
55
|
+
transition: $transition-base;
|
64
56
|
}
|
65
57
|
|
66
58
|
.subtitle {
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
59
|
+
-webkit-box-orient: vertical;
|
60
|
+
display: -webkit-box;
|
61
|
+
-webkit-line-clamp: 3;
|
62
|
+
overflow: hidden;
|
63
|
+
text-align: center;
|
71
64
|
}
|
72
65
|
|
73
66
|
.description {
|
74
|
-
|
67
|
+
-webkit-box-orient: vertical;
|
68
|
+
display: -webkit-box;
|
69
|
+
font-size: $font-size-sm;
|
70
|
+
-webkit-line-clamp: 15;
|
71
|
+
overflow: hidden;
|
75
72
|
}
|
76
73
|
|
77
|
-
|
78
|
-
|
79
|
-
|
74
|
+
&:hover {
|
75
|
+
.exhibit-description {
|
76
|
+
max-height: 450px;
|
77
|
+
}
|
80
78
|
}
|
81
|
-
}
|
82
79
|
|
83
|
-
|
84
|
-
|
80
|
+
&:focus-within {
|
81
|
+
// Use Bootstrap focus style
|
82
|
+
outline: $input-focus-border-color auto 5px;
|
85
83
|
|
86
|
-
|
87
|
-
|
84
|
+
// Use WebKit focus styles if available
|
85
|
+
@supports (-webkit-appearance:none) {
|
86
|
+
outline-color: -webkit-focus-ring-color;
|
87
|
+
}
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
|
89
|
+
.exhibit-description {
|
90
|
+
max-height: 450px;
|
91
|
+
}
|
92
92
|
}
|
93
93
|
|
94
|
-
|
95
|
-
|
96
|
-
|
94
|
+
@media (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("sm")) {
|
95
|
+
&:hover {
|
96
|
+
.exhibit-description {
|
97
|
+
max-height: 215px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
&:focus-within {
|
102
|
+
.exhibit-description {
|
103
|
+
max-height: 215px;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.description {
|
108
|
+
-webkit-line-clamp: 5;
|
109
|
+
}
|
110
|
+
|
111
|
+
.subtitle {
|
112
|
+
-webkit-line-clamp: 2;
|
113
|
+
}
|
97
114
|
}
|
98
|
-
}
|
99
115
|
|
100
|
-
|
101
|
-
|
102
|
-
|
116
|
+
@media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
|
117
|
+
.description {
|
118
|
+
-webkit-line-clamp: 4;
|
119
|
+
}
|
120
|
+
|
121
|
+
.subtitle {
|
122
|
+
-webkit-line-clamp: 2;
|
123
|
+
}
|
124
|
+
}
|
103
125
|
|
104
|
-
|
105
|
-
|
106
|
-
|
126
|
+
@media (min-width: breakpoint-max("lg")) {
|
127
|
+
&:hover {
|
128
|
+
.exhibit-description {
|
129
|
+
max-height: 230px;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
&:focus-within {
|
134
|
+
.exhibit-description {
|
135
|
+
max-height: 230px;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.description {
|
140
|
+
-webkit-line-clamp: 6;
|
141
|
+
}
|
142
|
+
|
143
|
+
.subtitle {
|
144
|
+
-webkit-line-clamp: 2;
|
145
|
+
}
|
107
146
|
}
|
108
147
|
}
|