Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2

ZCS - CSS with component name

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • None
    • ZK Loader
    • None

      https://sourceforge.net/tracker/?func=detail&aid=1490787&group_id=152762&atid=785194

      I propose to implement a feature to "render" also css
      files (not only html).

      For example:
      if I want to modify the look of a listfoot component I
      have to write in a css file something like this:

      div.listbox-foot {
      background: #EEE; border-top: 1px solid #BBB;
      }

      but (in my opinion) it would be better if you could
      write like this:

      listfoot {
      background: #EEE; border-top: 1px solid #BBB;
      }

      This is a simple example, but in this way you could use
      the real name of the component in the css file, and not
      tweak with the html that will be rendered by ZK.

      This permits also to be more XUL compatible, and
      simplify future porting to other rendering engines...
      (I hope someday I could start the Mozilla-XUL engine...

      Bye

            Unassigned Unassigned
            asukachen asukachen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: