Skip to content

Commit 39a67fc

Browse files
committed
Update multirow to work correctly past FF110
1 parent 30de492 commit 39a67fc

File tree

8 files changed

+32
-30
lines changed

8 files changed

+32
-30
lines changed

Full dark theme/Proton (FF 89+)/userChrome.css

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* You can find an updated version here: https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme */
22
/* Made by Izheil */
3-
/* Last updated: 14/01/2022 */
3+
/* Last updated: 14/02/2023 */
44

55
/* COLORING PART STARTS HERE */
66

@@ -193,48 +193,44 @@ scrollbar, *|*:root {
193193
background-color: #303030 !important}
194194

195195
/* Selected tab lines */
196-
.tabbrowser-tab[visuallyselected]::before, .tabbrowser-tab[multiselected="true"]:not([visuallyselected]) .tab-background::before {
196+
.tab-background[selected]::before,
197+
.tab-background[multiselected="true"]::before {
197198
border-radius: 5px;
198199
content: '';
199200
background-color: var(--tab-line-color);
200-
min-height: var(--tab-min-height);
201+
height: var(--tab-min-height) !important;
201202
background-image: linear-gradient(90deg, rgba(0,0,0,0.6) 1%, transparent 50%, rgba(0,0,0,0.6) 99%);
202203
clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%, 0% 88%, 2% 95%, 98% 95%, 100% 85%, 100% 20%, 98.5% 6%, 1.5% 6%, 0% 20%);
204+
z-index: 300;
203205
position: absolute;
204-
z-index: -1;
205-
}
206-
207-
.tabbrowser-tab[visuallyselected]::before {
208-
top: 2px;
209-
left: 2px;
210-
bottom: 3px;
211-
right: 2px;
212-
}
213-
214-
.tabbrowser-tab[multiselected="true"]:not([visuallyselected]) .tab-background::before {
215-
min-height: var(--tab-min-height);
216206
width: 100%;
217207
}
218208

219209
.tabbrowser-tab[visuallyselected] .tab-background, .tabbrowser-tab[multiselected] .tab-background {
220210
border-color: transparent !important;
211+
outline: none !important;
221212
}
222213

223214
/* Tab separators */
224-
.tabbrowser-tab::after {
215+
.tabbrowser-tab::before {
225216
content: "";
226-
max-height: calc(var(--tab-min-height) - 4px);
227217
width: 1px;
228218
display: flex;
229219
margin-top: 6px;
220+
margin-left: -4px;
221+
position: absolute;
222+
height: calc(var(--tab-min-height) - 4px)
230223
}
231224

232-
#main-window[lwt-toolbar-field-brighttext] .tabbrowser-tab:not([visuallyselected]):not([beforeselected-visible]):not([before-multiselected]):not([multiselected="true"]):not([last-visible-tab])::after {
233-
box-shadow: 2px 0 0 0 rgba(255,255,255,.2) !important}
225+
#main-window[lwt-toolbar-field-brighttext] .tabbrowser-tab:not([visuallyselected]):not(:first-of-type)::before {
226+
box-shadow: 2px 0 0 0 rgba(255,255,255,.15) !important}
234227

235-
#main-window:not([lwt-toolbar-field-brighttext]) .tabbrowser-tab:not([visuallyselected]):not([beforeselected-visible]):not([before-multiselected]):not([multiselected="true"]):not([last-visible-tab])::after {
228+
#main-window:not([lwt-toolbar-field-brighttext]) .tabbrowser-tab:not([visuallyselected]):not(:first-of-type)::before {
236229
box-shadow: 2px 0 0 0 rgba(0,0,0,.2) !important}
237230

231+
.tabbrowser-tab[visuallyselected] + .tabbrowser-tab:not([visuallyselected])::before{
232+
display: none !important}
233+
238234
/* Tabs background color when using a lightweight theme */
239235
#main-window:not([lwt-default-theme-in-dark-mode]) #tabbrowser-tabs:not([movingtab]) .tab-background[selected="true"]:-moz-lwtheme {
240236
background-image: none !important;

