You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Michael Lipp (JIRA)" <je...@portals.apache.org> on 2005/09/20 10:06:28 UTC

[jira] Created: (JS2-370) portlet css classes: links

portlet css classes: links
--------------------------

         Key: JS2-370
         URL: http://issues.apache.org/jira/browse/JS2-370
     Project: Jetspeed 2
        Type: Bug
  Components: Layout  
    Versions: 2.0-M4    
 Environment: JBoss/HSQL
    Reporter: Michael Lipp


Links in tables and table headers (sortable columns) look bad because the css classes define a fixed font size for links. 

I think this is wrong. PLT.C.1: "The entity [Anchor] should use the default classes when embedding anchor tags." I'm not a native English speaker, but I think "default" does not necessary imply that there must be one specification for all. I'd read it as "take the default from the environment", i.e. in a context where font-size is 24pt, anchors should use that size also. Therefore I think the size specification for links should be removed from styles.css:

/* font */
.portlet-tigris A:link,
.portlet-tigris A:visited,
.portlet-tigris A:hover,
.portlet-tigris A:active
{
    font-family: Verdana, Helvetica, Arial, sans-serif;
    voice-family: "\"}\"";
    voice-family: inherit;
}
 
Now links links in column headers have the right size, but are barely readable because they are blue on dark blue. This can be fixed by adding:

.portlet-section-header A:link,
.portlet-section-header A:visited,
.portlet-section-header A:hover,
.portlet-section-header A:active
{
    color: #fff;
}


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org