[Pkg-javascript-commits] [pdf.js] 48/109: Use the Retina assets for `outlineItemToggler` when in HiDPI mode

David Prévot taffit at moszumanska.debian.org
Fri Sep 25 03:04:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit b1950d3657ab898ab6e98ed2944e035518a27109
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Thu Aug 27 17:06:40 2015 +0200

    Use the Retina assets for `outlineItemToggler` when in HiDPI mode
---
 web/viewer.css | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/web/viewer.css b/web/viewer.css
index cb04783..9349c88 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -1703,6 +1703,22 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
   .secondaryToolbarButton.documentProperties::before {
     content: url(images/secondaryToolbarButton-documentProperties at 2x.png);
   }
+
+  .outlineItemToggler::before {
+    -webkit-transform: scale(0.5);
+    transform: scale(0.5);
+    top: -1px;
+    content: url(images/treeitem-collapsed at 2x.png);
+  }
+  .outlineItemToggler.outlineItemsHidden::before {
+    content: url(images/treeitem-expanded at 2x.png);
+  }
+  html[dir='ltr'] .outlineItemToggler::before {
+    right: 0;
+  }
+  html[dir='rtl'] .outlineItemToggler::before {
+    left: 0;
+  }
 }
 
 @media print {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list