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: bigger browser padding #851

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
52 changes: 52 additions & 0 deletions themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/chrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

/* padding in normal mode */

@media (-moz-bool-pref: "uc.padding.big") {
@media not (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 2px 12px 12px 2px !important;
}
}
}

@media (-moz-bool-pref: "uc.padding.bigger") {
@media not (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 2px 16px 16px 2px !important;
}
}
}

@media (-moz-bool-pref: "uc.padding.biggest") {
@media not (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 2px 20px 20px 2px !important;
}
}
}

/* padding in compact mode */

@media (-moz-bool-pref: "uc.padding.big") {
@media (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 12px !important;
}
}
}

@media (-moz-bool-pref: "uc.padding.bigger") {
@media (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 16px !important;
}
}
}

@media (-moz-bool-pref: "uc.padding.biggest") {
@media (-moz-bool-pref: "zen.view.compact") {
#tabbrowser-tabpanels {
padding: 20px !important;
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"property": "uc.padding.big",
"label": "big browser padding (12px)",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.padding.bigger",
"label": "bigger browser padding (16px)",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.padding.biggest",
"label": "biggest browser padding (20px)",
"type": "checkbox",
"disabledOn": []
}
]
9 changes: 9 additions & 0 deletions themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# bigger browser padding
makes padding of the zen browser bigger \
comes in 3 sizes:
- big (12px)
- bigger (16px)
- biggest (20px)

also works in compact mode :3
15 changes: 15 additions & 0 deletions themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "99c1f45f-4d2e-4388-b5a5-e96310ae2d5f",
"name": "bigger browser padding",
"description": "makes padding of the browser... well... bigger!",
"homepage": "https://github.com/froggy-jpg/bigger-browser-padding",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/image.png",
"author": "froggy-jpg",
"version": "1.0.0",
"tags": [],
"createdAt": "2024-12-06",
"updatedAt": "2024-12-06",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/99c1f45f-4d2e-4388-b5a5-e96310ae2d5f/preferences.json"
}
Loading