Jump to content

Fix up excessive css shading


Recommended Posts

arrbee99
Posted (edited)

Have this bit of css -

/* Add transparent grey background to top info, episode list, extra bottom info */  
div.verticalSection.detailMainContainer {background: rgba(0, 0, 0, 0.3); }
div.trackList.vertical-list {background: rgba(0, 0, 0, 0.3); }
div.details-additionalContent.padded-bottom-page.details-additionalContent-withbackdrop {background: rgba(0, 0, 0, 0.3); }

which adds shading here (hopefully if I've found the right bit), but that seems to be adding  (too much ?) shading here (that extra wide darker band)

120247640_EmbyPoirotfixtransparency.thumb.jpg.141a6cd016f6e7e100daf18f14a03cc1.jpg

so I tried this

/* Try to make individual seaon top details not transparent all the way over but works everywhere*/
/*div.verticalSection.detailMainContainer.flex.flex-direction-row.align-items-flex-start.padded-left.padded-right.detailMainContainer-withitembackdrop {background: rgba(0, 0, 0, 0.0); }*/

but that removes it everywhere.

Any thoughts please, to get rid of the shading in just that bit (seems to be correct on other detail pages) or adjust its width on just that page, or...

 

 

Edited by arrbee99
Happy2Play
Posted (edited)

@arrbee99Are you talking about the listitem hover treatment?  As the detailMainContainer is not transparent.

image.thumb.png.04b90e68821d0e8d4bf949274f9175e1.png

disabled

image.thumb.png.f7c4c5d9c59ee6efb573221c52a107c6.png

Edited by Happy2Play
arrbee99
Posted

I think its the MainContainer thing.

The overall view looks good to me, with uniform transparency -

477677695_EmbyPoirotfixtransparency1.thumb.jpg.5918cef42cb46e6fc020f9993c645a37.jpg

While a better example of the image in the first post has this -

1712940012_EmbyPoirotfixtransparency2.thumb.jpg.28f43b75fe3687ab07a05c719eb60b0a.jpg

and getting rid of it using the css in the first post yields this -

2111191869_EmbyPoirotfixtransparency3.thumb.jpg.ad17fb5120d137d1550315645a595551.jpg

and kills some of the effect here as well -

1055804183_EmbyPoirotfixtransparency4.thumb.jpg.14cc1fdb7011fe097383c1999ec46d0b.jpg

so in second image above, hoping to keep the shading for the details ('Agatha Christie's Poirot' 'Season 1' bit), but make it same width as the stuff below it, or make the shading below it wider (preferable I think), or get rid off the wide shading but just for that page...

 

 

Happy2Play
Posted

I am guessing you are talking about the issue on the left ie multi-select position as I do not see the issue per my screenshots so that would suggest different code.  What are you doing with multi-select?  If this is not what you are asking about, I guess, I am blind.

image.png.e62f5dddf2b152db644b8ec3092a4e1d.png

arrbee99
Posted

I do seem to have killed the multi-select bit with some css somewhere. But you should see its the same down the right hand side as well.

Its this T shape transparency thing am hoping to fix up somehow.

 

361050700_EmbyPoirotfixtransparency2mod.thumb.jpg.e243a788ca28dc7d36746e7459561178.jpg

Happy2Play
Posted

@arrbee99 can you post or pm all your custom css.

arrbee99
Posted

Hokey, just bare in mind there's a reason I've never won the most organized css in the Universe competition...

Emby css 30 Jun 22.txt

Happy2Play
Posted
7 minutes ago, arrbee99 said:

Hokey, just bare in mind there's a reason I've never won the most organized css in the Universe competition...

Emby css 30 Jun 22.txt 30.09 kB · 0 downloads

Not seeing an issue here.

image.thumb.png.723353451961e1007fbb135b73a65604.png

arrbee99
Posted

Weird. So seems like its not having that shading at the top being too wide, its shading for individual episodes being too narrow. Get it in Firefox and Edge (that I've checked), using the server beta. I see I get multi-select showing up in Edge as well. Oh well, such is life. Thanks for all your considerable efforts 😀...I shall return...

arrbee99
Posted

BTW I just got Firefox 102 and now get this weird bar when hovering in Library -

...actually when you hover over any image anywhere...

994744159_EmbyFirefox102.thumb.jpg.90d5d32844d1e1a97fb2eeb89d9eaaf8.jpg

arrbee99
Posted

Related to this I guess -

 

arrbee99
Posted

On the plus side blur is back !

Happy2Play
Posted
2 minutes ago, arrbee99 said:

BTW I just got Firefox 102 and now get this weird bar when hovering in Library -

...actually when you hover over any image anywhere...

994744159_EmbyFirefox102.thumb.jpg.90d5d32844d1e1a97fb2eeb89d9eaaf8.jpg

Noticed that also, will look at it shortly.

Back to the issue, not sure why one is using margin and the other just padding.

image.thumb.png.91aa32b57c2b1339d212a02e9eaab159.png

 

image.thumb.png.941bf945ee60309c6d2d96044a654fda.png

 

Happy2Play
Posted

Yes the hover issue is do to the defects introduced in FF102 as it works in nightly 104.

arrbee99
Posted

Excuse the dumbness, but that margin and padding thing, one vs the other, what are you comparing ?

Happy2Play
Posted
56 minutes ago, arrbee99 said:

Excuse the dumbness, but that margin and padding thing, one vs the other, what are you comparing ?

Margin is causing your T effect.

removed div.itemMainScrollSlider to better see

image.thumb.png.b34d4527e92296fc29959e61d0dddfca.png

 

But my examples one has virtualItemsContainerand the other does not

div.trackList.vertical-list.padded-left.padded-right.padded-bottom.focuscontainer-left.itemsContainer.padded-bottom-page.tracklist-topmargin.virtualItemsContainer.virtual-scroller-overflowvisible.virtual-scroller

vs

div.trackList.vertical-list.padded-left.padded-right.padded-bottom.focuscontainer-left.itemsContainer.padded-bottom-page.tracklist-topmargin

 

Happy2Play
Posted

@arrbee99 I guess add something like this

div.topDetailsMain .virtualItemsContainer.vertical-list.padded-left, div.topDetailsMain .virtualItemsContainer.vertical-wrap.padded-left {
    margin-left: 0;
    padding-left: 3.4%;
}

div.topDetailsMain .virtualItemsContainer.vertical-list.padded-right, div.topDetailsMain .virtualItemsContainer.vertical-wrap.padded-right {
    margin-right: 0;
    padding-right: 0%;
}

div.topDetailsMain .virtualScrollItem.dataGridItem, div.topDetailsMain .virtualScrollItem.listItem {
    width: 93.5%;
}

 

  • Like 1
arrbee99
Posted

Excellent. Thank you. Also fixes up the multi-select 😀

  • 3 months later...
arrbee99
Posted

Am wondering if this could be fixed in the latest beta. I think in connection with the above, its now missing some shading -

1374697092_EmbyShading.thumb.jpg.c46b9c9f75f96a9607b9cb5cb150d053.jpg

and

451536638_EmbyShading1.thumb.jpg.1b37c3e761dbddd4243a678d91f38f19.jpg

tried changing that 3.4% but it had no effect

 

 

Happy2Play
Posted

Many need to delete/edit existing code.

But something like this.

div.topDetailsContainer div.topDetailsMain div.padded-right {
    -webkit-padding-end: 0;
    padding-inline-end: 0;
}

div.topDetailsContainer div.topDetailsMain div.padded-left {
    -webkit-padding-start: 0;
    padding-inline-start: 0;
}

div.topDetailsContainer div.topDetailsMain div.detailMainContainer {padding-left: 3.4%;}
div.topDetailsContainer div.topDetailsMain div.trackList.vertical-list {padding-left: 3.4%;}

 

  • Like 1
arrbee99
Posted

Terrific. Thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...