You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2005/08/07 05:34:35 UTC

[jira] Commented: (FOR-604) The document-v* warning element does not get rendered properly

    [ http://issues.apache.org/jira/browse/FOR-604?page=comments#action_12317890 ] 

Gavin commented on FOR-604:
---------------------------

This has been put in by design it seems, the leather-dev basic.css has it also as well as the pelt basic.css.
The 'Note' element used for both 'Note' and 'Important' has extra padding, line-height and font-size attributes.

This is the pelt/css/basic.css

.note, .warning, .fixme {
  border: solid black 1px;
  margin: 1em 3em;
}

.note .label {
  background: #369;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
}
.note .content {
  padding: 5px 10px;
  background: #F0F0FF;
  color: black;
  line-height: 120%;
  font-size: 90%;
}
.warning .label {
  background: #C00;
  color: white;
}
.warning .content {
  background: #FFF0F0;
  color: black;
}
.fixme .label {
  background: #C6C600;
}

The leather-dev/css/basic.css is the same with one exception :

.note .content is set at 170% whereas in pelt it is 120%.

So either you leave it by design, or add padding, line-height and font-size to the .warning and .fixme, or remove those from .note.

Let me know and I'll make the changes if you like.

Check out http://localhost:8888/samples/sample.html also.

Gav...

> The document-v* warning element does not get rendered properly
> --------------------------------------------------------------
>
>          Key: FOR-604
>          URL: http://issues.apache.org/jira/browse/FOR-604
>      Project: Forrest
>         Type: Bug
>     Versions: 0.8-dev
>     Reporter: David Crossley
>      Fix For: 0.8-dev
>  Attachments: 604-screenshot.png
>
> The "warning" element is rendered differently to the "note" element. Perhaps it only happens with the "pelt" skin - not yet verified. See screenshot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira