diff --git a/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/chrome.css b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/chrome.css new file mode 100644 index 000000000..2f64d9b4d --- /dev/null +++ b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/chrome.css @@ -0,0 +1,19 @@ + +@-moz-document url-prefix("chrome:") { + +/* Left (Default) */ + body:has(#theme-Glance-control-alignment[theme-glance-control-alignment-position='left']) { + .zen-glance-sidebar-container { + left: unset !important; + right: 100% !important; + } + } + +/* Right */ + body:has(#theme-Glance-control-alignment[theme-glance-control-alignment-position='right']) { + .zen-glance-sidebar-container { + left: 100% !important; + right: unset !important; + } + } +} diff --git a/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/image.png b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/image.png new file mode 100644 index 000000000..11fb24463 Binary files /dev/null and b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/image.png differ diff --git a/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/preferences.json b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/preferences.json new file mode 100644 index 000000000..040fadecc --- /dev/null +++ b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/preferences.json @@ -0,0 +1,19 @@ +[ + { + "property": "theme.glance-control-alignment.position", + "label": "Position", + "type": "dropdown", + "disabledOn": [], + "placeholder": "Default", + "options": [ + { + "label": "Left", + "value": "left" + }, + { + "label": "Right", + "value": "right" + } + ] + } +] \ No newline at end of file diff --git a/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/readme.md b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/readme.md new file mode 100644 index 000000000..ad5c68523 --- /dev/null +++ b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/readme.md @@ -0,0 +1,4 @@ + +# Glance control alignment + +Align the glance controls on the left or right of the glance window. diff --git a/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/theme.json b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/theme.json new file mode 100644 index 000000000..35c421c27 --- /dev/null +++ b/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/theme.json @@ -0,0 +1,15 @@ +{ + "id": "1ad61159-2f4f-433d-9666-2d8c19d9b85c", + "name": "Glance control alignment", + "description": "Align the glance controls on the left or right of the glance window.", + "homepage": "https://github.com/riverattic/glance-control-alignment", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/image.png", + "author": "riverattic", + "version": "1.0.0", + "tags": [], + "createdAt": "2026-01-12", + "updatedAt": "2026-01-12", + "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/1ad61159-2f4f-433d-9666-2d8c19d9b85c/preferences.json" +} \ No newline at end of file