hydra-head 4.0.0.rc5 → 4.0.0.rc6
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.textile +1 -1
- data/HOW_TO_GET_STARTED.textile +2 -2
- data/INSTALL_PREREQ.textile +1 -20
- data/README.textile +12 -16
- data/app/assets/stylesheets/hydra/html_refactor.css +1 -5
- data/app/assets/stylesheets/hydra/hydrangea.css +0 -4
- data/app/assets/stylesheets/hydra/styles.css +12 -595
- data/app/controllers/downloads_controller.rb +2 -1
- data/app/controllers/hydra/permissions_controller.rb +2 -6
- data/app/models/ability.rb +1 -98
- data/app/models/hydra/ability.rb +128 -0
- data/app/views/_flash_msg.html.erb +1 -1
- data/app/views/catalog/_home.html.erb +2 -2
- data/app/views/catalog/_home_text.html.erb +2 -8
- data/app/views/catalog/_show_partials/_default.html.erb +0 -4
- data/app/views/generic_images/_edit.html.erb +0 -2
- data/app/views/layouts/hydra-head.html.erb +22 -35
- data/lib/hydra-head/version.rb +1 -1
- data/lib/hydra/mods_article.rb +22 -2
- data/lib/railties/hydra-fixtures.rake +17 -24
- data/tasks/hydra-head-fixtures.rake +32 -28
- data/tasks/hydra-head.rake +39 -57
- data/{lib/railties → tasks}/hyhead_rspec.rake +7 -26
- data/test_support/features/file_upload.feature +3 -3
- data/test_support/features/step_definitions/edit_metadata_steps.rb +1 -1
- data/test_support/features/step_definitions/user_steps.rb +7 -4
- data/test_support/spec/models/ability_spec.rb +3 -9
- metadata +36 -51
- data/DEVELOP_PLUGIN.textile +0 -90
- data/GIT_WORKFLOW.textile +0 -106
- data/HOW_TO_DEFINE_A_HYDRA_CONTROLLER.textile +0 -21
- data/HOW_TO_DEFINE_A_HYDRA_MODEL.textile +0 -64
- data/HYDRA_ACCESS_CONTROLS.textile +0 -27
- data/INITIAL_APP_MODS.textile +0 -223
- data/README_RAILS3_CHANGES.textile +0 -67
- data/README_RAKE_TASKS.textile +0 -107
- data/README_SUBTREE.textile +0 -87
- data/README_TERSE.textile +0 -92
- data/RELEASE_NOTES.textile +0 -8
- data/TESTING.textile +0 -85
- data/TESTING_PLUGIN.textile +0 -133
- data/app/views/layouts/application.html.erb +0 -49
- data/lib/railties/all_tests.rake +0 -23
- data/lib/railties/hyhead_cucumber.rake +0 -126
data/HISTORY.textile
CHANGED
@@ -3,7 +3,7 @@ h3. 4.0.0
|
|
3
3
|
* Upgrade to blacklight 3.3.0
|
4
4
|
* Removed railtie to configure active-fedora
|
5
5
|
* Register solr happens automatically
|
6
|
-
* Using CanCan gem for authorization
|
6
|
+
* HYDRA-610 Using CanCan gem for authorization
|
7
7
|
* Compatibility with Rails 3.2
|
8
8
|
* Compatibility with Ruby 1.9.3
|
9
9
|
|
data/HOW_TO_GET_STARTED.textile
CHANGED
@@ -441,7 +441,7 @@ The plugin defaults to *denying access* when the permissions are unclear. This
|
|
441
441
|
To give yourself permission to view and edit an object, you need to set those permissions. For example, if we want the object to show up in search results for everyone but we only want a user called archivist1@example.com to edit it, we can do the following:
|
442
442
|
|
443
443
|
<pre>
|
444
|
-
article = JournalArticle.
|
444
|
+
article = JournalArticle.find("changeme:30")
|
445
445
|
article.permissions({"group"=>"public"}, "read")
|
446
446
|
article.permissions({"person"=>"archivist1@example.com"}, "edit")
|
447
447
|
article.save
|
@@ -460,7 +460,7 @@ h3. How to Explicitly (re)Index the JournalArticle in Solr
|
|
460
460
|
By default, ActiveFedora automatically updates Solr whenever you save an object to Fedora. If you want to re-index it, all you have to do is load an instance of the object and call its update_index method. For example, if you wanted to update an object that has a pid "changeme:30", you could do it like this:
|
461
461
|
|
462
462
|
<pre>
|
463
|
-
article = JournalArticle.
|
463
|
+
article = JournalArticle.find("changeme:30")
|
464
464
|
article.update_index
|
465
465
|
</pre>
|
466
466
|
|
data/INSTALL_PREREQ.textile
CHANGED
@@ -1,22 +1,3 @@
|
|
1
1
|
h1. Hydra Installation Prerequisites
|
2
2
|
|
3
|
-
|
4
|
-
* "rubygems":http://rubygems.org/pages/download
|
5
|
-
* these ruby gems:
|
6
|
-
** "bundler":http://gembundler.com/
|
7
|
-
** "rails":http://rubyonrails.org/ NOTE: version 3.0.x.
|
8
|
-
* "git":http://git-scm.com/
|
9
|
-
* "java":http://www.java.com/en/ NOTE: version 1.6 or higher
|
10
|
-
* "sqlite3":http://www.sqlite.org/
|
11
|
-
|
12
|
-
* "RVM":http://rvm.beginrescueend.com/ (Ruby Version Manager)
|
13
|
-
** We strongly suggest using RVM as a means of keeping your different ruby applications with their specific gem requirements from having version clashes.
|
14
|
-
** If you don't have the desired ruby version in RVM, e.g. ree-1.8.7, then install it. The following instructions assume the use of RVM.
|
15
|
-
** See "https://rvm.beginrescueend.com/rvm/install/":https://rvm.beginrescueend.com/rvm/install/ for instructions on installing and running RVM.
|
16
|
-
** After installing RVM, set it up to use "rvmrc":http://beginrescueend.com/workflow/rvmrc/ files when they're available. This will cause RVM to automatically switch Ruby versions and gemsets when you cd into different code bases. Currently all Hydra software uses Ruby Enterprise Edition 1.8.7 (ree-1.8.7) and each component or Hydra Head uses its own gemsets (ie. hydra-head uses a gemset called hyhead, hypatia uses a gemset called hypatia so that you can install a different set of dependencies for each. )
|
17
|
-
** For information about using and setting up RVM to use .rvmrc files, see "http://beginrescueend.com/workflow/rvmrc/":http://beginrescueend.com/workflow/rvmrc/
|
18
|
-
|
19
|
-
<pre>
|
20
|
-
rvm install ree-1.8.7
|
21
|
-
</pre>
|
22
|
-
|
3
|
+
Please see "https://github.com/projecthydra/hydra-head/wiki/Installation-Prerequisites":https://github.com/projecthydra/hydra-head/wiki/Installation-Prerequisites
|
data/README.textile
CHANGED
@@ -1,24 +1,21 @@
|
|
1
1
|
h1. Hydra-Head
|
2
2
|
|
3
|
-
Hydra-Head is a Rails
|
3
|
+
Hydra-Head is a Ruby-on-Rails 3 gem containing the core code for a web application using the full stack of hydra building blocks.
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
- "OM (Opinionated Metadata)":https://github.com/mediashelf/om (a ruby gem) to streamline the metadata configuration
|
9
|
-
- "Solrizer":https://github.com/projecthydra/solrizer (a ruby gem) to write content to the Solr index
|
10
|
-
- "SolrizerFedora":https://github.com/projecthydra/solrizer-fedora (a ruby gem) to write Fedora content to the Solr index.
|
11
|
-
- Hydra-Head (a rails engines plugin) to glue it all together
|
5
|
+
See the github wikis for information targeted to developers: "http://github.com/projecthydra/hydra-head/wiki":http://github.com/projecthydra/hydra-head/wiki
|
6
|
+
See the duraspace hydra wikis for information at the architecture level: "http://wiki.duraspace.org/display/hydra/":http://wiki.duraspace.org/display/hydra/
|
7
|
+
Additionally, new adopters and potential adopters may find the pages here useful: "http://projecthydra.org/":http://projecthydra.org/
|
12
8
|
|
13
|
-
|
9
|
+
Further questions? Ask the "hydra-tech list":http://groups.google.com/group/hydra-tech or join the freenode #projecthydra IRC channel.
|
14
10
|
|
15
|
-
This is a Ruby on Rails 3 gem.
|
16
11
|
|
17
12
|
h2. Installation/Setup
|
18
13
|
|
19
|
-
h3.
|
14
|
+
h3. Installation Prerequisites
|
20
15
|
|
21
|
-
|
16
|
+
See "http://github.com/projecthydra/hydra-head/wiki/Installation-Prerequisites":http://github.com/projecthydra/hydra-head/wiki/Installation-Prerequisites
|
17
|
+
|
18
|
+
Ruby 1.9.3 is required by Hydra-Head release 4.0; RVM is strongly suggested.
|
22
19
|
|
23
20
|
h3. Install Rails, Bundler and Devise
|
24
21
|
|
@@ -26,7 +23,6 @@ Currently hydra-head is compatible with Rails 3.0.x and incompatible with Rails
|
|
26
23
|
|
27
24
|
<pre>
|
28
25
|
gem install 'rails' --version '~>3.0.11'
|
29
|
-
gem install 'bundler'
|
30
26
|
</pre>
|
31
27
|
|
32
28
|
h3. Generate a new rails application:
|
@@ -53,7 +49,7 @@ First, add them to the "Gemfile":http://gembundler.com/gemfile.html of your appl
|
|
53
49
|
# but in a production setup you probably want to use a real sql database like mysql or postgres
|
54
50
|
gem 'sqlite3'
|
55
51
|
|
56
|
-
#
|
52
|
+
# We will assume you're using devise in tutorials/documentation.
|
57
53
|
# You are free to implement your own User/Authentication solution in its place.
|
58
54
|
gem 'devise'
|
59
55
|
|
@@ -109,11 +105,11 @@ h3. You're done.
|
|
109
105
|
|
110
106
|
Congratulations. You've set up the code for your Hydra Head.
|
111
107
|
|
112
|
-
Read "Tools for Developing and Testing":http://
|
108
|
+
Read "Tools for Developing and Testing your Application":http://github.com/projecthydra/hydra-head/wiki/Tools-for-Developing-and-Testing-your-Application, then read "How to Get Started":http://github.com/projecthydra/hydra-head/wiki/How-to-Get-Started to get a sense of what you can do with your Hydra Head.
|
113
109
|
|
114
110
|
h2. Modifying and Testing the hydra-head Gem
|
115
111
|
|
116
|
-
For those developers who want to or need to work on the hydra-head gem itself, see the "Instructions for Contributors":http://
|
112
|
+
For those developers who want to or need to work on the hydra-head gem itself, see the "Instructions for Contributors":http://github.com/projecthydra/hydra-head/wiki/For-Contributors
|
117
113
|
|
118
114
|
h2. Acknowledgements
|
119
115
|
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/* This is the CSS that Jessie is creating to put some CSS tweaks necessary to get the app looking like Blacklight again
|
2
2
|
I fully expect this CSS to either be moved to a more appropriate name or removed all together */
|
3
|
-
|
4
|
-
#yui-main {
|
5
|
-
width:75%;
|
6
|
-
}
|
3
|
+
|
7
4
|
#documents table {
|
8
5
|
width:100%;
|
9
6
|
}
|
@@ -40,7 +37,6 @@
|
|
40
37
|
/* =FACETS
|
41
38
|
-------------------------------------------------------------- */
|
42
39
|
|
43
|
-
#bd #facets h3 {font-size: 14px; font-weight: bold; margin-bottom: 1.2em;}
|
44
40
|
#bd #facets ul, #bd #facets h3 + div {border-bottom: none;}
|
45
41
|
|
46
42
|
|
@@ -15,7 +15,6 @@ body {
|
|
15
15
|
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
16
16
|
font-size: 13px;
|
17
17
|
color: #121212;
|
18
|
-
text-align: center; /* for IE */
|
19
18
|
}
|
20
19
|
|
21
20
|
#document h1 {
|
@@ -26,55 +25,6 @@ body td, body ul, body p, body ol {
|
|
26
25
|
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
27
26
|
}
|
28
27
|
|
29
|
-
div.notice-wrap {
|
30
|
-
display: none;
|
31
|
-
}
|
32
|
-
|
33
|
-
#uva_lib_banner {
|
34
|
-
background: #051f38;
|
35
|
-
height: 37px;
|
36
|
-
width: 100%;
|
37
|
-
}
|
38
|
-
|
39
|
-
#uva_lib_banner #container1 {
|
40
|
-
width: 960px;
|
41
|
-
margin-right: auto;
|
42
|
-
margin-left: auto;
|
43
|
-
font-size: 12px;
|
44
|
-
color: #A8CCE8;
|
45
|
-
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
46
|
-
height: 36px;
|
47
|
-
}
|
48
|
-
|
49
|
-
#container1_uva_lib_logo {
|
50
|
-
height: 15px;
|
51
|
-
width: 200px;
|
52
|
-
float: left;
|
53
|
-
padding-top: 10px;
|
54
|
-
}
|
55
|
-
|
56
|
-
#container1_links {
|
57
|
-
height: 18px;
|
58
|
-
margin-top: -9px;
|
59
|
-
float: left;
|
60
|
-
padding-top: 20px;
|
61
|
-
padding-left: 20px;
|
62
|
-
}
|
63
|
-
|
64
|
-
#container1_links ul {
|
65
|
-
list-style-type: none;
|
66
|
-
}
|
67
|
-
|
68
|
-
#container1_links li {
|
69
|
-
float: left;
|
70
|
-
margin-right: 7px;
|
71
|
-
margin-left: 7px;
|
72
|
-
}
|
73
|
-
|
74
|
-
#container1_links a {
|
75
|
-
color: #CCDFFF;
|
76
|
-
text-decoration: none;
|
77
|
-
}
|
78
28
|
|
79
29
|
#hd ul {
|
80
30
|
margin: 5px;
|
@@ -89,45 +39,6 @@ div.notice-wrap {
|
|
89
39
|
margin-left: 10px;
|
90
40
|
}
|
91
41
|
|
92
|
-
#container1_login {
|
93
|
-
height: 26px;
|
94
|
-
float: right;
|
95
|
-
margin-right: 40px;
|
96
|
-
padding-top: 7px;
|
97
|
-
}
|
98
|
-
|
99
|
-
#libra_banner_container {
|
100
|
-
height: 78px;
|
101
|
-
width: 100%;
|
102
|
-
}
|
103
|
-
|
104
|
-
#libra_banner {
|
105
|
-
width: 960px;
|
106
|
-
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
107
|
-
font-size: 38px;
|
108
|
-
color: #F3A729;
|
109
|
-
margin-right: auto;
|
110
|
-
margin-left: auto; /* [disabled]margin-bottom: 30px; */
|
111
|
-
clear: both;
|
112
|
-
}
|
113
|
-
|
114
|
-
.libra_logo {
|
115
|
-
float: left;
|
116
|
-
}
|
117
|
-
|
118
|
-
.libra_buttons {
|
119
|
-
float: right;
|
120
|
-
width: 274px;
|
121
|
-
margin-top: 25px;
|
122
|
-
}
|
123
|
-
|
124
|
-
.libra_buttons .learn_more,
|
125
|
-
.libra_buttons .add_work {
|
126
|
-
display: block;
|
127
|
-
float: left;
|
128
|
-
margin: 0 0 0 25px;
|
129
|
-
}
|
130
|
-
|
131
42
|
button.ui-button-icon-only {
|
132
43
|
height: 2.5em;
|
133
44
|
margin-top: 4px;
|
@@ -167,10 +78,10 @@ button.ui-button-icon-only {
|
|
167
78
|
margin-left: 90px;
|
168
79
|
}
|
169
80
|
|
170
|
-
.error, .notice
|
81
|
+
.msg.error, .msg.notice {
|
171
82
|
margin: 0;
|
172
83
|
width: 907px;
|
173
|
-
|
84
|
+
font-size: 14px;
|
174
85
|
}
|
175
86
|
|
176
87
|
#abstract-text {
|
@@ -198,10 +109,6 @@ a:link, a:visited, a:active, #uvalicense_read_all {
|
|
198
109
|
color: #E7C584 !important;
|
199
110
|
}
|
200
111
|
|
201
|
-
.yui-t2 .yui-b p {
|
202
|
-
padding-top: 0;
|
203
|
-
}
|
204
|
-
|
205
112
|
a:hover, a:hover.addval, #uvalicense_read_all:hover {
|
206
113
|
color: blue
|
207
114
|
}
|
@@ -220,33 +127,6 @@ a.destructive:hover {
|
|
220
127
|
width: 40px;
|
221
128
|
}
|
222
129
|
|
223
|
-
.yui-u a, .yui-u a:active, .yui-u a:visited {
|
224
|
-
font-size: 11px;
|
225
|
-
color: #EDAF3D;
|
226
|
-
|
227
|
-
}
|
228
|
-
|
229
|
-
.yui-u a:hover {
|
230
|
-
color: #E7C584;
|
231
|
-
}
|
232
|
-
|
233
|
-
#uvalicense_read_all {
|
234
|
-
cursor: pointer;
|
235
|
-
}
|
236
|
-
|
237
|
-
#uvalicense_read_all,
|
238
|
-
#uvalicense p {
|
239
|
-
margin-left: 16px;
|
240
|
-
}
|
241
|
-
|
242
|
-
button {
|
243
|
-
min-height: 10px;
|
244
|
-
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
245
|
-
font-size: 11px;
|
246
|
-
height: 26px;
|
247
|
-
width: 60px;
|
248
|
-
right: 5px;
|
249
|
-
}
|
250
130
|
|
251
131
|
#appliedParams a#startOverLink {
|
252
132
|
font-size: 13px;
|
@@ -296,105 +176,6 @@ dl dd {
|
|
296
176
|
margin: 0 0 0.67em 0;
|
297
177
|
}
|
298
178
|
|
299
|
-
.home_buttons {
|
300
|
-
float: left;
|
301
|
-
width: 170px;
|
302
|
-
margin-top: 30px;
|
303
|
-
position: relative;
|
304
|
-
}
|
305
|
-
|
306
|
-
.libra_buttons {
|
307
|
-
position: relative;
|
308
|
-
}
|
309
|
-
|
310
|
-
.home_buttons a {
|
311
|
-
display: block;
|
312
|
-
margin-bottom: 1em;
|
313
|
-
}
|
314
|
-
|
315
|
-
.home_buttons img,
|
316
|
-
.libra_buttons img {
|
317
|
-
cursor: pointer;
|
318
|
-
position: relative;
|
319
|
-
z-index: 40;
|
320
|
-
}
|
321
|
-
|
322
|
-
.home_buttons ul,
|
323
|
-
.libra_buttons ul {
|
324
|
-
background: #CCD9F2;
|
325
|
-
border: 2px solid #7998c4;
|
326
|
-
display: none;
|
327
|
-
margin: -25px 2px 0 2px;
|
328
|
-
padding: 25px 0 5px 0;
|
329
|
-
position: absolute;
|
330
|
-
width: 141px;
|
331
|
-
z-index: 20;
|
332
|
-
-webkit-border-radius: 0 0 4px 4px;
|
333
|
-
-moz-border-radius: 0 0 4px 4px;
|
334
|
-
border-radius: 0 0 4px 4px;
|
335
|
-
-webkit-background-clip: padding-box;
|
336
|
-
-webkit-box-shadow: 0px 1px 3px #999;
|
337
|
-
-moz-box-shadow: 0px 1px 3px #999;
|
338
|
-
box-shadow: 0px 1px 3px #999;
|
339
|
-
}
|
340
|
-
|
341
|
-
.home_buttons ul {
|
342
|
-
top: 160px;
|
343
|
-
left: 0;
|
344
|
-
}
|
345
|
-
|
346
|
-
.libra_buttons ul {
|
347
|
-
top: 10px;
|
348
|
-
right: 0;
|
349
|
-
}
|
350
|
-
|
351
|
-
.libra_buttons ul.add_sub_menu {
|
352
|
-
width: 116px;
|
353
|
-
margin: 0 2px 0 2px;
|
354
|
-
}
|
355
|
-
|
356
|
-
/* .libra_buttons .add_work needs margin-top: 10px in IE7 */
|
357
|
-
/* " " AND .libra_buttons .learn_more needs 10px in IE8/9. New strategy? */
|
358
|
-
|
359
|
-
.home_buttons ul li,
|
360
|
-
.libra_buttons ul li {
|
361
|
-
border-top: 1px solid #b6c8de;
|
362
|
-
color: blue
|
363
|
-
cursor: pointer;
|
364
|
-
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
365
|
-
font-size: 13px;
|
366
|
-
font-weight: bold;
|
367
|
-
list-style: none;
|
368
|
-
margin: 0 8px;
|
369
|
-
padding: 8px 4px;
|
370
|
-
}
|
371
|
-
|
372
|
-
.home_buttons ul li:hover,
|
373
|
-
.libra_buttons ul li:hover {
|
374
|
-
background: #FEF7E5;
|
375
|
-
}
|
376
|
-
|
377
|
-
.home_buttons ul a,
|
378
|
-
.libra_buttons ul a {
|
379
|
-
border-top: 1px solid red;
|
380
|
-
}
|
381
|
-
|
382
|
-
.yui-g .yui-u {
|
383
|
-
width: 250px;
|
384
|
-
position: absolute;
|
385
|
-
right: 0;
|
386
|
-
}
|
387
|
-
|
388
|
-
.yui-u div#create-asset-box {
|
389
|
-
margin: 0;
|
390
|
-
width: 140px;
|
391
|
-
float: right;
|
392
|
-
padding: 0;
|
393
|
-
}
|
394
|
-
|
395
|
-
.yui-u div#create-asset-box img {
|
396
|
-
}
|
397
|
-
|
398
179
|
li.computing_id {
|
399
180
|
display: block;
|
400
181
|
width: 100%;
|
@@ -411,15 +192,6 @@ li.computing_id {
|
|
411
192
|
line-height: 160%;
|
412
193
|
}
|
413
194
|
|
414
|
-
.uvafield {
|
415
|
-
margin-left: 50px;
|
416
|
-
width: 500px;
|
417
|
-
margin-bottom: 20px;
|
418
|
-
}
|
419
|
-
|
420
|
-
.uvafield .editable-text {
|
421
|
-
font-size: 108%;
|
422
|
-
}
|
423
195
|
|
424
196
|
div #add-contributor-box {
|
425
197
|
margin-bottom: 20px;
|
@@ -438,32 +210,6 @@ table#file_assets {
|
|
438
210
|
margin-left: 15px;
|
439
211
|
}
|
440
212
|
|
441
|
-
#hd, #doc4 {
|
442
|
-
background-image: none;
|
443
|
-
background-color: transparent;
|
444
|
-
border: none;
|
445
|
-
padding: 0;
|
446
|
-
margin: 0;
|
447
|
-
width: 100%;
|
448
|
-
min-width: 1000px;
|
449
|
-
text-align: center;
|
450
|
-
}
|
451
|
-
|
452
|
-
#doc4 {
|
453
|
-
position: absolute;
|
454
|
-
top: 0;
|
455
|
-
left: 0;
|
456
|
-
width: 100%;
|
457
|
-
height: 100%;
|
458
|
-
overflow: auto;
|
459
|
-
}
|
460
|
-
|
461
|
-
|
462
|
-
#bd {
|
463
|
-
width: 960px;
|
464
|
-
margin: 0 auto;
|
465
|
-
padding: 0;
|
466
|
-
}
|
467
213
|
|
468
214
|
#container_login {
|
469
215
|
margin-top: 8px;
|
@@ -475,29 +221,9 @@ table#file_assets {
|
|
475
221
|
}
|
476
222
|
|
477
223
|
#hd {
|
478
|
-
|
479
|
-
}
|
480
|
-
|
481
|
-
.yui-g {
|
482
|
-
height: 78px;
|
483
|
-
width: 100%;
|
484
|
-
background-repeat: repeat-x;
|
485
|
-
color: #F3A729;
|
486
|
-
text-align: left;
|
487
|
-
}
|
488
|
-
|
489
|
-
#hd .yui-g {
|
490
|
-
text-align: left;
|
224
|
+
overflow: visible; /* override blacklight */
|
491
225
|
}
|
492
226
|
|
493
|
-
#hd div.yui-g div.yui-u {
|
494
|
-
text-align: right;
|
495
|
-
margin-top: 5px;
|
496
|
-
margin-right: 20px;
|
497
|
-
display: inline;
|
498
|
-
float: right;
|
499
|
-
z-index: 0;
|
500
|
-
}
|
501
227
|
|
502
228
|
#submitForRelease {
|
503
229
|
background: #DFEFFC;
|
@@ -531,31 +257,6 @@ table#file_assets {
|
|
531
257
|
text-align: left;
|
532
258
|
}
|
533
259
|
|
534
|
-
#libra_banner {
|
535
|
-
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
536
|
-
font-size: 38px;
|
537
|
-
}
|
538
|
-
|
539
|
-
#container2 {
|
540
|
-
width: 300px;
|
541
|
-
margin-left: 20px;
|
542
|
-
float: left;
|
543
|
-
}
|
544
|
-
|
545
|
-
#container2 a {
|
546
|
-
margin: 10px;
|
547
|
-
border: none;
|
548
|
-
text-align: left;
|
549
|
-
}
|
550
|
-
|
551
|
-
#frame, .yui-t2 #yui-main {
|
552
|
-
width: 960px;
|
553
|
-
margin-right: auto;
|
554
|
-
margin-left: auto; /* margin-top: 35px;*/
|
555
|
-
margin-top: 0;
|
556
|
-
margin-bottom: 35px;
|
557
|
-
}
|
558
|
-
|
559
260
|
#bd .sidebar {
|
560
261
|
margin: 0;
|
561
262
|
padding: 0;
|
@@ -626,52 +327,6 @@ body .ui-widget {
|
|
626
327
|
font-size: 13px;
|
627
328
|
}
|
628
329
|
|
629
|
-
#search {
|
630
|
-
height: 42px;
|
631
|
-
left: 0px;
|
632
|
-
position: static;
|
633
|
-
top: 0px;
|
634
|
-
width: 100%;
|
635
|
-
text-align: right;
|
636
|
-
border-radius: 0;
|
637
|
-
font-size: 100%;
|
638
|
-
padding: 0;
|
639
|
-
}
|
640
|
-
|
641
|
-
#search #form1 {
|
642
|
-
height: 25px;
|
643
|
-
width: 615px;
|
644
|
-
margin-left: 12px;
|
645
|
-
background-color: white;
|
646
|
-
margin-top: 7px;
|
647
|
-
border: none;
|
648
|
-
}
|
649
|
-
|
650
|
-
#search form {
|
651
|
-
padding: 5px;
|
652
|
-
}
|
653
|
-
|
654
|
-
#search form #q {
|
655
|
-
width: 590px;
|
656
|
-
float: left;
|
657
|
-
}
|
658
|
-
|
659
|
-
#search form input[type=image] {
|
660
|
-
padding: 0 6px;
|
661
|
-
float: right;
|
662
|
-
width: 77px;
|
663
|
-
height: 30px;
|
664
|
-
}
|
665
|
-
|
666
|
-
.yui-t2 #yui-main .yui-b {
|
667
|
-
border: none;
|
668
|
-
padding: 0;
|
669
|
-
margin-left: -15px;
|
670
|
-
left: 115px;
|
671
|
-
top: 0px;
|
672
|
-
width: 90%;
|
673
|
-
}
|
674
|
-
|
675
330
|
#content {
|
676
331
|
width: 720px;
|
677
332
|
float: right;
|
@@ -864,12 +519,7 @@ tr.document {
|
|
864
519
|
}
|
865
520
|
|
866
521
|
#results {
|
867
|
-
float: left;
|
868
|
-
min-height: 720px;
|
869
|
-
text-align: left;
|
870
522
|
border: 1px solid #C8C8C8;
|
871
|
-
width: 720px;
|
872
|
-
padding-bottom: 15px;
|
873
523
|
}
|
874
524
|
|
875
525
|
.document_show #cover_container h1 {
|
@@ -920,19 +570,6 @@ tr.document {
|
|
920
570
|
background-color: white;
|
921
571
|
}
|
922
572
|
|
923
|
-
#footer #container3 {
|
924
|
-
height: 160px;
|
925
|
-
width: 960px;
|
926
|
-
margin-right: auto;
|
927
|
-
margin-left: auto;
|
928
|
-
text-align: right;
|
929
|
-
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
930
|
-
font-size: 11px;
|
931
|
-
color: #FFF;
|
932
|
-
line-height: 21px;
|
933
|
-
padding-top: 15px;
|
934
|
-
}
|
935
|
-
|
936
573
|
#footer .contact_info {
|
937
574
|
float: left;
|
938
575
|
margin-bottom: 1.5em;
|
@@ -950,32 +587,6 @@ tr.document {
|
|
950
587
|
width: 100%;
|
951
588
|
}
|
952
589
|
|
953
|
-
#footer #container3 #federal_lib_logo {
|
954
|
-
float: left;
|
955
|
-
height: 50px;
|
956
|
-
width: 5%;
|
957
|
-
text-align: left;
|
958
|
-
}
|
959
|
-
|
960
|
-
#footer #container3 #hydra_logo {
|
961
|
-
float: left;
|
962
|
-
height: 50px;
|
963
|
-
width: 10%;
|
964
|
-
}
|
965
|
-
|
966
|
-
#footer #container3 #bottom_text {
|
967
|
-
float: left;
|
968
|
-
font-size: 11px;
|
969
|
-
font-weight: bold;
|
970
|
-
color: #B9CAE6;
|
971
|
-
height: 50px;
|
972
|
-
width: 85%;
|
973
|
-
}
|
974
|
-
|
975
|
-
#footer #container3 #bottom_text #federal_lib{
|
976
|
-
text-align: left;
|
977
|
-
line-height: 15px;
|
978
|
-
}
|
979
590
|
|
980
591
|
/* FOOTER */
|
981
592
|
#footer p{margin:0;}
|
@@ -1055,10 +666,6 @@ li div .license {
|
|
1055
666
|
width: 100%;
|
1056
667
|
}
|
1057
668
|
|
1058
|
-
#uvalicense dl {
|
1059
|
-
margin-top: -15px;
|
1060
|
-
}
|
1061
|
-
|
1062
669
|
table#file_assets td {
|
1063
670
|
border: 1px solid #CCC;
|
1064
671
|
}
|
@@ -1097,15 +704,15 @@ table#file_assets tr.file_asset td {
|
|
1097
704
|
width: 40%;
|
1098
705
|
}
|
1099
706
|
|
1100
|
-
.error, .alert, .notice, .success, .info {padding:0.8em;margin:0 auto 1em;border:2px solid #ddd;width: 50%;}
|
1101
|
-
.error, .alert {background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;}
|
1102
|
-
.notice {background:#fff6bf;color:#514721;border-color:#ffd324;}
|
1103
|
-
.success {background:#e6efc2;color:#264409;border-color:#c6d880;}
|
1104
|
-
.info {background:#d5edf8;color:#205791;border-color:#92cae4;}
|
1105
|
-
.error a, .alert a {color:#8a1f11;}
|
1106
|
-
.notice a {color:#514721;}
|
1107
|
-
.success a {color:#264409;}
|
1108
|
-
.info a {color:#205791;}
|
707
|
+
.msg.error, .msg.alert, .msg.notice, .msg.success, .msg.info {padding:0.8em;margin:0 auto 1em;border:2px solid #ddd;width: 50%;}
|
708
|
+
.msg.error, .msg.alert {background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;}
|
709
|
+
.msg.notice {background:#fff6bf;color:#514721;border-color:#ffd324;}
|
710
|
+
.msg.success {background:#e6efc2;color:#264409;border-color:#c6d880;}
|
711
|
+
.msg.info {background:#d5edf8;color:#205791;border-color:#92cae4;}
|
712
|
+
.msg.error a, .msg.alert a {color:#8a1f11;}
|
713
|
+
.msg.notice a {color:#514721;}
|
714
|
+
.msg.success a {color:#264409;}
|
715
|
+
.msg.info a {color:#205791;}
|
1109
716
|
|
1110
717
|
div#delete_dialog div {
|
1111
718
|
display: block;
|
@@ -1217,7 +824,6 @@ fieldset#citation_fieldset ul li fieldset legend {
|
|
1217
824
|
width: auto;
|
1218
825
|
}
|
1219
826
|
|
1220
|
-
.step #uvalicense,
|
1221
827
|
.step #peer_reviewed {
|
1222
828
|
margin-left: 5px;
|
1223
829
|
margin-top: 15px;
|
@@ -1231,7 +837,6 @@ fieldset#citation_fieldset ul li fieldset legend {
|
|
1231
837
|
margin-left: 5px;
|
1232
838
|
}
|
1233
839
|
|
1234
|
-
.step #uvalicense label,
|
1235
840
|
.step #peer_reviewed_fieldset label,
|
1236
841
|
.step #availability_fieldset label {
|
1237
842
|
font-size: 14px;
|
@@ -1394,10 +999,6 @@ dd.person ul input.editable-edit.edit {
|
|
1394
999
|
background-color: white;
|
1395
1000
|
}
|
1396
1001
|
|
1397
|
-
input[type="text"] {
|
1398
|
-
display: block;
|
1399
|
-
}
|
1400
|
-
|
1401
1002
|
input[type="submit"] {
|
1402
1003
|
font-size: 18px;
|
1403
1004
|
}
|
@@ -1447,51 +1048,10 @@ fieldset#publication_fieldset label {
|
|
1447
1048
|
display: block;
|
1448
1049
|
}
|
1449
1050
|
|
1450
|
-
#uvalicense_read_all {
|
1451
|
-
font-size: 13px;
|
1452
|
-
}
|
1453
|
-
|
1454
1051
|
.fl-uploader-footer-buttons {
|
1455
1052
|
width: 200px;
|
1456
1053
|
}
|
1457
1054
|
|
1458
|
-
#globalUtilNav {
|
1459
|
-
float: left;
|
1460
|
-
width: auto;
|
1461
|
-
margin: 0;
|
1462
|
-
}
|
1463
|
-
|
1464
|
-
#globalUtilNav em.small {
|
1465
|
-
font-size: .85em;
|
1466
|
-
font-weight: bold;
|
1467
|
-
color: #CADCF3;
|
1468
|
-
}
|
1469
|
-
|
1470
|
-
#globalUtilNav * {
|
1471
|
-
clear: both;
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
#globalUtilNav li {
|
1475
|
-
overflow: hidden;
|
1476
|
-
}
|
1477
|
-
|
1478
|
-
#globalUtilNav em.small {
|
1479
|
-
font-size: .85em;
|
1480
|
-
font-weight: bold;
|
1481
|
-
color: #CADCF3;
|
1482
|
-
}
|
1483
|
-
|
1484
|
-
div.NetbadgeLogin {
|
1485
|
-
position: relative;
|
1486
|
-
z-index: 5000;
|
1487
|
-
}
|
1488
|
-
|
1489
|
-
div.NetbadgeLogin .login {
|
1490
|
-
display: block;
|
1491
|
-
font-style: normal;
|
1492
|
-
margin: 0;
|
1493
|
-
}
|
1494
|
-
|
1495
1055
|
.login .button {
|
1496
1056
|
min-width: 135px;
|
1497
1057
|
padding: 2px 10px 2px 10px;
|
@@ -1545,27 +1105,6 @@ div.NetbadgeLogin .login {
|
|
1545
1105
|
padding: 0;
|
1546
1106
|
}
|
1547
1107
|
|
1548
|
-
.librar_login ul li:hover {
|
1549
|
-
}
|
1550
|
-
|
1551
|
-
div.NetbadgeLogin .login ul a:link,
|
1552
|
-
div.NetbadgeLogin .login ul a:visited {
|
1553
|
-
min-width: 135px;
|
1554
|
-
display: block;
|
1555
|
-
width: 100%;
|
1556
|
-
padding: 4px 10px;
|
1557
|
-
color: #FFF;
|
1558
|
-
text-decoration: none;
|
1559
|
-
border-bottom: 1px solid #132242;
|
1560
|
-
border-top: 1px solid #1B305C;
|
1561
|
-
}
|
1562
|
-
|
1563
|
-
div.NetbadgeLogin .login ul a:hover {
|
1564
|
-
background: #24426E;
|
1565
|
-
border-bottom: 1px solid #0C162B;
|
1566
|
-
border-top: 1px solid #51688A;
|
1567
|
-
}
|
1568
|
-
|
1569
1108
|
.login ul li, .login li {
|
1570
1109
|
text-align: left;
|
1571
1110
|
}
|
@@ -1578,125 +1117,3 @@ div.NetbadgeLogin .login ul a:hover {
|
|
1578
1117
|
background: #FFF;
|
1579
1118
|
padding: 1em;
|
1580
1119
|
}
|
1581
|
-
|
1582
|
-
h1.about_head {
|
1583
|
-
font-family: Georgia, "Times New Roman", Times, serif;
|
1584
|
-
text-align: left;
|
1585
|
-
font-size: 26px;
|
1586
|
-
margin-bottom: 8px;
|
1587
|
-
color: #5B4418;
|
1588
|
-
display: block;
|
1589
|
-
font-weight: normal;
|
1590
|
-
line-height: 1.2em;
|
1591
|
-
margin-bottom: 1em;
|
1592
|
-
width: 600px;
|
1593
|
-
}
|
1594
|
-
|
1595
|
-
.about_toc {
|
1596
|
-
text-align: left;
|
1597
|
-
}
|
1598
|
-
|
1599
|
-
.about_toc ul,
|
1600
|
-
.about_toc li {
|
1601
|
-
font-size: 14px;
|
1602
|
-
line-height: 1.3em;
|
1603
|
-
list-style: disc inside none;
|
1604
|
-
margin-left: 0;
|
1605
|
-
padding-left: 0;
|
1606
|
-
padding-bottom: 0.5em;
|
1607
|
-
}
|
1608
|
-
|
1609
|
-
.about_text {
|
1610
|
-
line-height: 1.33em;
|
1611
|
-
text-align: left;
|
1612
|
-
width: 600px;
|
1613
|
-
}
|
1614
|
-
|
1615
|
-
.about_text h2 {
|
1616
|
-
font-family: Georgia, "Times New Roman", Times, serif;
|
1617
|
-
text-align: left;
|
1618
|
-
font-size: 20px;
|
1619
|
-
color: #444;
|
1620
|
-
display: block;
|
1621
|
-
font-weight: normal;
|
1622
|
-
line-height: 1.2em;
|
1623
|
-
margin-bottom: 0;
|
1624
|
-
margin-top: 1.5em;
|
1625
|
-
text-transform: none;
|
1626
|
-
}
|
1627
|
-
|
1628
|
-
.about_text h3 {
|
1629
|
-
font-size: 15px;
|
1630
|
-
font-weight: bold;
|
1631
|
-
line-height: 1.2em;
|
1632
|
-
margin: 1.2em 0 0.25em 0;
|
1633
|
-
text-transform: none;
|
1634
|
-
}
|
1635
|
-
|
1636
|
-
.about_text li {
|
1637
|
-
padding-bottom: 0.5em;
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
.about_text .example_license {
|
1641
|
-
font-style: italic;
|
1642
|
-
margin: 0 5em 1em;
|
1643
|
-
}
|
1644
|
-
|
1645
|
-
/* ---------------------------------------------------------- */
|
1646
|
-
/* LIGHTBOXES
|
1647
|
-
/* ---------------------------------------------------------- */
|
1648
|
-
#lightboxes {
|
1649
|
-
width: 100%;
|
1650
|
-
height: 100%;
|
1651
|
-
margin: 0;
|
1652
|
-
padding: 0;
|
1653
|
-
list-style-type: none;
|
1654
|
-
text-align: left;
|
1655
|
-
overflow: hidden;}
|
1656
|
-
|
1657
|
-
#lightboxes li {
|
1658
|
-
width: 100%;
|
1659
|
-
height: 9999px;
|
1660
|
-
position: relative;
|
1661
|
-
background: rgba(0,0,0,.5);}
|
1662
|
-
|
1663
|
-
#lightboxes .box {
|
1664
|
-
position: absolute;
|
1665
|
-
width: 400px;
|
1666
|
-
height: 400px;
|
1667
|
-
left: 50%;
|
1668
|
-
top: 50px;
|
1669
|
-
border: 10px solid #999;
|
1670
|
-
margin-left: -230px;
|
1671
|
-
background-color: #fff;
|
1672
|
-
padding: 20px;}
|
1673
|
-
|
1674
|
-
#lightboxes h3 {
|
1675
|
-
font-weight: normal;
|
1676
|
-
font-size: 1.8461em;
|
1677
|
-
margin: 0 0 0.4583em 0;}
|
1678
|
-
|
1679
|
-
#lightboxes a.close {
|
1680
|
-
position: absolute;
|
1681
|
-
top: 20px;
|
1682
|
-
right: 20px;
|
1683
|
-
display: block;
|
1684
|
-
width: 20px;
|
1685
|
-
line-height: 20px;
|
1686
|
-
text-align: center;
|
1687
|
-
background-color: #ddd;
|
1688
|
-
text-decoration: none;
|
1689
|
-
font-weight: bold;
|
1690
|
-
color: #999;
|
1691
|
-
font-size: 1.2em;}
|
1692
|
-
|
1693
|
-
#lightboxes a.close:hover {
|
1694
|
-
background-color: #999;
|
1695
|
-
color: #fff;}
|
1696
|
-
|
1697
|
-
#lightboxes #close {
|
1698
|
-
background-color: transparent;
|
1699
|
-
z-index: -1;}
|
1700
|
-
/* ---------------------------------------------------------- */
|
1701
|
-
/* LIGHTBOXES
|
1702
|
-
/* ---------------------------------------------------------- */
|