diff --git a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/chrome.css b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/chrome.css index a7f0b0e4..29d5fbff 100644 --- a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/chrome.css +++ b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/chrome.css @@ -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") { #zen-profile-button { display: none !important; @@ -45,3 +51,16 @@ 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); + } +} diff --git a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json index c982f76c..0916e151 100644 --- a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json +++ b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json @@ -1,10 +1,13 @@ { "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-expand-sidebar-button.enabled": "Hide the expand sidebar 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-preferences-button.enabled": "Hide the preferences 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" } diff --git a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/readme.md b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/readme.md index a52eae8b..564a9d88 100644 --- a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/readme.md +++ b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/readme.md @@ -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. The following buttons can be hidden: - All tabs button +- New tab button - Profile button -- Expand sidebar button - Bookmarks button - History button - Preference button - Sidepanel button +- Expand sidebar button (outdated - can be removed in the Look and Feel settings) diff --git a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/theme.json b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/theme.json index 589701c3..122ced1e 100644 --- a/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/theme.json +++ b/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/theme.json @@ -8,5 +8,5 @@ "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/image.png", "author": "Venca321", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ab9b529c-63d6-48c0-a59a-4a407c5c3129/preferences.json", - "version": "1.0.0" -} \ No newline at end of file + "version": "1.1.0" +}