From 1558c0e85e976fb2318a967ab446a8ff031894bc Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 22 Sep 2022 09:54:28 +0200 Subject: [PATCH] Set a `border-radius` when hovering annotationLayer-inputs (PR 15438 follow-up) The changes in PR 15438 added a `border-radius` when input-elements are focused, however there's no radius when the same elements are hovered. Having the radius change, and not just the `border-color`, when input goes from hovered to focused feels a bit inconsistent (at least to me). --- web/annotation_layer_builder.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/annotation_layer_builder.css b/web/annotation_layer_builder.css index e92e44b5b..989a8309e 100644 --- a/web/annotation_layer_builder.css +++ b/web/annotation_layer_builder.css @@ -135,6 +135,12 @@ .annotationLayer .buttonWidgetAnnotation.radioButton input:hover { border: 2px solid var(--input-hover-border-color); } +.annotationLayer .textWidgetAnnotation input:hover, +.annotationLayer .textWidgetAnnotation textarea:hover, +.annotationLayer .choiceWidgetAnnotation select:hover, +.annotationLayer .buttonWidgetAnnotation.checkBox input:hover { + border-radius: 2px; +} .annotationLayer .textWidgetAnnotation input:focus, .annotationLayer .textWidgetAnnotation textarea:focus,