blacklight 3.1.2 → 3.2.0pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/.gitignore +5 -2
  2. data/README.md +7 -2
  3. data/VERSION +1 -1
  4. data/app/assets/images/favicon.ico +0 -0
  5. data/app/assets/javascripts/blacklight/blacklight.js +23 -1
  6. data/app/assets/stylesheets/blacklight/_catalog.css.scss +369 -0
  7. data/app/assets/stylesheets/blacklight/_facets.css.scss +117 -0
  8. data/app/assets/stylesheets/blacklight/_folder.css.scss +38 -0
  9. data/app/assets/stylesheets/blacklight/_formatting.css.scss +164 -0
  10. data/app/assets/stylesheets/blacklight/_header.css.scss +36 -0
  11. data/app/assets/stylesheets/blacklight/_layout.css.scss +79 -0
  12. data/app/assets/stylesheets/blacklight/_print.css.scss +54 -0
  13. data/app/assets/stylesheets/blacklight/_search_history.css.scss +44 -0
  14. data/app/assets/stylesheets/blacklight/_susy_framework.css.scss +228 -0
  15. data/app/assets/stylesheets/blacklight/blacklight.css.scss +27 -0
  16. data/app/assets/stylesheets/blacklight/blacklight_defaults.css.scss +48 -0
  17. data/app/controllers/bookmarks_controller.rb +2 -1
  18. data/app/controllers/folder_controller.rb +4 -0
  19. data/app/controllers/saved_searches_controller.rb +4 -0
  20. data/app/controllers/search_history_controller.rb +4 -0
  21. data/app/helpers/blacklight/blacklight_helper_behavior.rb +64 -104
  22. data/app/helpers/blacklight/catalog_helper_behavior.rb +4 -4
  23. data/app/helpers/blacklight/facets_helper_behavior.rb +52 -5
  24. data/app/helpers/blacklight/render_constraints_helper_behavior.rb +14 -59
  25. data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +56 -0
  26. data/app/helpers/search_history_constraints_helper.rb +3 -0
  27. data/app/models/record_mailer.rb +1 -2
  28. data/app/views/_flash_msg.html.erb +4 -5
  29. data/app/views/_user_util_links.html.erb +3 -1
  30. data/app/views/bookmarks/index.html.erb +2 -2
  31. data/app/views/catalog/_bookmark_control.html.erb +6 -6
  32. data/app/views/catalog/_facet_layout.html.erb +4 -0
  33. data/app/views/catalog/_facet_limit.html.erb +20 -33
  34. data/app/views/catalog/_facets.html.erb +1 -5
  35. data/app/views/catalog/_folder_control.html.erb +5 -5
  36. data/app/views/catalog/_index_default.html.erb +1 -1
  37. data/app/views/catalog/_search_form.html.erb +4 -3
  38. data/app/views/catalog/_show_default.html.erb +1 -1
  39. data/app/views/catalog/_show_tools.html.erb +6 -6
  40. data/app/views/catalog/_sort_and_per_page.html.erb +1 -1
  41. data/app/views/catalog/index.atom.builder +2 -2
  42. data/app/views/catalog/index.rss.builder +1 -1
  43. data/app/views/catalog/opensearch.xml.builder +10 -0
  44. data/app/views/catalog/show.html.erb +1 -1
  45. data/app/views/folder/_tools.html.erb +4 -4
  46. data/app/views/layouts/blacklight.html.erb +25 -37
  47. data/app/views/record_mailer/email_record.text.erb +1 -1
  48. data/app/views/record_mailer/sms_record.text.erb +2 -2
  49. data/app/views/search_history/index.html.erb +1 -1
  50. data/blacklight.gemspec +11 -9
  51. data/lib/{generators/blacklight/templates/SolrMarc.jar → SolrMarc.jar} +0 -0
  52. data/lib/blacklight.rb +5 -3
  53. data/lib/blacklight/catalog.rb +3 -4
  54. data/lib/blacklight/configurable.rb +54 -39
  55. data/lib/blacklight/configuration.rb +126 -0
  56. data/lib/blacklight/configuration/fields.rb +142 -0
  57. data/lib/blacklight/configuration/search_field.rb +12 -0
  58. data/lib/blacklight/configuration/solr_field.rb +12 -0
  59. data/lib/blacklight/configuration/sort_field.rb +17 -0
  60. data/lib/blacklight/controller.rb +16 -14
  61. data/lib/blacklight/engine.rb +1 -1
  62. data/lib/blacklight/global_configurable.rb +46 -0
  63. data/lib/blacklight/search_fields.rb +21 -54
  64. data/lib/blacklight/solr/document.rb +13 -3
  65. data/lib/blacklight/solr_helper.rb +88 -52
  66. data/lib/blacklight/utils.rb +18 -0
  67. data/lib/generators/blacklight/assets_generator.rb +14 -20
  68. data/lib/generators/blacklight/blacklight_generator.rb +14 -6
  69. data/lib/generators/blacklight/jetty_generator.rb +1 -1
  70. data/lib/generators/blacklight/templates/assets/standard.css.scss +51 -0
  71. data/lib/generators/blacklight/templates/catalog_controller.rb +148 -0
  72. data/lib/generators/blacklight/templates/config/blacklight_config.rb +2 -239
  73. data/lib/generators/blacklight/templates/config/sass.rb +5 -0
  74. data/lib/generators/blacklight/templates/solr_conf/schema.xml +514 -164
  75. data/lib/generators/blacklight/templates/solr_conf/solrconfig.xml +1591 -323
  76. data/lib/generators/blacklight/templates/solr_document.rb +2 -0
  77. data/lib/railties/all_tests.rake +36 -3
  78. data/lib/railties/blacklight_cucumber.rake +6 -4
  79. data/lib/railties/blacklight_rspec.rake +5 -4
  80. data/test_support/bin/run-tests.sh +2 -13
  81. data/test_support/bin/test.sh +30 -23
  82. data/test_support/features/did_you_mean.feature +14 -13
  83. data/test_support/features/step_definitions/saved_searches_steps.rb +1 -1
  84. data/test_support/features/step_definitions/search_steps.rb +4 -4
  85. data/test_support/spec/controllers/application_controller_spec.rb +3 -13
  86. data/test_support/spec/controllers/catalog_controller_spec.rb +102 -24
  87. data/test_support/spec/controllers/folder_controller_spec.rb +7 -1
  88. data/test_support/spec/helpers/blacklight_helper_spec.rb +45 -34
  89. data/test_support/spec/helpers/facets_helper_spec.rb +68 -0
  90. data/test_support/spec/helpers/html_head_helper_spec.rb +37 -0
  91. data/test_support/spec/helpers/{render_constraints_helper_spec.rb → search_history_constraints_helper_spec.rb} +26 -7
  92. data/test_support/spec/lib/blacklight_configurable_spec.rb +92 -0
  93. data/test_support/spec/lib/blacklight_configuration_spec.rb +295 -0
  94. data/test_support/spec/lib/{configurable_spec.rb → global_configurable_spec.rb} +2 -2
  95. data/test_support/spec/lib/search_fields_spec.rb +26 -29
  96. data/test_support/spec/{helpers → lib}/solr_helper_spec.rb +268 -287
  97. data/test_support/spec/lib/tasks/solr_marc_task_spec.rb +1 -1
  98. data/test_support/spec/lib/utils_spec.rb +58 -0
  99. data/test_support/spec/models/solr_docment_spec.rb +4 -8
  100. data/test_support/spec/views/catalog/_facets.html.erb_spec.rb +27 -170
  101. data/test_support/spec/views/catalog/_index_default.erb_spec.rb +38 -20
  102. data/test_support/spec/views/catalog/_show_default.erb_spec.rb +38 -19
  103. data/test_support/spec/views/catalog/index.atom.builder_spec.rb +19 -1
  104. metadata +148 -145
  105. data/app/assets/stylesheets/blacklight/blacklight.css +0 -493
  106. data/app/assets/stylesheets/yui.css +0 -31
  107. data/app/views/catalog/opensearch.xml.erb +0 -11
  108. data/doc/Atom-Responses.md +0 -90
  109. data/doc/CUSTOMIZING.md +0 -121
  110. data/doc/Extending-blacklight-with-the-document-extension-framework.md +0 -1
  111. data/doc/Extending-or-Modifying-Blacklight-Search-Behavior.md +0 -131
  112. data/doc/Features.md +0 -147
  113. data/doc/Integration-with-Rails-Footnotes.md +0 -20
  114. data/doc/Pagination.md +0 -38
  115. data/doc/Quickstart.md +0 -97
  116. data/doc/Upgrading-Guide.md +0 -98
  117. data/doc/User-Authentication.md +0 -54
  118. data/doc/Using-a-custom-solr-uniquekey-field.md +0 -36
  119. data/lib/blacklight/comma_link_renderer.rb +0 -28
  120. data/lib/railties/jetty_solr_server.rb +0 -108
  121. data/test_support/spec/views/catalog/show.html.erb_spec.rb +0 -101
