From e1d527f9bf642c1b34d856ca100b8fa5c9b6541e Mon Sep 17 00:00:00 2001 From: Izheil <33794458+Izheil@users.noreply.github.com> Date: Wed, 10 May 2023 19:05:23 +0200 Subject: [PATCH] Add new css feature for FF113 --- .../Tabs/Tab-close-button-only-on-hover.as.css | 15 +++++++++++++++ README.md | 7 ++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 CSS tweaks/Tabs/Tab-close-button-only-on-hover.as.css diff --git a/CSS tweaks/Tabs/Tab-close-button-only-on-hover.as.css b/CSS tweaks/Tabs/Tab-close-button-only-on-hover.as.css new file mode 100644 index 0000000..d5ecce0 --- /dev/null +++ b/CSS tweaks/Tabs/Tab-close-button-only-on-hover.as.css @@ -0,0 +1,15 @@ +/* You can find an updated version here: https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme */ +/* Made by Izheil */ +/* Last updated: 19/12/2020 */ + +/* Tab close button visible only on hover */ +#tabbrowser-tabs .tabbrowser-tab:not([pinned]) .tab-close-button { + display: none !important} + +#tabbrowser-tabs .tabbrowser-tab:not([pinned]):hover .tab-close-button { + visibility: visible !important; + display: block !important} + +#tabbrowser-tabs .tabbrowser-tab:not([pinned])[faviconized="true"]:hover .tab-close-button { + visibility: collapse !important; + display: none !important} \ No newline at end of file diff --git a/README.md b/README.md index 6e937fc..9fdb98c 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,14 @@ If you want to know how to change some colors of the theme, check the [wiki](htt Files updated: -* Multirow*.uc.js: Updated multirow for FF110. +- Multirow*.uc.js: Updated multirow for broken `--tab-growth` variable for FF113. +- Tab-close-button-only-on-hover.as.css: Added a new CSS to show the close button on tabs only when hovering over the tabs. -### Pre-Last update: 27/01/2023 +### Pre-Last update: 14/02/2023 Files updated: -* /root/*: Updated patch dependencies from xiaoxiaoflood's repository. +- Multirow*.uc.js: Updated multirow for FF110. ### A note on people looking to replace some Tab Mix Plus features: