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).
This commit is contained in:
Jonas Jenwald 2022-09-22 09:54:28 +02:00
parent 547fa3ed2c
commit 1558c0e85e

View File

@ -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,