diff --git a/web/annotation_layer_builder.css b/web/annotation_layer_builder.css index 14bc98db32..ba1bb1dfe4 100644 --- a/web/annotation_layer_builder.css +++ b/web/annotation_layer_builder.css @@ -20,6 +20,7 @@ --input-unfocused-border-color: transparent; --input-disabled-border-color: transparent; --input-hover-border-color: black; + --link-outline: none; } @media screen and (forced-colors: active) { @@ -28,6 +29,7 @@ --input-unfocused-border-color: ActiveText; --input-disabled-border-color: GrayText; --input-hover-border-color: Highlight; + --link-outline: 1.5px solid LinkText; } .annotationLayer .textWidgetAnnotation input:required, .annotationLayer .textWidgetAnnotation textarea:required, @@ -36,6 +38,10 @@ .annotationLayer .buttonWidgetAnnotation.radioButton input:required { outline: 1.5px solid selectedItem; } + + .annotationLayer .linkAnnotation:hover { + backdrop-filter: invert(100%); + } } .annotationLayer { @@ -55,6 +61,10 @@ transform-origin: 0 0; } +.annotationLayer .linkAnnotation { + outline: var(--link-outline); +} + .annotationLayer .linkAnnotation > a, .annotationLayer .buttonWidgetAnnotation.pushButton > a { position: absolute;