diff --git a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css index 8985ff0a..64c66854 100644 --- a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css +++ b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css @@ -12,6 +12,19 @@ } } +/* Positioning bookmarks toolbar direction */ +:root:has(#theme-Bookmark-Toolbar-Tweaks[uc-bookmarks-position-toolbar="left"]) { + #PlacesToolbarItems { + direction: ltr; + } +} + +:root:has(#theme-Bookmark-Toolbar-Tweaks[uc-bookmarks-position-toolbar="right"]) { + #PlacesToolbarItems { + direction: rtl; + } +} + /* Hide folder icons in the bookmarks toolbar */ @media (-moz-bool-pref: "uc.bookmarks.hide-folder-icons") { .bookmark-item[container="true"] .toolbarbutton-icon { diff --git a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/preferences.json b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/preferences.json index 4b9a1842..7e798d67 100644 --- a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/preferences.json +++ b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/preferences.json @@ -5,6 +5,22 @@ "type": "checkbox", "disabledOn": [] }, + { + "property": "uc.bookmarks.position-toolbar", + "label": "Bookmarks toolbar direction", + "type": "dropdown", + "disabledOn": [], + "options": [ + { + "label": "Left to right", + "value": "left" + }, + { + "label": "Right to left", + "value": "right" + } + ] + }, { "property": "uc.bookmarks.hide-folder-icons", "label": "Hide folder icons", diff --git a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/theme.json b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/theme.json index 96ecaeb0..76784696 100644 --- a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/theme.json +++ b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/theme.json @@ -8,8 +8,8 @@ "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/image.png", "author": "n7itro", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/preferences.json", - "version": "1.2.1", + "version": "1.2.2", "tags": [], "createdAt": "2024-08-19", - "updatedAt": "2024-10-31" + "updatedAt": "2024-1-5" } \ No newline at end of file