Move theme toolbar CSS to the Seven theme

Created on 26 July 2015, almost 9 years ago
Updated 8 May 2023, about 1 year ago

Problem/Motivation

See discussion in: #2195695: Admin UIs on the front-end are difficult to theme โ†’

The toolbar is an administrative UI component that appears on the frontend of sites. It's important that it is consistent with the Seven style guide and that other admin themes can control the look and feel.

Proposed resolution

Our CSS standards โ†’ define module CSS as: โ€œthe minimal styles needed to get the module's functionality working.โ€
Theme CSS is defined as: โ€œextra styles to make the module's functionality aesthetically pleasing. โ€
Move the theme styling into the Seven theme
Add a library alter hook to load the admin theme CSS. Example: ๐Ÿ› Node preview bar has usability issues, is difficult to use on mobile, not usable without Bartik, and does not align with the Seven style guide and current toolbar designs Postponed: needs info

Remaining tasks

Write the patch.
Test.

User interface changes

None

API changes

None

Data model changes

None

๐Ÿ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
Toolbarย  โ†’

Last updated 3 days ago

  • Maintained by
  • ๐Ÿ‡ซ๐Ÿ‡ทFrance @nod_
Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom LewisNyman

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States bnjmnm Ann Arbor, MI

    Neds issue summary as

    • This one refers to Seven, a now-removed theme
    • There's mention of "Add a library alter hook to load the admin theme CSS". The claro theme now styles the toolbar on the admin & default themes. We should check if that change meets that specific need #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future โ†’
    • Part of the justification to doing this is adhering to as-documented CSS standards Our CSS standards define module CSS as: โ€œthe minimal styles needed to get the module's functionality working.โ€
      Theme CSS is defined as: โ€œextra styles to make the module's functionality aesthetically pleasing. โ€. Given this issue is 8+ years old, we should establish that this is still worth pursuing even if it might disrupt the way many sites are accustomed to.
Production build 0.69.0 2024