diff --git a/web/images/findbarButton-next-rtl.png b/web/images/findbarButton-next-rtl.png deleted file mode 100644 index bef02743f..000000000 Binary files a/web/images/findbarButton-next-rtl.png and /dev/null differ diff --git a/web/images/findbarButton-next-rtl@2x.png b/web/images/findbarButton-next-rtl@2x.png deleted file mode 100644 index 1da6dc949..000000000 Binary files a/web/images/findbarButton-next-rtl@2x.png and /dev/null differ diff --git a/web/images/findbarButton-previous-rtl.png b/web/images/findbarButton-previous-rtl.png deleted file mode 100644 index de1d0fc90..000000000 Binary files a/web/images/findbarButton-previous-rtl.png and /dev/null differ diff --git a/web/images/findbarButton-previous-rtl@2x.png b/web/images/findbarButton-previous-rtl@2x.png deleted file mode 100644 index 0250307c0..000000000 Binary files a/web/images/findbarButton-previous-rtl@2x.png and /dev/null differ diff --git a/web/images/toolbarButton-pageDown-rtl.png b/web/images/toolbarButton-pageDown-rtl.png deleted file mode 100644 index 1957f79ab..000000000 Binary files a/web/images/toolbarButton-pageDown-rtl.png and /dev/null differ diff --git a/web/images/toolbarButton-pageDown-rtl@2x.png b/web/images/toolbarButton-pageDown-rtl@2x.png deleted file mode 100644 index 16ebcb8ef..000000000 Binary files a/web/images/toolbarButton-pageDown-rtl@2x.png and /dev/null differ diff --git a/web/images/toolbarButton-pageUp-rtl.png b/web/images/toolbarButton-pageUp-rtl.png deleted file mode 100644 index 98e7ce481..000000000 Binary files a/web/images/toolbarButton-pageUp-rtl.png and /dev/null differ diff --git a/web/images/toolbarButton-pageUp-rtl@2x.png b/web/images/toolbarButton-pageUp-rtl@2x.png deleted file mode 100644 index a01b02380..000000000 Binary files a/web/images/toolbarButton-pageUp-rtl@2x.png and /dev/null differ diff --git a/web/images/toolbarButton-secondaryToolbarToggle-rtl.png b/web/images/toolbarButton-secondaryToolbarToggle-rtl.png deleted file mode 100644 index 843709527..000000000 Binary files a/web/images/toolbarButton-secondaryToolbarToggle-rtl.png and /dev/null differ diff --git a/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png b/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png deleted file mode 100644 index 9d9bfa4f6..000000000 Binary files a/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png and /dev/null differ diff --git a/web/images/toolbarButton-sidebarToggle-rtl.png b/web/images/toolbarButton-sidebarToggle-rtl.png deleted file mode 100644 index 6f85ec061..000000000 Binary files a/web/images/toolbarButton-sidebarToggle-rtl.png and /dev/null differ diff --git a/web/images/toolbarButton-sidebarToggle-rtl@2x.png b/web/images/toolbarButton-sidebarToggle-rtl@2x.png deleted file mode 100644 index 291e00679..000000000 Binary files a/web/images/toolbarButton-sidebarToggle-rtl@2x.png and /dev/null differ diff --git a/web/images/toolbarButton-viewOutline-rtl.png b/web/images/toolbarButton-viewOutline-rtl.png deleted file mode 100644 index aaa943021..000000000 Binary files a/web/images/toolbarButton-viewOutline-rtl.png and /dev/null differ diff --git a/web/images/toolbarButton-viewOutline-rtl@2x.png b/web/images/toolbarButton-viewOutline-rtl@2x.png deleted file mode 100644 index 3410f70df..000000000 Binary files a/web/images/toolbarButton-viewOutline-rtl@2x.png and /dev/null differ diff --git a/web/images/treeitem-collapsed-rtl.png b/web/images/treeitem-collapsed-rtl.png deleted file mode 100644 index 0496b3577..000000000 Binary files a/web/images/treeitem-collapsed-rtl.png and /dev/null differ diff --git a/web/images/treeitem-collapsed-rtl@2x.png b/web/images/treeitem-collapsed-rtl@2x.png deleted file mode 100644 index 6ad9ebcdf..000000000 Binary files a/web/images/treeitem-collapsed-rtl@2x.png and /dev/null differ diff --git a/web/viewer.css b/web/viewer.css index 290192103..757d77713 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -773,46 +773,46 @@ html[dir="rtl"] .secondaryToolbarButton::before { right: 4px; } -html[dir='ltr'] .toolbarButton#sidebarToggle::before { +.toolbarButton#sidebarToggle::before { content: url(images/toolbarButton-sidebarToggle.png); } html[dir='rtl'] .toolbarButton#sidebarToggle::before { - content: url(images/toolbarButton-sidebarToggle-rtl.png); + transform: scaleX(-1); } -html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before { +.toolbarButton#secondaryToolbarToggle::before { content: url(images/toolbarButton-secondaryToolbarToggle.png); } html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before { - content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png); + transform: scaleX(-1); } -html[dir='ltr'] .toolbarButton.findPrevious::before { +.toolbarButton.findPrevious::before { content: url(images/findbarButton-previous.png); } html[dir='rtl'] .toolbarButton.findPrevious::before { - content: url(images/findbarButton-previous-rtl.png); + transform: scaleX(-1); } -html[dir='ltr'] .toolbarButton.findNext::before { +.toolbarButton.findNext::before { content: url(images/findbarButton-next.png); } html[dir='rtl'] .toolbarButton.findNext::before { - content: url(images/findbarButton-next-rtl.png); + transform: scaleX(-1); } -html[dir='ltr'] .toolbarButton.pageUp::before { +.toolbarButton.pageUp::before { content: url(images/toolbarButton-pageUp.png); } html[dir='rtl'] .toolbarButton.pageUp::before { - content: url(images/toolbarButton-pageUp-rtl.png); + transform: scaleX(-1); } -html[dir='ltr'] .toolbarButton.pageDown::before { +.toolbarButton.pageDown::before { content: url(images/toolbarButton-pageDown.png); } html[dir='rtl'] .toolbarButton.pageDown::before { - content: url(images/toolbarButton-pageDown-rtl.png); + transform: scaleX(-1); } .toolbarButton.zoomOut::before { @@ -868,11 +868,11 @@ html[dir='rtl'] .toolbarButton.pageDown::before { content: url(images/toolbarButton-viewThumbnail.png); } -html[dir="ltr"] #viewOutline.toolbarButton::before { +#viewOutline.toolbarButton::before { content: url(images/toolbarButton-viewOutline.png); } html[dir="rtl"] #viewOutline.toolbarButton::before { - content: url(images/toolbarButton-viewOutline-rtl.png); + transform: scaleX(-1); } #viewAttachments.toolbarButton::before { @@ -1237,11 +1237,11 @@ html[dir='rtl'] .attachmentsItem > button { display: inline-block; position: absolute; } -html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before { +.outlineItemToggler.outlineItemsHidden::before { content: url(images/treeitem-collapsed.png); } html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before { - content: url(images/treeitem-collapsed-rtl.png); + transform: scaleX(-1); } .outlineItemToggler.outlineItemsHidden ~ .outlineItems { display: none; @@ -1594,46 +1594,46 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { left: 4px; } - html[dir='ltr'] .toolbarButton#sidebarToggle::before { + .toolbarButton#sidebarToggle::before { content: url(images/toolbarButton-sidebarToggle@2x.png); } html[dir='rtl'] .toolbarButton#sidebarToggle::before { - content: url(images/toolbarButton-sidebarToggle-rtl@2x.png); + transform: scale(-0.5, 0.5); } - html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before { + .toolbarButton#secondaryToolbarToggle::before { content: url(images/toolbarButton-secondaryToolbarToggle@2x.png); } html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before { - content: url(images/toolbarButton-secondaryToolbarToggle-rtl@2x.png); + transform: scale(-0.5, 0.5); } - html[dir='ltr'] .toolbarButton.findPrevious::before { + .toolbarButton.findPrevious::before { content: url(images/findbarButton-previous@2x.png); } html[dir='rtl'] .toolbarButton.findPrevious::before { - content: url(images/findbarButton-previous-rtl@2x.png); + transform: scale(-0.5, 0.5); } - html[dir='ltr'] .toolbarButton.findNext::before { + .toolbarButton.findNext::before { content: url(images/findbarButton-next@2x.png); } html[dir='rtl'] .toolbarButton.findNext::before { - content: url(images/findbarButton-next-rtl@2x.png); + transform: scale(-0.5, 0.5); } - html[dir='ltr'] .toolbarButton.pageUp::before { + .toolbarButton.pageUp::before { content: url(images/toolbarButton-pageUp@2x.png); } html[dir='rtl'] .toolbarButton.pageUp::before { - content: url(images/toolbarButton-pageUp-rtl@2x.png); + transform: scale(-0.5, 0.5); } - html[dir='ltr'] .toolbarButton.pageDown::before { + .toolbarButton.pageDown::before { content: url(images/toolbarButton-pageDown@2x.png); } html[dir='rtl'] .toolbarButton.pageDown::before { - content: url(images/toolbarButton-pageDown-rtl@2x.png); + transform: scale(-0.5, 0.5); } .toolbarButton.zoomIn::before { @@ -1673,11 +1673,11 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { content: url(images/toolbarButton-viewThumbnail@2x.png); } - html[dir="ltr"] #viewOutline.toolbarButton::before { + #viewOutline.toolbarButton::before { content: url(images/toolbarButton-viewOutline@2x.png); } html[dir="rtl"] #viewOutline.toolbarButton::before { - content: url(images/toolbarButton-viewOutline-rtl@2x.png); + transform: scale(-0.5, 0.5); } #viewAttachments.toolbarButton::before { @@ -1745,11 +1745,11 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { top: -1px; content: url(images/treeitem-expanded@2x.png); } - html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before { + .outlineItemToggler.outlineItemsHidden::before { content: url(images/treeitem-collapsed@2x.png); } html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before { - content: url(images/treeitem-collapsed-rtl@2x.png); + transform: scale(-0.5, 0.5); } html[dir='ltr'] .outlineItemToggler::before { right: 0;