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

wrong theme css class at body element

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.0
    • Fix Version/s: 8.5.2
    • Component/s: CSS, Theme
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1, ZK 8.5.2 S2

      Description

      Steps to Reproduce

      include and set a preferred theme

      	<library-property>
      		<name>org.zkoss.theme.preferred</name>
      		<value>olive</value>
      	</library-property>
      

      Actual Result

      While the correct style sheet is being loaded the <body> element still indicates the "iceblue"
      theme

      Expected Result

      the correct style classs being added to the root element, allowing to apply theme specific style customization, and avoid confusion which theme is currently active.

        Attachments

          Activity

            People

            • Assignee:
              rudyhuang rudyhuang
              Reporter:
              cor3000 cor3000
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 1 hour, 15 minutes Remaining Estimate - 2 hours, 45 minutes
                2h 45m
                Logged:
                Time Spent - 1 hour, 15 minutes Remaining Estimate - 2 hours, 45 minutes
                1h 15m