[Pkg-javascript-commits] [pdf.js] 79/109: Add mirrored triangle (TOC item icon)
David Prévot
taffit at moszumanska.debian.org
Fri Sep 25 03:04:20 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 9f80060a1853da28d0300d1dcd2e2a5f3cd5e312
Author: Rob Wu <rob at robwu.nl>
Date: Sun Sep 6 15:34:02 2015 +0200
Add mirrored triangle (TOC item icon)
---
web/images/treeitem-collapsed-rtl.png | Bin 0 -> 183 bytes
web/images/treeitem-collapsed-rtl at 2x.png | Bin 0 -> 205 bytes
web/viewer.css | 10 ++++++++--
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/web/images/treeitem-collapsed-rtl.png b/web/images/treeitem-collapsed-rtl.png
new file mode 100644
index 0000000..1c8b9f7
Binary files /dev/null and b/web/images/treeitem-collapsed-rtl.png differ
diff --git a/web/images/treeitem-collapsed-rtl at 2x.png b/web/images/treeitem-collapsed-rtl at 2x.png
new file mode 100644
index 0000000..8427936
Binary files /dev/null and b/web/images/treeitem-collapsed-rtl at 2x.png differ
diff --git a/web/viewer.css b/web/viewer.css
index 9229eaa..a6e1dc3 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -1252,9 +1252,12 @@ html[dir='rtl'] .attachmentsItem > button {
display: inline-block;
position: absolute;
}
-.outlineItemToggler.outlineItemsHidden::before {
+html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
content: url(images/treeitem-collapsed.png);
}
+html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
+ content: url(images/treeitem-collapsed-rtl.png);
+}
.outlineItemToggler.outlineItemsHidden ~ .outlineItems {
display: none;
}
@@ -1713,9 +1716,12 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
top: -1px;
content: url(images/treeitem-expanded at 2x.png);
}
- .outlineItemToggler.outlineItemsHidden::before {
+ html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
content: url(images/treeitem-collapsed at 2x.png);
}
+ html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
+ content: url(images/treeitem-collapsed-rtl at 2x.png);
+ }
html[dir='ltr'] .outlineItemToggler::before {
right: 0;
}
--
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