0001-css-adapt-to-new-icon-names-72513.patch
wcs/qommon/static/css/dc2/admin.scss | ||
---|---|---|
1 | 1 |
$primary-color: #386ede; |
2 | 2 |
$secondary-color: #00d6eb; |
3 |
$string-color: str-slice($primary-color + '', 2); |
|
4 | 3 |
$actions: add, duplicate, edit, jump, remove, copy; |
5 | 4 | |
6 | 5 |
@mixin clearfix { |
... | ... | |
2259 | 2258 |
} |
2260 | 2259 |
@each $action in $actions { |
2261 | 2260 |
&.#{$action} a { |
2262 |
background: url(/static/css/icons/action-#{$action}.small.#{$string-color}.png) center center no-repeat; |
|
2261 |
background-position: center center; |
|
2262 |
background-repeat: no-repeat; |
|
2263 | 2263 |
background-size: 20px; |
2264 |
background-image: url(/static/css/icons/action-#{$action}.small.#{$string-color}.png),
|
|
2264 |
background-image: url(/static/css/icons/action-#{$action}.small.png);
|
|
2265 | 2265 |
&:hover { |
2266 | 2266 |
background-image: url(/static/css/icons/action-#{$action}.hover.png); |
2267 | 2267 |
} |
2268 |
- |