Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3096

Rendering of buttons under a toolbar under a tool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.6, 4.9.0
    • 4.2.0
    • Theming and ergonomy
    • None

      I have a tool, the tree panel defines a tbar, whose items are buttons (as you can see with the 'user' icon) and at last a container with four buttons.
      The buttons are rendered differently (colors are not the same)

      The CSS rule for the purple seems to be the one in theme-ametys-cms-all_4.css:2994

      .x-toolbar-item.x-btn .a-btn-glyph:before {
          color: #38265f;
      }
      

      The CSS rule for the grey seems to be the one in theme-ametys-cms-all_4.css:1807

      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-small .x-btn-icon-el,
      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-medium .x-btn-icon-el,
      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-large .x-btn-icon-el,
      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-toolbar-small .x-btn-icon-el,
      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-toolbar-medium .x-btn-icon-el,
      .a-tool-layout-zoned-notfocused .x-btn.a-btn-light.x-btn-default-toolbar-large .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-small .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-medium .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-large .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-toolbar-small .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-toolbar-medium .x-btn-icon-el,
      .a-tool-layout-zoned-focused .x-btn.a-btn-light.x-btn-default-toolbar-large .x-btn-icon-el {
          color: #575757;
      }
      

            raphael Raphaël Franchet
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: