aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/firefox/usercss/tab-separator-lines.css
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:08:58 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:39:25 +0200
commit661d4964d99a0a5cbab358643c6a271422e0d001 (patch)
tree9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/cfg/firefox/usercss/tab-separator-lines.css
parent1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff)
Programming Feng Shui praxis
Diffstat (limited to 'share/cfg/firefox/usercss/tab-separator-lines.css')
-rw-r--r--share/cfg/firefox/usercss/tab-separator-lines.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/share/cfg/firefox/usercss/tab-separator-lines.css b/share/cfg/firefox/usercss/tab-separator-lines.css
new file mode 100644
index 0000000..2f77db4
--- /dev/null
+++ b/share/cfg/firefox/usercss/tab-separator-lines.css
@@ -0,0 +1,23 @@
+/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tab_separator_lines.css made available under Mozilla Public License v. 2.0
+See the above repository for updates as well as full license text. */
+
+/* Bring back tab separator lines that were removed in Proton */
+
+.tabbrowser-tab{
+ border-inline-start: 1px solid transparent !important;
+ border-image: 0 1 linear-gradient(
+ transparent 20%,
+ color-mix(in srgb, currentColor 20%, transparent) 20%,
+ color-mix(in srgb, currentColor 20%, transparent) 80%,
+ transparent 80%
+ ) !important;
+}
+
+.tabbrowser-tab:hover,
+#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab:hover + .tabbrowser-tab:not([first-visible-unpinned-tab]),
+.tabbrowser-tab:first-child,
+.tabbrowser-tab[selected],
+.tabbrowser-tab[multiselected],
+#tabbrowser-arrowscrollbox[overflowing] > .tabbrowser-tab[first-visible-unpinned-tab],
+#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[multiselected] + .tabbrowser-tab,
+#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected] + .tabbrowser-tab { border-image: none !important; } \ No newline at end of file