diff --git a/src/defaultV2-theme/blocks/sd-imagepicker.scss b/src/defaultV2-theme/blocks/sd-imagepicker.scss index 3b01264d65..ccd2e7d7d2 100644 --- a/src/defaultV2-theme/blocks/sd-imagepicker.scss +++ b/src/defaultV2-theme/blocks/sd-imagepicker.scss @@ -88,8 +88,10 @@ } .sd-imagepicker__item:focus-within .sd-imagepicker__image, -.sd-imagepicker__item--allowhover .sd-imagepicker__image:hover { - opacity: 0.5; +.sd-imagepicker__item--allowhover:not(.sd-imagepicker__item--readonly, .sd-imagepicker__item--preview) { + .sd-imagepicker__image:hover { + opacity: 0.5; + } } .sd-imagepicker__image { diff --git a/src/defaultV2-theme/blocks/sd-item.scss b/src/defaultV2-theme/blocks/sd-item.scss index 1a100fbf21..a41560bcbe 100644 --- a/src/defaultV2-theme/blocks/sd-item.scss +++ b/src/defaultV2-theme/blocks/sd-item.scss @@ -41,7 +41,7 @@ box-shadow: $shadow-inner-reset, 0 0 0 2px $primary; } -.sd-item--allowhover .sd-selectbase__label:hover .sd-item__decorator { +.sd-item--allowhover:not(.sd-item--readonly) .sd-selectbase__label:hover .sd-item__decorator { background: $background-dim-dark; outline: none; }