Bugzilla – Attachment 15193 Details for
Bug 9003
Add css fix for opac news items with strong and em
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9003 - Add css fix for opac items with strong and em
SIGNED-OFF-Bug-9003---Add-css-fix-for-opac-items-w.patch (text/plain), 1.74 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-08 19:06:18 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9003 - Add css fix for opac items with strong and em
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-08 19:06:18 UTC
Size:
1.74 KB
patch
obsolete
>From 0a92c764ca2946bf00c3ab9d205b228a356db994 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 1 Nov 2012 09:26:41 +1100 >Subject: [PATCH] [SIGNED-OFF] Bug 9003 - Add css fix for opac items with > strong and em > >Currently, if you have nested strong and em tags in the opac, you will only get the properties of the inner tag. This seems to be due to reset-fonts-grids.css resetting the font weight and style (for both strong and em) to normal. > >So if you have strong as your outer tag and em as your inner tag, you'll have italics but no bold. > >To test: > >Before applying the patch... > >1) Put <em> and <strong> tags around some text in the opacnav, opac news, opacheader, or any other area of the opac where you can enter html text. >2) Look at the opac and notice that only the inner tag styles are being applied to the text > >Apply the patch > >3) Refresh the opac (you may need to bypass or clear your browser cache for the new style to pick up) >4) Note that both the inner and outer <em> and <strong> tags are being applied to the text (i.e. your text should be bold and italicized) > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Small change that works. No errors. >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index cdf7a4d..427755e 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -1573,6 +1573,11 @@ div.message { > padding : 3px 5px; > } > >+strong em, em strong { >+ font-weight: bold; >+ font-style: italic; >+} >+ > #opac-main-search #listsmenu a, #opac-main-search #listsmenu h4 { > color : #000; > font-weight : normal; >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9003
:
13161
|
13162
|
15127
|
15193
|
16833