Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31462

Tool menu with categories is too dark

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Test Plan:
      Hide

      Easiest way to reproduce:

      Set the Sakai property value (This is set on nightly experimental)
      portal.toolcategories.dynamic=true

      • Login as admin
      • Go to Admin Workspace->Sites
      • Search for mercury, click on the mercury site to edit
      • Click Add/edit pages
      • Click a page there and Add/Edit properties
      • Add the property
        Name: sitePage.pageCategory
        Value: Test Category
      • Click Save
      • Go to the mercury site
        /portal/site/mercury

      At the bottom the style for the category and items under have a really dark background.

      Show
      Easiest way to reproduce: Set the Sakai property value (This is set on nightly experimental) portal.toolcategories.dynamic=true Login as admin Go to Admin Workspace->Sites Search for mercury, click on the mercury site to edit Click Add/edit pages Click a page there and Add/Edit properties Add the property Name: sitePage.pageCategory Value: Test Category Click Save Go to the mercury site /portal/site/mercury At the bottom the style for the category and items under have a really dark background.

      Description

      If you enable tool categories, via something like SAK-29484 or toolOrder.xml, the categories and everything under appear really dark. I feel like maybe the wrong color was chosen in the SCSS or this wasn't tested?

      In the _toolmenu.scss it has

                              .#{$namespace}toolsNav__category {
                                     background-color: darken( $text-color, 5% );
      

      Maybe this is supposed to be background color? In defaults.css the color for this is also text-color which feels like maybe why this isn't working. It looks like it wanted some type or expand/contract arrow at one time too

      $tool-sub-menu-background-color: lighten( $text-color, 5% ) !default;
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkelsey Molly Kelsey (Inactive)
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code