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; resize: horizontal;
} }
.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), .annotationEditorLayer
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) { :is(.freeTextEditor, .inkEditor):hover:not(.selectedEditor) {
outline: var(--hover-outline); outline: var(--hover-outline);
} }

View File

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