blacklight 4.9.0 → 5.0.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.travis.yml +22 -12
- data/Gemfile +3 -40
- data/LICENSE +1 -2
- data/README.md +1 -2
- data/Rakefile +0 -4
- data/VERSION +1 -1
- data/app/assets/images/blacklight/logo.png +0 -0
- data/app/assets/javascripts/blacklight/ajax_modal.js +190 -0
- data/app/assets/javascripts/blacklight/blacklight.js +7 -17
- data/app/assets/javascripts/blacklight/checkbox_submit.js +1 -1
- data/app/assets/stylesheets/blacklight/{_blacklight_base.scss → _blacklight_base.css.scss} +0 -21
- data/app/assets/stylesheets/blacklight/_bookmark.css.scss +4 -0
- data/app/assets/stylesheets/blacklight/_catalog.css.scss +192 -0
- data/app/assets/stylesheets/blacklight/_facets.css.scss +141 -0
- data/app/assets/stylesheets/blacklight/{_group.scss → _group.css.scss} +1 -1
- data/app/assets/stylesheets/blacklight/_header.css.scss +44 -0
- data/app/assets/stylesheets/blacklight/_layout.css.scss +5 -0
- data/app/assets/stylesheets/blacklight/{_modal.scss → _modal.css.scss} +7 -7
- data/app/assets/stylesheets/blacklight/_search_history.css.scss +20 -0
- data/app/assets/stylesheets/blacklight/{blacklight.scss → blacklight.css.scss} +0 -0
- data/app/assets/stylesheets/blacklight/blacklight_defaults.css.scss +14 -0
- data/app/controllers/bookmarks_controller.rb +0 -4
- data/app/controllers/feedback_controller.rb +0 -4
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +45 -155
- data/app/helpers/blacklight/catalog_helper_behavior.rb +8 -41
- data/app/helpers/blacklight/facets_helper_behavior.rb +20 -43
- data/app/helpers/blacklight/hash_as_hidden_fields_helper_behavior.rb +2 -9
- data/app/helpers/blacklight/render_constraints_helper_behavior.rb +9 -14
- data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +6 -6
- data/app/views/_flash_msg.html.erb +9 -2
- data/app/views/_user_util_links.html.erb +29 -15
- data/app/views/bookmarks/_tools.html.erb +4 -7
- data/app/views/bookmarks/index.html.erb +3 -2
- data/app/views/catalog/_citation.html.erb +1 -1
- data/app/views/catalog/_constraints.html.erb +1 -1
- data/app/views/catalog/_constraints_element.html.erb +12 -8
- data/app/views/catalog/_did_you_mean.html.erb +2 -2
- data/app/views/catalog/_document_header.html.erb +3 -3
- data/app/views/catalog/_email_form.html.erb +10 -10
- data/app/views/catalog/_facet_layout.html.erb +11 -3
- data/app/views/catalog/_facet_limit.html.erb +7 -7
- data/app/views/catalog/_facet_pagination.html.erb +8 -7
- data/app/views/catalog/_facet_pivot.html.erb +3 -1
- data/app/views/catalog/_facets.html.erb +12 -9
- data/app/views/catalog/_paginate_compact.html.erb +1 -7
- data/app/views/catalog/_per_page_widget.html.erb +5 -8
- data/app/views/catalog/_previous_next_doc.html.erb +11 -9
- data/app/views/catalog/_refworks_form.html.erb +3 -4
- data/app/views/catalog/_results_pagination.html.erb +1 -1
- data/app/views/catalog/_search_form.html.erb +16 -14
- data/app/views/catalog/_show_sidebar.html.erb +7 -9
- data/app/views/catalog/_show_tools.html.erb +13 -7
- data/app/views/catalog/_sms_form.html.erb +8 -8
- data/app/views/catalog/_sort_and_per_page.html.erb +4 -6
- data/app/views/catalog/_sort_widget.html.erb +5 -6
- data/app/views/catalog/email.html.erb +1 -1
- data/app/views/catalog/facet.html.erb +2 -8
- data/app/views/catalog/index.html.erb +11 -6
- data/app/views/catalog/show.html.erb +5 -5
- data/app/views/catalog/sms.html.erb +1 -1
- data/app/views/catalog/sms_sent.html.erb +1 -1
- data/app/views/feedback/complete.html.erb +2 -2
- data/app/views/feedback/show.html.erb +1 -1
- data/app/views/kaminari/blacklight/_paginator.html.erb +1 -1
- data/app/views/kaminari/blacklight_compact/_paginator.html.erb +25 -5
- data/app/views/layouts/blacklight.html.erb +23 -23
- data/app/views/saved_searches/index.html.erb +2 -2
- data/app/views/search_history/index.html.erb +5 -7
- data/app/views/shared/_header_navbar.html.erb +23 -23
- data/blacklight.gemspec +10 -13
- data/config/locales/blacklight.en.yml +1 -12
- data/config/locales/blacklight.fr.yml +1 -12
- data/gemfiles/rails3.gemfile +21 -0
- data/gemfiles/rails4.gemfile +20 -0
- data/lib/blacklight.rb +0 -8
- data/lib/blacklight/base.rb +0 -2
- data/lib/blacklight/catalog.rb +6 -32
- data/lib/blacklight/catalog/search_context.rb +8 -48
- data/lib/blacklight/configurable.rb +2 -1
- data/lib/blacklight/configuration.rb +1 -2
- data/lib/blacklight/configuration/facet_field.rb +0 -2
- data/lib/blacklight/engine.rb +3 -3
- data/lib/blacklight/legacy_controller_methods.rb +1 -64
- data/lib/blacklight/rails/routes.rb +17 -0
- data/lib/blacklight/routes.rb +46 -40
- data/lib/blacklight/solr.rb +1 -0
- data/lib/blacklight/solr/document.rb +21 -42
- data/lib/blacklight/solr/facet_paginator.rb +30 -54
- data/lib/blacklight/solr/request.rb +45 -0
- data/lib/blacklight/solr_helper.rb +16 -53
- data/lib/blacklight/solr_response.rb +0 -6
- data/lib/blacklight/user.rb +2 -7
- data/lib/blacklight/utils.rb +1 -9
- data/lib/generators/blacklight/assets_generator.rb +0 -14
- data/lib/generators/blacklight/blacklight_generator.rb +17 -14
- data/lib/generators/blacklight/templates/blacklight.css.scss +3 -0
- data/lib/generators/blacklight/templates/catalog_controller.rb +4 -1
- data/lib/railties/blacklight.rake +3 -1
- data/solr/sample_solr_documents.yml +641 -0
- data/spec/controllers/application_controller_spec.rb +5 -21
- data/spec/controllers/bookmarks_controller_spec.rb +11 -11
- data/spec/controllers/catalog_controller_spec.rb +122 -119
- data/spec/controllers/search_history_controller_spec.rb +8 -8
- data/spec/features/alternate_controller_spec.rb +5 -5
- data/spec/features/facets_spec.rb +9 -0
- data/spec/features/record_view_spec.rb +1 -1
- data/spec/features/search_filters_spec.rb +97 -41
- data/spec/features/search_results_spec.rb +14 -17
- data/spec/features/search_sort_spec.rb +1 -1
- data/spec/helpers/blacklight_helper_spec.rb +170 -285
- data/spec/helpers/catalog_helper_spec.rb +57 -96
- data/spec/helpers/facets_helper_spec.rb +130 -152
- data/spec/helpers/hash_as_hidden_fields_spec.rb +9 -15
- data/spec/helpers/render_constraints_helper_spec.rb +5 -5
- data/spec/helpers/search_history_constraints_helper_spec.rb +21 -21
- data/spec/lib/blacklight/routes_spec.rb +25 -0
- data/spec/lib/blacklight/solr/request_spec.rb +37 -0
- data/spec/lib/blacklight/solr_response/group_response_spec.rb +2 -2
- data/spec/lib/blacklight_configurable_spec.rb +16 -16
- data/spec/lib/blacklight_configuration_spec.rb +132 -132
- data/spec/lib/blacklight_email_spec.rb +4 -4
- data/spec/lib/blacklight_sms_spec.rb +4 -4
- data/spec/lib/blacklight_solr_document_dublin_core_spec.rb +6 -6
- data/spec/lib/blacklight_solr_document_more_like_this_spec.rb +4 -4
- data/spec/lib/blacklight_solr_document_spec.rb +36 -36
- data/spec/lib/blacklight_solr_response_spec.rb +43 -48
- data/spec/lib/blacklight_spec.rb +6 -14
- data/spec/lib/blacklight_user_spec.rb +5 -9
- data/spec/lib/facet_paginator_spec.rb +59 -51
- data/spec/lib/search_fields_spec.rb +13 -13
- data/spec/lib/solr_helper_spec.rb +258 -304
- data/spec/lib/tasks/blacklight_task_spec.rb +1 -1
- data/spec/lib/utils_spec.rb +16 -46
- data/spec/models/bookmark_spec.rb +6 -7
- data/spec/models/record_mailer_spec.rb +16 -16
- data/spec/models/search_spec.rb +8 -8
- data/spec/models/solr_document_spec.rb +6 -77
- data/spec/routing/catalog_routing_spec.rb +16 -10
- data/spec/spec_helper.rb +7 -7
- data/spec/support/assert_difference.rb +2 -2
- data/spec/support/features.rb +0 -11
- data/spec/support/features/session_helpers.rb +3 -3
- data/spec/support/include_text.rb +2 -2
- data/spec/test_app_templates/Gemfile.extra +10 -2
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +12 -18
- data/spec/views/catalog/_constraints_element.html.erb_spec.rb +13 -13
- data/spec/views/catalog/_document.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_document_list.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_facets.html.erb_spec.rb +13 -14
- data/spec/views/catalog/_index_default.erb_spec.rb +21 -21
- data/spec/views/catalog/_search_header.erb_spec.rb +1 -1
- data/spec/views/catalog/_show_default.erb_spec.rb +21 -21
- data/spec/views/catalog/_show_sidebar.erb_spec.rb +7 -7
- data/spec/views/catalog/_thumbnail_default.erb_spec.rb +3 -3
- data/spec/views/catalog/index.atom.builder_spec.rb +29 -29
- data/spec/views/catalog/index.html.erb_spec.rb +6 -7
- data/tasks/blacklight.rake +8 -2
- metadata +84 -180
- data/app/assets/javascripts/blacklight/css_dropdowns.js +0 -10
- data/app/assets/javascripts/blacklight/facet_expand_contract.js +0 -41
- data/app/assets/javascripts/blacklight/lightbox_dialog.js +0 -70
- data/app/assets/javascripts/blacklight/select_submit.js +0 -27
- data/app/assets/javascripts/blacklight/zebra_stripe.js +0 -13
- data/app/assets/javascripts/improved-modal/bootstrap-modal.js +0 -355
- data/app/assets/javascripts/improved-modal/bootstrap-modalmanager.js +0 -370
- data/app/assets/stylesheets/blacklight/_bookmark.scss +0 -33
- data/app/assets/stylesheets/blacklight/_catalog.scss +0 -255
- data/app/assets/stylesheets/blacklight/_dropdown.scss +0 -57
- data/app/assets/stylesheets/blacklight/_facets.scss +0 -197
- data/app/assets/stylesheets/blacklight/_footer.scss +0 -0
- data/app/assets/stylesheets/blacklight/_header.scss +0 -53
- data/app/assets/stylesheets/blacklight/_layout.scss +0 -10
- data/app/assets/stylesheets/blacklight/_mixins.scss +0 -0
- data/app/assets/stylesheets/blacklight/_print.scss +0 -0
- data/app/assets/stylesheets/blacklight/_responsive.scss +0 -3
- data/app/assets/stylesheets/blacklight/_search_history.scss +0 -42
- data/app/assets/stylesheets/blacklight/blacklight_defaults.scss +0 -49
- data/app/assets/stylesheets/blacklight/responsive_partials/_catalog.scss +0 -5
- data/app/assets/stylesheets/blacklight/responsive_partials/_facets.scss +0 -37
- data/app/assets/stylesheets/blacklight/responsive_partials/_header.scss +0 -30
- data/app/assets/stylesheets/improved-modal/bootstrap-modal.css +0 -217
- data/app/helpers/blacklight/html_head_helper_behavior.rb +0 -118
- data/app/helpers/html_head_helper.rb +0 -3
- data/app/views/catalog/_bookmark_form.html.erb +0 -7
- data/app/views/catalog/_marc_view.html.erb +0 -32
- data/app/views/catalog/librarian_view.html.erb +0 -10
- data/config/routes.rb +0 -17
- data/doc/Atom-Responses.md +0 -90
- data/doc/Blacklight-3.0-Release-Notes-And-Upgrade-Guide.md +0 -107
- data/doc/Blacklight-3.2-Release-Notes-and-Upgrade-Guide.md +0 -191
- data/doc/Blacklight-3.3-release-notes-and-upgrade-guide.md +0 -37
- data/doc/Blacklight-3.4-release-notes-and-upgrade-guide.md +0 -27
- data/doc/Blacklight-3.5-release-notes-and-upgrade-guide.md +0 -44
- data/doc/Blacklight-3.6-release-notes-and-upgrade-guide.md +0 -25
- data/doc/Blacklight-3.7-release-notes-and-upgrade-guide.md +0 -80
- data/doc/Blacklight-3.8-release-notes-and-upgrade-guide.md +0 -11
- data/doc/Blacklight-4.0-release-notes-and-upgrade-guide.md +0 -135
- data/doc/Blacklight-4.1-release-notes-and-upgrade-guide.md +0 -17
- data/doc/Blacklight-4.2-release-notes-and-upgrade-guide.md +0 -25
- data/doc/Blacklight-4.3-release-notes-and-upgrade-guide.md +0 -21
- data/doc/Blacklight-4.4-release-notes-and-upgrade-guide.md +0 -41
- data/doc/Blacklight-Add-ons.md +0 -28
- data/doc/Blacklight-configuration.md +0 -411
- data/doc/Blacklight-on-Heroku.md +0 -135
- data/doc/Code4Lib-2014.md +0 -48
- data/doc/Community-principles.md +0 -44
- data/doc/Configuring-and-Customizing-Blacklight.md +0 -271
- data/doc/Configuring-rails-routes.md +0 -13
- data/doc/Contributing-to-Blacklight.md +0 -25
- data/doc/Examples.md +0 -94
- data/doc/Extending-or-Modifying-Blacklight-Search-Behavior.md +0 -141
- data/doc/FAQs.md +0 -1
- data/doc/Home.md +0 -80
- data/doc/How-to-release-a-version.md +0 -29
- data/doc/Indexing-your-data-into-solr.md +0 -32
- data/doc/Integration-with-Rails-Footnotes.md +0 -20
- data/doc/Internationalization.md +0 -32
- data/doc/JSON-API.md +0 -17
- data/doc/Pagination.md +0 -51
- data/doc/Providing-your-own-view-templates.md +0 -109
- data/doc/Quickstart.md +0 -115
- data/doc/README_SOLR.md +0 -245
- data/doc/Release-Notes-And-Upgrade-Guides.md +0 -20
- data/doc/Roadmap.md +0 -43
- data/doc/Sunspot-for-indexing.md +0 -46
- data/doc/Theming.md +0 -64
- data/doc/User-Authentication.md +0 -60
- data/doc/testing.md +0 -57
- data/lib/SolrMarc.jar +0 -0
- data/lib/blacklight/mash.rb +0 -19
- data/lib/blacklight/solr/document/marc.rb +0 -71
- data/lib/blacklight/solr/document/marc_export.rb +0 -590
- data/lib/generators/blacklight/marc_generator.rb +0 -66
- data/lib/generators/blacklight/templates/blacklight.scss +0 -4
- data/lib/generators/blacklight/templates/config/SolrMarc/config-test.properties +0 -37
- data/lib/generators/blacklight/templates/config/SolrMarc/config.properties +0 -37
- data/lib/generators/blacklight/templates/config/SolrMarc/index.properties +0 -97
- data/lib/generators/blacklight/templates/config/SolrMarc/index_scripts/dewey.bsh +0 -47
- data/lib/generators/blacklight/templates/config/SolrMarc/index_scripts/format.bsh +0 -126
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/README_MAPS +0 -1
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/callnumber_map.properties +0 -407
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/composition_era_map.properties +0 -56
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/country_map.properties +0 -379
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/format_map.properties +0 -50
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/instrument_map.properties +0 -101
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/language_map.properties +0 -490
- data/lib/railties/solr_marc.rake +0 -162
- data/spec/data/test_data.utf8.mrc +0 -1
- data/spec/features/librarian_view_spec.rb +0 -13
- data/spec/helpers/html_head_helper_spec.rb +0 -164
- data/spec/lib/blacklight_solr_document_marc_spec.rb +0 -89
- data/spec/lib/marc_export_spec.rb +0 -746
- data/spec/lib/tasks/solr_marc_task_spec.rb +0 -60
- data/spec/requests/alternate_controller_spec.rb +0 -16
- data/spec/routing/routes_spec.rb +0 -20
- data/spec/views/catalog/_constraints.html.erb_spec.rb +0 -33
- data/spec/views/catalog/_paginate_compact.html.erb_spec.rb +0 -49
- data/test_support/data/test_data.utf8.mrc +0 -1
@@ -1,57 +0,0 @@
|
|
1
|
-
.css-dropdown {
|
2
|
-
list-style: none;
|
3
|
-
position: relative;
|
4
|
-
margin: -5px 0 0 0;
|
5
|
-
display: inline-block;
|
6
|
-
li {
|
7
|
-
cursor: pointer;
|
8
|
-
padding: 5px 10px;
|
9
|
-
&:hover, &.hovering {
|
10
|
-
border-bottom-left-radius: 0;
|
11
|
-
border-bottom-right-radius: 0;
|
12
|
-
-webkit-border-bottom-left-radius: 0;
|
13
|
-
-webkit-border-bottom-right-radius: 0;
|
14
|
-
-moz-border-radius-bottom-left: 0;
|
15
|
-
-moz-border-radius-bottom-right: 0;
|
16
|
-
& > ul {
|
17
|
-
border-top: 1px solid white;
|
18
|
-
display: block;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
a:hover {
|
22
|
-
text-decoration: none;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
ul {
|
26
|
-
list-style: none;
|
27
|
-
position: absolute;
|
28
|
-
z-index: $zindexDropdown;
|
29
|
-
top: 100%;
|
30
|
-
left: 0;
|
31
|
-
right: 0;
|
32
|
-
margin: 0;
|
33
|
-
display: none;
|
34
|
-
background: white;
|
35
|
-
border: 1px solid #cccccc;
|
36
|
-
-webkit-border-radius: 4px;
|
37
|
-
-moz-border-radius: 4px;
|
38
|
-
border-radius: 4px;
|
39
|
-
-webkit-border-top-left-radius: 0;
|
40
|
-
-moz-border-radius-top-left: 0;
|
41
|
-
border-top-left-radius: 0;
|
42
|
-
-webkit-border-top-right-radius: 0;
|
43
|
-
-moz-border-radius-top-right: 0;
|
44
|
-
border-top-right-radius: 0;
|
45
|
-
li {
|
46
|
-
padding: 0;
|
47
|
-
text-align: left;
|
48
|
-
&:hover {
|
49
|
-
background: whiteSmoke;
|
50
|
-
}
|
51
|
-
a {
|
52
|
-
padding: 5px 10px;
|
53
|
-
display: block;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
#facets
|
2
|
-
{
|
3
|
-
div.facet_limit {
|
4
|
-
clear: both;
|
5
|
-
}
|
6
|
-
|
7
|
-
h5 a {
|
8
|
-
color: inherit;
|
9
|
-
text-decoration: none;
|
10
|
-
|
11
|
-
&:hover
|
12
|
-
{
|
13
|
-
background-color:#eee;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
ul {
|
18
|
-
padding-top:0.5em;
|
19
|
-
margin-left: 14px;
|
20
|
-
}
|
21
|
-
|
22
|
-
li
|
23
|
-
{
|
24
|
-
list-style:none;
|
25
|
-
margin-right:1em;
|
26
|
-
padding-bottom:0.3em;
|
27
|
-
padding-right: 50px;
|
28
|
-
clear: right;
|
29
|
-
|
30
|
-
a.remove
|
31
|
-
{
|
32
|
-
color:#666;
|
33
|
-
margin-left: 0px;
|
34
|
-
padding: 3px 5px;
|
35
|
-
}
|
36
|
-
|
37
|
-
.count {
|
38
|
-
text-align:right;
|
39
|
-
float:right;
|
40
|
-
margin-right: -50px;
|
41
|
-
}
|
42
|
-
|
43
|
-
&.more_facets_link {
|
44
|
-
text-align:right;
|
45
|
-
float:right;
|
46
|
-
margin-right: -35px;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
span.selected
|
51
|
-
{
|
52
|
-
color:green;
|
53
|
-
}
|
54
|
-
|
55
|
-
ul,h5 +div
|
56
|
-
{
|
57
|
-
padding-bottom:1em;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
.facet_extended_list
|
62
|
-
{
|
63
|
-
.sort_options
|
64
|
-
{
|
65
|
-
text-align:right;
|
66
|
-
}
|
67
|
-
|
68
|
-
|
69
|
-
.prev_next_links
|
70
|
-
{
|
71
|
-
float:left;
|
72
|
-
}
|
73
|
-
|
74
|
-
}
|
75
|
-
|
76
|
-
ul.facet_extended_list
|
77
|
-
{
|
78
|
-
clear:both;
|
79
|
-
margin:1.5em 0;
|
80
|
-
|
81
|
-
li
|
82
|
-
{
|
83
|
-
list-style:none;
|
84
|
-
margin:0.5em 0;
|
85
|
-
}
|
86
|
-
|
87
|
-
.count {
|
88
|
-
float:right;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
|
93
|
-
/* Sidenav
|
94
|
-
-------------------------------------------------- */
|
95
|
-
|
96
|
-
.sidenav {
|
97
|
-
margin-bottom:1em;
|
98
|
-
padding: 0;
|
99
|
-
background-color: transparent;
|
100
|
-
border: 1px solid $navbarBorder;
|
101
|
-
-webkit-border-radius: 6px;
|
102
|
-
-moz-border-radius: 6px;
|
103
|
-
border-radius: 6px;
|
104
|
-
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
105
|
-
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
106
|
-
box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
107
|
-
|
108
|
-
h5, h4 {
|
109
|
-
display: block;
|
110
|
-
*width: 190px;
|
111
|
-
margin: 0 0 -1px;
|
112
|
-
padding: 8px 14px;
|
113
|
-
}
|
114
|
-
h5 {
|
115
|
-
border-top: 1px solid $navbarBorder;
|
116
|
-
}
|
117
|
-
|
118
|
-
.facet_limit:last-child > h5 {
|
119
|
-
|
120
|
-
&.twiddle-open {
|
121
|
-
@include border-bottom-radius(0px);
|
122
|
-
}
|
123
|
-
|
124
|
-
@include border-bottom-radius(6px);
|
125
|
-
}
|
126
|
-
|
127
|
-
}
|
128
|
-
|
129
|
-
|
130
|
-
#facets .btn-navbar {
|
131
|
-
// Navbar button for toggling navbar items in responsive layouts
|
132
|
-
// These definitions need to come after '.navbar .btn'
|
133
|
-
display: none;
|
134
|
-
float: right;
|
135
|
-
padding: 7px 10px;
|
136
|
-
margin-left: 5px;
|
137
|
-
margin-right: 5px;
|
138
|
-
@include buttonBackground(darken($navbarBackgroundHighlight, 5%), darken($navbarBackground, 5%));
|
139
|
-
@include box-shadow(#{inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)});
|
140
|
-
& .icon-bar {
|
141
|
-
display: block;
|
142
|
-
width: 18px;
|
143
|
-
height: 2px;
|
144
|
-
background-color: #f5f5f5;
|
145
|
-
@include border-radius(1px);
|
146
|
-
@include box-shadow(0 1px 0 rgba(0,0,0,.25));
|
147
|
-
}
|
148
|
-
& .icon-bar + .icon-bar {
|
149
|
-
margin-top: 3px;
|
150
|
-
}
|
151
|
-
|
152
|
-
}
|
153
|
-
|
154
|
-
.facets-collapse {
|
155
|
-
h5 {
|
156
|
-
cursor: pointer;
|
157
|
-
}
|
158
|
-
/* Chevrons */
|
159
|
-
.icon-chevron {
|
160
|
-
float: right;
|
161
|
-
margin-top: 2px;
|
162
|
-
margin-right: -6px;
|
163
|
-
opacity: .25;
|
164
|
-
}
|
165
|
-
|
166
|
-
.facet_limit h5:hover {
|
167
|
-
background-color: darken($bodyBackground, 10%);
|
168
|
-
}
|
169
|
-
|
170
|
-
.icon-chevron {
|
171
|
-
@extend .icon-chevron-right;
|
172
|
-
opacity: .5;
|
173
|
-
}
|
174
|
-
|
175
|
-
.twiddle-open .icon-chevron {
|
176
|
-
@extend .icon-chevron-down;
|
177
|
-
opacity: 1;
|
178
|
-
padding-right:2px;
|
179
|
-
}
|
180
|
-
|
181
|
-
/* hide the chevron when js isn't supported */
|
182
|
-
.no-js & .icon-chevron {
|
183
|
-
@extend .icon-chevron-down;
|
184
|
-
padding-right:2px;
|
185
|
-
}
|
186
|
-
|
187
|
-
h5:hover .icon-chevron,
|
188
|
-
.twiddle-open .icon-chevron {
|
189
|
-
opacity: 1;
|
190
|
-
}
|
191
|
-
}
|
192
|
-
|
193
|
-
.facet_pagination {
|
194
|
-
@extend .clearfix;
|
195
|
-
}
|
196
|
-
|
197
|
-
|
File without changes
|
@@ -1,53 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Header bar at top (Bootstrap nav-bar)
|
3
|
-
*/
|
4
|
-
|
5
|
-
#header-navbar-fixed-top {
|
6
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
7
|
-
min-width: 395px;
|
8
|
-
/* This ensures that any tool pop-up goes infront of the header */
|
9
|
-
z-index:1000;
|
10
|
-
|
11
|
-
.brand { /* The main logo image for the Blacklight instance */
|
12
|
-
width: 150px;
|
13
|
-
background:transparent image_url($logo_image) no-repeat top left;
|
14
|
-
display: inline-block;
|
15
|
-
text-indent: 100%;
|
16
|
-
white-space: nowrap;
|
17
|
-
overflow: hidden;
|
18
|
-
padding-right:0;
|
19
|
-
margin-right:20px;
|
20
|
-
padding-left: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
.navbar-inner {
|
24
|
-
padding-top: 0.5em;
|
25
|
-
padding-bottom: 0.5em;
|
26
|
-
}
|
27
|
-
|
28
|
-
.desktop-search-bar { /* Search form is in the header */
|
29
|
-
opacity: 1 !important;
|
30
|
-
padding-top: 0.5em;
|
31
|
-
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
#searchbar {
|
36
|
-
padding-top:5px;
|
37
|
-
}
|
38
|
-
|
39
|
-
.search-query-form {
|
40
|
-
margin-bottom: 0;
|
41
|
-
}
|
42
|
-
|
43
|
-
.btn.search-btn {
|
44
|
-
margin-top: 0;
|
45
|
-
}
|
46
|
-
|
47
|
-
.search_field {
|
48
|
-
margin-right: 0.5em;
|
49
|
-
}
|
50
|
-
|
51
|
-
.util-links-login, .util-links-other {
|
52
|
-
font-size: 0.9em;
|
53
|
-
}
|
File without changes
|
File without changes
|
@@ -1,42 +0,0 @@
|
|
1
|
-
/* Search History */
|
2
|
-
.search_history
|
3
|
-
{
|
4
|
-
|
5
|
-
.query > a
|
6
|
-
{
|
7
|
-
display: block;
|
8
|
-
border-bottom: none;
|
9
|
-
}
|
10
|
-
|
11
|
-
.constraint
|
12
|
-
{
|
13
|
-
display: block;
|
14
|
-
text-indent: -2em;
|
15
|
-
padding-left: 2em;
|
16
|
-
margin-right: 2em;
|
17
|
-
|
18
|
-
.search
|
19
|
-
{
|
20
|
-
padding-right: 0.5em;
|
21
|
-
padding-left: 0.5em;
|
22
|
-
}
|
23
|
-
|
24
|
-
&:last-child
|
25
|
-
{
|
26
|
-
margin-right: 0;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
td
|
31
|
-
{
|
32
|
-
vertical-align: top;
|
33
|
-
}
|
34
|
-
|
35
|
-
.filterName, .filterSeparator
|
36
|
-
{
|
37
|
-
color: gray;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
|
42
|
-
|
@@ -1,49 +0,0 @@
|
|
1
|
-
/* Warning! If you want to change these, just copy them into your own theme css. But you want to remove the !default, which only will set them if not already set. */
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
$background_image: 'blacklight/bg.png' !default;
|
6
|
-
$logo_image: 'blacklight/logo.png' !default;
|
7
|
-
$header_background_border: 'blacklight/border.png' !default;
|
8
|
-
|
9
|
-
$navbar_background_color: #000000 !default;
|
10
|
-
|
11
|
-
/* Various elements of search customization share these colors */
|
12
|
-
|
13
|
-
$well_bg_color: #F5F5F5 !default;
|
14
|
-
|
15
|
-
$search_ui_border_color: #FFFFFF !default;
|
16
|
-
$search_ui_bg_color: #FFFFFF !default;
|
17
|
-
|
18
|
-
$main_container_bg_color: #FFFFFF !default;
|
19
|
-
|
20
|
-
/* separates documents, facets */
|
21
|
-
$dotted_border_color: #CCC !default;
|
22
|
-
$dark_border_color: #333 !default;
|
23
|
-
|
24
|
-
/* background color of page */
|
25
|
-
$page_bg_color: #2E4F81 !default;
|
26
|
-
|
27
|
-
|
28
|
-
/* label (field names) */
|
29
|
-
$field_name_color: #888 !default;
|
30
|
-
|
31
|
-
|
32
|
-
/* constraint (you searched for:) details: */
|
33
|
-
|
34
|
-
$constraint_bg_color: #E2EDFE !default;
|
35
|
-
|
36
|
-
$constraint_border_color: #C4DAFE !default;
|
37
|
-
$constraint_border_active_color: #FFD27A !default;
|
38
|
-
|
39
|
-
/* dialog that pops up when you pick more on facets */
|
40
|
-
$facet_extended_button_bg_color: #F6F6F6 !default;
|
41
|
-
$facet_extended_button_border_color: #CCC !default;
|
42
|
-
$facet_extended_disabled_button_bg_color: #E2EDFE !default;
|
43
|
-
$facet_extended_disabled_border_color: #C4DAFE !default;
|
44
|
-
$facet_extended_button_hover_bg_color: #DADADA !default;
|
45
|
-
$facet_extended_button_hover_border_color: #999 !default;
|
46
|
-
$facet_extended_button_hover_color: #212121 !default;
|
47
|
-
|
48
|
-
/* border between items on marc view */
|
49
|
-
$marc_item_separator: 1px solid #CCC !default;
|
@@ -1,37 +0,0 @@
|
|
1
|
-
@media (max-width: 767px) {
|
2
|
-
#facets .btn-navbar {
|
3
|
-
display: block;
|
4
|
-
}
|
5
|
-
.facets-collapse {
|
6
|
-
clear: both;
|
7
|
-
|
8
|
-
&.in {
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
&, &.collapse {
|
13
|
-
overflow: hidden;
|
14
|
-
height: 0;
|
15
|
-
}
|
16
|
-
|
17
|
-
&.collapse.in {
|
18
|
-
height: auto !important;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.no-js .facets-collapse, .no-js .facets-collapse.collapse {
|
23
|
-
height: auto !important;
|
24
|
-
overflow: visible !important;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
@media (min-width: 768px) {
|
29
|
-
.facets-collapse.collapse {
|
30
|
-
height: auto !important;
|
31
|
-
overflow: visible !important;
|
32
|
-
}
|
33
|
-
|
34
|
-
.facet-collapse-toggle {
|
35
|
-
display: none;
|
36
|
-
}
|
37
|
-
}
|