mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-27 10:35:48 +02:00
Merge pull request #21504 from nicolo-ribaudo/move-selection-styles
Move SVG text selection styles to pdf_viewer.css (bug 2049302)
This commit is contained in:
commit
86ffd68c05
@ -14,16 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.canvasWrapper {
|
.canvasWrapper {
|
||||||
.selection {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
pointer-events: none;
|
|
||||||
background: rgb(0 90 255 / 0.22);
|
|
||||||
}
|
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
transform: none;
|
transform: none;
|
||||||
|
|
||||||
|
|||||||
@ -120,6 +120,19 @@
|
|||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Used by the DrawLayer, but we keep these styles here and not in
|
||||||
|
* draw_layer_builder.css because we need them to be loaded in GECKOVIEW for
|
||||||
|
* text selection. */
|
||||||
|
.selection {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
background: rgb(0 90 255 / 0.22);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user