Installers/Multirow & other functions/functions/MultiRowTab-scrollable-autohide.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -215,7 +216,7 @@ function zzzz_MultiRowTabLite() {
215216
#tabs-newtab-button {
216217
margin-left: -32px !important}
217218
218-
.tabbrowser-tab[last-visible-tab="true"] {
219+
.tabbrowser-tab:last-of-type {
219220
margin-right: 32px !important}
220221
221222
/* These fix issues with pinned tabs on the overflow status */

Installers/Multirow & other functions/functions/MultiRowTab-scrollable.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -199,7 +200,7 @@ function zzzz_MultiRowTabLite() {
199200
#tabs-newtab-button {
200201
margin-left: -32px !important}
201202
202-
.tabbrowser-tab[last-visible-tab="true"] {
203+
.tabbrowser-tab:last-of-type {
203204
margin-right: 32px !important}
204205
205206
/* These fix issues with pinned tabs on the overflow status */

Installers/Multirow & other functions/functions/MultiRowTabLiteforFx.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -182,7 +183,7 @@ function zzzz_MultiRowTabLite() {
182183
#tabs-newtab-button {
183184
margin-left: -32px !important}
184185
185-
.tabbrowser-tab[last-visible-tab="true"] {
186+
.tabbrowser-tab:last-of-type {
186187
margin-right: 32px !important}
187188
188189
/* These fix issues with pinned tabs on the overflow status */

Multirow and other functions/Multirow tabs/MultiRowTab-scrollable-autohide.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -215,7 +216,7 @@ function zzzz_MultiRowTabLite() {
215216
#tabs-newtab-button {
216217
margin-left: -32px !important}
217218
218-
.tabbrowser-tab[last-visible-tab="true"] {
219+
.tabbrowser-tab:last-of-type {
219220
margin-right: 32px !important}
220221
221222
/* These fix issues with pinned tabs on the overflow status */

Multirow and other functions/Multirow tabs/MultiRowTab-scrollable.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -199,7 +200,7 @@ function zzzz_MultiRowTabLite() {
199200
#tabs-newtab-button {
200201
margin-left: -32px !important}
201202
202-
.tabbrowser-tab[last-visible-tab="true"] {
203+
.tabbrowser-tab:last-of-type {
203204
margin-right: 32px !important}
204205
205206
/* These fix issues with pinned tabs on the overflow status */

Multirow and other functions/Multirow tabs/MultiRowTabLiteforFx.uc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// @include main
66
// @compatibility Firefox 70 to Firefox 110.0a1 (2022-12-14)
77
// @author Alice0775, Endor8, TroudhuK, Izheil, Merci-chao
8+
// @version 14/01/2023 22:36 Fixed new tab button getting overlapped with last tab
89
// @version 15/12/2022 22:17 Fixed min/max/close button duplication when having menu bar always visible
910
// @version 14/12/2022 19:11 Fixed issue with Firefox 108 (Stable)
1011
// @version 21/11/2022 18:38 Fixed issue with Firefox 108a (Nightly)
@@ -182,7 +183,7 @@ function zzzz_MultiRowTabLite() {
182183
#tabs-newtab-button {
183184
margin-left: -32px !important}
184185
185-
.tabbrowser-tab[last-visible-tab="true"] {
186+
.tabbrowser-tab:last-of-type {
186187
margin-right: 32px !important}
187188
188189
/* These fix issues with pinned tabs on the overflow status */

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ You can use it to fully change the colors of most of firefox UI to dark-gray col
1515

1616
If you want to know how to change some colors of the theme, check the [wiki](https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/wiki/Editting-CSS-files).
1717

18-
### Last update: 27/01/2023
18+
### Last update: 14/02/2023
1919

2020
Files updated:
2121

22-
* /root/*: Updated patch dependencies from xiaoxiaoflood's repository.
22+
* Multirow*.uc.js: Updated multirow for FF110.
2323

24-
### Pre-Last update: 15/12/2022
24+
### Pre-Last update: 27/01/2023
2525

2626
Files updated:
2727

28-
* __Multirow*.uc.js__: Remove duplicated min/max/close buttons and fix the lite version.
28+
* /root/*: Updated patch dependencies from xiaoxiaoflood's repository.
2929

3030

3131
### A note on people looking to replace some Tab Mix Plus features:

0 commit comments

Comments
 (0)