-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from zen-browser/create-theme-257
Add theme: Uniform Url Bar
- Loading branch information
Showing
5 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"} |