File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 11/* Add a blur filter to the background image */
2+ /* 1. By default, apply the blur */
23.backdropImage {
34 filter : blur (50px ) saturate (170% ) contrast (150% ) brightness (50% );
45}
56
7+ /* 2. If the document HAS an element with .noBackdropTransparency, remove the filter from .backdropImage */
8+ : root : has (.libraryPage .itemDetailPage .noBackdropTransparency ) .backdropImage {
9+ filter : none;
10+ }
11+
612/* Change the opacity of the background image */
713.backgroundContainer .withBackdrop {
814 background-color : rgba (0 , 0 , 0 , 0.65 );
915}
1016
11- /* Remove the description section background to make it transparent in media detail pages */
12- .detailPagePrimaryContainer {
17+ /* 1. By default, make the details section container transparent in media detail page */
18+ .detailPageWrapperContainer . detailPagePrimaryContainer {
1319 background : none;
1420}
1521
22+ /* 2. If the parent HAS the class, force the background back to visible */
23+ .noBackdropTransparency .detailPageWrapperContainer .detailPagePrimaryContainer {
24+ background : var (--jf-palette-background-default , # 101010 );
25+ }
26+
1627/* Remove the title section background to make it transparent in media detail pages */
1728.detailRibbon {
1829 background : none;
You can’t perform that action at this time.
0 commit comments