diff --git a/src/components/panels/Status/PrintstatusThumbnail.vue b/src/components/panels/Status/PrintstatusThumbnail.vue index 43fdf91e5..59495795e 100644 --- a/src/components/panels/Status/PrintstatusThumbnail.vue +++ b/src/components/panels/Status/PrintstatusThumbnail.vue @@ -10,9 +10,7 @@ :style="thumbnailStyle" @focus="focusBigThumbnail" @blur="blurBigThumbnail"> - + @@ -197,6 +195,19 @@ export default class StatusPanelPrintstatusThumbnail extends Mixins(BaseMixin) { return {} } + get styleThumbnailOverlay() { + const style = { + backgroundColor: 'rgba(0, 0, 0, 0.3)', + backdropFilter: 'blur(3px)', + } + + if (!this.$vuetify.theme.dark) { + style.backgroundColor = 'rgba(255, 255, 255, 0.3)' + } + + return style + } + focusBigThumbnail() { if (this.$refs.bigThumbnail) { const clientWidth = this.$refs.bigThumbnail.$el.clientWidth