Skip to content

Commit

Permalink
Don't match on '/' href (fixes jenkins-contrib-themes#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnguyen1 committed Oct 22, 2019
1 parent 4bd6a66 commit 47353ea
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions less/images.less
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
.icon-img('../node_modules/jenkins-core-theme/images/settings.svg', @color-grey);
}

.icon-up, .task-icon-link[href='/'] img {
.icon-up, [src$='/up.png'] {
.icon-img('../node_modules/jenkins-core-theme/images/arrow_back.svg', @color-grey);
}

Expand Down Expand Up @@ -308,7 +308,7 @@
.icon-notepad, [src$='notepad.png'],
.icon-setting, [src$='setting.png'],
.icon-gear2, [src$='gear2.png'],
.icon-up,
.icon-up, [src$='/up.png'],
.icon-edit-delete,
.icon-fingerprint, [src$='fingerprint.png'],
.icon-graph, [src$='graph.png'],
Expand Down Expand Up @@ -411,13 +411,3 @@
width: auto !important;
padding: 0 !important;
}

.task-icon-link[href='/'] {
img {
padding: 36px 0 0 36px !important;
filter: brightness(10000);
}
}



0 comments on commit 47353ea

Please sign in to comment.