mirror of
https://github.com/nileane/TangerineUI-for-Mastodon
synced 2024-11-24 15:16:11 +09:00
Using color-mix() instead of a seperate translucent color value (this time for column headers)
This commit is contained in:
parent
483c379069
commit
e46bcad2ba
@ -3156,7 +3156,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
}
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
background-color: color-mix(in srgb, var(--color-content-bg), transparent 15%);
|
||||
color: var(--color-content-fg);
|
||||
border-right: 1px solid var(--color-lines);
|
||||
border-left: 1px solid var(--color-lines);
|
||||
@ -3170,12 +3170,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(3, 3, 3, .65);
|
||||
}
|
||||
}
|
||||
.app-body .column-header__button,
|
||||
.app-body .column-header__back-button {
|
||||
background-color: transparent;
|
||||
|
@ -3156,7 +3156,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
}
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
background-color: color-mix(in srgb, var(--color-content-bg), transparent 15%);
|
||||
color: var(--color-content-fg);
|
||||
border-right: 1px solid var(--color-lines);
|
||||
border-left: 1px solid var(--color-lines);
|
||||
@ -3170,12 +3170,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(3, 3, 3, .65);
|
||||
}
|
||||
}
|
||||
.app-body .column-header__button,
|
||||
.app-body .column-header__back-button {
|
||||
background-color: transparent;
|
||||
|
@ -3156,7 +3156,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
}
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
background-color: color-mix(in srgb, var(--color-content-bg), transparent 15%);
|
||||
color: var(--color-content-fg);
|
||||
border-right: 1px solid var(--color-lines);
|
||||
border-left: 1px solid var(--color-lines);
|
||||
@ -3170,12 +3170,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
backdrop-filter: blur(20px);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.app-body .column-header,
|
||||
.app-body .column-back-button {
|
||||
background-color: rgba(3, 3, 3, .65);
|
||||
}
|
||||
}
|
||||
.app-body .column-header__button,
|
||||
.app-body .column-header__back-button {
|
||||
background-color: transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user