You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org> on 2007/05/03 20:51:15 UTC

[jira] Created: (ADFFACES-483) @agent support for icons

@agent support for icons
------------------------

                 Key: ADFFACES-483
                 URL: https://issues.apache.org/jira/browse/ADFFACES-483
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
          Components: Skinning
    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
            Reporter: Jeanne Waldman
             Fix For: 1.0.1-incubating-core-SNAPSHOT


We have @agent support for skin selectors that are not icons, but not for icons.
It would be useful to have different icons for ie than for gecko. For instance, we might need different margins. And we could do this:

  af|foo::bar-icon {
    content: url(...);
    margin-left: 2px
  }
@agent {
  af|foo::bar-icon {
    margin-left: 5px
  }
}

What we have to do now is introduce a styleclass that goes around the icon in a span.
  af|foo::bar-icon {
    content: url(...);
  }
  af|foo::bar-icon-style {
    margin-left: 2px
  }
@agent {
  af|foo::bar-icon-style {
    margin-left: 5px
  }
}

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


[jira] Commented: (ADFFACES-483) @agent support for icons

Posted by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/ADFFACES-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493518 ] 

Jeanne Waldman commented on ADFFACES-483:
-----------------------------------------

I meant @agent ie in  my example above. @agent alone does nothing.

> @agent support for icons
> ------------------------
>
>                 Key: ADFFACES-483
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-483
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>          Components: Skinning
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Jeanne Waldman
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>
> We have @agent support for skin selectors that are not icons, but not for icons.
> It would be useful to have different icons for ie than for gecko. For instance, we might need different margins. And we could do this:
>   af|foo::bar-icon {
>     content: url(...);
>     margin-left: 2px
>   }
> @agent {
>   af|foo::bar-icon {
>     margin-left: 5px
>   }
> }
> What we have to do now is introduce a styleclass that goes around the icon in a span.
>   af|foo::bar-icon {
>     content: url(...);
>   }
>   af|foo::bar-icon-style {
>     margin-left: 2px
>   }
> @agent {
>   af|foo::bar-icon-style {
>     margin-left: 5px
>   }
> }

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