Add theme: Left close button

This commit is contained in:
markatom 2024-11-27 18:19:22 +00:00 committed by GitHub
parent 2b5cea1b68
commit e35108580c
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,20 @@
.tab-content:hover {
gap: 4.5px;
}
.tab-content:hover .tab-icon-stack {
display: none;
}
.tab-content:hover .tab-close-button {
order: -1;
}
.tab-content[selected] .tab-close-button {
display: none !important;
}
.tab-content[selected]:hover .tab-close-button {
display: inherit !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -0,0 +1,2 @@
This mod moves the tab close button to the left, which is very useful when tabs are on the right side of the browser window and expanded on hover. When the tabs expand, the mouse cursor lands directly on the close button, making it very likely to be clicked by accident.

View file

@ -0,0 +1,14 @@
{
"id": "6f11c932-b992-433e-8c80-56a613cc511e",
"name": "Left close button",
"description": "Move the tab close button to the left side",
"homepage": "",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/6f11c932-b992-433e-8c80-56a613cc511e/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/6f11c932-b992-433e-8c80-56a613cc511e/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/6f11c932-b992-433e-8c80-56a613cc511e/image.png",
"author": "markatom",
"version": "1.0.0",
"tags": [],
"createdAt": "2024-11-27",
"updatedAt": "2024-11-27"
}