Introduce some :is usage in the debugger CSS

Also adds one more instance of `:is` in the `web/annotation_editor_layer_builder.css` file.
This commit is contained in:
Jonas Jenwald 2023-04-19 20:44:45 +02:00
parent 58b5eb89b8
commit 3e05d7e7fd
2 changed files with 4 additions and 7 deletions

View File

@ -137,8 +137,8 @@
resize: horizontal;
}
.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
.annotationEditorLayer
:is(.freeTextEditor, .inkEditor):hover:not(.selectedEditor) {
outline: var(--hover-outline);
}

View File

@ -14,9 +14,7 @@
*/
#PDFBug,
#PDFBug input,
#PDFBug button,
#PDFBug select {
#PDFBug :is(input, button, select) {
font: message-box;
}
#PDFBug {
@ -67,8 +65,7 @@
text-align: center;
}
#PDFBug table.showText,
#PDFBug table.showText tr,
#PDFBug table.showText td {
#PDFBug table.showText :is(tr, td) {
border: 1px solid black;
padding: 1px;
}