Problem/Motivation

The icons are loaded with a relative path that is not working as expected. This leads into all of the Bartik icons being missing.

Proposed resolution

Copy icons used by Bartik from core to Bartik itself.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

lauriii created an issue. See original summary.

lauriii’s picture

Status: Active » Needs review
StatusFileSize
new22.68 KB
wim leers’s picture

Status: Needs review » Reviewed & tested by the community
  1. +++ b/css/classy/components/file.css
    @@ -19,44 +19,44 @@
    -  background-image: url(../../../images/classy/icons/application-octet-stream.png);
    +  background-image: url(../../../icons/application-octet-stream.png);
    

    Pattern 1: <bartik>/images/classy/icons/* now live at <bartik>/icons/* 👍

  2. +++ b/css/classy/components/form.css
    @@ -78,7 +78,7 @@ label.option {
    -  background-image: url(../../../../../misc/icons/ee0000/required.svg);
    +  background-image: url(../../../icons/ee0000/required.svg);
    

    Pattern 2: From core/themes/bartik/css/classy/components/THISFILE, which requires 5 levels "up" to get to core/misc/icons, to the icons directory being in the root of the contrib Bartik project: 👍

  3. +++ b/css/components/search-form.css
    @@ -27,13 +27,13 @@
    -  background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center;
    +  background: #f0f0f0 url(../../icons/505050/loupe.svg) no-repeat center;
    

    Pattern 3: From core/themes/bartik/css/components/THISFILE, which requires 4 levels "up" to get to core/misc/icons, to the icons directory being in the root of the contrib Bartik project: 👍

  • lauriii committed ea74426 on 1.0.x
    Issue #3304712 by lauriii, Wim Leers: Icons are missing
    
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Thank you! Committed and making a release for this!

Status: Fixed » Closed (fixed)

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