myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Havelka (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1345) Icon-based skin selectors inheritance does not work
Date Mon, 15 Dec 2008 15:57:44 GMT
Icon-based skin selectors inheritance does not work
---------------------------------------------------

                 Key: TRINIDAD-1345
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1345
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions: 1.0.10-core
            Reporter: Tomas Havelka


Skin selectors, which are icon-based (ends with -icon) cannot be inherited and overriden in
agent-specific rules. Example follows:

/* this style should be applicable to any agent */
af|inputColor::swatch-overlay-icon {
  content: url(/adf/base-skin/images/palette.gif); 
  position: relative;
  left: -15px;
}

/* and for IE just override top position */
@agent ie {
  af|inputColor::swatch-overlay-icon {
    top: 1px;
  }
}

But, example above does not work. 
The workaround is to copy whole style from "default" selector to agent specific one and define
additional properties. But this causes redundant style specification. I found, that this is
because content(...) is specified in discussed selector.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message