├── LICENSE ├── README.md ├── chrome.css ├── preferences.json └── zenMinimalExitMenu.css /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 DinnoDEV 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Zen Minimal Exit Menu 2 | A zen browser mod that changes the exit menu to 3 circles similar (but a bit different) to one in MacOS. 3 | 4 | ![01](https://github.com/user-attachments/assets/9d85eef2-775d-44a8-89e7-d2b44a401e47) 5 | -------------------------------------------------------------------------------- /chrome.css: -------------------------------------------------------------------------------- 1 | .titlebar-buttonbox { 2 | margin-right: 20px; 3 | } 4 | 5 | .titlebar-button { 6 | padding: 0px !important; 7 | min-height: 13px !important; 8 | min-width: 13px !important; 9 | height: 13px !important; 10 | align-self: center; 11 | margin-left: 5px !important; 12 | border-radius: 50px; 13 | transition: all 100ms; 14 | } 15 | 16 | .titlebar-min { 17 | background-color: hsl(130, 50%, 40%) !important; 18 | } 19 | 20 | .titlebar-max, .titlebar-restore { 21 | background-color: hsl(60, 50%, 50%) !important; 22 | } 23 | 24 | .titlebar-close { 25 | background-color: hsl(0, 50%, 50%) !important; 26 | } 27 | 28 | .titlebar-button > image { 29 | visibility: collapse !important; 30 | } 31 | 32 | @media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") { 33 | .titlebar-button:hover { 34 | opacity: 0.25 !important; 35 | } 36 | } 37 | 38 | @media not (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") { 39 | .titlebar-button { 40 | background-color: var(--zen-colors-border) !important; 41 | } 42 | 43 | .titlebar-min:hover { 44 | background-color: hsl(130, 50%, 40%) !important; 45 | } 46 | 47 | .titlebar-max:hover, .titlebar-restore:hover { 48 | background-color: hsl(60, 50%, 50%) !important; 49 | } 50 | 51 | .titlebar-close:hover { 52 | background-color: hsl(0, 50%, 50%) !important; 53 | } 54 | 55 | .titlebar-button:hover { 56 | min-height: 20px !important; 57 | } 58 | } -------------------------------------------------------------------------------- /preferences.json: -------------------------------------------------------------------------------- 1 | { 2 | { 3 | "property": "theme.zen-minimal-exit-menu.enable-macos-identic", 4 | "label": "Makes theme more identical to MacOS version.", 5 | "defaultValue": "false", 6 | "disabledOn": ["macos"], 7 | "type": "checkbox" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /zenMinimalExitMenu.css: -------------------------------------------------------------------------------- 1 | .titlebar-buttonbox { 2 | margin-right: 20px; 3 | } 4 | 5 | .titlebar-button { 6 | padding: 0px !important; 7 | min-height: 13px !important; 8 | min-width: 13px !important; 9 | align-self: center; 10 | margin-left: 5px !important; 11 | border-radius: 50px; 12 | transition: all 100ms; 13 | } 14 | 15 | .titlebar-min { 16 | background-color: hsl(130, 50%, 40%) !important; 17 | } 18 | 19 | .titlebar-max, .titlebar-restore { 20 | background-color: hsl(60, 50%, 50%) !important; 21 | } 22 | 23 | .titlebar-close { 24 | background-color: hsl(0, 50%, 50%) !important; 25 | } 26 | 27 | .titlebar-button > image { 28 | visibility: collapse !important; 29 | } 30 | 31 | @media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") { 32 | .titlebar-button:hover { 33 | opacity: 0.25 !important; 34 | } 35 | } 36 | 37 | @media not (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") { 38 | .titlebar-button { 39 | background-color: var(--zen-colors-border) !important; 40 | } 41 | 42 | .titlebar-min:hover { 43 | background-color: hsl(130, 50%, 40%) !important; 44 | } 45 | 46 | .titlebar-max:hover, .titlebar-restore:hover { 47 | background-color: hsl(60, 50%, 50%) !important; 48 | } 49 | 50 | .titlebar-close:hover { 51 | background-color: hsl(0, 50%, 50%) !important; 52 | } 53 | 54 | .titlebar-button:hover { 55 | min-height: 20px !important; 56 | } 57 | } --------------------------------------------------------------------------------