diff --git a/frappe/public/scss/common/mixins.scss b/frappe/public/scss/common/mixins.scss index 6d71ea9d6f..55b54d9de3 100644 --- a/frappe/public/scss/common/mixins.scss +++ b/frappe/public/scss/common/mixins.scss @@ -45,42 +45,5 @@ $background-color: var(--bg-color), $border-radius: var(--border-radius), ) { - - @if $content { - img:after { - content: url($content); - } - } @else { - img:after { - content: url("data:image/svg+xml;utf8,"); - } - } - - img[alt]:after { - height: $height; - top: $top; - left: $left; - background-color: $background-color; - border-radius: $border-radius; - width: 100%; - position: absolute; - @include flex(); - z-index: 1; - } -} - -// @mixin img-foreground() { -// content: "\f1c5"; -// display: block; -// font-style: normal; -// font-family: FontAwesome; -// font-size: 32px; -// color: var(--text-muted); - -// position: absolute; -// top: 50%; -// transform: translateY(-50%); -// left: 0; -// width: 100%; -// text-align: center; -// } \ No newline at end of file + // Deprecated: Does not work as expected anymore. Also, this never worked in Safari. +} \ No newline at end of file diff --git a/frappe/public/scss/desk/file_view.scss b/frappe/public/scss/desk/file_view.scss index d074a7efdd..29e49ab65e 100644 --- a/frappe/public/scss/desk/file_view.scss +++ b/frappe/public/scss/desk/file_view.scss @@ -97,11 +97,6 @@ color: transparent; position: relative; } - - @include broken-img( - $height: 70px, - $top: -15px, - ); } } diff --git a/frappe/public/scss/desk/image_view.scss b/frappe/public/scss/desk/image_view.scss index 3b9d033406..063af27923 100644 --- a/frappe/public/scss/desk/image_view.scss +++ b/frappe/public/scss/desk/image_view.scss @@ -153,11 +153,6 @@ position: relative; width: 100%; } - - @include broken-img( - $height: 175px, - $border-radius: 0 - ); } .image-title { diff --git a/frappe/public/scss/desk/kanban.scss b/frappe/public/scss/desk/kanban.scss index 8f286b7b35..5a748c581c 100644 --- a/frappe/public/scss/desk/kanban.scss +++ b/frappe/public/scss/desk/kanban.scss @@ -181,11 +181,6 @@ color: transparent; position: relative; } - - @include broken-img( - $height: 125px, - $top: -4px, - ) } .kanban-card-body {