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:
parent
547fa3ed2c
commit
1558c0e85e
@ -135,6 +135,12 @@
|
|||||||
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
||||||
border: 2px solid var(--input-hover-border-color);
|
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 input:focus,
|
||||||
.annotationLayer .textWidgetAnnotation textarea:focus,
|
.annotationLayer .textWidgetAnnotation textarea:focus,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user