Skip to content

Commit ff2e4f7

Browse files
authored
Merge pull request #20093 from Simek/ui-fix-pgn-viewer-in-transparent-theme
ui: fix PGN viewer menu background in transparent theme
2 parents 14d4628 + 658d59a commit ff2e4f7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

ui/lib/css/component/_pgn-viewer.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
--c-lpv-bg-controls: var(--c-lpv-bg);
88
--c-lpv-bg-movelist: var(--c-lpv-bg);
99
--c-lpv-bg-variation: #{$c-bg-zebra2};
10-
--c-lpv-bg-pane: #{$m-bg-zebra2--fade-1};
10+
--c-lpv-bg-pane: #{$m-bg-zebra2--fade-5};
1111
--c-lpv-pgn-text: #{$c-bg-zebra2};
1212
--c-lpv-font: #{$c-font};
1313

@@ -34,9 +34,19 @@
3434
--c-lpv-bg-brilliant-hover: #{$m-brilliant_bg--mix-30};
3535
--c-lpv-bg-interesting-hover: #{$m-interesting_bg--mix-30};
3636

37+
@include if-transp {
38+
--c-lpv-bg-pane: #{$m-body-gradient--fade-15};
39+
}
40+
3741
@extend %box-neat-force;
3842

3943
&__player__title {
4044
color: $c-brag;
4145
}
46+
47+
&__pane {
48+
@include back-blur;
49+
50+
position: relative;
51+
}
4252
}

0 commit comments

Comments
 (0)