Problem/Motivation

The file themes/claro/css/componenets/dialog.css contains the following line which is calling a gif that doesn't exist in themes/claro/images
background-image: url(../../images/loading-small.gif);
This is resulting in a 404 error.

Proposed resolution

I think the problem is caused from importing an old version of claro when compiling. recompiling the scss files could solve the issue.

After the fix

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mhawwari created an issue. See original summary.

mhawwari’s picture

Status: Active » Needs review

I recompiled the scss with the latest version of core that no longer references loading-small.gif. It needs to be tested thoroughly.

rajab natshah’s picture

Title: Fix call to non-existent file loading-small.gif » Fix call to non-existent file loading-small.gif by recompiling the scss files for new changes in Claro admin theme
mhawwari’s picture

I think to avoid this problem in the future with each core update we can either @import the claro css files directly using vanilla css or import the claro library claro/global-styling directly rather than referencing the scss files.

rajab natshah’s picture

Thank you, Hawwari for reporting and patching <3
It's a very good idea. To be synced with Razem.
We could have a bash command file. Or a sub gulp process function to copy that for us on compile.
This may ease the update after Drupal 9.x releases.

rajab natshah’s picture

To be committed before the VLB RC release and for Varbase 9.0.0 stable version.
With a fresh recompile from Drupal 9.1.10 4 Jun 2021 at 20:30 EEST

rajab natshah’s picture

Maybe Drupal 9.2.0-rc1

rajab natshah’s picture

Fantastic.
Thank you Hawwari.

rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue tags: +varbase-9.0.0
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

rajab natshah’s picture

Assigned: Unassigned » rajab natshah
Status: Needs work » Active

  • RajabNatshah committed e4e9686 on 10.0.x
    Issue #3211878: Re-compile Drupal 9.2.0 Claro admin theme to have a...

  • RajabNatshah committed 3135196 on 10.0.x
    Issue #3211878: Re-compile Drupal 9.2.0 Claro admin theme to have a...
rajab natshah’s picture

Issue summary: View changes
StatusFileSize
new497.2 KB

  • RajabNatshah committed 7e0cf00 on 10.0.x
    Issue #3211878: Re-compile Drupal 9.2.0 Claro admin theme to have a...
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Status: Active » Needs review
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.