Move theme contextual CSS to the Seven theme

Created on 26 July 2015, almost 9 years ago
Updated 15 June 2023, about 1 year ago

Follow-up to #2078803: Change contextual links background color to match the styleguide. β†’

Problem/Motivation

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

Contextual links are an administrative UI component that appears on the frontend of sites. It's important that they are 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

Closed: outdated

Version

9.5

Component
ContextualΒ  β†’

Last updated 16 days ago

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.

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.

Production build 0.69.0 2024