fix tab shadow

This commit is contained in:
bmFtZQ 2021-03-16 19:07:41 +08:00 committed by GitHub
parent 59b2336c3b
commit e7f40b1156
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,15 @@
/* Edge Style Tabs */
.tabbrowser-tab[visuallyselected] .tab-background {
filter: drop-shadow(0 1px 2px #0006) !important;
}
:root[lwthemetextcolor="bright"] .tabbrowser-tab[visuallyselected] .tab-background, :root[lwthemetextcolor="bright"] {
filter: drop-shadow(0 1px 2px #0009) !important;
}
#nav-bar {
box-shadow: 0 0 2px #0005 !important;
box-shadow: 0 -1px 2px -1px #0004 !important;
}
:root[lwthemetextcolor="bright"] #nav-bar {
box-shadow: 0 0 2px #0008 !important;
box-shadow: 0 -1px 2px -1px #0006 !important;
}
#nav-bar:not([urlbar-exceeds-toolbar-bounds]) {
clip-path: inset(-10px 0 0 0);
.tabbrowser-tab[visuallyselected] .tab-background {
box-shadow: 0 2px 4px #0005, 0 -1px 2px -1px #0004 !important;
}
:root[lwthemetextcolor="bright"] .tabbrowser-tab[visuallyselected] .tab-background, :root[lwthemetextcolor="bright"] {
box-shadow: 0 2px 4px #0007, 0 -1px 2px -1px #0006 !important;
}
:root[extradragspace][tabsintitlebar] {
--space-above-tabbar: 0 !important;