From 0167743494facb75ca7735dbf91e5b0d593af923 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 10 Jan 2014 12:45:30 -0500 Subject: [PATCH] Bug 11381 - IDreamBooks too close to title on bootstrap Content-Type: text/plain; charset="utf-8" Styling of IDreamBooks elements is not correct in the bootstrap theme because the relevant CSS was not transferred from the prog theme. This patch adds it back. To test, switch to the bootstrap theme and enable IDreamBooks system preferences in the OPAC, particularly IDreamBooksReadometer. Find a book in the OPAC which shows IDreamBooks review data and confirm that everything looks correct. --- koha-tmpl/opac-tmpl/bootstrap/css/opac.css | 41 +++++++++++++++++++++ koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 50 ++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css index d9a22de..99719d5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css +++ b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css @@ -2232,6 +2232,47 @@ td img { .copiesrow { clear: both; } +#idreambooksreadometer { + float: right; +} +a.idreambooksrating { + font-size: 30px; + color: #29ADE4; + padding-left: 85px; + line-height: 30px; + text-decoration: none; +} +.idreambookslegend { + font-size: small; +} +a.reviewlink, +a.reviewlink:visited { + text-decoration: none; + color: black; + font-weight: normal; +} +.idreambookssummary a { + color: #707070; + text-decoration: none; +} +.idreambookssummary img, +.idbresult img { + vertical-align: middle; +} +.idbresult { + color: #29ADE4; + text-align: center; + margin: 0.5em; + padding: 0.5em; +} +.idbresult a, +.idbresult a:visited { + text-decoration: none; + color: #29ADE4; +} +.idbresult img { + padding-right: 6px; +} .shadowed { -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less index 8fb8bf2..4e1e422 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less @@ -2265,4 +2265,54 @@ td img { clear : both; } +#idreambooksreadometer { + float: right; +} + +a.idreambooksrating { + font-size: 30px; + color: #29ADE4; + padding-left: 85px; + line-height: 30px; + text-decoration: none; +} + +.idreambookslegend { + font-size: small; +} + +a.reviewlink, +a.reviewlink:visited { + text-decoration: none; + color: black; + font-weight: normal; +} + +.idreambookssummary a { + color: #707070; + text-decoration: none; +} + +.idreambookssummary img, +.idbresult img { + vertical-align: middle; +} + +.idbresult { + color: #29ADE4; + text-align: center; + margin: 0.5em; + padding: 0.5em; +} + +.idbresult a, +.idbresult a:visited { + text-decoration: none; + color: #29ADE4; +} + +.idbresult img { + padding-right: 6px; +} + @import "responsive.less"; -- 1.7.9.5