The css/examples.icons.css file contains the following lines.

.toolbar-bar .toolbar-icon-examples:before,
.toolbar-bar .toolbar-icon-examples:active:before,
.toolbar-bar .toolbar-icon-examples.active:before {
  background-image: url(../images/examples.svg);
}

Before a pseudo-element there should be two colons. The correct lines are the following ones.

.toolbar-bar .toolbar-icon-examples::before,
.toolbar-bar .toolbar-icon-examples:active::before,
.toolbar-bar .toolbar-icon-examples.active::before {
  background-image: url(../images/examples.svg);
}

As a side note, the description given for @file needs to be changed to Styling for the Examples module icons.

Issue fork examples-3459518

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

apaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed 66841ce3 on 4.0.x
    Issue #3459518: Use double-colons before pseudo-elements
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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