Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19895

Widget styles separation

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • n/a
    • None
    • None

    Description

      Please, refactor the LESS code so, that the styling of individual widgets will not be stored together with styles of other components.

      So, if a widget is used as a part of more than 1 "parent" component, please consider moving its styles into separate file. Please organize code in the way, that would assure, that a .less file describing component will provide only styling for the component itself + layout (positioning) for sub-components. (For example, a focus overlay's .less should contain only description of its own appearance + provide positions for subcomponents (breadcrumb, toolbar, target overlays, e.t.c.). Toolbar .less, in its turn, should provide only those styles, that describe its own appearance + provide positions for subcomponents (Drop-downs, buttons).

      In the case a component has slightly difference appearance in different context (like dark or light versions of drop-downs), please choose one styling as the "primary" and write all differentiating "variants" beneath using parents selectors to target different situations. Please, keep the code compact and don't repeat yourself

      Attachments

        Activity

          People

            Unassigned Unassigned
            jurij.burkanov-obsolete@ez.no Jurij Burkanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 7 hours
                3d 7h