scss: adapt file widget icons color if button background is white (#41179)
This commit is contained in:
parent
d7d03f3b4c
commit
8ca0ecda14
|
@ -454,7 +454,11 @@ div.fileinfo a.remove {
|
|||
&::before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f057"; // times-circle
|
||||
color: $button-background;
|
||||
@if ($button-background == $widget-background) {
|
||||
color: $button-color;
|
||||
} @else {
|
||||
color: $button-background;
|
||||
}
|
||||
text-indent: 0;
|
||||
position: absolute;
|
||||
display: block;
|
||||
|
@ -553,7 +557,11 @@ div.file-upload-widget {
|
|||
position: absolute;
|
||||
left: calc(50% + 10px);
|
||||
top: 30px;
|
||||
color: $button-background;
|
||||
@if ($button-background == $widget-background) {
|
||||
color: $button-color;
|
||||
} @else {
|
||||
color: $button-background;
|
||||
}
|
||||
}
|
||||
&.upload-done::after {
|
||||
content: "\f05d"; // check-circle-o
|
||||
|
|
Loading…
Reference in New Issue