@@ -1,493 +0,0 @@
1
- /* This file is generated by Blacklight. You probably don't want to edit
2
- this file directly, or you'll have to manually merge your changes if later
3
- versions of Blacklight change this file. Instead, use your own CSS file
4
- which over-rides things in this file. Or of course you can choose
5
- not to use the Blacklight CSS file at all in your local app. */
6
-
7
- /* Global */
8
- html {background: #707070;}
9
-
10
- /* yui-grids sets text-align:center on body, which ends up centering
11
- text in our jquery ui dialogs, which we don't actually want, it was
12
- an accident. */
13
- .ui-dialog-content { text-align: left; }
14
-
15
- body {background: url('../../images/blacklight/bg.png') repeat-x top left; font: 0.7em Verdana, "Lucida Grande", "Lucida Sans Unicode", "Arial Unicode MS", Arial, sans-serif; line-height: 1.4; color:#333; margin: 0px; padding: 15px;}
16
-
17
- select,input,button,textarea {font: 1em Verdana, "Lucida Grande", "Lucida Sans Unicode", "Arial Unicode MS", Arial, sans-serif;}
18
-
19
- strong {font-weight: bold;}
20
- input {padding: .1em;}
21
- label {color:#555; font-weight:bold;}
22
- hr {border:none; height:1px; background-color:#ccc;}
23
-
24
- .width100p {width: 100%;}
25
- .left {float: left;}
26
- .right {float: right;}
27
- .clear-left {clear: left;}
28
- .clear-both {clear: both;}
29
- .topDottedBorder {border-top: 1px dotted #ccc;}
30
- .bottomDottedBorder{border-bottom: 1px dotted #ccc;}
31
- .formElement {font: 8pt Verdana, "Arial Unicode MS", Arial, sans-serif;}
32
-
33
- /* Links */
34
- a:link, a:visited, a:active {border-bottom: 1px dotted #aaa; color: #2e4f81; text-decoration: none;}
35
- a:hover {color: #029;}
36
-
37
- /* Header Container Layout */
38
- #hd {margin: 0em 2em 0 2em; padding: 2em 0 2em 0; }
39
- #hd .yui-g {text-align: right;}
40
- #hd .yui-g .first {text-align: left;}
41
- #doc, #doc2, #doc3, #doc4 {background: #fff url('../../images/blacklight/border.png') repeat-x top left; border-bottom: 2px solid #555; margin: 0px auto;}
42
- /* border-top: 10px solid #548cd8; -moz-border-top-colors: #548cd8 #5188d3 #4e84d0 #4b81cd #497dc9 #457ac6 #4376c2 #4173be #3e71bc #3d6fba; */
43
-
44
- /* Body Container Layout */
45
- #bd {padding: 0 2em 2em 2em;}
46
- .yui-t1 #yui-main .yui-b, .yui-t2 #yui-main .yui-b, .yui-t3 #yui-main .yui-b {border-left: 1px dotted #ccc; padding: 1em 0 2em 2em; position: relative;}
47
-
48
- /* Left Sidebar Layout */
49
- .sidebar p {padding-top: 2em;}
50
-
51
- /* Top Banner */
52
- h1.site_title {background: transparent url('../../images/blacklight/logo.png') no-repeat top left; margin: 2em 0px 0px 1em; height: 35px; width: 120px;}
53
- .first h1 {margin: 0px; padding: 0px;}
54
- h1.site_title a {display:block; height: 35px; width:120px; text-indent: -9999px; overflow: hidden; text-decoration: none; border: 0px;}
55
- h1.site_title a:link, h1.site_title a:visited, h1.site_title a:hover, h1.site_title a:active {border: 0px;}
56
- h2.search {margin:0; display:inline;}
57
-
58
- /* Search Box */
59
- #search {
60
- text-align: left;
61
- font-size: 120%;
62
- border: 1px solid #AAAAAA;
63
- border-radius: 4px 4px 0 0;
64
- -moz-border-radius: 4px 4px 0 0;
65
- -webkit-border-radius: 4px 4px 0 0;
66
- padding: 0.66em;
67
- }
68
- #search #q {width: 200px;}
69
- #search .submit {padding: 0px 0.25em; margin: 0 0.5em; text-transform: capitalize;}
70
- #search h2 {display: none;}
71
- #search hr {display: none; margin:1em 0; margin-top: 2em;}
72
-
73
-
74
-
75
- /* Content */
76
- table.zebra .zebra_stripe, ul.zebra .zebra_stripe {background-color: #F1F5FA;}
77
- th, td {border: 0;}
78
-
79
- /* Facets */
80
- #facets {font-size: 93%; padding: 1em 0 0 1em;}
81
- #facets h2 {color: #555;}
82
- #facets h3 {margin-bottom: 0; color:#555; font-weight:normal; text-align:justify; cursor: pointer;}
83
- #facets ul, #facets h3 +div {border-bottom: 1px dotted #ccc; padding-bottom: 1em; margin:0;}
84
- #facets li {list-style:none; margin: .3em 0;}
85
- #facets li a:hover {background-color: #eee;}
86
- #facets li a.remove {color: #666;}
87
- #facets span.selected {color: green;}
88
- #facets li.more_facets_link {text-align: right;}
89
- ul.facet_extended_list { margin:0; clear: both; margin: 1.5em 0 1.5em 0;}
90
- ul.facet_extended_list li {list-style:none; margin: 0.5em 0;}
91
- .facet_extended_list {text-align: left;} /* for our ajaxy dialog to make sure we're overriding the yui global text-align: center */
92
- .facet_extended_list .sort_options {
93
- text-align: right
94
- }
95
- .facet_extended_list .prev_next_links { float: left; }
96
-
97
- /* jquery-ui-like buttonsets, but without actually using jquery-ui */
98
- .facet_extended_list .sort_options .az, .facet_extended_list .sort_options .numeric, .facet_extended_list .next_page, .facet_extended_list .prev_page {
99
- display: inline-block;
100
- background: #F6F6F6;
101
- border: 1px solid #CCCCCC;
102
- padding: 0.2em 1em;
103
- font-weight: bold;
104
- }
105
- .facet_extended_list .next_page, .facet_extended_list .sort_options .numeric {
106
- border-radius: 0 4px 4px 0;
107
- -moz-border-radius: 0 4px 4px 0;
108
- -webkit-border-radius: 0 4px 4px 0;
109
- }
110
- .facet_extended_list .prev_page, .facet_extended_list .sort_options .az {
111
- border-radius: 4px 0 0 4px;
112
- -moz-border-radius: 4px 0 0 4px;
113
- -webkit-border-radius: 4px 0 0 4px;
114
- }
115
- .facet_extended_list .prev_next_links .disabled {
116
- background: none;
117
- color: gray;
118
- font-weight: normal;
119
- }
120
- .facet_extended_list .sort_options .disabled {
121
- /* in this case disabled really means selected */
122
- background-color: #E2EDFE;
123
- border:1px solid #C4DAFE;
124
- }
125
- .facet_extended_list .sort_options a:hover, .facet_extended_list .prev_next_links a:hover {
126
- border: 1px solid #999999;
127
- background: #dadada;
128
- color: #212121;
129
- }
130
-
131
- /* Solr Query */
132
- .solrQuery {padding: .5em; margin: 2em; background-color:#eee; border: 1px dotted #ccc; font-size:90%;}
133
-
134
- /* Page Navigation */
135
- .constraints {margin: 0px; padding: 0px;}
136
-
137
- .pagination {
138
- padding: 0.66em;
139
- background-color:#F0F0F0;
140
- border-style: solid;
141
- border-color: #AAAAAA;
142
- border-width: 0 1px 1px 1px;
143
- border-radius: 0 0 4px 4px;
144
- -moz-border-radius: 0 0 4px 4px;
145
- -webkit-border-radius: 0 0 4px 4px;
146
- position: relative; /* to allow abs positioning of buttons inside */
147
- line-height: 2em;
148
- }
149
-
150
- .pagination h2 {display: none;}
151
-
152
- .pagination .prev_page {
153
- position: absolute;
154
- left: 0;
155
- margin-left: 0.66em;
156
- border-bottom: none;
157
- }
158
- .pagination .next_page {
159
- position: absolute;
160
- right: 0;
161
- margin-right: 0.66em;
162
- border-bottom: none;
163
-
164
- }
165
- #results_text {display: none;}
166
-
167
-
168
- span.page a, span.page.current {
169
- margin-right:0.2em;
170
- padding:0.2em 0.5em;
171
- text-decoration: none;
172
- border-bottom: none;
173
- }
174
-
175
- .page_links .next_page, .page_links .prev_page {
176
- /* we show these seperately, but can't get will_paginate to suppress
177
- them entirely. */
178
- display: none;
179
- }
180
-
181
- .page_links span.current {
182
- background:none repeat scroll 0 0 #2E4F81;
183
- border:1px solid #2E4F81;
184
- color:white;
185
- font-weight:bold;
186
- }
187
- .pagination span.disabled {
188
- color: #999;
189
- }
190
-
191
- .pagination a {
192
- /* leave room so when we show the box on hover, it won't nudge
193
- everything all over the place. */
194
- border: 1px solid transparent;
195
- }
196
- .pagination a:hover, .pagination a:focus {
197
- border:1px solid #000033;
198
- text-decoration:none;
199
- }
200
-
201
- .page_links {
202
- /* centering, taking account of absolutely positioned right/left buttons*/
203
- margin-right: 8em;
204
- margin-left: 8em;
205
- text-align: center;
206
- }
207
-
208
- .pageEntriesInfo {
209
- background-color:#F0F0F0;
210
- border-style: solid;
211
- border-color: #AAAAAA;
212
- border-width: 1px 1px 0 1px;
213
- -moz-border-radius:4px 4px 0 0;
214
- border-radius:4px 4px 0 0;
215
- -webkit-border-radius:4px 4px 0 0;
216
- padding: 0.66em;
217
- position:relative; /* so the absolutely positioned startOverLink does right */
218
- text-align: center;
219
- }
220
-
221
- #startOverLink{display:block; position:absolute; top:50%; right:0.66em; margin-top:-12px; padding:0 7px 3px 12px; line-height:22px; text-decoration:none; color:#fff; background:url(../../images/blacklight/start_over.gif) no-repeat center center; border-bottom: none;}
222
-
223
-
224
- #sortAndPerPage {
225
- background-color: #F0F0F0;
226
- padding: 0.66em;
227
- border-style: solid;
228
- border-color: #AAAAAA;
229
- border-width: 0 1px 1px 1px;
230
- }
231
- #sortAndPerPage label {
232
- font-weight: normal;
233
- }
234
-
235
- #previousNextDocument { /* on item detail page, under paging info */
236
- padding: 0.66em;
237
- background-color: #F0F0F0;
238
- border: 1px solid #AAAAAA;
239
- -moz-border-radius: 0 0 4px 4px;
240
- border-radius: 0 0 4px 4px;
241
- -webkit-border-radius: 0 0 4px 4px;
242
- margin-bottom: 1.5em;
243
- overflow: auto; /* to make it expand to hold floated children */
244
- }
245
-
246
- #previousNextDocument .next {
247
- float: right;
248
- }
249
-
250
- /* 'Document functions', Bookmark/Folder. Appear on both results/index and
251
- detail/show views. */
252
- .documentFunctions { float: right; margin-left: 1em; margin-bottom: 0.5em;}
253
- .documentFunctions .folder_toggle, .documentFunctions .bookmark_toggle { display: inline; }
254
- label.toggle_bookmark, label.toggle_folder {
255
- /* the ajaxy checkbox for toggle */
256
- display: inline-block;
257
- min-width: 8.5em;
258
- text-align: left;
259
- font-weight: inherit;
260
- color: inherit;
261
- }
262
- label.toggle_folder { min-width: 6em; }
263
- label.checked { font-weight: bold; }
264
-
265
-
266
- /* Search Results */
267
- .document {padding: 0.5em 0 0 0; background-color: #fff; border-bottom: 1px dotted #ccc; clear: both;}
268
-
269
- #documents {background-color: #eee; color: #333; margin-top: 1.5em; margin-bottom: 1.5em; }
270
- #documents .documentHeader {background-color: #fff; padding: 0px;}
271
-
272
-
273
- #documents .per_page {padding-right: 5px;}
274
-
275
- /* Result List (http://www.quirksmode.org/css/clearing.html) */
276
- h3.index_title { margin: 0px; padding: 0px; }
277
-
278
- dl {margin: 0px; padding: 0px;}
279
- dl.defList {overflow: auto; padding: 0.5em 0; clear: both}
280
- dl.defList dt {float:left; text-align: right; width: 20%; clear: both; color: #888; margin: 0; padding: 2px 1em 2px 0px;}
281
- dl.defList dd {float: left; text-align: left; margin: 0; padding: 2px 0; width: 450px;}
282
-
283
- /* Individual Result Listing */
284
- #document {margin-top: 1em;}
285
- #document h1 {margin: 0px; padding: 0px 0px 1em 0px;}
286
- #marc_view {padding:5px; text-align:left;}
287
- #marc_view .ind1, #marc_view .ind2 {padding:0 5px; display:inline;}
288
- #marc_view .tag_ind {float:left;}
289
- #marc_view .subfields {padding-left:5em;}
290
- #marc_view .field {clear:both; border-bottom:1px solid #CCCCCC;}
291
- #librarian_view{top:10%;left:-17%;text-align:left;width:700px;} /* Lightbox element */
292
-
293
- /* Search History */
294
- .search_history .query > a {
295
- display: block;
296
- border-bottom: none;
297
- }
298
- .search_history .constraint {
299
- display: block;
300
- text-indent: -2em;
301
- padding-left: 2em;
302
- }
303
-
304
- .search_history .constraint .search {
305
- padding-right: 0.5em;
306
- padding-left: 0.5em;
307
- }
308
-
309
- .search_history td {
310
- vertical-align: top;
311
- }
312
-
313
- .search_history .filterName, .search_history .label {
314
- color: gray;
315
- }
316
- .search_history .constraint {
317
- margin-right: 2em;
318
- }
319
- .search_history .constraint:last-child {
320
- margin-right: 0;
321
- }
322
-
323
- /* FORMS */
324
- form div.row label {float:left; width:120px; text-align:right; margin-right: .5em;}
325
- form div.row {clear:both; margin-bottom:.5em;}
326
- form div.row.submit {margin-left:130px;}
327
- form.per_page {float:right;}
328
- form.sort {display:inline;}
329
- textarea {width:30em; height:15em;}
330
-
331
- .fieldWithErrors {display:inline;}
332
- .fieldWithErrors label {color:darkred;}
333
-
334
- /* Show Tools */
335
- ul.tools {margin: 0px; padding: 0px;}
336
- ul.tools li {display: inline; margin: 0 10px;}
337
-
338
- /* Folder Tools */
339
- ul.folderTools {
340
- -moz-border-radius: 0 0 4px 4px;
341
- border-radius: 0 0 4px 4px;
342
- background-color: #F0F0F0;
343
- border-color: #AAAAAA;
344
- border-style: solid;
345
- border-width: 0 1px 1px 1px;
346
- margin: 0;
347
- padding: 0.66em;
348
- }
349
- ul.folderTools li {
350
- display: inline-block;
351
- margin: 0 10px;
352
- }
353
- ul.folderTools li form { display: inline; }
354
- ul.folderTools li.refworks form input.submit{display:none;}
355
- /*ul.folderTools {float:left;list-style-type: none; margin: 0 0 10px; padding:0;}
356
- ul.folderTools li {float:left; padding:0 20px 0 0;}
357
- ul.folderTools li.refworks form input.submit{display:none;}*/
358
-
359
-
360
- /* Lightbox */
361
- .lightboxTitle {background-color: #cccccc; width: 100%; color: black;}
362
- .lightboxBack {float:right;}
363
- #lightboxContainer {position:absolute; top:0; left:0; right:0; bottom:0; width:99.9%; height:99.9%; background-color:#000000; opacity: 0.6; filter:alpha(opacity=60); text-align:center; z-index:9;}
364
- #lightboxContent, .lightboxContent {position:absolute; display:block; background-color:#EFEFEF; border: 3px solid #DEDEDE; top: 25%; left:25%; width:50%; height:auto; padding-bottom:10px; text-align:center; opacity: 1.0; filter:alpha(opacity=100); z-index:10;}
365
-
366
- /* Tag Cloud */
367
- .tagCloud1 {font-size: 1.0em;}
368
- .tagCloud2 {font-size: 1.2em;}
369
- .tagCloud3 {font-size: 1.4em;}
370
- .tagCloud4 {font-size: 1.6em;}
371
- #userBookmarks div{}
372
-
373
- #login form {margin-bottom:1em;}
374
-
375
- .error, .notice, .errorExplanation { padding:1em; margin-bottom:1em;}
376
- .error, .notice { }
377
- .error, .errorExplanation { }
378
- .notice { }
379
-
380
- /* IE 6 Adjustments */
381
- * html #hd .yui-g .yui-u {margin-top: -5em;}
382
- * html #hd .yui-g .first {margin-top: 2em;}
383
- * html #search {left: -1.8em;}
384
-
385
- /********** PRINT ***********/
386
- @media print {
387
- html {background: #fff;}
388
- body {background: none; padding: 0px;}
389
- #hd {margin: 0; padding: 0 0 2em 0;}
390
- .yui-u.first {margin: 2em 0px 0px 0px;}
391
- #doc, #doc2, #doc1, #doc4 {width: 100%; margin: 0; padding: 0; background: none; border: 0px;}
392
- #bd {padding: 0;}
393
- #yui-main {position: relative; width: 100%;}
394
- #yui-main .yui-b {border-left: 1px dotted #ccc; padding: 2em 0 2em 1em; position: relative; margin-left: 150px;}
395
- .yui-b {float: none; width: 130px;}
396
- .yui-b p {padding-top: 2em;}
397
- #facets {padding: 1em 0 0 0;}
398
- .solrQuery {display: none;}
399
- /* IE 6 Adjustments */
400
- * html #yui-main .yui-b {position: absolute; top: 0px; left: 0px;}
401
- * html #search {position: absolute; top: -4em; left: 1em;}
402
- * html #documents {width: 75%;}
403
- }
404
-
405
- /* search constraints/filter block */
406
- /* ========================
407
- Search Parameters
408
- ======================== */
409
- /* current search criteria are rendered right under search box, and appear
410
- as part of same section. */
411
- #appliedParams {
412
- background-color: #F0F0F0;
413
- border-right: 1px solid #AAAAAA;
414
- border-left: 1px solid #AAAAAA;
415
- border-bottom: 1px solid #AAAAAA;
416
- padding: 1em 0.66em 0em 1em;
417
- border-radius:0 0 4px 4px;
418
- -moz-border-radius:0 0 4px 4px;
419
- -webkit-border-radius:0 0 4px 4px;
420
- margin-bottom: 1.5em;
421
- }
422
-
423
- #appliedParams .label {
424
- /* just here for screen-readers, attributes copied from Jquery-ui
425
- .ui-helper-hidden-accessible */
426
- position: absolute;
427
- left: -100000000px;
428
- }
429
-
430
- /* but don't hide it on show page, where there is no actual search box. */
431
- .show #appliedParams .label {
432
- position: static;
433
- margin-top: 0;
434
- }
435
- .show #appliedParams {
436
- /* it's the top, give it a top border with corners */
437
- border-top: 1px solid #AAAAAA;
438
- border-radius:4px 4px 4px 4px;
439
- -moz-border-radius:4px 4px 4px 4px;
440
- -webkit-border-radius:4px 4px 4px 4px;
441
- }
442
-
443
- .appliedFilter {
444
- position: relative;
445
- display:inline-block;
446
- padding:3px 3px 3px 1.5em;
447
- margin-bottom: 0.66em;
448
- margin-right: 0.33em;
449
- background:#e2edfe;
450
- border:1px solid #c4dafe;
451
- -moz-border-radius:15px 15px 15px 15px;
452
- -webkit-border-radius:15px 15px 15px 15px;
453
- border-radius: 15px 15px 15px 15px;
454
- }
455
- .appliedFilter .btnRemove{
456
- display:block;
457
- position:absolute;
458
- z-index:5;
459
- right:0px;
460
- top:0;
461
- width:32px;
462
- height:100%;
463
- background:url(../../images/blacklight/remove.gif) no-repeat center center;
464
- border-left:1px solid #d0daea;
465
- border-bottom: none;
466
- text-indent:-99999px; /* text there for screen readers, hidden visually */
467
- outline: none; /* the screen reader text indent above will make weird outlines on link clicking, unless we turn em off. */
468
- }
469
- .appliedFilter .btnRemove:active, .appliedFilter .btnRemove:focus {
470
- /* we took outline away above; add a border instead, for accesibility
471
- so someone tabbing to the link knows what link is active */
472
- border: 1px dotted #FFD27A;
473
- }
474
-
475
- .appliedFilter .queryName, .appliedFilter .filterName {
476
- /* ">" image */
477
- padding-right:14px;
478
- background:url(../../images/blacklight/separator.gif) no-repeat right center;
479
- }
480
-
481
- .filterValue {
482
- padding-right:37px; /* leave room for close button */
483
- }
484
-
485
-
486
-
487
-
488
-
489
- .hide {display:none}
490
-
491
- /* local implementations may define styles for open + closed "twiddles", e.g. disclosure triangles */
492
- .twiddle { }
493
- .twiddle-open { }