mirror of
https://github.com/nileane/TangerineUI-for-Mastodon
synced 2024-12-01 00:08:13 +09:00
Merge pull request #44 from nileane/dev
Fixed: media overlay background was opaque
This commit is contained in:
commit
10cabc86ba
@ -1,5 +1,5 @@
|
||||
/* TangerineUI 🍊 for Mastodon ・ Purple variant 🪻
|
||||
version: 1.7.3
|
||||
version: 1.7.4
|
||||
|
||||
A Tangerine redesign for Mastodon's Web UI.
|
||||
https://github.com/nileane/TangerineUI-for-Mastodon/
|
||||
@ -2297,6 +2297,27 @@ body.layout-single-column {
|
||||
color: var(--color-accent-fg);
|
||||
}
|
||||
|
||||
|
||||
/* Media modals */
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
.layout-single-column .media-modal__nav,
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer .icon-button {
|
||||
color: var(--color-content-fg);
|
||||
}
|
||||
.layout-single-column .media-modal__page-dot {
|
||||
background-color: var(--color-content-fg);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
}
|
||||
}
|
||||
|
||||
/* 🖼️ Picture in Picture */
|
||||
.layout-single-column .picture-in-picture {
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* TangerineUI 🍊 for Mastodon
|
||||
version: 1.7.3
|
||||
version: 1.7.4
|
||||
|
||||
A Tangerine redesign for Mastodon's Web UI.
|
||||
https://github.com/nileane/TangerineUI-for-Mastodon/
|
||||
@ -2297,6 +2297,27 @@ body.layout-single-column {
|
||||
color: var(--color-accent-fg);
|
||||
}
|
||||
|
||||
|
||||
/* Media modals */
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
.layout-single-column .media-modal__nav,
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer .icon-button {
|
||||
color: var(--color-content-fg);
|
||||
}
|
||||
.layout-single-column .media-modal__page-dot {
|
||||
background-color: var(--color-content-fg);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
}
|
||||
}
|
||||
|
||||
/* 🖼️ Picture in Picture */
|
||||
.layout-single-column .picture-in-picture {
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* TangerineUI 🍊 for Mastodon ・ Purple variant 🪻
|
||||
version: 1.7.3
|
||||
version: 1.7.4
|
||||
|
||||
A Tangerine redesign for Mastodon's Web UI.
|
||||
https://github.com/nileane/TangerineUI-for-Mastodon/
|
||||
@ -2297,6 +2297,27 @@ body.layout-single-column {
|
||||
color: var(--color-accent-fg);
|
||||
}
|
||||
|
||||
|
||||
/* Media modals */
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
.layout-single-column .media-modal__nav,
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer .icon-button {
|
||||
color: var(--color-content-fg);
|
||||
}
|
||||
.layout-single-column .media-modal__page-dot {
|
||||
background-color: var(--color-content-fg);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
}
|
||||
}
|
||||
|
||||
/* 🖼️ Picture in Picture */
|
||||
.layout-single-column .picture-in-picture {
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* TangerineUI 🍊 for Mastodon
|
||||
version: 1.7.3
|
||||
version: 1.7.4
|
||||
|
||||
A Tangerine redesign for Mastodon's Web UI.
|
||||
https://github.com/nileane/TangerineUI-for-Mastodon/
|
||||
@ -2297,6 +2297,27 @@ body.layout-single-column {
|
||||
color: var(--color-accent-fg);
|
||||
}
|
||||
|
||||
|
||||
/* Media modals */
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(255, 255, 255, .8);
|
||||
}
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer {
|
||||
background-color: transparent;
|
||||
}
|
||||
.layout-single-column .media-modal__nav,
|
||||
.layout-single-column .media-modal__overlay .picture-in-picture__footer .icon-button {
|
||||
color: var(--color-content-fg);
|
||||
}
|
||||
.layout-single-column .media-modal__page-dot {
|
||||
background-color: var(--color-content-fg);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.layout-single-column .modal-root__modal.media-modal {
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
}
|
||||
}
|
||||
|
||||
/* 🖼️ Picture in Picture */
|
||||
.layout-single-column .picture-in-picture {
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
|
||||
|
Loading…
Reference in New Issue
Block a user