Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2-core
    • Fix Version/s: None
    • Component/s: Skinning
    • Labels:
      None

      Description

      Working in my Google Summer of Code, I have found that It would be cool, when you define a css skin file that you can do something like this:

      @constants {
      greencolor: #97f099;
      f90color : #f90;
      }

      .AFPanelNavigationHorizontal ul li.off a:hover, .AFPanelNavigationHorizontal ul li:hover a, .AFPanelNavigationHorizontal ul li.over a {
      background: greencolor;
      color: f90color;
      }

      Like in server side CSS in PHP.

      I have created a patch that adds this feature. With this, yo can define local constants variables in a .css file that is used as trinidad skin file.
      (If you define a constant in a base skin, the extended skins don't see it). It's a simple but powerful idea.

      Suggestion for improvements of this topic are welcome.

        Activity

        Leonardo Uribe created issue -
        Leonardo Uribe made changes -
        Field Original Value New Value
        Attachment patchConstants6.patch [ 12361230 ]
        Leonardo Uribe made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development