From f2c61429944140abfd0a097bdb50b03e08ef569b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 10 Jan 2014 12:45:30 -0500 Subject: [PATCH] Bug 11381: improve styling of IDreamBooks content in bootstrap theme 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. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works as described. Tested with "The help". Signed-off-by: Galen Charlton --- 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 d9a22de610..99719d5ef4 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 8fb8bf2a74..4e1e42200e 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"; -- 2.39.5