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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96dd85338d68b6781e17f3e90d565b5a1a684ccc
4
- data.tar.gz: 806104e8913b9bdada2b6ec4fcb40cd1d1a5cd3f
3
+ metadata.gz: 174cb3857b5e31e7df7839174cf5ea2dc89d610f
4
+ data.tar.gz: 729d53e8aed403a002ecc41d2f4cd234a5b258de
5
5
  SHA512:
6
- metadata.gz: df3ab36a329552fcdfc3903b70c2d7c107e8ea53a1891d956787a3040d720b97fe9db9b4ee5cd7bf2a3a6d8f06ed8712bd137507913958fa07b60c707b7d15ad
7
- data.tar.gz: df4eadfebd2056cfd884a0056f2873529a09e00fa6f2209d137bb76663ddcf9b34a7d56295b452bedc9ccfe7b7c08fe81ece5166f4c9b36add706c2bfa615b5f
6
+ metadata.gz: a27eeb3926a4957b0e2a72a1e0033925dda3a17435382b052c6b212e96801459a34d29361a278f708da61f17e51215adc468184e681ac8594089ffa780c0f73b
7
+ data.tar.gz: 15daaad8d5c85e33be3dbe3a68d7fb5ab389e8fc49bd0ee12e31c1e9dc9306904510c1fb803ebae1d9ebcd30a9c784f564d25fa6a846a94844a6f567d5e92347
@@ -3,3 +3,4 @@
3
3
  collection:
4
4
  dir: solr/conf/
5
5
  name: blacklight-core
6
+ version: 6.6.1
@@ -29,5 +29,5 @@ before_script:
29
29
  - find spec/fixtures/ead -name '*.xml' | xargs xmllint --noout --schema spec/fixtures/xsd/ead.xsd
30
30
  addons:
31
31
  apt:
32
- sources:
33
- - libxml2-utils
32
+ packages:
33
+ - libxml2-utils
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 Michagan
75
+ * University of Michigan
76
76
  * [Gordon Leacock](https://github.com/gordonleacock)
77
77
 
78
78
  ## Development
@@ -1,3 +1,4 @@
1
+ @import 'bootstrap/functions';
1
2
  @import 'bootstrap/variables';
2
3
  @import 'bootstrap_overrides';
3
4
  @import 'variables';
@@ -1,7 +1,7 @@
1
1
  .documents-hierarchy,
2
2
  .documents-online_contents {
3
3
  .document-title-heading {
4
- font-size: $font-size-h5;
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-light;
14
+ color: $gray-600;
15
15
 
16
16
  &:before {
17
- color: $gray-light;
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-h6;
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-light;
49
- font-size: $font-size-xs;
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-h5;
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-dark;
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-h6;
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-light;
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: $state-warning-bg;
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-lighter;
118
+ background-color: $gray-200;
119
119
  border-radius: 5px;
120
- height: $font-size-h3;
120
+ height: $h3-font-size;
121
121
  }
122
122
 
123
123
  p {
124
- background-color: $gray-lighter;
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-h5;
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-h5;
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-dark;
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-h6;
158
+ font-size: $h6-font-size;
159
159
  font-weight: 400;
160
160
 
161
161
  > a {
162
- color: $gray-dark;
162
+ color: $gray-900;
163
163
  }
164
164
  }
165
165
  }
@@ -1,7 +1,7 @@
1
1
  .al-document-highlight {
2
2
  padding-top: 10px;
3
3
  padding-left: 10px;
4
- font-size: $font-size-xs;
4
+ font-size: $font-size-sm;
5
5
  font-style: italic;
6
6
  em {
7
7
  background-color: yellow;
@@ -36,17 +36,18 @@
36
36
  display: inline;
37
37
  float: right;
38
38
  }
39
+ }
39
40
 
40
- .al-request-button {
41
+ .al-request-button {
42
+ &.btn-link {
41
43
  font-weight: 600;
42
44
  line-height: 1;
43
-
44
- @media (min-width: 1200px) {
45
- margin-right: ($spacer / 2);
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-h2;
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
 
@@ -4,7 +4,7 @@
4
4
  margin-top: ($spacer * 2);
5
5
 
6
6
  h3 {
7
- font-size: $font-size-h4;
7
+ font-size: $h4-font-size;
8
8
  }
9
9
  }
10
10
 
@@ -1,5 +1,5 @@
1
1
  .al-repository {
2
- background-color: $gray-lighter;
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-h5;
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-lighter;
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-h5;
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-light;
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-h6;
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-xs;
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-lighter;
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-h4;
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-h6;
74
+ font-size: $h6-font-size;
75
75
  text-transform: uppercase;
76
76
 
77
77
  + dl dt {
78
- font-size: $font-size-xs;
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-block">
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-block'>
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-block'>
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-toggleable-md navbar-inverse bg-inverse topbar" role="navigation">
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
- <%= link_to application_name, root_path, class: "navbar-brand" %>
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='row'>
18
- <div class='col-md-8 offset-md-2'>
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 offset-md-3'>
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 justify-content-center">
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-toggleable-sm bg-faded" role="navigation">
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>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arclight
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
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.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-06-16 00:00:00.000000000 Z
14
+ date: 2017-09-26 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight