mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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:
parent
58b5eb89b8
commit
3e05d7e7fd
2 changed files with 4 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue