Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5265

Normalize less/css scaffolding across webapps

      In order to align the styles across the webapps, the scaffolding of .less files should be normalized.

      In the end the scaffolding should look like:

      styles.less
      ├─ cam-variables.less       (⤍ commons-ui)
      |  └─ variables.less        (⤍ commons-ui - bootstrap)
      ├─ variables.less
      ├─ cam-bootstrap.less       (⤍ commons-ui)
      |  ├─ mixins.less           (⤍ commons-ui - bootstrap)
      |  ├─ normalize.less        (⤍ commons-ui - bootstrap)
      |  ├─ print.less            (⤍ commons-ui - bootstrap)
      |  ├─ scaffolding.less      (⤍ commons-ui - bootstrap)
      |  └─ ...                   (⤍ commons-ui - bootstrap)
      ├─ commons-widget-a.less    (⤍ commons-ui - widgets)
      ├─ commons-widget-b.less    (⤍ commons-ui - widgets)
      ├─ webapp-feat-a.less
      ├─ webapp-feat-b.less
      ├─ webapp-feat-c.less
      └─ ...
      

      The grunt task configuration (in commons-ui) should provide import paths to

      • the commons-ui widgets
      • the webapp plugins
        In a way that would not require any changes when adding a commons widget or webapp plugin.

        This is the controller panel for Smart Panels app

            [CAM-5265] Normalize less/css scaffolding across webapps

            Valentin added a comment -

            The goal of having a similar scaffolding is reached.
            Some design glitches might have been introduced and this OK as styles will benefits from an general lifting.

            Valentin added a comment - The goal of having a similar scaffolding is reached. Some design glitches might have been introduced and this OK as styles will benefits from an general lifting.

            Valentin added a comment -

            The problems with less compilation (on jenkins only) have been solved by downgrading the grunt-contrib-less task to its previously used version

            Valentin added a comment - The problems with less compilation (on jenkins only) have been solved by downgrading the grunt-contrib-less task to its previously used version

              Unassigned Unassigned
              valentin.vago Valentin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: