-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
173 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,103 @@ | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.enabled") { | ||
|
||
#tabbrowser-tabbox{ | ||
--zen-split-row-gap: 0 !important; | ||
--zen-split-column-gap: 0 !important; | ||
padding: 0 !important; | ||
} | ||
|
||
#tabbrowser-tabbox:has(> #tabbrowser-tabpanels[zen-split-view="true"]) { | ||
padding: 0 1px 0 0 !important; | ||
} | ||
|
||
#tabbrowser-tabpanels{ | ||
padding: 0 !important; | ||
} | ||
.zen-split-view-splitter { | ||
display: none; | ||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.border") { | ||
.browserSidebarContainer[zen-split="true"]{ | ||
padding: 1px !important; | ||
} | ||
} | ||
|
||
} | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.split.enabled") { | ||
|
||
#tabbrowser-tabpanels:not([zen-split-view="true"]){ | ||
padding: 0 !important; | ||
} | ||
#tabbrowser-tabbox:has(> #tabbrowser-tabpanels:not([zen-split-view="true"])) { | ||
padding: 0 !important; | ||
} | ||
|
||
} | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.border") { | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.split.border") { | ||
|
||
.browserSidebarContainer{ | ||
--uc-tweak-rounded-corners-shadow-color: transparent !important; | ||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.rounded_corners") { | ||
.browserSidebarContainer[zen-split="true"]{ | ||
overflow: visible !important; | ||
} | ||
} | ||
|
||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.border") { | ||
.browserSidebarContainer:not([zen-split="true"]){ | ||
--uc-tweak-rounded-corners-shadow-color: transparent !important; | ||
} | ||
} | ||
|
||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.border") { | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.split.border") { | ||
.browserSidebarContainer[zen-split="true"]{ | ||
--uc-tweak-rounded-corners-shadow-color: transparent !important; | ||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.rounded_corners") { | ||
.browserSidebarContainer[zen-split="true"]{ | ||
overflow: visible !important; | ||
} | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.rounded_corners") { | ||
|
||
@media not (-moz-bool-pref: "theme.no_gaps.split.rounded_corners") { | ||
#tabbrowser-tabpanels{ | ||
--zen-webview-border-radius: 0; | ||
} | ||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.split.rounded_corners") { | ||
#tabbrowser-tabpanels:not([zen-split-view="true"]){ | ||
--zen-webview-border-radius: 0; | ||
} | ||
} | ||
|
||
} | ||
|
||
@media (-moz-bool-pref: "theme.no_gaps.rounded_corners") { | ||
@media not (-moz-bool-pref: "theme.no_gaps.split.rounded_corners") { | ||
#tabbrowser-tabpanels[zen-split-view="true"]{ | ||
--zen-webview-border-radius: 0; | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
themes/bfcc400a-4ecb-4752-bfd2-a68f116a2722/preferences.json
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 @@ | ||
[ | ||
{ | ||
"property": "theme.no_gaps.split.enabled", | ||
"label": "Remove gaps in split view", | ||
"type": "checkbox", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"property": "theme.no_gaps.border", | ||
"label": "Keep border", | ||
"type": "checkbox", | ||
"defaultValue": true | ||
}, | ||
{ | ||
"property": "theme.no_gaps.rounded_corners", | ||
"label": "Keep rounded corners", | ||
"type": "checkbox", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"property": "theme.no_gaps.split.border", | ||
"label": "Keep border in split view", | ||
"type": "checkbox", | ||
"defaultValue": true | ||
}, | ||
{ | ||
"property": "theme.no_gaps.split.rounded_corners", | ||
"label": "Keep rounded corners in split view", | ||
"type": "checkbox", | ||
"defaultValue": true | ||
} | ||
] |
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,23 @@ | ||
|
||
# No Gaps | ||
Removes the gaps when the view isn't split. | ||
|
||
## Options | ||
- Remove gaps in split view | ||
Default: Off | ||
|
||
- Keep border | ||
Removes the border in default view when unchecked | ||
Default: On | ||
|
||
- Keep rounded corners | ||
Removes rounded corners in default view when unchecked | ||
Default: On | ||
|
||
- Keep border in split view | ||
Removes the border in split view when unchecked | ||
Default: On | ||
|
||
- Keep rounded corners in split view | ||
Removes rounded corners in split view when unchecked | ||
Default: On |
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,15 @@ | ||
{ | ||
"id": "bfcc400a-4ecb-4752-bfd2-a68f116a2722", | ||
"name": "No Gaps", | ||
"description": "Removes the gaps when the view isn't split.", | ||
"homepage": "", | ||
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/bfcc400a-4ecb-4752-bfd2-a68f116a2722/chrome.css", | ||
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/bfcc400a-4ecb-4752-bfd2-a68f116a2722/readme.md", | ||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/bfcc400a-4ecb-4752-bfd2-a68f116a2722/image.png", | ||
"author": "Peleret", | ||
"version": "1.0.0", | ||
"tags": [], | ||
"createdAt": "2024-10-21", | ||
"updatedAt": "2024-10-21", | ||
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/bfcc400a-4ecb-4752-bfd2-a68f116a2722/preferences.json" | ||
} |