Bug 1012763
Summary: | Twitter bootstrap CSS makes <code> elements pink in DocBuilder | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Matthew Casperson <mcaspers> |
Component: | DocBook-builder | Assignee: | Matthew Casperson <mcaspers> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1 | CC: | cbredesen, lnewson |
Target Milestone: | --- | ||
Target Release: | 1.8 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-13 21:10:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1050740 | ||
Bug Blocks: |
Description
Matthew Casperson
2013-09-27 05:50:01 UTC
Fixed and deployed to docbuilder. This was already commented out, but I set the background-color and color values in pressgang.css to override anything in the bootstrap css file. Failing this as the change applied only affects elements that use the "code" class. The problem here is that the <code> element is having the bootstrap style applied. Changed rule to match the element, not the class. Use the presszilla_fixes branch to test. Verified that this works for the current brands used. However if a brand were to set something like: code { color: blue; } then it will not be applied due to the important inherit rule. Anyways since we have opened BZ#1113314 to deal with this properly I'm happy to move this to VERIFIED as an interim solution. I'll leave this decision up to Matt though in-case he want's to change it. |