css: adapt to new icon names (#72513)
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Frédéric Péters 2022-12-15 17:18:21 +01:00
parent ad54651415
commit 51072f0645
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,5 @@
$primary-color: #386ede;
$secondary-color: #00d6eb;
$string-color: str-slice($primary-color + '', 2);
$actions: add, duplicate, edit, jump, remove, copy;
@mixin clearfix {
@ -2281,9 +2280,10 @@ div#side { // w.c.s. steps in backoffice submission
}
@each $action in $actions {
&.#{$action} a {
background: url(/static/css/icons/action-#{$action}.small.#{$string-color}.png) center center no-repeat;
background-position: center center;
background-repeat: no-repeat;
background-size: 20px;
background-image: url(/static/css/icons/action-#{$action}.small.#{$string-color}.png),
background-image: url(/static/css/icons/action-#{$action}.small.png);
&:hover {
background-image: url(/static/css/icons/action-#{$action}.hover.png);
}