css: adapt to new icon names (#72513)
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
ad54651415
commit
51072f0645
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue