Add theme: Tiny Compact Mode

This commit is contained in:
n7itro 2024-08-22 11:49:50 +00:00 committed by GitHub
parent 95fa79ab2c
commit d05bbd6e8e
5 changed files with 76 additions and 0 deletions

View file

@ -0,0 +1,57 @@
/* Reduced space from edge */
@media (-moz-bool-pref: "uc.sidebar.no-edge-padding") and (-moz-bool-pref: "zen.view.compact") {
:root[sizemode="maximized"] #navigator-toolbox {
--zen-compact-toolbox-margin-single: 0px !important;
}
}
/* Reduced tab sidebar height */
@media (-moz-bool-pref: "uc.sidebar.reduced-height") and (-moz-bool-pref: "zen.view.compact") {
#navigator-toolbox {
padding-top: 12.5vh !important;
height: 75vh !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-expand-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-expand-sidebar-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-history-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-history-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-profile-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-profile-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-bookmark-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-bookmark-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-preferences-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-preferences-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-sidepanel-compact") and (-moz-bool-pref: "zen.view.compact") {
#zen-sidepanel-button {
display: none !important;
}
}
@media (-moz-bool-pref "uc.sidebar.hide-alltabs-compact") and (-moz-bool-pref: "zen.view.compact") {
#alltabs-button {
display: none;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -0,0 +1,11 @@
{
"uc.sidebar.no-edge-padding": "Remove space between screen edge and tab sidebar while in compact mode",
"uc.sidebar.reduced-height": "Reduce tab sidebar height while in compact mode",
"uc.sidebar.hide-expand-compact": "Hide the expand sidebar button while in compact mode",
"uc.sidebar.hide-history-compact": "Hide the history button while in compact mode",
"uc.sidebar.hide-profile-compact": "Hide the profile button while in compact mode",
"uc.sidebar.hide-bookmark-compact": "Hide the bookmark button while in compact mode",
"uc.sidebar.hide-preferences-compact": "Hide the preferences button while in compact mode",
"uc.sidebar.hide-sidepanel-compact": "Hide the show sidepanel button while in compact mode",
"uc.sidebar.hide-alltabs-compact": "Hide the show all tabs button while in compact mode"
}

View file

@ -0,0 +1,7 @@
With this theme you can make the compact mode even more compact!
- Hide buttons on the sidebar while in compact mode
- Reduce the height of the compact sidebar
- More!
Each of these options can be enabled separately by changing the configuration in the settings page.

View file

@ -0,0 +1 @@
{"id": "f0c388e8-cf26-4b6a-b3d4-315933d116bd", "name": "Tiny Compact Mode", "description": "An even more compact Compact Mode!", "homepage": "https://github.com/n7itro/Zen-Themes", "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/f0c388e8-cf26-4b6a-b3d4-315933d116bd/chrome.css", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/f0c388e8-cf26-4b6a-b3d4-315933d116bd/readme.md", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/f0c388e8-cf26-4b6a-b3d4-315933d116bd/image.png", "author": "n7itro", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/f0c388e8-cf26-4b6a-b3d4-315933d116bd/preferences.json"}