Update Zen-Minimal-Sidebar-Theme (#354)

* Update preferences.json

* Update chrome.css

* Update preferences.json - add option to hide newtab button

* Update chrome.css - add option to hide newtab button

* Update readme.md

* Update readme.md

* Update version
This commit is contained in:
Václav Parma 2024-09-10 17:40:57 +02:00 committed by GitHub
parent d853d722c0
commit de156353cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 5 deletions

View file

@ -4,6 +4,12 @@
} }
} }
@media (-moz-bool-pref: "uc.minimal-sidebar.hide-newtab-button.enabled") {
#vertical-tabs-newtab-button {
display: none !important;
}
}
@media (-moz-bool-pref: "uc.minimal-sidebar.hide-profile-button.enabled") { @media (-moz-bool-pref: "uc.minimal-sidebar.hide-profile-button.enabled") {
#zen-profile-button { #zen-profile-button {
display: none !important; display: none !important;
@ -45,3 +51,16 @@
padding-top: 0px !important; padding-top: 0px !important;
} }
} }
@media (-moz-bool-pref: "uc.minimal-sidebar.hide-sidebar.enabled") {
#zen-sidebar-icons-wrapper {
display: none !important;
}
}
@media (-moz-bool-pref: "uc.minimal-sidebar.fix-sidebar-width.enabled") {
#TabsToolbar-customization-target {
height: 100%;
min-width: var(--zen-sidebar-action-button-width);
}
}

View file

@ -1,10 +1,13 @@
{ {
"uc.minimal-sidebar.hide-alltabs-button.enabled": "Hide the alltabs button", "uc.minimal-sidebar.hide-alltabs-button.enabled": "Hide the alltabs button",
"uc.minimal-sidebar.hide-newtab-button.enabled": "Hide the newtab button",
"uc.minimal-sidebar.hide-profile-button.enabled": "Hide the profile button", "uc.minimal-sidebar.hide-profile-button.enabled": "Hide the profile button",
"uc.minimal-sidebar.hide-expand-sidebar-button.enabled": "Hide the expand sidebar button", "uc.minimal-sidebar.hide-expand-sidebar-button.enabled": "Hide the expand sidebar button",
"uc.minimal-sidebar.hide-bookmark-button.enabled": "Hide the bookmarks button", "uc.minimal-sidebar.hide-bookmark-button.enabled": "Hide the bookmarks button",
"uc.minimal-sidebar.hide-history-button.enabled": "Hide the history button", "uc.minimal-sidebar.hide-history-button.enabled": "Hide the history button",
"uc.minimal-sidebar.hide-preferences-button.enabled": "Hide the preferences button", "uc.minimal-sidebar.hide-preferences-button.enabled": "Hide the preferences button",
"uc.minimal-sidebar.hide-sidepanel-button.enabled": "Hide the sidepanel button", "uc.minimal-sidebar.hide-sidepanel-button.enabled": "Hide the sidepanel button",
"uc.minimal-sidebar.compact-spacing.enabled": "Make padding above the remaining buttons smaller" "uc.minimal-sidebar.compact-spacing.enabled": "Make padding above the remaining buttons smaller",
"uc.minimal-sidebar.hide-sidebar.enabled": "Hide all sidebar buttons",
"uc.minimal-sidebar.fix-sidebar-width.enabled": "Fix sidebar width when you hide all buttons and workspaces"
} }

View file

@ -1,13 +1,14 @@
# Zen-Minimal-Sidebar-Theme # Zen Minimal Sidebar Theme
With this theme, you can hide the buttons in the sidebar and make it minimalistic. With this theme, you can hide the buttons in the sidebar and make it minimalistic.
The following buttons can be hidden: The following buttons can be hidden:
- All tabs button - All tabs button
- New tab button
- Profile button - Profile button
- Expand sidebar button
- Bookmarks button - Bookmarks button
- History button - History button
- Preference button - Preference button
- Sidepanel button - Sidepanel button
- Expand sidebar button (outdated - can be removed in the Look and Feel settings)

View file

@ -8,5 +8,5 @@
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/image.png", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/image.png",
"author": "Venca321", "author": "Venca321",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json",
"version": "1.0.0" "version": "1.1.0"
} }