Refactor Claro's file stylesheet

Created on 29 June 2022, over 2 years ago
Updated 25 September 2023, about 1 year ago

Problem/Motivation

This is part of the CSS modernization initiative.

The first issue was regarding the file stylesheet .

Steps to reproduce

The stylesheet at https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/themes/claro/css/components/file.pcss.css needs to be refactored to make use of modern CSS and Drupal core's PostCSS tooling.

Proposed resolution

Use CSS Logical Properties where appropriate
Use CSS nesting where appropriate

Remaining tasks

We need two patches. One for Drupal 9.5.x and one for Drupal 10.0.x
We need a followup issue to refactor this component in Drupal 10.0.x to make use of component-level CSS custom properties.

User interface changes

None. There should be no visual differences.

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Claro 

Last updated about 6 hours ago

Created by

🇸🇮Slovenia sasanikolic

Live updates comments and jobs are added and updated live.
  • 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.71.5 2024