Bugzilla – Attachment 13161 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]
Bug 9003 - Add css fix for opac news items with strong and em
0001-Bug-9003-Add-css-fix-for-opac-news-items-with-strong.patch (text/plain), 1.37 KB, created by
David Cook
on 2012-10-31 22:29:58 UTC
(
hide
)
Description:
Bug 9003 - Add css fix for opac news items with strong and em
Filename:
MIME Type:
Creator:
David Cook
Created:
2012-10-31 22:29:58 UTC
Size:
1.37 KB
patch
obsolete
>From 6b06e4545fdcec3ef6c27aa8b95e05e0f3dad74b 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] Bug 9003 - Add css fix for opac news items with strong and > em >Content-Type: text/plain; charset="utf-8" > >Currently, if you have nested strong and em tags in Opac News, you will only get the properties of the inner tag, since reset-fonts-grids.css resets the font weight and style (for both strong and em) to normal. > >So if you have em as your inner tag, you'll have italics but reset-fonts-grids.css also makes em have a font-weight of normal, so your strong tag is bypassed. > >I suggest adding some css that takes into account this descendant/nested situation, so that users can actually both bold and italicize news items. >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 7ab95e0..d2ad4a4 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -1550,6 +1550,11 @@ div.message { > padding : 3px 5px; > } > >+#news strong > em, #news 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.7.4 >
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