Merge pull request #19671 from nextcloud/fix-loading-icons-on-replaced-elements

Fix loading icons on replaced elements
This commit is contained in:
Roeland Jago Douma 2020-03-05 20:11:12 +01:00 committed by GitHub
commit 971e619c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -81,17 +81,17 @@
}
/* Css replaced elements don't have ::after nor ::before */
img, object, video, button, textarea, input, select, div[contenteditable='true'] {
.icon-loading {
audio, canvas, embed, iframe, img, input, object, video {
&.icon-loading {
background-image: url('../img/loading.gif');
}
.icon-loading-dark {
&.icon-loading-dark {
background-image: url('../img/loading-dark.gif');
}
.icon-loading-small {
&.icon-loading-small {
background-image: url('../img/loading-small.gif');
}
.icon-loading-small-dark {
&.icon-loading-small-dark {
background-image: url('../img/loading-small-dark.gif');
}
}