From 7543a9108636409f283fe2ab5e6550e1bf5f0584 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 30 Jul 2022 20:07:44 +0200 Subject: [PATCH] [Firefox] Remove a couple of `webkit` CSS rules related to editing Thanks to the CSS preprocessor, we can get rid of a couple of unnecessary CSS rules in the Firefox PDF Viewer. --- web/viewer.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 78cb845e2..14aaf1773 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -531,13 +531,18 @@ select { .editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress { background-color: black; } -.editorParamsToolbarContainer .editorParamsSlider::-moz-range-track, -.editorParamsToolbarContainer - .editorParamsSlider::-webkit-slider-runnable-track { + +/*#if !MOZCENTRAL*/ +.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track, +/*#endif*/ +.editorParamsToolbarContainer .editorParamsSlider::-moz-range-track { background-color: black; } -.editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb, -.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb { + +/*#if !MOZCENTRAL*/ +.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb, +/*#endif*/ +.editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb { background-color: white; }