diff --git a/templates/favourite/css/custom.css b/templates/favourite/css/custom.css
index f09c2799b..0b4960cd0 100644
--- a/templates/favourite/css/custom.css
+++ b/templates/favourite/css/custom.css
@@ -808,6 +808,73 @@ video.responsive-vid {
}
/* ### END TWITTER WIDGET ### */
+/** ### CSS for the citation project ### **/
+.radio-button input[type="radio"],
+input.radio {
+ float: left;
+ clear: none;
+ margin: 2px 0 0 2px;
+}
+
+.radio-button label {
+ float: left;
+ clear: none;
+ display: block;
+ padding: 0px 1em 0px 8px;
+ font-weight: normal;
+}
+
+#exportCitationButton[disabled] {
+ cursor: not-allowed;
+}
+
+@-moz-document url-prefix() {
+ .radio-button label {
+ margin: 2px 0 0 0;
+ }
+}
+
+/* class for citation button on big screens */
+.citation-button-large {
+ position:fixed;
+ top:50%;
+ display: block;
+ background-color:#2F9EC2;
+ color:white;
+ padding: 16px;
+ border-radius: 0 10px 10px 0;
+ transition: 0.5s;
+}
+
+.citation-button-large i {
+ padding: 1px 2px 1px 2px;
+}
+
+.citation-button-large span {
+ font-family: Arial;
+ font-weight: 700;
+ display: none;
+ font-size: 25px;
+}
+
+.citation-button-large:hover {
+ padding-right: 25px;
+ color: white;
+}
+
+.citation-button-large:hover span {
+ display: inline-block;
+ color: white;
+}
+
+.citation-button-large:hover img {
+ display: none;
+}
+
+
+/* ### CSS for Citation Project Ends Here ###*/
+
+
@media only screen and (max-width: 1024px) {
.fav2buttons div[id^="favglyph-box"] i,
.fav2buttons div[id*=" favglyph-box"] i {
diff --git a/templates/favourite/images/reactome/citation.png b/templates/favourite/images/reactome/citation.png
new file mode 100644
index 000000000..b6aafb8f0
Binary files /dev/null and b/templates/favourite/images/reactome/citation.png differ
diff --git a/templates/favourite/index.php b/templates/favourite/index.php
index d91dc84e6..0c1114550 100644
--- a/templates/favourite/index.php
+++ b/templates/favourite/index.php
@@ -26,6 +26,9 @@
JHtml::_('jquery.framework');
$doc->addStyleSheet($this->baseurl. '/templates/' .$this->template. '/bootstrap/favth-bootstrap.css');
$doc->addScript($this->baseurl. '/templates/' .$this->template. '/bootstrap/favth-bootstrap.js');
+//Custom: adding the js files for the citation project
+$doc->addScript($this->baseurl. '/templates/' .$this->template. '/js/clipboard.min.js');
+$doc->addScript($this->baseurl. '/templates/' .$this->template. '/js/citation-query.js');
// Custom: Adding autocomplete javascript
JHtml::_('script', 'jui/jquery.autocomplete.min.js', array('version' => 'auto', 'relative' => true));
@@ -85,7 +88,7 @@
-
+
@@ -521,7 +524,6 @@ function gtag(){dataLayer.push(arguments)};
-
+
+ countModules('cite-us')) { ?>
+
+
+ Cite Us!
+
+
+
+
+
+
+