blacklight 3.0pre1

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