diff --git a/src/main/webapp/dataset.xhtml b/src/main/webapp/dataset.xhtml index 4f23d4c7b44..4de5e5ad5b2 100644 --- a/src/main/webapp/dataset.xhtml +++ b/src/main/webapp/dataset.xhtml @@ -36,8 +36,9 @@ or (DatasetPage.workingVersion.deaccessioned and DatasetPage.canUpdateDataset()))}"/> + diff --git a/src/main/webapp/file-download-button-fragment.xhtml b/src/main/webapp/file-download-button-fragment.xhtml index 9bf812249d4..9057be56fe5 100644 --- a/src/main/webapp/file-download-button-fragment.xhtml +++ b/src/main/webapp/file-download-button-fragment.xhtml @@ -10,31 +10,13 @@ xmlns:cc="http://java.sun.com/jsf/composite" xmlns:o="http://omnifaces.org/ui" xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs"> + + + - - - - + +
  • Users may not request access to files.
  • +
    - + -
  • - #{bundle['file.downloadBtn.format.citation']} - -
  • - + + + + + + - + - + diff --git a/src/main/webapp/file.xhtml b/src/main/webapp/file.xhtml index 34717bfae3b..999213f6b0b 100644 --- a/src/main/webapp/file.xhtml +++ b/src/main/webapp/file.xhtml @@ -18,8 +18,9 @@ + diff --git a/src/main/webapp/resources/css/structure.css b/src/main/webapp/resources/css/structure.css index a8867e72ce6..5e2832c397f 100644 --- a/src/main/webapp/resources/css/structure.css +++ b/src/main/webapp/resources/css/structure.css @@ -735,6 +735,23 @@ div[id$="filesTable"] thead[id$="filesTable_head"] th.ui-selection-column .ui-ch word-break: break-word; } +/* REQUEST ACCESS DOWNLOAD OPTION LINK */ +div[id$="requestPanel"].iq-dropdown-list-item {display:list-item !important;} +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap} +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink:focus, +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink:hover{color:#262626;text-decoration:none;background-color:#f5f5f5} +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink.active, +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink.active:focus, +div[id$="requestPanel"].iq-dropdown-list-item>a.ui-commandlink.active:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0} +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap} +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled, +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled:focus, +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled:hover{background-color:transparent;color:#777;} +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled:focus, +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)} +div[id$="requestPanel"].iq-dropdown-list-item.disabled{cursor:not-allowed;} +div[id$="requestPanel"].iq-dropdown-list-item.disabled>span.ui-commandlink.ui-state-disabled{pointer-events:none;} + /* PAGINATION */ div[id$="filesTable"] .ui-paginator { font-weight: normal;