mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Switch to filter instead of opacity
In Firefox, opacity causes the background color underneath the container to pop through. By using filter, only the elements on top of background are affected.
This commit is contained in:
parent
6b551e13e1
commit
c9909ad4c1
1 changed files with 2 additions and 2 deletions
|
@ -423,7 +423,7 @@ a img {
|
|||
background: transparent url("/media/embed/reader/big_world.png") no-repeat center 0;
|
||||
background-size: 64px;
|
||||
color: rgba(0, 0, 0, .4);
|
||||
opacity: .4;
|
||||
filter: opacity(0.4);
|
||||
font-size: 16px;
|
||||
padding: 78px 16px 0;
|
||||
margin: 48px 0;
|
||||
|
@ -441,7 +441,7 @@ a img {
|
|||
}
|
||||
.NB-story-list-empty {
|
||||
color: rgba(0, 0, 0, .4);
|
||||
opacity: .4;
|
||||
filter: opacity(0.4);
|
||||
font-size: 16px;
|
||||
padding: 256px 24px;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
|
||||
|
|
Loading…
Add table
Reference in a new issue