diff --git a/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/chrome.css b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/chrome.css new file mode 100644 index 00000000..60c5322c --- /dev/null +++ b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/chrome.css @@ -0,0 +1,32 @@ + +@media (-moz-bool-pref: "uc.urlbar.border-radius") { + #urlbar { + border-radius: 10px !important; + } + + #notification-popup-box { + border-radius: 6px !important; + } + + /* Border radius on hover */ + #urlbar .urlbar-page-action, #urlbar #tracking-protection-icon-container, #urlbar:not([breakout-extend="true"]) #identity-box:is(:not(.chromeUI), [pageproxystate="invalid"]) #identity-icon-box { + border-radius: 6px !important;; + } + + /* Border radius of boxes on the left */ + #identity-box:has(#identity-permission-box:is([hasPermissions], [hasSharingIcon])):not([pageproxystate="invalid"]) #identity-icon-box { + border-top-left-radius: 6px !important; + border-bottom-left-radius: 6px !important; + border-top-right-radius: 0 !important; + border-bottom-right-radius: 0 !important; + } + +/* Extensions or similar */ + #urlbar:not([breakout-extend="true"]) #identity-box.chromeUI:not([pageproxystate="invalid"]) #identity-icon-box { + border-radius: 6px 6px 6px 6px !important; + } +} + +@media (-moz-bool-pref: "uc.urltext.center") { + #urlbar:not([focused]) .urlbar-input{ text-align: center !important; } +} diff --git a/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/image.png b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/image.png new file mode 100644 index 00000000..e05c65c0 Binary files /dev/null and b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/image.png differ diff --git a/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/preferences.json b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/preferences.json new file mode 100644 index 00000000..c2e37e19 --- /dev/null +++ b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/preferences.json @@ -0,0 +1,4 @@ +{ + "uc.urlbar.border-radius": "Adjusts the border radius of the url bar and its items", + "uc.urltext.center": "Centers the text inside the url bar" +} \ No newline at end of file diff --git a/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/readme.md b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/readme.md new file mode 100644 index 00000000..e8a08240 --- /dev/null +++ b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/readme.md @@ -0,0 +1,6 @@ + +# Uniform Url Bar + +## This **Zen theme** gives you 2 optional toggles (in Zen's theme settings): + - Adjust border radius of url bar + - Center url text diff --git a/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/theme.json b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/theme.json new file mode 100644 index 00000000..79077ce2 --- /dev/null +++ b/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/theme.json @@ -0,0 +1 @@ +{"id": "d93e67f8-e5e1-401e-9b82-f9d5bab231e6", "name": "Uniform Url Bar", "description": "Get simple rounded corners consistent with other buttons or centered text for your url bar.", "homepage": "https://github.com/JLBlk/Zen-Themes/tree/main/UniformUrlBar", "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/chrome.css", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/readme.md", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/image.png", "author": "JLBlk", "version": "1.0.0", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d93e67f8-e5e1-401e-9b82-f9d5bab231e6/preferences.json"} \ No newline at end of file