Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7672

Handle CSS3 format in theme styling files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: Themes (deprecated)
    • Upgrade notes:
      Hide

      The flute CSS parser has now been replaced by phloc-css (https://code.google.com/p/phloc-css/)

      The following dependencies have been removed from the dependencyManagement of Nuxeo root pom:

      <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>milyn-magger</artifactId>
      <version>1.3.1-NXP-7750</version> <!-- removed duplicate batik classes -->
      </dependency>
      <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>milyn-commons</artifactId>
      <version>1.3.1</version>
      </dependency>
      <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>flute</artifactId>
      <version>1.3-gg2</version>
      </dependency>
      <dependency>
      <groupId>org.w3c</groupId>
      <artifactId>sac</artifactId>
      <version>1.3</version>
      <groupId>com.phloc</groupId>
      <artifactId>phloc-css</artifactId>
      <version>3.3.1</version>
      </dependency>

      Show
      The flute CSS parser has now been replaced by phloc-css ( https://code.google.com/p/phloc-css/ ) The following dependencies have been removed from the dependencyManagement of Nuxeo root pom: <dependency> <groupId>org.milyn</groupId> <artifactId>milyn-magger</artifactId> <version>1.3.1- NXP-7750 </version> <!-- removed duplicate batik classes --> </dependency> <dependency> <groupId>org.milyn</groupId> <artifactId>milyn-commons</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>org.milyn</groupId> <artifactId>flute</artifactId> <version>1.3-gg2</version> </dependency> <dependency> <groupId>org.w3c</groupId> <artifactId>sac</artifactId> <version>1.3</version> <groupId>com.phloc</groupId> <artifactId>phloc-css</artifactId> <version>3.3.1</version> </dependency>

      Description

      For instance, the following change was made for the parsing to pass:

       /*-- =Buttons */
       .button, input.button {
       	box-shadow:inset 0px 1px 0px 0px #fff;
      -	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f5f2f5), color-stop(1, #dfdfdf) );
      -	background:-moz-linear-gradient( center top, #f5f2f5 5%, #dfdfdf 100% );
      -	background: linear-gradient( center top, #f5f2f5 5%, #dfdfdf 100% );
      -	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f2f5', endColorstr='#dfdfdf');
       	background-color:#dfdfdf;
       	border-radius:3px;
       	border:1px solid #c6c6c6;
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: