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

Introduce mixin to customize selection toolbar appearance and position

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.2
    • Component/s: Web UI
    • Release Notes Summary:
      Introduces mixin that allows selection toolbar appearance and position customisation. Adds theme variable for selection color and uses this by default.
    • Tags:
    • Sprint:
      nxGang Sprint 10.2.4
    • Story Points:
      1

      Description

      A lot of users are feeling confused with the selection actions - because of the duplication and the lack of visual impact of the selection toolbar.

      As a first step to solve this usability problem, the bgcolor of the toolbar should respect the var(--nuxeo-primary-color); assuring a higher impact and immediate visual acknowledgement of its appearance.

      The action icons and clickable texts should all be #FFF and assume the --primary-text-color and #000 on hover.
      The 'Clear' option should be grouped with 'Display Selection'

      Other improvement

      • Allow mixins for

      Implementation
      The following variables were added to themes to allow color customization:

       --nuxeo-selection-toolbar-background: var(--nuxeo-primary-color);
       --nuxeo-selection-toolbar-text: #fff;
       --nuxeo-selection-toolbar-link: #fff;
       --nuxeo-selection-toolbar-link-hover: #000;
      

      Also added the --nuxeo-selection-toolbar mixin for further customization (including positioning).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.