arclight 0.1.1 → 0.1.2
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/.solr_wrapper +1 -0
- data/.travis.yml +2 -2
- data/README.md +1 -1
- data/app/assets/stylesheets/arclight/application.scss +1 -0
- data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +19 -19
- data/app/assets/stylesheets/arclight/modules/highlights.scss +1 -1
- data/app/assets/stylesheets/arclight/modules/layout.scss +9 -8
- data/app/assets/stylesheets/arclight/modules/mastheads.scss +3 -3
- data/app/assets/stylesheets/arclight/modules/repositories.scss +1 -1
- data/app/assets/stylesheets/arclight/modules/repository_card.scss +2 -2
- data/app/assets/stylesheets/arclight/modules/search_results.scss +3 -3
- data/app/assets/stylesheets/arclight/modules/show_collection.scss +7 -7
- data/app/views/catalog/_context_card.html.erb +1 -1
- data/app/views/catalog/_show_sidebar.html.erb +2 -2
- data/app/views/shared/_header_navbar.html.erb +10 -11
- data/lib/arclight/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 174cb3857b5e31e7df7839174cf5ea2dc89d610f
|
|
4
|
+
data.tar.gz: 729d53e8aed403a002ecc41d2f4cd234a5b258de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a27eeb3926a4957b0e2a72a1e0033925dda3a17435382b052c6b212e96801459a34d29361a278f708da61f17e51215adc468184e681ac8594089ffa780c0f73b
|
|
7
|
+
data.tar.gz: 15daaad8d5c85e33be3dbe3a68d7fb5ab389e8fc49bd0ee12e31c1e9dc9306904510c1fb803ebae1d9ebcd30a9c784f564d25fa6a846a94844a6f567d5e92347
|
data/.solr_wrapper
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -72,7 +72,7 @@ See [Arclight Major Features](https://github.com/sul-dlss/arclight/wiki/Arclight
|
|
|
72
72
|
* [Jennifer Vine](https://github.com/jvine)
|
|
73
73
|
* [Jessie Keck](https://github.com/jkeck)
|
|
74
74
|
* [Mark Matienzo](https://github.com/anarchivist)
|
|
75
|
-
* University of
|
|
75
|
+
* University of Michigan
|
|
76
76
|
* [Gordon Leacock](https://github.com/gordonleacock)
|
|
77
77
|
|
|
78
78
|
## Development
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.documents-hierarchy,
|
|
2
2
|
.documents-online_contents {
|
|
3
3
|
.document-title-heading {
|
|
4
|
-
font-size: $font-size
|
|
4
|
+
font-size: $h5-font-size;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.document-title-containers {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.al-toggle-view-all {
|
|
14
|
-
color: $gray-
|
|
14
|
+
color: $gray-600;
|
|
15
15
|
|
|
16
16
|
&:before {
|
|
17
|
-
color: $gray-
|
|
17
|
+
color: $gray-600;
|
|
18
18
|
content: "\2022";
|
|
19
19
|
padding-right: 3px;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.al-hierarchy-children-status {
|
|
24
|
-
font-size: $font-size
|
|
24
|
+
font-size: $h6-font-size;
|
|
25
25
|
margin-top: 6px;
|
|
26
26
|
text-align: left;
|
|
27
27
|
}
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.al-hierarchy-sub-heading {
|
|
48
|
-
color: $gray-
|
|
49
|
-
font-size: $font-size-
|
|
48
|
+
color: $gray-600;
|
|
49
|
+
font-size: $font-size-sm;
|
|
50
50
|
font-weight: normal;
|
|
51
51
|
text-transform: uppercase;
|
|
52
52
|
}
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
.blacklight-series .document-title-heading,
|
|
56
56
|
.blacklight-file .document-title-heading,
|
|
57
57
|
.blacklight-otherlevel .document-title-heading {
|
|
58
|
-
font-size: $font-size
|
|
58
|
+
font-size: $h5-font-size;
|
|
59
59
|
font-weight: 400;
|
|
60
60
|
margin-bottom: ($spacer / 2);
|
|
61
61
|
|
|
62
62
|
> a {
|
|
63
|
-
color: $gray-
|
|
63
|
+
color: $gray-900;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
.blacklight-subseries .document-title-heading,
|
|
71
71
|
.blacklight-file .document-title-heading,
|
|
72
72
|
.blacklight-otherlevel .document-title-heading {
|
|
73
|
-
font-size: $font-size
|
|
73
|
+
font-size: $h6-font-size;
|
|
74
74
|
|
|
75
75
|
.documentHeader {
|
|
76
76
|
margin-top: $spacer;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
padding-left: 10px;
|
|
85
85
|
|
|
86
86
|
&:before {
|
|
87
|
-
color: $gray-
|
|
87
|
+
color: $gray-600;
|
|
88
88
|
content: "\027E9";
|
|
89
89
|
padding-right: 3px;
|
|
90
90
|
}
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.al-hierarchy-highlight {
|
|
110
|
-
background: $
|
|
110
|
+
background: $mark-bg;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
// Placeholder styling
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
margin-top: $spacer;
|
|
116
116
|
|
|
117
117
|
h3 {
|
|
118
|
-
background-color: $gray-
|
|
118
|
+
background-color: $gray-200;
|
|
119
119
|
border-radius: 5px;
|
|
120
|
-
height: $font-size
|
|
120
|
+
height: $h3-font-size;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
p {
|
|
124
|
-
background-color: $gray-
|
|
124
|
+
background-color: $gray-200;
|
|
125
125
|
border-radius: 5px;
|
|
126
126
|
height: $font-size-base;
|
|
127
127
|
}
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
// Component show page, Collection context section
|
|
131
131
|
#collection-context {
|
|
132
132
|
h1 {
|
|
133
|
-
font-size: $font-size
|
|
133
|
+
font-size: $h5-font-size;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.documents-hierarchy,
|
|
@@ -143,23 +143,23 @@
|
|
|
143
143
|
// Top-level context
|
|
144
144
|
.al-hierarchy-level-0 .document-title-heading {
|
|
145
145
|
// background-color: red;
|
|
146
|
-
font-size: $font-size
|
|
146
|
+
font-size: $h5-font-size;
|
|
147
147
|
font-weight: 400;
|
|
148
148
|
margin-bottom: ($spacer / 2);
|
|
149
149
|
|
|
150
150
|
> a {
|
|
151
|
-
color: $gray-
|
|
151
|
+
color: $gray-900;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// All subsequent levels
|
|
156
156
|
@for $i from 1 through 12 {
|
|
157
157
|
.al-hierarchy-level-#{$i} .document-title-heading {
|
|
158
|
-
font-size: $font-size
|
|
158
|
+
font-size: $h6-font-size;
|
|
159
159
|
font-weight: 400;
|
|
160
160
|
|
|
161
161
|
> a {
|
|
162
|
-
color: $gray-
|
|
162
|
+
color: $gray-900;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
@@ -36,17 +36,18 @@
|
|
|
36
36
|
display: inline;
|
|
37
37
|
float: right;
|
|
38
38
|
}
|
|
39
|
+
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
.al-request-button {
|
|
42
|
+
&.btn-link {
|
|
41
43
|
font-weight: 600;
|
|
42
44
|
line-height: 1;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:before {
|
|
49
|
-
content: "\0229F";
|
|
45
|
+
}
|
|
46
|
+
@media (min-width: 1200px) {
|
|
47
|
+
margin-right: ($spacer / 2);
|
|
50
48
|
}
|
|
49
|
+
|
|
50
|
+
&:before {
|
|
51
|
+
content: "\0229F";
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
.al-masthead {
|
|
25
25
|
h1 {
|
|
26
|
-
font-size: $font-size
|
|
26
|
+
font-size: $h2-font-size;
|
|
27
27
|
margin: 0;
|
|
28
28
|
padding: ($spacer * 1.5) ($spacer / 2);
|
|
29
29
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.active a {
|
|
41
|
-
color: $gray;
|
|
41
|
+
color: $gray-700;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.navbar-toggler {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.navbar-toggler-icon {
|
|
50
|
-
background-image: $navbar-light-toggler-bg;
|
|
50
|
+
background-image: $navbar-light-toggler-icon-bg;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.al-repository {
|
|
2
|
-
background-color: $gray-
|
|
2
|
+
background-color: $gray-200;
|
|
3
3
|
border: $result-item-border-styling;
|
|
4
4
|
margin-bottom: $spacer;
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
h2 {
|
|
15
|
-
font-size: $font-size
|
|
15
|
+
font-size: $h5-font-size;
|
|
16
16
|
margin-bottom: $spacer;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// Result item header
|
|
7
7
|
.al-document-title-bar {
|
|
8
|
-
background-color: $gray-
|
|
8
|
+
background-color: $gray-200;
|
|
9
9
|
border: $result-item-border-styling;
|
|
10
10
|
font-size: $font-size-sm;
|
|
11
11
|
margin: 0 (-$result-item-body-padding - 1px) 0.5rem;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.document-title-heading {
|
|
28
|
-
font-size: $font-size
|
|
28
|
+
font-size: $h5-font-size;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.breadcrumb-links,
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
.al-number-of-children-badge {
|
|
51
51
|
background-color: #eee;
|
|
52
52
|
border: 1px solid #ccc;
|
|
53
|
-
color: $gray-
|
|
53
|
+
color: $gray-600;
|
|
54
54
|
vertical-align: top;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.card-header h3 {
|
|
12
|
-
font-size: $font-size
|
|
12
|
+
font-size: $h6-font-size;
|
|
13
13
|
font-weight: $font-weight-normal;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// Sidebar sections
|
|
17
17
|
dt {
|
|
18
|
-
color: $gray;
|
|
19
|
-
font-size: $font-size-
|
|
18
|
+
color: $gray-700;
|
|
19
|
+
font-size: $font-size-sm;
|
|
20
20
|
font-weight: $font-weight-bold;
|
|
21
21
|
margin-bottom: 3px;
|
|
22
22
|
text-transform: uppercase;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
padding: 0 $spacer;
|
|
53
53
|
|
|
54
54
|
.al-document-title-bar {
|
|
55
|
-
background-color: $gray-
|
|
55
|
+
background-color: $gray-200;
|
|
56
56
|
border-bottom: $result-item-border-styling;
|
|
57
57
|
font-size: $font-size-sm;
|
|
58
58
|
margin: 0 (-$spacer) $spacer;
|
|
@@ -64,18 +64,18 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
h1 {
|
|
67
|
-
font-size: $font-size
|
|
67
|
+
font-size: $h4-font-size;
|
|
68
68
|
margin-bottom: $spacer;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// Collection overview
|
|
73
73
|
.al-show-sub-heading {
|
|
74
|
-
font-size: $font-size
|
|
74
|
+
font-size: $h6-font-size;
|
|
75
75
|
text-transform: uppercase;
|
|
76
76
|
|
|
77
77
|
+ dl dt {
|
|
78
|
-
font-size: $font-size-
|
|
78
|
+
font-size: $font-size-sm;
|
|
79
79
|
margin-top: 4px;
|
|
80
80
|
text-transform: uppercase;
|
|
81
81
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div id="collapse<%= card_index %>" class="collapse <%= 'show' if card_index.zero? %>" role="tabpanel" aria-labelledby="heading<%= card_index %>">
|
|
12
|
-
<div class="card-
|
|
12
|
+
<div class="card-body">
|
|
13
13
|
<dl>
|
|
14
14
|
<% generic_document_fields(field_accessor).each do |field_name, field| %>
|
|
15
15
|
<% if generic_should_render_field?(field_accessor, document, field) %>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class='card-header'>
|
|
5
5
|
<h3 class="mb-0">Search within this collection</h3>
|
|
6
6
|
</div>
|
|
7
|
-
<div class='card-
|
|
7
|
+
<div class='card-body'>
|
|
8
8
|
<%= render 'search_within_form' %>
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class='card-header'>
|
|
13
13
|
<h3 class="mb-0"><%= t('arclight.views.show.navigation_sidebar.title') %></h3>
|
|
14
14
|
</div>
|
|
15
|
-
<div class='card-
|
|
15
|
+
<div class='card-body'>
|
|
16
16
|
<ul class='nav nav-pills flex-column'>
|
|
17
17
|
<% unless blacklight_config.show.metadata_partials.nil? %>
|
|
18
18
|
<% blacklight_config.show.metadata_partials.each do |item| %>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
<nav class="navbar navbar-
|
|
1
|
+
<nav class="navbar navbar-expand-md navbar-dark bg-dark topbar" role="navigation">
|
|
2
2
|
<div class="<%= container_classes %>">
|
|
3
|
+
<%= link_to application_name, root_path, class: "navbar-brand" %>
|
|
3
4
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#user-util-collapse" aria-controls="user-util-collapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
4
5
|
<span class="navbar-toggler-icon"></span>
|
|
5
6
|
</button>
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
|
|
8
9
|
|
|
9
10
|
<div class="collapse navbar-collapse justify-content-md-end" id="user-util-collapse">
|
|
10
11
|
<%= render 'shared/user_util_links' %>
|
|
@@ -14,20 +15,18 @@
|
|
|
14
15
|
|
|
15
16
|
<% if controller_name == 'catalog' && !has_search_parameters? && action_name == 'index' %>
|
|
16
17
|
<div class='al-homepage-masthead jumbotron'>
|
|
17
|
-
<div class='
|
|
18
|
-
<
|
|
19
|
-
<h1 class='text-center'><%= t('arclight.masthead_heading') %></h1>
|
|
20
|
-
</div>
|
|
18
|
+
<div class='d-flex justify-content-center'>
|
|
19
|
+
<h1 class='text-center'><%= t('arclight.masthead_heading') %></h1>
|
|
21
20
|
</div>
|
|
22
|
-
<div class='row'>
|
|
23
|
-
<div class='col-md-6
|
|
21
|
+
<div class='row justify-content-md-center'>
|
|
22
|
+
<div class='col-md-6 col-sm-12'>
|
|
24
23
|
<div class='navbar-search'>
|
|
25
24
|
<%= render_search_bar %>
|
|
26
25
|
</div>
|
|
27
26
|
</div>
|
|
28
27
|
</div>
|
|
29
|
-
<nav class="navbar" role="navigation">
|
|
30
|
-
<ul class="nav
|
|
28
|
+
<nav class="navbar justify-content-center" role="navigation">
|
|
29
|
+
<ul class="nav">
|
|
31
30
|
<%= render 'shared/main_menu_links' %>
|
|
32
31
|
</ul>
|
|
33
32
|
</nav>
|
|
@@ -38,7 +37,7 @@
|
|
|
38
37
|
<h1><%= t('arclight.masthead_heading') %></h1>
|
|
39
38
|
</div>
|
|
40
39
|
</div>
|
|
41
|
-
<div class="navbar-search navbar navbar-
|
|
40
|
+
<div class="navbar-search navbar navbar-expand-sm bg-faded" role="navigation">
|
|
42
41
|
<div class="<%= container_classes %>">
|
|
43
42
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
44
43
|
<span class="navbar-toggler-icon"></span>
|
data/lib/arclight/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arclight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darren Hardy
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2017-
|
|
14
|
+
date: 2017-09-26 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: blacklight
|